* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #f093fb 0%, #f5576c 100%);
    color: #333;
    line-height: 1.6;
}

.age-verification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.age-verification-modal.visible {
    display: block;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: calc(100% - 2rem);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content h2 {
    color: #f5576c;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-disclaimer {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-confirm,
.btn-decline {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.btn-confirm {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}

.btn-decline {
    background: #ddd;
    color: #333;
}

.btn-decline:hover {
    background: #ccc;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 2px solid #f5576c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-emoji {
    font-size: 2rem;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f5576c;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #f5576c;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: linear-gradient(90deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
    border-left-color: #f5576c;
    color: #f5576c;
}

.link-icon {
    font-size: 1.5rem;
}

.link-text {
    font-weight: 600;
}

.sidebar-footer {
    padding: 2rem;
    border-top: 2px solid #eee;
    text-align: center;
    color: #666;
}

.footer-small {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
}

.main-wrapper {
    flex: 1;
    margin-left: 280px;
}

.top-bar {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 900;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #f5576c;
}

.top-bar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-emoji {
    font-size: 1.5rem;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f5576c;
}

.content-area {
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-banner {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.welcome-banner h1 {
    color: #f5576c;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.welcome-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.3);
}

.cta-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.point-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.point-card:hover {
    transform: translateY(-8px);
}

.point-card.blue {
    border-top: 5px solid #4facfe;
}

.point-card.orange {
    border-top: 5px solid #ff9a56;
}

.point-card.purple {
    border-top: 5px solid #a18cd1;
}

.point-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.point-card h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.game-preview {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.game-preview h2 {
    color: #f5576c;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.game-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
}

.info-section {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-section h2 {
    color: #f5576c;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.info-col h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-col p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-showcase {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.features-showcase h2 {
    color: #f5576c;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-box h4 {
    color: #f5576c;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.about-virtual-currency {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-virtual-currency h2 {
    color: #f5576c;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.currency-list {
    list-style: none;
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.currency-list li {
    padding: 0.5rem 0;
}

.responsible-gaming-section {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.responsible-gaming-section h2 {
    color: #f5576c;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.responsible-gaming-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.page-footer {
    background: white;
    padding: 3rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    color: #f5576c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-list {
    list-style: none;
}

.footer-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #f5576c;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #eee;
    color: #666;
}

.play-page .page-title-section {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-title-section h1 {
    color: #f5576c;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.play-instructions {
    margin-bottom: 2rem;
}

.instruction-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.instruction-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.game-display-section {
    margin-bottom: 2rem;
}

.game-display-container {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.game-display-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
}

.important-reminders {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.reminders-container h3 {
    color: #f5576c;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.reminders-list {
    list-style: none;
    line-height: 2.5;
    font-size: 1.05rem;
}

.legal-page .legal-title {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.legal-title h1 {
    color: #f5576c;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.legal-updated {
    color: #666;
}

.legal-sections {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.legal-item {
    margin-bottom: 2.5rem;
}

.legal-item h2 {
    color: #f5576c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-item h3 {
    color: #333;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 600;
}

.legal-item ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-item li {
    margin-bottom: 0.5rem;
}

.legal-item.important {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #f5576c;
}

@media (max-width: 1024px) {
    .sidebar {
        left: -280px;
        transition: left 0.3s;
    }

    .sidebar.open {
        left: 0;
    }

    .sidebar-close {
        display: block;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .content-area {
        padding: 1.5rem;
    }

    .welcome-banner h1 {
        font-size: 1.8rem;
    }

    .game-frame {
        height: 400px;
    }

    .game-display-frame {
        height: 500px;
    }

    .welcome-banner,
    .game-preview,
    .info-section,
    .features-showcase,
    .about-virtual-currency,
    .responsible-gaming-section {
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }
}
