:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #AA8A28;
    --gold-light: #F8E79C;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --accent-red: #e74c3c;
    /* For bear candles / alerts if needed */
    --accent-green: #2ecc71;
    /* For bull candles / success */
    --font-main: 'Cairo', sans-serif;
    --transition: all 0.3s ease;
    --font-main: 'Cairo', sans-serif;
    --transition: all 0.3s ease;
}

body.light-mode {
    --bg-dark: #f0f0f0;
    --bg-card: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --gold-primary: #b39226;
    /* Slightly darker gold for contrast on light */
}

/* Light Mode Overrides */
body.light-mode .main-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .hero-section {
    background-image: radial-gradient(circle at center, #ffffff 0%, #e0e0e0 100%);
}

body.light-mode .social-card {
    background: #f8f8f8;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .stats-bar {
    background: #fcfcfc;
    border-bottom: 1px solid #eee;
}

body.light-mode .code {
    border: 1px solid #ccc;
}

body.light-mode footer {
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}

body.light-mode .disclaimer {
    background: rgba(0, 0, 0, 0.03);
    color: #444;
}

body.light-mode .disclaimer h4 {
    color: #222;
}

body.light-mode .copyright {
    color: #666;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.gold-text {
    color: var(--gold-primary);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-secondary));
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, var(--gold-light), var(--gold-primary));
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* Header */
.main-header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.brand-logo {
    height: 50px;
    /* Adjust based on header size */
    width: 50px;
    /* Ensure perfect circle */
    object-fit: cover;
    /* or contain, depending on logo */
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    /* The "Frame" */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.desktop-nav a {
    margin: 0 15px;
    color: var(--text-muted);
    font-weight: 600;
}

.desktop-nav a:hover {
    color: var(--gold-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hide-on-mobile {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 70px;
    /* Below header */
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 10px;
    border-radius: 8px;
}

.mobile-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
}

/* Light Mode Overrides for Mobile Menu */
body.light-mode .mobile-menu {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

body.light-mode .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 120px;
    /* Increased to account for header + generic spacing */
    padding-bottom: 50px;
    /* Ensure content isn't cut off */
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1611974765270-ca12586343bb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    /* Forex chart placeholder */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.hero-video-container:hover {
    transform: scale(1.02);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

/* RESTORED: Video Facade needs absolute positioning for iframe too if it gets injected */
.hero-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video Facade Styles */
.video-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-facade:hover .video-thumb {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.play-button i {
    font-size: 30px;
    color: #000;
    margin-left: 5px;
    /* Visual adjustment for play icon */
}

.video-facade:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.6);
}

.video-facade:hover .play-button i {
    color: var(--gold-primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .cta-group {
        flex-direction: column;
        padding: 0 20px;
    }
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-card);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.stat-item p {
    color: var(--text-muted);
}

.gold-icon {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

/* Section General */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--gold-primary);
}

.section-header.center .line {
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text {
    max-width: 800px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.about-text p {
    margin-bottom: 20px;
}

.vip-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0));
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.vip-box h4 {
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.code {
    background: #333;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--gold-light);
    user-select: all;
}

/* Indicators Section */
.indicators-section {
    background-color: var(--bg-dark);
    /* Contrast with adjacent sections if needed */
}

.indicator-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.indicator-content h3 {
    color: var(--gold-primary);
    /* Or text-main depending on preference */
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.indicator-image-wrapper {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.indicator-image-wrapper:hover {
    transform: scale(1.02);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.indicator-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Socials Section */
.social-section {
    background-color: var(--bg-card);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.social-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.social-card span {
    font-weight: 600;
}

.youtube:hover {
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.3);
}

.telegram:hover {
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.3);
}

.instagram:hover {
    color: #C13584;
    border-color: rgba(193, 53, 132, 0.3);
}

.facebook:hover {
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.3);
}

.tiktok:hover {
    color: #00f2ea;
    color: #00f2ea;
    border-color: rgba(0, 242, 234, 0.3);
}

/* Contact Section (Inline) */
.contact-section {
    background-color: var(--bg-card);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-form-inline .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .contact-form-inline .form-row {
        grid-template-columns: 1fr;
    }

    .contact-content {
        padding: 20px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        /* Adjusted from previous 2.2rem to double check or keep same */
    }

    .hero-section {
        padding-top: 100px;
        /* Slightly less padding on mobile */
    }
}

.contact-form-inline .form-group {
    margin-bottom: 20px;
    text-align: right;
}

.contact-form-inline label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-light);
    font-weight: 600;
}

.contact-form-inline input,
.contact-form-inline textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-main);
    transition: var(--transition);
}

.contact-form-inline input:focus,
.contact-form-inline textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Light Mode for Contact Form */
body.light-mode .contact-content {
    background: #f9f9f9;
    border-color: #ddd;
}

body.light-mode .contact-form-inline input,
body.light-mode .contact-form-inline textarea {
    background: #fff;
    border-color: #ccc;
    color: #333;
}

body.light-mode .contact-form-inline label {
    color: var(--gold-primary);
}

/* Footer */
footer {
    padding: 50px 0 20px;
    background: #000;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.disclaimer {
    max-width: 800px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 8px;
}

.disclaimer h4 {
    color: var(--text-muted);
    margin-bottom: 5px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}