* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Top Navigation */
.top-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.menu {
    display: flex;
    gap: 2rem;
}

.menu-item {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.menu-item:hover,
.menu-item.active {
    background: rgba(255, 255, 255, 0.2);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.banner-text {
    font-size: 1.3rem;
    font-weight: 300;
}

/* Content Area */
.content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Welcome Box */
.welcome-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-heading.centered {
    text-align: center;
}

/* Info Panels */
.info-panels {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.panel {
    flex: 1;
    min-width: 280px;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.panel-red {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.panel-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.panel-purple {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.panel-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.panel h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Game Showcase */
.game-showcase {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.showcase-info {
    margin-bottom: 1.5rem;
}

.game-display {
    width: 100%;
    height: 600px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.game-display iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Features */
.features-area {
    margin: 3rem 0;
}

.features-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-box {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-box h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Responsibility Box */
.responsibility-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.help-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.help-box h3 {
    margin-bottom: 1rem;
}

.help-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.help-links a {
    background: #fff;
    color: #667eea;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s;
}

.help-links a:hover {
    transform: scale(1.05);
}

/* Footer */
.page-footer {
    background: rgba(0, 0, 0, 0.3);
    margin-top: 4rem;
    padding: 2rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-legal {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.modal-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
}

.modal-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-emoji {
    font-size: 4rem;
    margin: 1rem 0;
}

.bold-text {
    font-weight: 700;
    margin: 1.5rem 0;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-yes,
.btn-no {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-yes {
    background: #fff;
    color: #667eea;
}

.btn-no {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-yes:hover,
.btn-no:hover {
    transform: scale(1.05);
}

/* Play Page */
.game-info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.info-item strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.game-player-section {
    margin-bottom: 2rem;
}

.game-details-box,
.tips-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tips-box h3,
.game-details-box h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.tips-content ul {
    margin-left: 2rem;
}

.tips-content li {
    margin-bottom: 0.5rem;
}

/* Legal Pages */
.legal-content {
    max-width: 1000px;
}

.legal-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.legal-updated {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.legal-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-section h2 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-section ul {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.3) 0%, rgba(240, 147, 251, 0.3) 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: rgba(102, 126, 234, 0.95);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s;
        backdrop-filter: blur(10px);
    }

    .menu.active {
        right: 0;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-text {
        font-size: 1.1rem;
    }

    .info-panels {
        flex-direction: column;
    }

    .panel {
        min-width: 100%;
    }

    .game-display {
        height: 400px;
    }

    .modal-box {
        margin: 0 1rem;
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }
}
