/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    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, #8B5CF6 0%, #3B82F6 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-modal-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.age-modal-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.age-disclaimer {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-yes, .btn-no {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: white;
    color: #8B5CF6;
}

.btn-yes:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-no {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: white;
    padding: 2rem;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    background: #f5f3ff;
    color: #8B5CF6;
    transform: translateX(5px);
}

.nav-menu a.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: white;
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #8B5CF6;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 3rem;
    min-height: 100vh;
}

.page-header {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
}

/* Intro Section */
.intro-section {
    margin-bottom: 2rem;
}

.intro-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-card h2 {
    color: #8B5CF6;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.intro-card p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Notices Section */
.notices-section {
    margin-bottom: 2rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.notice-card {
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
}

.notice-secondary {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
}

.notice-accent {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    color: white;
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notice-card p {
    opacity: 0.95;
    line-height: 1.6;
}

/* Game Section */
.game-section {
    margin-bottom: 2rem;
}

.game-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
}

.game-intro {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.game-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border-radius: 10px;
}

.game-cta {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: #8B5CF6;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features-section {
    margin-bottom: 2rem;
}

.features-section h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h4 {
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

/* Play Page Specific */
.play-info {
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h2 {
    color: #8B5CF6;
    margin-bottom: 1.5rem;
}

.info-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

.game-tips {
    list-style: none;
    padding: 0;
}

.game-tips li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.game-tips li:last-child {
    border-bottom: none;
}

.responsible-gaming {
    margin-top: 2rem;
}

.responsible-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.responsible-card h3 {
    color: #8B5CF6;
    margin-bottom: 1rem;
}

.responsible-card p {
    color: #555;
    line-height: 1.8;
}

/* Legal Content */
.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.legal-section p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin-left: 2rem;
    color: #555;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.highlight-section {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #8B5CF6;
}

.highlight-section h2 {
    color: #7C3AED;
}

/* Footer */
.site-footer {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8B5CF6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .game-container iframe {
        height: 400px;
    }

    .notice-grid,
    .features-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .btn-yes, .btn-no {
        width: 100%;
    }
}
