/* ---------- VARIABLES & BASE ---------- */
:root {
    --bg-main: #0a0a0c;
    --bg-secondary: #0f0f13;
    --bg-card: rgba(20, 20, 25, 0.7);
    --accent-red: #da0012;
    --accent-glow: rgba(218, 0, 18, 0.5);
    --text-primary: #ededed;
    --text-secondary: #a3a3a3;
    --text-dark: #666666;
    --border-color: #2a2a35;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background-color: var(--accent-red);
    color: #fff;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.highlight {
    color: #fff;
    font-weight: 600;
}

.highlight-red {
    color: var(--accent-red);
    font-weight: 600;
    text-shadow: 0 0 10px var(--accent-glow);
}

.hollow-text {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

code.flag-code {
    background-color: #1a1a24;
    color: var(--accent-red);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    border: 1px solid var(--border-color);
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0) 100%);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 12, 0.95);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-red);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--accent-red);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-red);
    transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background-color: transparent;
    border: 1px solid var(--accent-red);
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    color: var(--accent-red) !important;
}

.btn-nav:hover {
    background-color: var(--accent-red);
    color: #fff !important;
    box-shadow: 0 0 15px var(--accent-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(10,10,12,0.9) 80%, rgba(10,10,12,1) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
    margin-top: 5rem;
}

.glitch {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 8px;
    color: #fff;
    margin-bottom: 0.5rem;
    position: relative;
    text-shadow: 0 0 20px rgba(218, 0, 18, 0.4);
}

.hero h2 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-text {
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.dream-box {
    margin: 2rem auto;
    padding: 1.5rem;
    border-left: 2px solid var(--accent-red);
    background: linear-gradient(90deg, rgba(218, 0, 18, 0.05) 0%, rgba(0,0,0,0) 100%);
    text-align: left;
    max-width: 400px;
}

.dream-box p {
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1rem;
}

.dream-box p:last-child {
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 2px;
    cursor: pointer;
    z-index: 1;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
    border: 1px solid var(--accent-red);
    box-shadow: 0 0 15px rgba(218, 0, 18, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(218, 0, 18, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.05);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.btn-outline:hover {
    background-color: rgba(218, 0, 18, 0.1);
    box-shadow: 0 0 15px rgba(218, 0, 18, 0.2) inset;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(218, 0, 18, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(218, 0, 18, 0); }
    100% { box-shadow: 0 0 0 0 rgba(218, 0, 18, 0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 1px solid #fff;
    border-radius: 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 5px; opacity: 1; }
    100% { top: 15px; opacity: 0; }
}

/* ---------- SECTIONS BASE ---------- */
.section {
    padding: 8rem 5%;
    position: relative;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
}

.max-w {
    max-width: 800px;
}

/* ---------- ABOUT SECTION ---------- */
.content-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.quote-box {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: serif;
    font-size: 10rem;
    color: rgba(255,255,255,0.03);
    line-height: 1;
}

.quote-box p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* ---------- STORY SECTION ---------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dream-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 1px solid var(--text-dark);
}

.dream-list li {
    margin-bottom: 1rem;
    position: relative;
    color: #fff;
}

.dream-list li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 10px;
    width: 6px;
    height: 1px;
    background-color: var(--accent-red);
}

.mystery-text {
    font-style: italic;
    color: #fff;
}

.story-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-circle {
    width: 250px;
    height: 250px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.5) inset;
}

.abstract-circle::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: orbit 10s linear infinite;
    transform-origin: 50% 135px;
}

@keyframes orbit {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

.abstract-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    top: 50%;
    opacity: 0.3;
}

/* ---------- DETAILS SECTION ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(218, 0, 18, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-red);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* ---------- RULES SECTION ---------- */
.rules-container {
    max-width: 800px;
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
}

.rules-list li:hover {
    border-color: var(--text-dark);
    transform: translateX(10px);
}

.rule-icon {
    min-width: 24px;
    height: 24px;
    border: 1px solid var(--accent-red);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rule-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
}

.rules-list span {
    color: #fff;
    font-size: 1.05rem;
}

/* ---------- APPLY SECTION ---------- */
.call-to-action {
    background: linear-gradient(0deg, rgba(10,10,12,1) 0%, rgba(218,0,18,0.05) 50%, rgba(10,10,12,1) 100%);
    border-top: 1px solid rgba(218,0,18,0.1);
    border-bottom: 1px solid rgba(218,0,18,0.1);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #fff;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ---------- FAQ SECTION ---------- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #fff;
    text-transform: none;
    letter-spacing: normal;
}

.faq-question:hover h3 {
    color: var(--accent-red);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: #fff;
    transition: var(--transition);
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background-color: #000;
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-brand span {
    color: var(--accent-red);
}

.footer-title {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-lore {
    text-align: right;
    font-style: italic;
    border-right: 2px solid var(--accent-red);
    padding-right: 1.5rem;
}

.footer-lore p {
    margin-bottom: 0.2rem;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.8rem;
}

/* ---------- ANIMATIONS & REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .story-visual {
        order: -1;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .glitch {
        font-size: 3.5rem;
    }
    
    .hero h2 {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 5rem 5%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-lore {
        text-align: left;
        border-right: none;
        border-left: 2px solid var(--accent-red);
        padding-right: 0;
        padding-left: 1.5rem;
    }
}
