* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a0933 0%, #2d1455 100%);
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #2d1455 0%, #4a1f7a 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid #8b5cf6;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
}

.age-modal-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.age-modal-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.age-disclaimer {
    font-size: 0.95rem;
    color: #c4b5fd;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-yes, .btn-no {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: #8b5cf6;
    color: white;
}

.btn-yes:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.btn-no {
    background: #4a5568;
    color: white;
}

.btn-no:hover {
    background: #2d3748;
}

/* Header */
.header {
    background: rgba(26, 9, 51, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #8b5cf6;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #c4b5fd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #8b5cf6;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #8b5cf6;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #c4b5fd;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: rgba(45, 20, 85, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #8b5cf6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notices {
    margin-bottom: 3rem;
}

.notice-banner {
    background: rgba(139, 92, 246, 0.2);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #8b5cf6;
}

.notice-banner h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notice-banner ul {
    list-style: none;
    padding-left: 0;
}

.notice-banner li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.notice-banner li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #8b5cf6;
}

.game-section {
    margin-bottom: 3rem;
}

.game-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.game-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #c4b5fd;
}

.game-container {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.game-container.full {
    padding: 0.5rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.game-controls-info {
    text-align: center;
    margin-top: 1rem;
}

.game-controls-info p {
    margin: 0.5rem 0;
    color: #c4b5fd;
}

.about {
    background: rgba(45, 20, 85, 0.4);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.about h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(45, 20, 85, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.feature-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

/* Play Page */
.play-header {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.play-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.play-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-box {
    background: rgba(139, 92, 246, 0.15);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #8b5cf6;
}

.info-box h3 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.game-tips {
    margin-top: 3rem;
    background: rgba(45, 20, 85, 0.4);
    padding: 2rem;
    border-radius: 15px;
}

.game-tips h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.tip {
    background: rgba(139, 92, 246, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #8b5cf6;
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #8b5cf6;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #c4b5fd;
    font-style: italic;
}

.legal-content {
    background: rgba(45, 20, 85, 0.3);
    padding: 2.5rem;
    border-radius: 15px;
}

.legal-content h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.disclaimer-highlight {
    background: rgba(139, 92, 246, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #8b5cf6;
    margin-bottom: 2rem;
}

.disclaimer-highlight h2 {
    margin-top: 0;
}

/* Footer */
.footer {
    background: rgba(26, 9, 51, 0.95);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.responsible-links {
    list-style: none;
    padding-left: 0;
}

.responsible-links li {
    margin-bottom: 0.5rem;
}

.responsible-links a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.responsible-links a:hover {
    color: #a78bfa;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: rgba(26, 9, 51, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        right: 0;
    }

    .nav a.active::after {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 0.5rem;
    }

    .game-frame {
        height: 400px;
    }
}
