/* RX Casino - Battle Fury Landing Page (Figma Design) */
:root {
    --primary: #faf398;
    --gold: #faf398;
    --gold-dark: #e0aa3e;
    --green: #00AA6C;
    --bg-top: #003027;
    --bg-bottom: #001112;
    --bg: #0A1612;
    --card: #0F1E1A;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    background-attachment: fixed;
    color: white;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 22, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 170, 108, 0.3);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img { height: 50px; }

.brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

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

.nav-menu a {
    color: #B0BEC5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.cta-button {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, #faf398, #e0aa3e);
    color: #000;
    box-shadow: 0 4px 15px rgba(250, 243, 152, 0.4);
    font-weight: 700;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(224, 170, 62, 0.6);
    background: linear-gradient(135deg, #e0aa3e, #faf398);
}

.cta-button.secondary {
    background: transparent;
    color: #faf398;
    border: 2px solid #faf398;
}

.cta-button.secondary:hover {
    background: rgba(250, 243, 152, 0.1);
    border-color: #e0aa3e;
}

.cta-button.large { padding: 16px 40px; font-size: 18px; }

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #faf398, #e0aa3e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 22px;
    color: #B0BEC5;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: #B0BEC5;
}

.hero-img {
    width: 75%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.hero-character {
    position: absolute;
    width: 150px;
}

/* Sections */
.section { padding: 80px 0; }

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
}

.section-description {
    text-align: center;
    font-size: 20px;
    color: #B0BEC5;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 170, 108, 0.3);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 170, 108, 0.3);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #faf398, #e0aa3e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
    color: #000;
}

.feature-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-description { color: #B0BEC5; }

/* Game Showcase */
.game-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.showcase-item img {
    width: 75%;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* Characters */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.character-card {
    background: var(--card);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(0, 170, 108, 0.3);
}

.character-card img { width: 75%; display: block; margin: 0 auto; }

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.step-card {
    background: var(--card);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #008558);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background: var(--card);
    padding: 30px;
    border-radius: 16px;
}

.testimonial-rating { color: var(--gold); margin-bottom: 15px; }
.testimonial-text { color: #B0BEC5; font-style: italic; margin-bottom: 20px; }
.testimonial-author { color: var(--primary); font-weight: 600; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }

.faq-item {
    background: var(--card);
    margin-bottom: 15px;
    border-radius: 12px;
}

.faq-question {
    width: 100%;
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer div { padding: 0 30px 20px; color: #B0BEC5; }

/* CTA Section */
.cta-section { background: var(--card); }
.cta-section .container { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; text-align: center; }
.cta-title { font-size: 48px; color: var(--primary); margin-bottom: 20px; }
.cta-image img { width: 75%; border-radius: 16px; display: block; margin: 0 auto; }

/* Footer */
.footer { background: #050B09; padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
.footer-section h3 { color: var(--primary); margin-bottom: 20px; }
.footer-section ul { list-style: none; }
.footer-section a { color: #B0BEC5; text-decoration: none; }
.footer-bottom { text-align: center; color: #B0BEC5; padding-top: 30px; border-top: 1px solid rgba(0, 170, 108, 0.3); }

/* Gameplay vertical layout */
.gameplay-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.gameplay-video img {
    width: 75%;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}

.gameplay-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.gf-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.gf-icon { font-size: 24px; }

/* Responsive */
@media (max-width: 992px) {
    .hero-section .container { grid-template-columns: 1fr; }
    .characters-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* Deep content SEO block */
.deep-content {
    max-width: 860px;
    margin: 0 auto;
}

.deep-content-body p {
    color: #B0BEC5;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.deep-content-body h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: var(--primary);
    margin: 36px 0 14px;
}

/* Nav actions row */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language switcher */
.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(250, 243, 152, 0.3);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    font-family: 'Rajdhani', sans-serif;
}

.lang-current:hover {
    background: rgba(250, 243, 152, 0.15);
    border-color: var(--primary);
}

.lang-arrow { font-size: 10px; transition: transform 0.2s; }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #0F1E1A;
    border: 1px solid rgba(0, 170, 108, 0.4);
    border-radius: 10px;
    min-width: 160px;
    z-index: 2000;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.lang-switcher.open .lang-dropdown { display: block; }
/* JS controls display directly via style.display */

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #B0BEC5;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.lang-option:hover { background: rgba(0,170,108,0.15); color: white; }
.lang-option.active { color: var(--primary); background: rgba(250,243,152,0.08); }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(250, 243, 152, 0.4);
    color: var(--primary);
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .game-showcase { grid-template-columns: 1fr; }
    .characters-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }

    .menu-toggle { display: block; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 18, 0.98);
        border-top: 1px solid rgba(0, 170, 108, 0.3);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-menu.active { display: flex; }

    .nav-actions {
        display: none;
    }

    .navbar .container { flex-wrap: wrap; }
}
