* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    width: 100%;
    padding: 0 20px;
}

.age-popup {
    display: flex;
    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;
    animation: fadeIn 0.3s ease;
}

.age-popup.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.age-popup-content {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-popup-content h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.age-popup-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1em;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 15px 35px;
    font-size: 1em;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.yes-btn {
    background: white;
    color: #7C3AED;
}

.yes-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.no-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

.no-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5em;
    font-weight: 700;
    color: #7C3AED;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: #7C3AED;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #7C3AED;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu a {
        font-size: 1.1em;
    }
}

.hero {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.9) 0%, rgba(91, 33, 182, 0.9) 100%);
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 0;
}

.hero-content h1 {
    color: white;
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #7C3AED;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.info-section, .game-section, .additional-info, .community-section {
    background: white;
    padding: 80px 20px;
}

.info-section h2, .game-section h2, .additional-info h2, .community-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #7C3AED;
    font-weight: 700;
}

.lead-text, .section-intro {
    text-align: center;
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #7C3AED;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #555;
    line-height: 1.8;
}

.game-container {
    max-width: 100%;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-info {
    text-align: center;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-info p {
    color: #555;
    font-size: 1.05em;
}

.notice-section {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    padding: 60px 20px;
}

.notice-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.notice-box h3 {
    color: #7C3AED;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 700;
}

.notice-box ul {
    list-style: none;
}

.notice-box li {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 0;
    line-height: 1.8;
}

.notice-box strong {
    color: #7C3AED;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.info-column h3 {
    color: #7C3AED;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-column p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-radius: 15px;
    min-width: 200px;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 3em;
    font-weight: 700;
    color: #7C3AED;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 1.2em;
    color: #555;
    font-weight: 500;
}

footer {
    background: linear-gradient(135deg, #1f1235 0%, #2d1b47 100%);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.responsible-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.responsible-links a {
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.responsible-links a:hover {
    color: #c4b5fd;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a78bfa;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.play-header {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.9) 0%, rgba(91, 33, 182, 0.9) 100%);
    padding: 60px 20px;
    text-align: center;
}

.play-header h1 {
    color: white;
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.play-intro {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.game-play-section {
    background: white;
    padding: 40px 20px 80px;
}

.game-wrapper {
    max-width: 100%;
    margin: 0 auto 50px;
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.game-instructions {
    margin-top: 50px;
}

.game-instructions h2 {
    text-align: center;
    color: #7C3AED;
    font-size: 2.2em;
    margin-bottom: 40px;
    font-weight: 700;
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.instruction-item {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.inst-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
}

.instruction-item p {
    color: #555;
    line-height: 1.8;
}

.play-reminder {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    padding: 50px 20px;
}

.reminder-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.reminder-box h3 {
    color: #7C3AED;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.reminder-box p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.8;
}

.legal-header {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.9) 0%, rgba(91, 33, 182, 0.9) 100%);
    padding: 60px 20px;
    text-align: center;
}

.legal-header h1 {
    color: white;
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 700;
}

.updated {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
}

.legal-content {
    background: white;
    padding: 80px 20px;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    color: #7C3AED;
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.legal-text li {
    color: #444;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-notice {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border-left: 5px solid #7C3AED;
}

.legal-notice h3 {
    color: #7C3AED;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-notice p {
    color: #555;
}

.important-disclaimer {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left-color: #f59e0b;
}

.important-disclaimer h3 {
    color: #f59e0b;
}

.important-disclaimer ul {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .info-section h2, .game-section h2, .additional-info h2, .community-section h2 {
        font-size: 1.8em;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .game-frame-full {
        height: 500px;
    }

    .info-columns {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .age-popup-content {
        padding: 30px;
        margin: 20px;
    }

    .age-popup-content h2 {
        font-size: 1.5em;
    }

    .legal-header h1, .play-header h1 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 1.6em;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1em;
    }

    .game-frame, .game-frame-full {
        height: 400px;
    }

    .stat-item {
        min-width: 150px;
    }

    .stat-number {
        font-size: 2.5em;
    }
}
