@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-body: rgba(15, 16, 18, 0.85);
    --bg-panel: rgba(20, 22, 26, 0.6);
    --card-border: rgba(255, 255, 255, 0.06);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --success: #10b981;
    --danger: #ef4444;
}

* {
    font-size: .925rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text-main);
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    background-color: #07090f;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 40%);
    background-attachment: fixed;
    background-size: cover;
    height: 100%;
}

body {
    max-width: 680px;
    margin: 0 auto;
    background-color: var(--bg-body);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

a {
    text-decoration: none;
    transition: all 0.2s;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* --- ШАПКА --- */
.site-header {
    background: linear-gradient(135deg, rgba(38, 43, 55, 0.95) 0%, rgba(20, 24, 32, 0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.1));
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    transition: all 0.3s ease;
}

.logo:hover .logo-text {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.4);
}

.logo:hover .logo-svg {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}

.header-right {
    display: flex;
    align-items: center;
}

/* --- БЛОК ПОЛЬЗОВАТЕЛЯ --- */
.user-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.balance-widget {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 6px 4px 10px;
    border-radius: 20px;
}

.v-coin {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    margin-right: 2px;
}

.balance-amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.balance-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #facc15;
    color: #000 !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.1s, filter 0.2s;
}

.balance-add:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* --- ПРОФИЛЬ --- */
.profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.user-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e879f9;
    transition: color 0.2s;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
}

/* Эффект при наведении на всю ссылку (ник + аватарка) */
.profile-link:hover .user-name {
    color: #ffffff;
}

.profile-link:hover .avatar {
    border-color: #ffffff;
}

.login-btn {
    background: #fff;
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
}

.login-btn:hover {
    background: #e2e8f0;
}

/* --- ОСНОВНОЙ КОНТЕНТ --- */
.app-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.layout-wrapper {
    display: flex;
    flex-direction: row;
    flex: 1;
    align-items: stretch;
}

.content-main {
    flex: 1;
    min-width: 0;
}

/* --- САЙДБАР --- */
.sidebar {
    width: 220px;
    flex-shrink: 0;
    border-left: 1px solid var(--card-border);
    padding: 24px 16px;
    background: var(--bg-panel);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
}

.nav-item svg {
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.nav-item:hover svg {
    color: var(--text-main);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
}

.nav-item.active svg {
    color: var(--accent);
}

.nav-icon-wrap {
    position: relative;
    display: flex;
}

.nav-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--danger);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid var(--bg-panel);
    line-height: 1;
}

.sidebar-header {
    display: none;
}

.mobile-only {
    display: none !important;
}

/* --- КАРТОЧКИ ИГР --- */
.game-list {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
}

.game-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(45, 50, 65, 0.45) 0%, rgba(25, 28, 38, 0.45) 100%);
    padding: 16px 20px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--card-border);
    transition: background 0.3s ease;
    cursor: pointer;
    justify-content: flex-start;
}

.game-card:last-child {
    border-bottom: none;
}

.game-card:hover {
    background: linear-gradient(145deg, rgba(55, 60, 80, 0.65) 0%, rgba(35, 40, 55, 0.65) 100%);
}

.game-card-top {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.game-icon-wrap {
    position: relative;
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.game-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-icon.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-muted);
}

.badge-new {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--danger);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-bottom-right-radius: 8px;
}

.game-info {
    flex: 1;
    min-width: 0;
}

.game-title {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.game-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.online-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.online-pill::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
}

.online-pill span {
    color: var(--text-muted);
}

.online-pill strong {
    color: var(--text-main);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
}

/* --- ПОДДЕРЖКА --- */
.support-page {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100%;
}

.support-block {
    background: linear-gradient(145deg, rgba(45, 50, 65, 0.45) 0%, rgba(25, 28, 38, 0.45) 100%);
    border: none;
    border-bottom: 1px solid var(--card-border);
    border-radius: 0;
    margin: 0;
}

.support-block:last-child {
    border-bottom: none;
}

.support-block h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    padding: 20px 20px 16px;
}

.support-block .form {
    padding: 0 20px 20px;
}

.ticket-list {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.ticket-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: transparent;
    border-top: 1px solid var(--card-border);
    border-radius: 0;
    transition: background 0.2s;
}

.ticket-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.ticket-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ticket-info {
    flex: 1;
    min-width: 0;
}

.ticket-subj {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-status-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-status-badge.open {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.ticket-status-badge.closed {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-muted);
}

.ticket-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ticket-meta-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-unread-count {
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* --- ЧАТ ТИКЕТА --- */
.ticket-chat-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: var(--bg-body);
}

.ticket-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(145deg, rgba(45, 50, 65, 0.45) 0%, rgba(25, 28, 38, 0.45) 100%);
    border-bottom: 1px solid var(--card-border);
    flex-shrink: 0;
}

.ticket-chat-title .name {
    font-size: 1rem;
    font-weight: 600;
}

.ticket-chat-title .status {
    font-size: .75rem;
    margin-top: 2px;
    display: block;
}

.ticket-chat-title .status.open { color: var(--success); }
.ticket-chat-title .status.closed { color: var(--text-muted); }

.chat-box {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #0d1015;
    min-height: 0;
}

.chat-msg {
    display: flex;
    gap: 12px;
    max-width: 85%;
    align-items: flex-end;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg.admin {
    align-self: flex-start;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.chat-msg.user .chat-avatar {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    border: none;
}

.chat-msg.admin .chat-avatar {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
}

.chat-bubble-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chat-msg.user .chat-bubble-wrapper {
    align-items: flex-end;
}

.chat-meta {
    font-size: .7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    padding: 0 4px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: .9rem;
    line-height: 1.5;
    word-wrap: break-word;
    background: #1c212b;
    color: var(--text-main);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--card-border);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chat-msg.user .chat-bubble {
    background: var(--accent);
    color: #fff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 4px;
    border: none;
}

.chat-reply {
    flex-shrink: 0;
    padding: 16px 20px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    background: linear-gradient(145deg, rgba(45, 50, 65, 0.45) 0%, rgba(25, 28, 38, 0.45) 100%);
    border-top: 1px solid var(--card-border);
}

.chat-reply form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.chat-reply textarea {
    flex: 1;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: .9rem;
    outline: none;
    resize: none !important;
    min-height: 44px;
    max-height: 120px;
    font-family: inherit;
    line-height: 1.4;
    transition: border-color 0.2s;
}

.chat-reply textarea:focus {
    border-color: var(--accent);
}

.chat-send {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.chat-send:hover {
    background: var(--accent-hover);
}

.chat-send:active {
    transform: scale(0.95);
}

.chat-closed {
    padding: 20px;
    text-align: center;
    font-size: .9rem;
    color: var(--text-muted);
    background: linear-gradient(145deg, rgba(45, 50, 65, 0.45) 0%, rgba(25, 28, 38, 0.45) 100%);
    border-top: 1px solid var(--card-border);
}

.auth-page {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(25, 28, 38, 0.6) 0%, rgba(15, 16, 20, 0.6) 100%);
    flex: 1;
    padding: 0;
    margin: 0;
}

.auth-page .form input {
    background: rgba(0, 0, 0, 0.2) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--card-border) !important;
}

.auth-page .form input:focus {
    border-color: var(--accent) !important;
}

body.ticket-page {
    height: 100vh;
    overflow: hidden;
}

body.ticket-page .app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

body.ticket-page .layout-wrapper {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    padding: 0;
    gap: 0;
    height: calc(100vh - 64px);
}

body.ticket-page .content-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    padding: 0;
}

body.ticket-page .site-footer {
    display: none !important;
}

body.ticket-page .sidebar {
    height: 100%;
    overflow-y: auto;
    display: block;
}

.site-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--card-border);
    background: linear-gradient(135deg, rgba(38, 43, 55, 0.95) 0%, rgba(20, 24, 32, 0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

.age-rating {
    margin-top: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--card-border);
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem 1.2rem;
    background: var(--accent);
    color: #fff !important;
    font-weight: 600;
    font-size: .85rem;
    border: none;
    border-radius: 6px;
    transition: background .2s;
    text-align: center;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn-full {
    width: 100%;
}

.form-group {
    margin-bottom: 12px;
}

.form label {
    display: block;
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.form input, .form textarea, .form select {
    width: 100%;
    padding: .6rem .8rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-main);
    font-size: .9rem;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
}

.form input:focus, .form textarea:focus {
    border-color: var(--accent);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    padding: 1rem;
    backdrop-filter: blur(8px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #181a1e;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    width: 100%;
    max-width: 24rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--card-border);
}

.modal-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 1.5rem;
}

.game-loading {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    pointer-events: none;
    background: #0f1115;
}

.game-loading-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 24px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.flash {
    margin: 1rem 20px;
    padding: .8rem 1rem;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
}

.flash-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.flash-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 680px) {
    body {
        max-width: 100%;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }
    
    .mobile-only {
        display: flex !important;
    }
    
    .logo-text {
        display: none;
    }
    
    .user-name {
        display: none;
    }
    
    .layout-wrapper {
        flex-direction: column;
    }
    
    .content-main {
        max-width: 100%;
    }

    .sidebar {
        position: fixed;
        top: 0;
        right: -280px;
        width: 260px;
        height: 100vh;
        background: #14161a;
        z-index: 1000;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding: 24px 20px;
        display: block;
        border: none;
        border-left: 1px solid var(--card-border);
    }
    
    .sidebar.active {
        right: 0;
    }

    .sidebar-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--card-border);
        font-weight: 600;
        font-size: 1.2rem;
        color: var(--text-main);
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        backdrop-filter: blur(4px);
    }
    
    .mobile-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .game-card {
        padding: 14px 16px;
    }
}