* {
    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;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4A90E2;
}

.logo-text {
    background: linear-gradient(135deg, #4A90E2, #2E5C8A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4A90E2;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4A90E2;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9), rgba(46, 92, 138, 0.9));
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: #4A90E2;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Notices Section */
.notices {
    padding: 60px 20px;
    background: white;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.notice-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.notice-card h3 {
    color: #2E5C8A;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.notice-card p {
    color: #555;
    font-size: 0.95rem;
}

/* Game Section */
.game-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.game-section h2 {
    font-size: 2.5rem;
    color: #2E5C8A;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* About Section */
.about {
    padding: 60px 20px;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #2E5C8A;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 10px 0;
    color: #4A90E2;
    font-weight: 500;
}

.stats-card {
    background: linear-gradient(135deg, #4A90E2, #2E5C8A);
    padding: 40px;
    border-radius: 15px;
    color: white;
    text-align: center;
}

.stats-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.stat-item {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsible Gaming */
.responsible {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(46, 92, 138, 0.1));
    text-align: center;
}

.responsible h2 {
    font-size: 2.2rem;
    color: #2E5C8A;
    margin-bottom: 20px;
}

.responsible p {
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555;
    font-size: 1.05rem;
}

.resource-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.resource-links a {
    background: white;
    color: #4A90E2;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.resource-links a:hover {
    background: #4A90E2;
    color: white;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #6ba8f0;
}

.footer-text {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* Age Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    animation: slideIn 0.3s;
}

.modal-logo {
    margin-bottom: 20px;
}

.modal-content h2 {
    color: #2E5C8A;
    margin-bottom: 15px;
    font-size: 2rem;
}

.modal-content p {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-yes, .btn-no {
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-yes {
    background: #4A90E2;
    color: white;
}

.btn-yes:hover {
    background: #2E5C8A;
    transform: scale(1.05);
}

.btn-no {
    background: #e74c3c;
    color: white;
}

.btn-no:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Play Page */
.play-hero {
    background: linear-gradient(135deg, #4A90E2, #2E5C8A);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.play-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.play-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

.game-info {
    padding: 40px 20px;
    background: white;
}

.game-info .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 15px;
}

.info-card h3 {
    color: #2E5C8A;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.info-card p {
    color: #555;
}

.game-play {
    padding: 40px 20px 60px;
    background: rgba(255,255,255,0.95);
}

.game-wrapper {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

/* Content Pages */
.content-page {
    background: white;
    padding: 60px 20px;
    min-height: 70vh;
}

.content-page h1 {
    color: #2E5C8A;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.content-section {
    margin-bottom: 35px;
}

.content-section h2 {
    color: #4A90E2;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.content-section h3 {
    color: #2E5C8A;
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

.content-section p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content-section li {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.7;
}

.highlight-box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border-left: 4px solid #e74c3c;
    padding: 25px;
    border-radius: 10px;
}

.highlight-box h2 {
    color: #c0392b;
}

.resource-links-page {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.resource-link {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s;
}

.resource-link:hover {
    transform: translateX(10px);
}

.resource-link strong {
    color: #2E5C8A;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.resource-link span {
    color: #4A90E2;
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .modal-content {
        margin: 30% auto;
        padding: 30px 20px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .btn-yes, .btn-no {
        width: 100%;
    }
}
