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

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
}

/* --- Disclaimer --- */

.disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-box {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    max-width: 680px;
    width: 90%;
    max-height: 90vh;
    padding: 32px;
    text-align: center;
    overflow-y: auto;
}

.disclaimer-box h2 {
    color: #EB148D;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.disclaimer-intro {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.disclaimer-legal {
    width: 100%;
    height: 200px;
    background: #1a1a1a;
    color: #ccc;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 14px;
    font-size: 0.85rem;
    line-height: 1.6;
    resize: none;
    margin-bottom: 24px;
}

.disclaimer-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-enter {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-enter:hover {
    background: #388e3c;
}

.btn-leave {
    background: #c62828;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-leave:hover {
    background: #e53935;
}

/* --- Header --- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #111;
    border-bottom: 1px solid #222;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

body {
    padding-top: 62px;
    padding-bottom: 50px;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #EB148D;
    letter-spacing: 1px;
    white-space: nowrap;
}

#filter-select {
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

#filter-select:hover {
    border-color: #EB148D;
}

.btn-header-sub {
    margin-left: auto;
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-header-sub:hover {
    background: #388e3c;
}

.btn-header-login {
    margin-left: 0;
    background: #EB148D;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-header-login:hover {
    background: #c91078;
}

.user-welcome {
    margin-left: auto;
    color: #EB148D;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-logout {
    background: #333;
    color: #e0e0e0;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

.btn-logout:hover {
    background: #444;
}

/* --- Login modal --- */

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
}

.login-overlay.visible {
    display: flex;
}

.login-box {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    padding: 32px;
    text-align: center;
}

.login-box h2 {
    color: #EB148D;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
}

.login-error {
    color: #e53935;
    font-size: 0.85rem;
    margin-bottom: 12px;
    min-height: 20px;
}

.login-input {
    width: 100%;
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    outline: none;
}

.login-input:focus {
    border-color: #EB148D;
}

.login-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-login-submit {
    flex: 1;
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
}

.btn-login-submit:hover {
    background: #388e3c;
}

.btn-login-forgot {
    flex: 1;
    background: #333;
    color: #ccc;
    border: none;
    padding: 10px;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
}

.btn-login-forgot:hover {
    background: #444;
}

.btn-login-close {
    background: none;
    border: none;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 8px;
}

.btn-login-close:hover {
    color: #aaa;
}

/* --- Subscribe modal --- */

.sub-box {
    position: relative;
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    padding: 32px;
    text-align: center;
    overflow-y: auto;
}

.sub-close-top {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.5rem;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
}

.sub-close-top:hover {
    color: #aaa;
}

.sub-box h2 {
    color: #EB148D;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.sub-features {
    list-style: none;
    text-align: left;
    margin-bottom: 12px;
}

.sub-features li {
    color: #e0e0e0;
    font-size: 0.9rem;
    padding: 4px 0;
}

.sub-features li::before {
    content: "\2022";
    color: #EB148D;
    font-weight: 700;
    margin-right: 8px;
}

.sub-renew-info {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 16px;
    font-style: italic;
}

.sub-plans {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.sub-plan {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.sub-plan input[type="radio"] {
    display: none;
}

.sub-plan.selected {
    border-color: #EB148D;
    background: rgba(235, 20, 141, 0.08);
}

.sub-plan:hover {
    border-color: #EB148D;
}

.sub-plan-label {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 4px;
}

.sub-plan-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.sub-field-status {
    font-size: 0.8rem;
    min-height: 18px;
    margin-top: -8px;
    margin-bottom: 8px;
}

.sub-field-status.error {
    color: #e53935;
}

.sub-field-status.ok {
    color: #2e7d32;
}

.sub-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    margin-bottom: 12px;
    cursor: pointer;
}

.sub-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #EB148D;
}

.sub-checkbox span {
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.4;
}

.btn-sub-pay {
    width: 100%;
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.btn-sub-pay:hover {
    background: #388e3c;
}

.btn-sub-pay:disabled {
    background: #555;
    cursor: not-allowed;
}

/* --- Grid --- */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: #151515;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card .thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #1a1a1a;
}

.card .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.card .info {
    padding: 10px 12px;
}

.card .title {
    font-size: 0.9rem;
    line-height: 1.3;
    color: #ccc;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Photo card dual thumbnails --- */

.card .thumb.thumb-photo {
    display: flex;
    padding-top: 0 !important;
    height: 0;
    padding-bottom: 75%;
}

.card .thumb.thumb-photo img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    object-fit: cover;
}

.card .thumb.thumb-photo img:nth-child(2) {
    left: 50%;
}

#filter-type {
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

#filter-type:hover {
    border-color: #EB148D;
}

/* --- Play icon on thumbnails --- */

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    padding-left: 4px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.card:hover .play-icon {
    opacity: 1;
}

.camera-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.card:hover .camera-icon {
    opacity: 1;
}

/* --- Video player overlay --- */

.player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.player-overlay.visible {
    display: flex;
}

.player-box {
    position: relative;
    width: 90%;
    max-width: 960px;
}

.player-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.player-close:hover {
    color: #EB148D;
}

.player-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.player-box video {
    width: 100%;
    max-height: 75vh;
    background: #000;
    border-radius: 8px;
    outline: none;
}

/* --- Photo gallery overlay --- */

.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.gallery-overlay.visible {
    display: flex;
}

.gallery-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 9999;
    line-height: 1;
}

.gallery-close:hover {
    color: #EB148D;
}

.gallery-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: center;
}

.gallery-counter {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    width: 100%;
}

.gallery-grid-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    background: #1a1a1a;
}

.gallery-grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s, opacity 0.2s;
}

.gallery-grid-item:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

/* --- Gallery lightbox (full-size viewer) --- */

.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery-lightbox.visible {
    display: flex;
}

.gallery-lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10002;
    line-height: 1;
}

.gallery-lb-close:hover {
    color: #EB148D;
}

.gallery-lightbox > img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 20px 14px;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    line-height: 1;
}

.gallery-nav:hover {
    background: rgba(235, 20, 141, 0.5);
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

.gallery-lb-counter {
    color: #999;
    font-size: 0.85rem;
    margin-top: 12px;
}

.loader {
    text-align: center;
    padding: 32px;
    color: #666;
    font-size: 0.9rem;
}

.loader.hidden {
    display: none;
}

/* --- Footer --- */

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #111;
    border-top: 1px solid #222;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.site-footer a {
    color: #999;
    text-decoration: none;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #EB148D;
}

.btn-mobile-menu {
    display: none;
    position: fixed;
    bottom: 12px;
    right: 16px;
    z-index: 1001;
    background: #EB148D;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-mobile-menu:hover {
    background: #c91078;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9997;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.visible {
    display: flex;
}

.mobile-menu-box {
    text-align: center;
}

.mobile-menu-box a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 14px 40px;
    border-bottom: 1px solid #222;
    transition: color 0.2s;
}

.mobile-menu-box a:last-child {
    border-bottom: none;
}

.mobile-menu-box a:hover {
    color: #EB148D;
}

.mobile-menu-close {
    display: block;
    margin: 24px auto 0;
    background: none;
    border: 1px solid #666;
    color: #999;
    padding: 8px 24px;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
}

.mobile-menu-close:hover {
    border-color: #EB148D;
    color: #EB148D;
}

/* --- Pages (contact, 2257, removal) --- */

.page-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.page-wrapper h2 {
    color: #EB148D;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.page-wrapper p,
.page-wrapper li {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.page-wrapper a {
    color: #EB148D;
}

.page-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-form input[type="text"],
.page-form input[type="email"],
.page-form input[type="number"],
.page-form textarea,
.page-form select {
    width: 100%;
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    font-family: inherit;
}

.page-form input:focus,
.page-form textarea:focus,
.page-form select:focus {
    border-color: #EB148D;
}

.page-form textarea {
    min-height: 120px;
    resize: vertical;
}

.page-form label {
    color: #ccc;
    font-size: 0.85rem;
}

.page-form .radio-group,
.page-form .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-form .radio-group label,
.page-form .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.page-form .radio-group input,
.page-form .checkbox-group input {
    accent-color: #EB148D;
    width: auto;
}

.page-form-error {
    color: #e53935;
    font-size: 0.85rem;
    min-height: 20px;
}

.page-form-success {
    color: #2e7d32;
    font-size: 0.85rem;
    min-height: 20px;
}

.page-form button[type="submit"],
.page-form .btn-page-submit {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    align-self: flex-start;
}

.page-form button[type="submit"]:hover,
.page-form .btn-page-submit:hover {
    background: #388e3c;
}

.page-form button:disabled,
.page-form .btn-page-submit:disabled {
    background: #555;
    cursor: not-allowed;
}

.legal-text {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.8;
}

.legal-text p {
    margin-bottom: 16px;
}

.page-back {
    display: inline-block;
    color: #EB148D;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.page-back:hover {
    text-decoration: underline;
}

/* --- Captcha checkbox --- */

.captcha-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 14px 18px;
    display: inline-flex;
    align-items: center;
}

.captcha-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #ccc;
    font-size: 0.9rem;
    user-select: none;
}

.captcha-label input[type="checkbox"] {
    display: none;
}

.captcha-check {
    width: 24px;
    height: 24px;
    border: 2px solid #555;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.captcha-label input[type="checkbox"]:checked ~ .captcha-check {
    border-color: #2e7d32;
    background: #2e7d32;
}

.captcha-label input[type="checkbox"]:checked ~ .captcha-check::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 8px;
    height: 14px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.section-label {
    color: #EB148D;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    margin-top: 8px;
}

/* --- Game page --- */

.btn-header-back {
    background: #333;
    color: #e0e0e0;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

.btn-header-back:hover {
    background: #444;
}

.game-level-select {
    margin-left: auto;
    background: #1a1a1a;
    color: #EB148D;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

.game-level-select:hover {
    border-color: #EB148D;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-video-wrap {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.game-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.game-video.active {
    opacity: 1;
    z-index: 2;
}

.game-video:not(.active) {
    z-index: 1;
}

.game-message {
    min-height: 32px;
    padding: 6px 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.game-message.success {
    color: #4caf50;
}

.game-message.warn {
    color: #ff9800;
}

.game-message.error {
    color: #e53935;
}

.game-message.tip {
    color: #29b6f6;
}

.game-progress {
    width: 100%;
    height: 12px;
    background: #222;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 4px;
}

.game-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #EB148D, #ff6ec7);
    border-radius: 6px;
    width: 0;
    transition: width 0.4s ease;
}

.game-progress-text {
    color: #999;
    font-size: 0.8rem;
    margin-top: 4px;
    margin-bottom: 16px;
    text-align: center;
}

.game-controls {
    display: flex;
    gap: 8px;
    width: 100%;
}

.game-input {
    flex: 1;
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 1rem;
    outline: none;
}

.game-input:focus {
    border-color: #EB148D;
}

.game-input:disabled {
    opacity: 0.5;
}

.game-send {
    background: #EB148D;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.game-send:hover {
    background: #c91078;
}

.game-send:disabled {
    background: #555;
    cursor: not-allowed;
}

.game-tip {
    background: #333;
    color: #29b6f6;
    border: none;
    width: 44px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
}

.game-tip:hover {
    background: #444;
}

.game-found-wrap {
    width: 100%;
    margin-top: 12px;
    display: none;
}

.game-found-wrap.visible {
    display: block;
}

.game-found-label {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.game-found-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.game-found-btn {
    background: #1a1a1a;
    color: #ccc;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.game-found-btn:hover {
    border-color: #EB148D;
    color: #EB148D;
}

.game-tip.cooldown {
    opacity: 0.4;
    cursor: not-allowed;
}

.game-next-level {
    margin-top: 16px;
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-next-level:hover {
    background: #388e3c;
}

.btn-header-game {
    background: #EB148D;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-header-game:hover {
    background: #c91078;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px;
    }

    header {
        padding: 12px 16px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .card .info {
        padding: 8px 10px;
    }

    .card .title {
        font-size: 0.8rem;
    }

    .disclaimer-box {
        padding: 20px;
    }

    .disclaimer-box h2 {
        font-size: 1.2rem;
    }

    .disclaimer-buttons {
        flex-direction: column;
    }

    .sub-plans {
        flex-direction: column;
    }

    .sub-box {
        padding: 20px;
    }

    .btn-header-sub {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .site-footer {
        display: none;
    }

    .btn-mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body {
        padding-bottom: 0;
    }

    .page-wrapper {
        padding: 24px 16px 40px;
    }

    .player-box {
        width: 100%;
    }

    .player-box video {
        max-height: 60vh;
        border-radius: 0;
    }

    .player-close {
        top: -36px;
        right: 12px;
    }

    .player-title {
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .play-icon, .camera-icon {
        opacity: 1;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 4px;
    }

    .gallery-box {
        padding: 16px 12px 30px;
    }

    .gallery-close {
        top: 8px;
        right: 10px;
    }

    .gallery-title {
        font-size: 0.9rem;
    }

    .gallery-prev {
        left: 4px;
    }

    .gallery-next {
        right: 4px;
    }

    .gallery-nav {
        padding: 14px 10px;
        font-size: 1.4rem;
    }

    .gallery-lightbox > img {
        max-width: 100%;
        max-height: 70vh;
        border-radius: 0;
    }

    .game-container {
        padding: 12px 12px 30px;
    }

    .game-video-wrap {
        aspect-ratio: 16 / 9;
    }

    .game-controls {
        flex-wrap: wrap;
    }

    .game-input {
        min-width: 0;
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .game-send {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .game-level-select {
        font-size: 0.8rem;
        padding: 6px 8px;
    }

    .btn-header-game {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}
