* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    color: #333;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Age Verification Modal */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.modal-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #667eea;
}

.modal-text {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
}

.modal-subtext {
    font-size: 14px;
    color: #999;
    margin-bottom: 35px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-emoji {
    font-size: 32px;
}

.brand-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-item {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: #667eea;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

/* Hero Banner */
.hero-banner {
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 24px;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
}

/* Notices Section */
.notices-section {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.notice-box {
    background: white;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border-left: 5px solid;
}

.notice-box.cyan {
    border-left-color: #00d4ff;
}

.notice-box.orange {
    border-left-color: #ff6b35;
}

.notice-box.purple {
    border-left-color: #a855f7;
}

.notice-box:hover {
    transform: translateY(-8px);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.notice-emoji {
    font-size: 42px;
}

.notice-box h3 {
    font-size: 24px;
    font-weight: 700;
}

.notice-box p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-left {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-paragraph {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

/* Game Section */
.game-section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: white;
    margin-bottom: 40px;
}

.game-embed {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.game-info-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-wrap: wrap;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-emoji {
    font-size: 56px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* Play Page */
.play-header {
    padding: 80px 0 40px;
    text-align: center;
    color: white;
}

.page-heading {
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-intro {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Instructions Section */
.instructions-section {
    padding: 40px 0 60px;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.instruction-panel {
    background: white;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.panel-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.instruction-panel h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.instruction-panel ul {
    list-style: none;
    padding: 0;
}

.instruction-panel li {
    padding: 12px 0;
    padding-left: 28px;
    color: #666;
    line-height: 1.6;
    position: relative;
}

.instruction-panel li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

/* Legal Section */
.legal-section {
    background: white;
    min-height: calc(100vh - 200px);
    padding: 70px 0;
}

.legal-heading {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    font-size: 16px;
    color: #999;
    margin-bottom: 50px;
}

.legal-block {
    margin-bottom: 45px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.legal-block:last-child {
    border-bottom: none;
}

.legal-block h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.legal-block h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #555;
}

.legal-block p {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 15px;
}

.legal-block ul {
    margin: 20px 0;
    padding-left: 35px;
}

.legal-block li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #666;
}

.legal-block.important {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 35px;
    border-radius: 15px;
    border-left: 5px solid #ff6b35;
}

.legal-block.important h2 {
    color: #d63031;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.85;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-text {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-left {
        padding: 35px;
    }

    .game-frame {
        height: 400px;
    }

    .notices-grid,
    .features-grid,
    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .modal-box {
        margin: 20px;
        padding: 35px 25px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .legal-heading {
        font-size: 40px;
    }

    .page-heading {
        font-size: 42px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
