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

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(to bottom, #faf5ff 0%, #f3e8ff 100%);
    color: #2c1654;
    line-height: 1.6;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.narrow-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.wide-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Age Verification Modal */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.95) 0%, rgba(147, 51, 234, 0.95) 100%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.age-verification-modal.active {
    display: flex;
}

.age-modal-content {
    background: white;
    padding: 50px 45px;
    border-radius: 25px;
    max-width: 520px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.age-icon {
    font-size: 70px;
    margin-bottom: 25px;
}

.age-modal-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: #a855f7;
    margin-bottom: 20px;
}

.age-modal-content p {
    font-size: 17px;
    color: #64748b;
    margin-bottom: 35px;
    line-height: 1.7;
}

.age-buttons-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm-btn, .decline-btn {
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    transition: all 0.3s ease;
}

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

.confirm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.decline-btn {
    background: #94a3b8;
    color: white;
}

.decline-btn:hover {
    background: #64748b;
    transform: translateY(-3px);
}

/* Header */
.main-header {
    background: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-name {
    font-size: 26px;
    font-weight: 800;
    color: #a855f7;
    letter-spacing: 0.5px;
}

.main-navigation {
    display: flex;
    gap: 40px;
}

.nav-item {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-item:hover {
    color: #a855f7;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7 0%, #9333ea 100%);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-item:hover::before {
    width: 100%;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 30px;
    height: 3px;
    background: #a855f7;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 25px 30px;
        gap: 15px;
        box-shadow: 0 10px 25px rgba(168, 85, 247, 0.15);
        display: none;
    }

    .main-navigation.active {
        display: flex;
    }
}

/* Hero Area */
.hero-area {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    color: white;
    padding: 90px 30px;
    text-align: center;
}

.hero-inner h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-lead {
    font-size: 21px;
    margin-bottom: 45px;
    opacity: 0.95;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 18px 40px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-primary {
    background: white;
    color: #a855f7;
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
}

.cta-secondary:hover {
    background: white;
    color: #a855f7;
    transform: translateY(-4px);
}

/* Critical Info */
.critical-info {
    padding: 80px 30px;
}

.critical-info h2 {
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 45px;
    color: #7c3aed;
}

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

.info-tile {
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-tile:hover {
    transform: scale(1.05);
}

.tile-red {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
}

.tile-blue {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
}

.tile-orange {
    background: linear-gradient(135deg, #fdba74 0%, #fb923c 100%);
}

.tile-icon {
    font-size: 55px;
    display: block;
    margin-bottom: 20px;
}

.info-tile h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.info-tile p {
    color: #475569;
    line-height: 1.7;
    font-size: 16px;
}

/* About Section */
.about-section {
    padding: 80px 30px;
    background: white;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 968px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
}

.about-content h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #7c3aed;
}

.about-content p {
    margin-bottom: 20px;
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }
}

.highlight-item {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.highlight-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.highlight-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #6b21a8;
}

.highlight-item p {
    color: #7c3aed;
    font-size: 14px;
}

/* Game Feature */
.game-feature {
    padding: 80px 30px;
}

.game-feature h2 {
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #7c3aed;
}

.feature-description {
    text-align: center;
    color: #475569;
    font-size: 17px;
    margin-bottom: 45px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.game-embed-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.2);
}

.embedded-game {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 20px;
    display: block;
}

/* Advantages */
.advantages {
    padding: 80px 30px;
    background: white;
}

.advantages h2 {
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #7c3aed;
}

.advantages-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    border-color: #a855f7;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.2);
}

.card-badge {
    display: inline-block;
    font-size: 50px;
    font-weight: 900;
    color: #a855f7;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c1654;
}

.advantage-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Responsibility Message */
.responsibility-message {
    padding: 70px 30px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.message-box {
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
}

.message-box h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #3730a3;
}

.message-box p {
    font-size: 17px;
    color: #4338ca;
    line-height: 1.8;
}

/* Play Intro */
.play-intro {
    padding: 70px 30px;
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    color: white;
    text-align: center;
}

.play-intro h1 {
    font-size: 46px;
    font-weight: 900;
    margin-bottom: 20px;
}

.play-intro p {
    font-size: 19px;
    opacity: 0.95;
}

/* Gameplay Area */
.gameplay-area {
    padding: 60px 30px;
}

.game-container-full {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 25px 70px rgba(168, 85, 247, 0.25);
}

.fullsize-game {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 20px;
    display: block;
}

/* Game Guide */
.game-guide {
    padding: 70px 30px;
    background: white;
}

.game-guide h2 {
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 45px;
    color: #7c3aed;
}

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

.guide-box {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid #e9d5ff;
}

.guide-box h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #a855f7;
}

.guide-box p {
    color: #64748b;
    line-height: 1.7;
}

/* Legal Content */
.legal-content {
    padding: 80px 30px;
}

.legal-content h1 {
    font-size: 46px;
    font-weight: 900;
    color: #7c3aed;
    margin-bottom: 15px;
}

.update-info {
    font-style: italic;
    color: #94a3b8;
    margin-bottom: 50px;
}

.legal-article {
    margin-bottom: 40px;
}

.legal-article h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c1654;
}

.legal-article p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
}

.warning-panel {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid #f59e0b;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
}

.warning-panel h2 {
    color: #92400e;
    margin-bottom: 15px;
}

.warning-panel p {
    color: #78350f;
    font-size: 17px;
}

/* Footer */
.page-footer {
    background: linear-gradient(135deg, #2c1654 0%, #1e1032 100%);
    color: #e9d5ff;
    padding: 70px 30px 35px;
}

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

.footer-block h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #c084fc;
}

.footer-block p {
    line-height: 1.7;
    color: #c4b5fd;
}

.footer-block a {
    display: block;
    color: #d8b4fe;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-block a:hover {
    color: #e9d5ff;
}

.footer-credits {
    border-top: 1px solid #4c1d95;
    padding-top: 30px;
    text-align: center;
    color: #c4b5fd;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-inner h1 {
        font-size: 38px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .critical-info h2,
    .about-content h2,
    .game-feature h2,
    .advantages h2,
    .game-guide h2 {
        font-size: 32px;
    }

    .embedded-game,
    .fullsize-game {
        height: 450px;
    }

    .legal-content h1 {
        font-size: 36px;
    }

    .legal-article h2 {
        font-size: 24px;
    }
}
