* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e94560;
    line-height: 1.65;
    min-height: 100vh;
}

.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 35px;
}

.main-header {
    background: linear-gradient(90deg, #0f3460 0%, #16213e 100%);
    border-bottom: 4px solid #e94560;
    position: sticky;
    top: 0;
    z-index: 750;
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

.header-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.3rem 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.4rem;
    color: #00ffff;
    text-shadow: 2px 2px 0 #ff00ff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    background: #00ffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.main-menu {
    display: flex;
    gap: 32px;
}

.main-menu a {
    color: #00ffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 10px 20px;
    border: 3px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.main-menu a:hover {
    color: #ffff00;
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.2);
    transform: translateY(-2px);
}

.splash {
    padding: 100px 35px 85px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.2) 0%, rgba(15, 52, 96, 0.3) 100%);
    text-align: center;
    border-bottom: 4px solid #e94560;
}

.splash-inner h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.8rem;
    color: #ffff00;
    margin-bottom: 30px;
    text-shadow: 4px 4px 0 #e94560, 8px 8px 0 #00ffff;
    line-height: 1.4;
}

.splash-text {
    font-size: 1.25rem;
    color: #00ffff;
    margin-bottom: 45px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.action-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b9d 100%);
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
    border: 4px solid #00ffff;
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.7), 0 0 30px rgba(0, 255, 255, 0.5);
    background: linear-gradient(135deg, #ff6b9d 0%, #e94560 100%);
}

.story {
    padding: 90px 35px;
    background: rgba(15, 52, 96, 0.4);
}

.story h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.2rem;
    color: #ffff00;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 3px 3px 0 #e94560;
}

.story-blocks p {
    font-size: 1.15rem;
    color: #00ffff;
    max-width: 950px;
    margin: 0 auto 25px;
    text-align: center;
    line-height: 1.9;
}

.highlights {
    padding: 90px 35px;
    background: rgba(22, 33, 62, 0.5);
}

.highlights h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.2rem;
    color: #ffff00;
    text-align: center;
    margin-bottom: 55px;
    text-shadow: 3px 3px 0 #e94560;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 35px;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border: 4px solid #e94560;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    transform: translateY(-10px) rotate(-2deg);
    border-color: #00ffff;
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5);
}

.highlight-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.highlight-box h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: #ffff00;
    margin-bottom: 18px;
    line-height: 1.6;
}

.highlight-box p {
    color: #00ffff;
    font-size: 1rem;
    line-height: 1.7;
}

.warnings {
    padding: 90px 35px;
    background: rgba(15, 52, 96, 0.6);
}

.warnings h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.2rem;
    color: #ffff00;
    text-align: center;
    margin-bottom: 55px;
    text-shadow: 3px 3px 0 #e94560;
}

.warnings-set {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.warning-card {
    padding: 38px;
    border-radius: 12px;
    border: 4px solid;
    background: rgba(22, 33, 62, 0.8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.warning-danger {
    border-color: #ff0000;
}

.warning-info {
    border-color: #00ffff;
}

.warning-alert {
    border-color: #ffff00;
}

.warning-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: #ffff00;
    margin-bottom: 20px;
    line-height: 1.6;
}

.warning-card p {
    color: #00ffff;
    line-height: 1.9;
    font-size: 1.05rem;
}

.featured {
    padding: 90px 35px;
    background: rgba(22, 33, 62, 0.4);
}

.featured h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.2rem;
    color: #ffff00;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 3px 3px 0 #e94560;
}

.featured-desc {
    font-size: 1.15rem;
    color: #00ffff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.featured-window {
    max-width: 1150px;
    margin: 0 auto 35px;
    border-radius: 15px;
    overflow: hidden;
    border: 5px solid #e94560;
    box-shadow: 0 15px 50px rgba(233, 69, 96, 0.5), 0 0 30px rgba(0, 255, 255, 0.3);
}

.featured-window iframe {
    width: 100%;
    height: 680px;
    display: block;
}

.featured-cta {
    text-align: center;
}

.link-arrow {
    display: inline-block;
    color: #00ffff;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 0 #e94560;
}

.link-arrow:hover {
    color: #ffff00;
    transform: translateX(15px);
}

.page-footer {
    background: linear-gradient(90deg, #0f3460 0%, #16213e 100%);
    border-top: 4px solid #e94560;
    padding: 75px 35px 40px;
    margin-top: 0;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 45px;
}

.footer-section h4 {
    font-family: 'Press Start 2P', cursive;
    color: #ffff00;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-section p {
    color: #00ffff;
    margin-bottom: 18px;
    line-height: 1.8;
}

.footer-resources {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-resources a {
    color: #00ffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-resources a:hover {
    color: #ffff00;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-menu a {
    color: #00ffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ffff00;
}

.footer-credit {
    color: #ffff00;
    font-weight: 700;
}

.footer-statement {
    color: #e94560;
    font-weight: 700;
    font-size: 1.1rem;
}

.gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.98) 0%, rgba(22, 33, 62, 0.98) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9500;
}

.gate-overlay.hidden {
    display: none;
}

.gate-box {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    padding: 55px 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 520px;
    border: 5px solid #e94560;
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.6), 0 0 40px rgba(0, 255, 255, 0.4);
}

.gate-graphic {
    font-size: 5rem;
    margin-bottom: 25px;
}

.gate-box h2 {
    font-family: 'Press Start 2P', cursive;
    color: #ffff00;
    font-size: 1.4rem;
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 2px 2px 0 #e94560;
}

.gate-box p {
    color: #00ffff;
    font-size: 1.1rem;
    margin-bottom: 18px;
    line-height: 1.8;
}

.gate-options {
    display: flex;
    gap: 22px;
    margin-top: 35px;
    justify-content: center;
}

.gate-options button {
    padding: 16px 42px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 3px solid;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

.btn-accept {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #00ffff;
}

.btn-accept:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

.btn-reject {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-color: #ffff00;
}

.btn-reject:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.5);
}

.gameplay {
    padding: 55px 35px 90px;
}

.gameplay-area {
    max-width: 1400px;
    margin: 0 auto;
}

.gameplay-area h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.2rem;
    color: #ffff00;
    text-align: center;
    margin-bottom: 45px;
    text-shadow: 3px 3px 0 #e94560, 6px 6px 0 #00ffff;
    line-height: 1.6;
}

.game-screen {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 5px solid #e94560;
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.6), 0 0 40px rgba(0, 255, 255, 0.4);
    margin-bottom: 35px;
}

.game-screen iframe {
    width: 100%;
    height: 780px;
    display: block;
}

.gameplay-reminder {
    text-align: center;
    padding: 28px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border-radius: 12px;
    border: 4px solid #00ffff;
}

.gameplay-reminder p {
    color: #ffff00;
    font-size: 1.15rem;
    font-weight: 700;
}

.docs-page {
    padding: 55px 35px 90px;
}

.docs-content {
    max-width: 950px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    padding: 55px 48px;
    border-radius: 20px;
    border: 5px solid #e94560;
    box-shadow: 0 15px 50px rgba(233, 69, 96, 0.5);
}

.docs-content h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: #ffff00;
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 2px 2px 0 #e94560;
}

.docs-date {
    color: #00ffff;
    font-style: italic;
    margin-bottom: 45px;
    padding-bottom: 22px;
    border-bottom: 3px solid #e94560;
}

.docs-section {
    margin-bottom: 42px;
}

.docs-section h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: #ffff00;
    margin-bottom: 18px;
    line-height: 1.6;
}

.docs-section p,
.docs-section li {
    color: #00ffff;
    line-height: 1.9;
    margin-bottom: 14px;
}

.docs-section ul {
    margin-left: 28px;
    margin-top: 18px;
}

.docs-section li {
    margin-bottom: 10px;
}

.docs-section.emphasis-red {
    background: rgba(239, 68, 68, 0.2);
    padding: 32px;
    border-radius: 12px;
    border: 4px solid #ff0000;
    margin-bottom: 50px;
}

.docs-section.emphasis-blue {
    background: rgba(0, 255, 255, 0.1);
    padding: 32px;
    border-radius: 12px;
    border: 4px solid #00ffff;
    margin-bottom: 50px;
}

.docs-section a {
    color: #ffff00;
    text-decoration: none;
    border-bottom: 2px solid #ffff00;
}

.docs-section a:hover {
    color: #00ffff;
    border-bottom-color: #00ffff;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 72%;
        height: 100vh;
        background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
        flex-direction: column;
        padding: 110px 35px 35px;
        gap: 0;
        transition: right 0.4s ease;
        border-left: 4px solid #e94560;
        box-shadow: -8px 0 30px rgba(233, 69, 96, 0.5);
    }

    .main-menu.active {
        right: 0;
    }

    .main-menu a {
        padding: 22px 18px;
        font-size: 1.15rem;
        border-bottom: 2px solid rgba(233, 69, 96, 0.3);
    }

    .splash-inner h1 {
        font-size: 1.8rem;
    }

    .splash-text {
        font-size: 1.05rem;
    }

    .story h2,
    .highlights h2,
    .warnings h2,
    .featured h2 {
        font-size: 1.5rem;
    }

    .highlights-grid,
    .warnings-set {
        grid-template-columns: 1fr;
    }

    .featured-window iframe,
    .game-screen iframe {
        height: 480px;
    }

    .gameplay-area h1 {
        font-size: 1.5rem;
    }

    .docs-content {
        padding: 40px 32px;
    }

    .docs-content h1 {
        font-size: 1.4rem;
    }

    .docs-section h2 {
        font-size: 0.95rem;
    }

    .gate-box {
        margin: 22px;
        padding: 45px 38px;
    }

    .gate-options {
        flex-direction: column;
    }
}
