/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary-color: #004E89;
    --secondary-dark: #003D6B;
    --accent-color: #1A659E;
    --success-color: #2E8B57;
    --warning-color: #FFB84D;
    --error-color: #E63946;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F7FA;
    --bg-dark: #2C3E50;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
}

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

/* Typography */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-large {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    background: var(--primary-color);
    color: white;
}

.btn-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Age Verification Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.age-verify h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.age-verify p {
    font-size: 1.125rem;
    margin-bottom: 15px;
}

.age-verify .disclaimer {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.age-verify-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-verify-buttons button {
    flex: 1;
}

/* Header */
.site-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-disclaimer {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 700px;
}

.hero-disclaimer p {
    font-size: 1.125rem;
    margin: 0;
}

.hero-cta {
    margin-top: 30px;
}

/* Notice Banner */
.notice-banner {
    background: #FFF3CD;
    border-left: 4px solid var(--warning-color);
    padding: 20px 0;
}

.notice-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.notice-content svg {
    flex-shrink: 0;
    color: var(--warning-color);
}

.notice-content p {
    margin: 0;
    color: var(--text-primary);
}

/* Featured Games */
.featured-games {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.game-image {
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.game-image.slots {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
}

.game-image.poker {
    background: linear-gradient(135deg, #1A659E, #004E89);
}

.game-image.roulette {
    background: linear-gradient(135deg, #E63946, #C92A2A);
}

.game-image.blackjack {
    background: linear-gradient(135deg, #2E8B57, #1B5E3F);
}

.game-card h3 {
    padding: 20px 20px 10px;
    color: var(--text-primary);
}

.game-card p {
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.game-card .btn-secondary {
    margin: 20px;
    width: calc(100% - 40px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    background: var(--primary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.feature-item h3 {
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-secondary);
}

/* Responsible Gaming Banner */
.responsible-gaming-banner {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.responsible-gaming-banner h2 {
    margin-bottom: 20px;
}

.responsible-gaming-banner p {
    font-size: 1.125rem;
    margin-bottom: 30px;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col .small-text {
    font-size: 0.75rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
    background: white;
}

.legal-page h1 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.legal-page .updated {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 40px;
}

.legal-page .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--text-primary);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.legal-content h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    color: var(--text-primary);
    margin-top: 25px;
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

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

.legal-content strong {
    color: var(--text-primary);
}

.terms-acknowledgment,
.privacy-summary,
.important-notice,
.disclaimer-box,
.contact-box,
.final-notice {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    border-left: 4px solid var(--primary-color);
}

.important-notice {
    background: #FFF3CD;
    border-left-color: var(--warning-color);
}

.highlight {
    background: #FFF3CD;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--warning-color);
    margin: 20px 0;
}

.disclaimer-text {
    background: #FFE5E5;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--error-color);
    color: var(--text-primary);
    font-weight: 500;
}

/* Responsible Gaming Specific */
.help-resources {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.resource-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.resource-card p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.resource-card a {
    font-weight: 600;
}

/* About Page Specific */
.about-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
}

.about-highlight h3 {
    color: white;
    margin-bottom: 15px;
}

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

.feature-box {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.important-box {
    background: #FFF3CD;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--warning-color);
}

.important-box ul {
    margin-left: 20px;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .games-grid,
    .features-grid,
    .features-list {
        grid-template-columns: 1fr;
    }

    .age-verify-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .featured-games,
    .features {
        padding: 40px 0;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}
