@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #9b59b6;
    --secondary: #e91e63;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar .logo {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1.5rem;
}

.sidebar .logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.sidebar .logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin: 0;
}

.sidebar nav ul li a {
    display: block;
    padding: 1rem 2rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a.active {
    background: rgba(255,255,255,0.1);
    border-left-color: #fff;
    color: #fff;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--gradient);
    border: none;
    padding: 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    padding: 2rem;
}

/* Header */
header {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

header h1 {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Content Sections */
.content-section {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.content-section h2 {
    color: #e91e63;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.85);
}

/* Notice Boxes */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.notice-box {
    background: linear-gradient(135deg, rgba(233,30,99,0.2) 0%, rgba(155,89,182,0.2) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(233,30,99,0.5);
    text-align: center;
}

.notice-box h3 {
    color: #e91e63;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.notice-box p {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* Game Container */
.game-container {
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.game-container iframe {
    width: 100%;
    max-width: 800px;
    height: 600px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Footer */
footer {
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    text-align: center;
}

.responsible-gaming {
    margin-top: 1rem;
}

.responsible-gaming h3 {
    color: #e91e63;
    margin-bottom: 1rem;
}

.responsible-gaming .links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.responsible-gaming a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.responsible-gaming a:hover {
    color: #e91e63;
}

/* 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;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.age-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.age-modal-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Poppins', sans-serif;
}

.age-buttons .btn-yes {
    background: #27ae60;
    color: #fff;
}

.age-buttons .btn-no {
    background: #e74c3c;
    color: #fff;
}

.age-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1rem 1rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .game-container iframe {
        height: 400px;
    }

    .responsible-gaming .links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 1.5rem;
    }

    header {
        padding: 1rem;
    }

    .game-container {
        padding: 1rem;
    }

    .game-container iframe {
        height: 300px;
    }
}
