/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Restriction Banner */
.age-restriction-banner {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-content {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #1a472a, #2d5a3d);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: #ffd700;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a472a, #2d5a3d);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.feature h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Main Content Sections */
.game-section,
.money-features,
.content-section {
    padding: 4rem 0;
    background: white;
}

.game-section h2,
.money-features h2,
.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a472a;
}

.game-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Game Iframe */
.game-wrapper {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.game-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

/* Game Information */
.game-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.game-info h3 {
    color: #1a472a;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.game-info ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.game-info li {
    background: white;
    margin: 1rem 0;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #ffd700;
}

.game-info strong {
    color: #1a472a;
}

/* Money Features Grid */
.money-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.money-card {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid #ffd700;
    text-align: center;
}

.money-card h3 {
    color: #1a472a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.money-card p {
    color: #666;
    line-height: 1.8;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #1a472a, #2d5a3d);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.last-updated {
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.8;
}

/* Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.main-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quick-tips,
.money-highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #ffd700;
}

.quick-tips h3,
.money-highlight h3 {
    color: #1a472a;
    margin-bottom: 1rem;
}

.quick-tips ul {
    list-style: none;
}

.quick-tips li {
    background: white;
    margin: 0.5rem 0;
    padding: 0.8rem;
    border-radius: 5px;
    border-left: 3px solid #28a745;
}

/* Terms and Privacy Content */
.terms-content,
.privacy-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.terms-content h2,
.privacy-content h2 {
    color: #1a472a;
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 0.5rem;
}

.terms-content h3,
.privacy-content h3 {
    color: #2d5a3d;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.terms-content h4,
.privacy-content h4 {
    color: #495057;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.8rem 0;
}

.terms-content ul,
.privacy-content ul {
    margin: 1rem 0 2rem 2rem;
}

.terms-content li,
.privacy-content li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.card-values {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid #ffd700;
}

.card-values p {
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Important Notices */
.important-notice {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.important-notice h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.important-notice p {
    color: #856404;
    font-weight: 500;
    line-height: 1.8;
}

/* Guidelines Grid */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guideline {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #28a745;
}

.guideline h4 {
    color: #1a472a;
    margin-bottom: 1rem;
}

/* Privacy Highlights */
.privacy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #007bff;
}

.highlight h4 {
    color: #1a472a;
    margin-bottom: 1rem;
}

/* Responsible Gaming Section */
.responsible-gaming {
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: white;
    padding: 4rem 0;
}

.responsible-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.responsible-content h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #ffd700;
}

.responsible-tips {
    list-style: none;
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
}

.responsible-tips li {
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #ffd700;
}

.helpline-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.helpline-info h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.helpline-info ul {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 1rem auto 0 auto;
}

.helpline-info li {
    margin: 0.8rem 0;
    font-weight: 500;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a472a, #2d5a3d);
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    padding-top: 2rem;
    text-align: center;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-content {
        padding: 2rem;
    }

    .terms-content,
    .privacy-content {
        padding: 2rem;
    }

    .game-wrapper iframe {
        height: 400px;
    }

    .money-grid {
        grid-template-columns: 1fr;
    }

    .guidelines-grid,
    .privacy-highlights {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .game-section h2,
    .money-features h2 {
        font-size: 2rem;
    }

    .main-content,
    .terms-content,
    .privacy-content {
        padding: 1.5rem;
    }

    .game-wrapper {
        padding: 15px;
    }

    .game-wrapper iframe {
        height: 300px;
    }

    .money-card,
    .feature {
        padding: 1.5rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .age-restriction-banner,
    .nav-menu,
    .footer,
    .game-wrapper,
    .responsible-gaming {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .main-content,
    .terms-content,
    .privacy-content {
        box-shadow: none;
        padding: 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section,
    .page-header,
    .responsible-gaming,
    footer {
        background: #000;
        color: #fff;
    }

    .logo h1,
    .hero-content h1,
    .page-header h1 {
        color: #fff;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: #fff;
        color: #000;
    }
}