/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0b0b12;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
}

/* Screen */
.screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

/* Main menu layout */
#main-menu {
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at 30% 20%, rgba(233, 69, 96, 0.18), transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(255, 51, 102, 0.12), transparent 60%),
        linear-gradient(135deg, #0b0b12 0%, #151827 45%, #0b0b12 100%);
    padding: 32px 40px 28px;
}

.menu-ambient,
.menu-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.menu-ambient {
    background: radial-gradient(circle at 50% 50%, rgba(233, 69, 96, 0.12), transparent 65%);
    animation: ambientPulse 8s ease-in-out infinite;
}

.menu-glow {
    background: radial-gradient(circle at 80% 20%, rgba(255, 143, 163, 0.12), transparent 50%);
    mix-blend-mode: screen;
}

@keyframes ambientPulse {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Header */
.menu-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.menu-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ff8fa3;
    text-transform: uppercase;
}

.brand-mark {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: rgba(233, 69, 96, 0.15);
    border: 1px solid rgba(233, 69, 96, 0.4);
    color: #e94560;
    box-shadow: 0 0 12px rgba(233, 69, 96, 0.35);
}

.menu-lang {
    display: flex;
    gap: 12px;
}

.lang-btn {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #e94560;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 58px;
    text-align: center;
    backdrop-filter: blur(6px);
}

.lang-btn.active {
    background: #e94560;
    color: #fff;
    box-shadow: 0 0 12px rgba(233, 69, 96, 0.45);
}

.lang-btn:hover:not(.active) {
    background: rgba(233, 69, 96, 0.25);
    transform: translateY(-1px);
}

/* Content */
.menu-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.game-title {
    max-width: 840px;
}

.title-text {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    color: #e94560;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 900;
    text-shadow:
        0 0 10px #e94560,
        0 0 20px #e94560,
        0 0 30px #e94560,
        0 0 40px #ff3366;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        text-shadow:
            0 0 10px #e94560,
            0 0 20px #e94560,
            0 0 30px #e94560,
            0 0 40px #ff3366;
    }
    to {
        text-shadow:
            0 0 16px #e94560,
            0 0 26px #e94560,
            0 0 36px #e94560,
            0 0 46px #ff3366,
            0 0 58px #ff3366;
    }
}

.title-sub {
    margin-top: 12px;
    font-size: 1.1rem;
    color: #ff8fa3;
    font-style: italic;
    letter-spacing: 1px;
}

/* Buttons */
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.menu-btn {
    padding: 18px 26px;
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(233, 69, 96, 0.18);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow:
        0 6px 14px rgba(233, 69, 96, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.menu-btn.primary {
    background: linear-gradient(45deg, #e94560, #ff3366);
    border-color: rgba(255, 255, 255, 0.1);
}

.menu-btn.ghost {
    background: rgba(45, 64, 89, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

.menu-btn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 24px rgba(233, 69, 96, 0.35),
        0 8px 20px rgba(233, 69, 96, 0.25);
}

.menu-btn.is-active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 16px rgba(233, 69, 96, 0.35);
}

.menu-btn i {
    font-size: 1.1rem;
}

/* Cards */
.menu-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    width: min(900px, 100%);
}

.info-card {
    background: rgba(20, 22, 34, 0.75);
    border: 1px solid rgba(233, 69, 96, 0.25);
    border-radius: 16px;
    padding: 18px 20px;
    text-align: left;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.info-card h3 {
    color: #e94560;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.info-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Footer */
.menu-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.status-pill {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(233, 69, 96, 0.12);
    border: 1px solid rgba(233, 69, 96, 0.35);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.version {
    color: rgba(233, 69, 96, 0.7);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    #main-menu {
        padding: 24px;
    }

    .menu-header {
        flex-direction: column;
        gap: 16px;
    }

    .menu-panels {
        grid-template-columns: 1fr;
    }

    .menu-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Intro screen */
#intro-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 20%, rgba(233, 69, 96, 0.12), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 51, 102, 0.08), transparent 55%),
        #0b0b12;
    padding: 32px;
}

.intro-frame {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr);
    gap: 24px;
    width: min(1100px, 100%);
    background: rgba(18, 20, 32, 0.92);
    border: 1px solid rgba(233, 69, 96, 0.25);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.intro-image {
    position: relative;
    min-height: 320px;
    background: #0b0b12;
}

.intro-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.35), transparent 60%);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro-text {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    font-size: 1rem;
}

.intro-text h2 {
    color: #e94560;
    font-size: 1.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.intro-text p {
    color: rgba(255, 255, 255, 0.78);
}

.intro-actions {
    margin-top: 8px;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 7, 12, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10;
}

.modal-card {
    width: min(820px, 100%);
    background: rgba(18, 20, 32, 0.96);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.video-card {
    width: min(980px, 100%);
}

.video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

#park-video {
    width: 100%;
    max-height: 65vh;
    background: #000;
    border-radius: 12px;
}

#porn-video {
    width: 100%;
    max-height: 65vh;
    background: #000;
    border-radius: 12px;
}

#gym-video {
    width: 100%;
    max-height: 65vh;
    background: #000;
    border-radius: 12px;
}

#work-video {
    width: 100%;
    max-height: 65vh;
    background: #000;
    border-radius: 12px;
}

#toilet-video {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    background: #000;
}

.video-card .modal-actions {
    justify-content: flex-end;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.toilet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.toilet-actions .menu-btn {
    flex: 1 1 180px;
}

.toilet-result {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    justify-items: center;
    text-align: center;
}

.toilet-extra-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.toilet-result img {
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    border: 1px solid rgba(233, 69, 96, 0.25);
    background: #000;
}

.cheats-body {
    display: grid;
    gap: 10px;
}

.cheats-body label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.cheats-body input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(233, 69, 96, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
}

.stat-value.editable {
    outline: 1px dashed rgba(233, 69, 96, 0.6);
    border-radius: 6px;
    padding: 2px 6px;
}

.quest-list {
    display: grid;
    gap: 12px;
}

.quest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 16, 26, 0.45);
    border: 1px solid rgba(233, 69, 96, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.quest-status {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(233, 69, 96, 0.6);
    display: inline-block;
}

.quest-item.done {
    border-color: rgba(60, 200, 140, 0.35);
    color: rgba(255, 255, 255, 0.95);
}

.quest-item.done .quest-status {
    background: rgba(60, 200, 140, 0.8);
    border-color: rgba(60, 200, 140, 0.9);
}

.stream-body {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

#stream-image {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    border: 1px solid rgba(233, 69, 96, 0.25);
}

.stream-result {
    color: rgba(255, 255, 255, 0.85);
}

.stream-event-text {
    color: rgba(255, 255, 255, 0.85);
}

.stream-event-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

#stream-video {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    background: #000;
}

.modal-card h2 {
    color: #e94560;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

.disclaimer-list p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
    margin-bottom: 12px;
}

.name-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.name-block label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.name-block input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(233, 69, 96, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .intro-frame {
        grid-template-columns: 1fr;
    }

    .intro-image {
        min-height: 240px;
    }
}

/* World screen */
.room-screen {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 32px 36px;
    background: radial-gradient(circle at 20% 20%, rgba(233, 69, 96, 0.12), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(255, 51, 102, 0.08), transparent 60%),
        #0b0b12;
}

.world-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.world-header h2 {
    color: #e94560;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.world-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
}

.world-actions {
    display: flex;
    align-items: center;
}

.world-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    align-items: start;
}

.stats-panel {
    background: rgba(18, 20, 32, 0.95);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 24px;
    overflow: hidden;
}

.stats-title {
    color: #e94560;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stats-actions {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.stats-actions .menu-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 0.95rem;
    max-width: 100%;
    white-space: normal;
    min-width: 0;
    box-sizing: border-box;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.stat-value {
    color: #fff;
    font-weight: 700;
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 220px));
    gap: 18px;
    justify-content: center;
    align-content: start;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.location-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(233, 69, 96, 0.25);
    background: rgba(18, 20, 32, 0.9);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    height: 150px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05);
}

.location-card:hover,
.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(233, 69, 96, 0.25);
}

.location-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 16, 26, 0.75);
    border: 1px solid rgba(233, 69, 96, 0.45);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Room screen */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 220px));
    gap: 18px;
    justify-content: center;
    align-content: start;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.room-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(233, 69, 96, 0.25);
    background: rgba(18, 20, 32, 0.9);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    height: 150px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.room-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05);
}

.item-price {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 16, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.mall-item.sold-out {
    pointer-events: none;
}

.mall-item.sold-out img {
    filter: grayscale(1) brightness(0.7);
}

.mall-item.sold-out .item-price {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .room-screen {
        padding: 22px;
    }

    .world-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .world-body {
        grid-template-columns: 1fr;
    }

    .stats-panel {
        position: static;
        width: 100%;
    }

    .world-grid,
    .room-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .location-card,
    .room-card {
        height: 130px;
    }
}

/* Toast */
.toast {
    position: fixed;
    right: 24px;
    top: 30%;
    background: rgba(18, 20, 32, 0.96);
    border: 1px solid rgba(233, 69, 96, 0.4);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    z-index: 20;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: min(320px, 80vw);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .toast {
        right: 16px;
        left: 16px;
        top: auto;
        bottom: 18px;
        transform: translateY(10px);
    }

    .toast.show {
        transform: translateY(0);
    }
}
