:root {
    --primary-dark: #0A2C3D;
    --primary-accent: #C89B3C;
    --neutral-light: #F5F7FA;
    --neutral-mid: #E1E8F0;
    --neutral-dark: #2D3748;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --safe: #2E7D32;
    --warning: #D84315;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--neutral-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header & Navigation */
.site-header {
    background-color: white;
    border-bottom: 1px solid var(--neutral-mid);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

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

.age-badge {
    background-color: var(--warning);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.global-disclaimer {
    background-color: #FFF3E0;
    border: 1px solid #FFB74D;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.85rem;
    color: var(--neutral-dark);
    text-align: center;
    width: 100%;
}

.global-disclaimer strong {
    color: var(--warning);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px solid var(--neutral-mid);
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    padding: 60px 0;
    color: white;
    text-align: center;
    position: relative;
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-disclaimer {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background-color: #E1B84C;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(200, 155, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    transform: translateY(-2px);
}

/* Main Content Sections */
main {
    flex: 1;
}

.section {
    padding: 60px 0;
}

.section-alt {
    background-color: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-accent);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-mid);
    margin-bottom: 15px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.step-card p {
    color: var(--text-secondary);
}

.virtual-coin-note {
    background-color: #E8F5E9;
    border-left: 4px solid var(--safe);
    padding: 15px;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Game Iframe Placeholder */
.game-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

.iframe-placeholder {
    background-color: var(--neutral-light);
    border: 2px dashed var(--neutral-mid);
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.iframe-placeholder code {
    display: block;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: left;
    font-size: 0.8rem;
    border: 1px solid var(--neutral-mid);
    overflow-x: auto;
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-accent);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Responsible Play */
.responsible-content {
    max-width: 800px;
    margin: 40px auto 0;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.responsible-content h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.responsible-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.tips-list {
    margin: 25px 0;
    padding-left: 20px;
}

.tips-list li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.support-note {
    background-color: #FFF3E0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    font-size: 0.95rem;
}

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

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--neutral-light);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
    border-top: 1px solid transparent;
}

.faq-answer.active {
    padding: 0 20px 20px 20px;
    max-height: 500px;
    border-top-color: var(--neutral-mid);
}

.faq-indicator {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-indicator {
    transform: rotate(180deg);
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 50px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.gdpr-notice {
    font-size: 0.85rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .header-top {
        justify-content: center;
        text-align: center;
    }
    
    .main-nav {
        justify-content: center;
    }
    
    .responsible-content, .game-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .step-card, .feature-card {
        padding: 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.video-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

#myVideo {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
   object-fit: cover;
   z-index: -1;
}

iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 5px;
}