/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
:root {
    --bg-primary: #090909;
    --bg-secondary: #121212;
    --bg-card: #18181c;
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.35);
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', 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-primary);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.6;
    overflow-x: hidden;
}

.gold-text {
    color: var(--accent-gold);
}

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

section {
    padding: 100px 0;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(9, 9, 9, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--accent-gold);
}

.nav-item:hover {
    color: var(--accent-gold);
}

.nav-item:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 8px;
    padding: 14px 28px;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-gold {
    background: linear-gradient(135deg, #e6c200, #D4AF37, #997a15);
    color: #000000;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.7);
    background: linear-gradient(135deg, #ffd700, #D4AF37, #b89218);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-xlarge {
    padding: 20px 48px;
    font-size: 1.3rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at center, #18160d 0%, var(--bg-primary) 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 40px var(--accent-gold-glow);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9, 9, 9, 0.1) 60%, var(--bg-primary) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px var(--accent-gold-glow);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.hero-description {
    color: var(--text-gray);
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: var(--bg-secondary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.about-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-text {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text-gray);
}

.about-text:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   COMMUNITY SECTION
   ========================================================================== */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px var(--accent-gold-glow);
}

.card-icon {
    font-size: 2.8rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* ==========================================================================
   JOIN SECTION
   ========================================================================== */
.join-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.join-box {
    background: radial-gradient(circle at center, #1f1b0a 0%, var(--bg-card) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 0 50px var(--accent-gold-glow);
}

.join-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.join-text {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    text-align: center;
    background-color: var(--bg-primary);
}

.contact-subtext {
    color: var(--text-gray);
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #000000;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 40px 0;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-copyright {
    color: #666666;
    font-size: 0.9rem;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    color: #000000;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE DESIGN
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(9, 9, 9, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
        border-bottom: 1px solid var(--accent-gold);
    }

    .nav-links.active {
        clip-path: circle(140% at 100% 0);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title, .join-title {
        font-size: 1.8rem;
    }

    .about-card {
        padding: 30px 20px;
    }

    .btn-xlarge {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
}
