/* Css Variables - Premium Deep Earth Theme */
:root {
    /* Colors */
    --clr-bg: #0d1117;
    --clr-bg-alt: #161b22;
    --clr-surface: rgba(255, 255, 255, 0.03);
    --clr-surface-hover: rgba(255, 255, 255, 0.08);
    --clr-border: rgba(255, 255, 255, 0.1);
    
    --clr-text: #e2e8f0;
    --clr-text-muted: #94a3b8;
    
    /* Earth Tones */
    --clr-primary: #d4af37; /* Elegant Gold */
    --clr-primary-glow: rgba(212, 175, 55, 0.3);
    --clr-secondary: #c2410c; /* Deep Copper/Magma */
    --clr-accent: #38bdf8; /* Oceanic Blue */
    
    /* Typography */
    --font-heading: 'Inter', 'Noto Sans SC', sans-serif;
    --font-body: 'Inter', 'Noto Sans SC', sans-serif;
    
    /* Effects */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-muted);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.highlight {
    color: var(--clr-primary);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.glass {
    background: var(--clr-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glass);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #000;
    box-shadow: 0 0 20px var(--clr-primary-glow);
}

.btn-primary:hover {
    background-color: #fce788;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--clr-text);
    color: var(--clr-text);
}

.btn-secondary:hover {
    background-color: var(--clr-surface-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: #000;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.9);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--clr-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-logo span {
    color: var(--clr-primary);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--clr-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--clr-text);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, var(--clr-bg) 100%);
    z-index: 1;
}

/* Decorative Background element simulating earth crust glowing */
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--clr-secondary) 0%, transparent 60%);
    opacity: 0.15;
    filter: blur(100px);
    z-index: 0;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.2; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 5rem;
    color: var(--clr-text-muted);
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--clr-text-muted);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 4px;
}

.hero-description {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: var(--clr-text);
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 500;
}

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

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--clr-text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--clr-text);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Sections Global */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

.tag-gold {
    color: var(--clr-primary);
    border-color: var(--clr-primary-glow);
    background: rgba(212, 175, 55, 0.1);
}

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

.card {
    padding: 2.5rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--clr-primary-glow);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Theme Section */
.theme-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.disciplines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.badge:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.theme-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-image {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--clr-border);
    transition: var(--transition);
}

.theme-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}

.abstract-globe {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-bg-alt), var(--clr-surface));
    box-shadow: 
        inset -20px -20px 40px rgba(0,0,0,0.5),
        inset 20px 20px 40px rgba(255,255,255,0.05),
        0 0 50px rgba(212, 175, 55, 0.1);
    position: relative;
    border: 1px solid var(--clr-border);
    animation: rotateGlobe 20s linear infinite;
}

@keyframes rotateGlobe {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Requirements */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.req-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.req-card.featured {
    border-color: var(--clr-primary);
    box-shadow: 0 0 30px var(--clr-primary-glow);
    transform: scale(1.02);
}

.req-header {
    padding: 2rem;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--clr-border);
    text-align: center;
}

.req-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.seat-count {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.req-card.featured .seat-count {
    color: var(--clr-primary);
}

.req-body {
    padding: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
}

.price {
    margin-top: 2rem;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    border-top: 1px solid var(--clr-border);
    padding-top: 1.5rem;
}

.price .note {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--clr-text-muted);
}

/* Timeline */
.schedule-timeline {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    position: relative;
    padding-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5px; left: 0; width: 100%; height: 2px;
    background: var(--clr-border);
}

.t-item {
    position: relative;
    padding-top: 1rem;
}

.t-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--clr-primary);
    box-shadow: 0 0 10px var(--clr-primary);
}

/* Conduct */
.conduct-items {
    max-width: 800px;
    margin: 0 auto;
}

.c-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--clr-border);
}

.c-item:last-child {
    border-bottom: none;
}

.c-item.warning h4 {
    color: #ef4444;
}

/* Register */
.register-wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    padding: 3rem;
}

.contacts {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius);
}

.contacts ul li {
    margin-bottom: 0.5rem;
}

.contacts ul li a {
    color: var(--clr-primary);
}

.reg-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.qr-box, .qr-container {
    width: 200px;
    height: 200px;
    background: #fff;
    border: 2px solid var(--clr-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Footer */
.footer {
    background: #000;
    padding: 0;
    border-top: 1px solid var(--clr-border);
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6em 2rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    line-height: 1;
}

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

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

/* Responsive */
@media (max-width: 991px) {
    .theme-container {
        grid-template-columns: 1fr;
    }
    
    .register-wrapper {
        grid-template-columns: 1fr;
    }
    
    .req-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--clr-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-bottom: 1px solid var(--clr-border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .timeline {
        flex-direction: column;
        gap: 2rem;
        padding-top: 0;
        padding-left: 2rem;
        text-align: left;
    }
    
    .timeline::before {
        left: 5px; top: 0; width: 2px; height: 100%;
    }
    
    .t-item::before {
        left: -15px; top: 5px;
        transform: none;
    }
}
