/* ===================================
   RAPTA Press Kit - Styling
   =================================== */

:root {
    --rapta-green: #00FF00;
    --rapta-yellow: #FFFF00;
    --bg-dark: #000000;
    --bg-card: #0a0a0a;
    --text-primary: #00FF00;
    --text-secondary: #00cc00;
    --scanline-color: rgba(0, 255, 0, 0.05);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

@font-face {
    font-family: 'RaptaCustom';
    src: url('https://raw.githubusercontent.com/Felipai/Rapta-PressKit/main/Rapta-Regular.ttf');
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(var(--scanline-color) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    z-index: 9999;
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    opacity: 0.3;
}

body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.27861; }
    5% { opacity: 0.34769; }
    10% { opacity: 0.23604; }
    15% { opacity: 0.90626; }
    20% { opacity: 0.18128; }
    25% { opacity: 0.83891; }
    30% { opacity: 0.65583; }
    35% { opacity: 0.57807; }
    40% { opacity: 0.26593; }
    45% { opacity: 0.28741; }
    50% { opacity: 0.89608; }
    55% { opacity: 0.33014; }
    60% { opacity: 0.79541; }
    65% { opacity: 0.31214; }
    70% { opacity: 0.18304; }
    75% { opacity: 0.90298; }
    80% { opacity: 0.38019; }
    85% { opacity: 0.11603; }
    90% { opacity: 0.75957; }
    95% { opacity: 0.7512; }
    100% { opacity: 0.26393; }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- Header --- */
.press-header {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('https://raw.githubusercontent.com/Felipai/Rapta-PressKit/main/Banners%20and%20Capsules/Header%20Release%20Date.jpg');
    background-size: cover;
    background-position: center 20%;
    padding: 100px 5%;
    border-bottom: 2px solid var(--rapta-green);
    text-align: center;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
    justify-content: flex-start;
}

.logo-studio {
    height: 55px;
    opacity: 0.9;
    filter: drop-shadow(0 0 3px rgba(195, 121, 255, 0.6));
    transition: all 0.3s ease;
}

.logo-studio:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(195, 121, 255, 0.9));
}

.back-project-btn {
    color: var(--rapta-green);
    text-decoration: none;
    font-family: 'RaptaCustom', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--rapta-green);
    padding: 12px 25px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
}

.back-project-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

/* --- Hero --- */
.hero-press {
    padding: 20px 0;
}

.press-rapta-logo {
    max-width: 350px;
    width: 90%;
    filter: drop-shadow(0 0 15px var(--rapta-green));
    margin-bottom: 10px;
}

/* --- LARGE LANG SELECTOR --- */
.lang-selector-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 0, 0.1);
    padding: 10px 20px;
    border: 2px solid var(--rapta-green);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.large-lang-btn {
    background: transparent;
    color: var(--rapta-green);
    border: none;
    font-family: 'RaptaCustom', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    text-transform: uppercase;
}

.large-lang-btn option {
    background: #000;
    color: var(--rapta-green);
}

.top-press-title {
    color: var(--rapta-yellow);
    font-family: 'RaptaCustom', sans-serif;
    font-size: 2.2rem;
    margin: 0;
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(255, 255, 0, 0.4);
    text-transform: uppercase;
    flex: 1;
    text-align: center;
}

.hero-press {
    padding: 10px 0;
}

.press-rapta-logo {
    max-width: 320px;
    width: 90%;
    filter: drop-shadow(0 0 15px var(--rapta-green));
    margin-bottom: 20px;
}

.press-tagline {
    max-width: 750px;
    margin: 10px auto 0;
    font-size: 1.2rem;
    opacity: 1;
    line-height: 1.5;
    color: var(--rapta-green);
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    font-weight: bold;
}

/* --- Sections --- */
section {
    margin-bottom: 60px;
    border: 1px solid #1a1a1a;
    padding: 30px;
    background: var(--bg-card);
}

h2 {
    font-family: 'RaptaCustom', sans-serif;
    border-bottom: 1px solid var(--rapta-green);
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 1.5rem;
}

/* --- Factsheet Grid --- */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.fact-item strong {
    display: block;
    color: var(--rapta-yellow);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.fact-item a {
    color: var(--rapta-green);
    text-decoration: none;
}

.fact-item a:hover {
    text-decoration: underline;
}

/* --- Download --- */
.download-box {
    text-align: center;
    padding: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.main-download-btn, .secondary-press-btn {
    display: inline-block;
    padding: 20px 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'RaptaCustom', sans-serif;
}

.main-download-btn {
    background: var(--rapta-yellow);
    color: #000;
    border: none;
}

.main-download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.4);
}

.secondary-press-btn {
    background: transparent;
    color: var(--rapta-green);
    border: 2px solid var(--rapta-green);
}

.secondary-press-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    transform: translateY(-2px);
}

.main-download-btn i {
    margin-right: 10px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid #1a1a1a;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* --- Mobile --- */
@media (max-width: 600px) {
    .header-top { flex-direction: column; gap: 20px; }
    .hero-press h1 { font-size: 2rem; }
}
