* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #14b8a6;
    --dark-teal: #0f766e;
    --accent-orange: #f97316;
    --light-orange: #fb923c;
    --navy: #1e293b;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --white: #ffffff;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--light-gray);
    color: var(--navy);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: var(--primary-teal);
    font-size: 32px;
    font-weight: 800;
}

.modal-body {
    text-align: center;
    margin-bottom: 30px;
}

.modal-body p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-body h3 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-teal);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.btn-primary:hover {
    background: var(--dark-teal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
    background: #e2e8f0;
    color: var(--navy);
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

/* Header */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
}

.brand-name {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 10px;
}

.nav-item {
    color: var(--navy);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: var(--light-gray);
    color: var(--primary-teal);
}

.nav-item.active {
    background: var(--primary-teal);
    color: white;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--navy);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--accent-orange);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--light-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

/* Notices Grid */
.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.notice-box {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid;
}

.notice-box.teal {
    border-color: var(--primary-teal);
}

.notice-box.orange {
    border-color: var(--accent-orange);
}

.notice-box.blue {
    border-color: #3b82f6;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.notice-emoji {
    font-size: 40px;
}

.notice-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
}

.notice-box p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* Content Card */
.content-card {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 60px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 25px;
}

.section-title.centered {
    text-align: center;
}

.section-text {
    color: var(--medium-gray);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 17px;
}

/* Game Showcase */
.game-showcase {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 60px 0;
}

.game-description {
    color: var(--medium-gray);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.game-frame {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 25px;
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-tip {
    color: var(--medium-gray);
    font-size: 15px;
    font-style: italic;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-emoji {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--light-orange) 100%);
    padding: 60px 0;
    margin: 60px 0;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-box {
    text-align: center;
    color: white;
}

.stat-value {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.95;
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.info-item {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.info-item p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* Tips List */
.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 15px 0 15px 40px;
    position: relative;
    color: var(--medium-gray);
    line-height: 1.7;
    border-bottom: 1px solid #e2e8f0;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
    font-size: 24px;
}

/* Legal Document */
.legal-document {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 60px 0;
}

.legal-document h2 {
    color: var(--navy);
    font-size: 28px;
    font-weight: 700;
    margin: 35px 0 20px;
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document p, .legal-document ul {
    color: var(--medium-gray);
    line-height: 1.9;
    margin-bottom: 20px;
}

.legal-document ul {
    margin-left: 30px;
}

.legal-document li {
    margin-bottom: 12px;
}

.update-date {
    margin-top: 50px;
    font-style: italic;
    color: var(--medium-gray);
    font-size: 15px;
}

/* Alert Boxes */
.alert-box {
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid;
}

.warning-box {
    background: #fef3c7;
    border-color: #f59e0b;
}

.info-box {
    background: #dbeafe;
    border-color: #3b82f6;
}

.success-box {
    background: #d1fae5;
    border-color: #10b981;
}

.neutral-box {
    background: #f3f4f6;
    border-color: #6b7280;
}

.primary-box {
    background: #ccfbf1;
    border-color: var(--primary-teal);
}

.secondary-box {
    background: #e0e7ff;
    border-color: #6366f1;
}

.alert-box h2 {
    margin-top: 0 !important;
}

.alert-box a {
    color: var(--dark-teal);
    font-weight: 600;
}

.important-notice {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.important-notice strong {
    font-weight: 800;
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-teal);
}

.footer-text {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-orange);
}

.footer-links span {
    opacity: 0.5;
}

.copyright {
    opacity: 0.6;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .main-nav.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .page-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .content-card, .game-showcase, .legal-document {
        padding: 30px 20px;
    }

    .game-frame {
        height: 400px;
    }

    .notices-grid, .features-grid, .info-boxes {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
    }
}
