/* ===== WINDOX INSPIRED DESIGN ===== */
/* Адаптировано из профессионального казино проекта */

:root {
    --primary-color: #621ffa;
    --primary-gradient: linear-gradient(45deg, #9425d0, #5b1eff);
    --success-color: #28a745;
    --danger-color: #ff2424;
    --bg-light: #f1f2fd;
    --bg-white: #ffffff;
    --text-dark: #2e3956;
    --text-muted: #596882;
    --shadow-card: 0 25px 65px rgba(224, 221, 240, 0.45);
    --shadow-hover: 0 0 16px 0 #b2b8fb;
    --border-radius: 10px;
}

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

/* FIX: Убираем дергание на мобилке */
html {
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overscroll-behavior-y: none;
    position: relative;
    width: 100%;
}

body {
    background-color: var(--bg-light);
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    font-family: 'Rubik', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===== УЛУЧШЕННЫЙ CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    will-change: transform;
}

/* Адаптация контейнера для больших экранов (ПК) */
@media (min-width: 1600px) {
    .container {
        max-width: 1800px;
        padding: 30px;
    }
}

@media (min-width: 2000px) {
    .container {
        max-width: 2200px;
        padding: 40px;
    }
}

/* ===== HEADER ===== */
.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    padding: 20px 30px;
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.2);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 32px;
    color: #fefce8;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.8),
        0 0 14px rgba(250, 204, 21, 0.7);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 48px;
}

.header-logo-icon {
    font-size: 56px;
    color: #facc15;
    letter-spacing: 0;
    text-shadow:
        0 0 10px rgba(250, 204, 21, 1),
        0 0 20px rgba(250, 204, 21, 0.9),
        0 0 35px rgba(252, 211, 77, 0.95);
    filter: drop-shadow(0 0 14px rgba(250, 204, 21, 0.95));
}

.header-logo-text {
    letter-spacing: 0.2em;
    font-size: 48px;
    position: relative;
    background: linear-gradient(
        90deg,
        #fefce8 0%,
        #fef3c7 15%,
        #fde68a 30%,
        #facc15 50%,
        #fde68a 70%,
        #fef3c7 85%,
        #fefce8 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sparkleShine 3s linear infinite;
    filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.8));
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

/* Эффект блеска для надписи ROYAL CASINO */
@keyframes sparkleShine {
    0% {
        background-position: -300% 0;
        filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.8)) 
                drop-shadow(0 0 15px rgba(250, 204, 21, 0.6))
                drop-shadow(0 0 25px rgba(252, 211, 77, 0.4));
    }
    50% {
        background-position: 300% 0;
        filter: drop-shadow(0 0 15px rgba(250, 204, 21, 1)) 
                drop-shadow(0 0 25px rgba(250, 204, 21, 0.9))
                drop-shadow(0 0 40px rgba(252, 211, 77, 0.7))
                drop-shadow(0 0 60px rgba(255, 215, 0, 0.5));
    }
    100% {
        background-position: -300% 0;
        filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.8)) 
                drop-shadow(0 0 15px rgba(250, 204, 21, 0.6))
                drop-shadow(0 0 25px rgba(252, 211, 77, 0.4));
    }
}

/* Дополнительный эффект блестящих частиц через псевдоэлемент */
.header-logo-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 40%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.3) 60%,
        transparent 100%
    );
    animation: sparkleParticles 2.5s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: overlay;
}

@keyframes sparkleParticles {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 200%;
        opacity: 0;
    }
}


.user-panel {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-name, .user-balance {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-name {
    color: #fef9c3;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.7);
}

.user-name:hover, .user-balance:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
}

.user-balance {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.user-balance:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

/* ===== GAMES GRID ===== */
.games-container {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    padding: 40px;
}

.games-container h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fef9c3;
    text-shadow: 0 0 18px rgba(250, 204, 21, 0.7), 0 0 32px rgba(0, 0, 0, 0.9);
    position: relative;
}

.games-container h2 .emoji-icon {
    filter: none;
}

.games-container h2 .gradient-text {
    background: linear-gradient(120deg, #fef9c3 0%, #fde68a 25%, #facc15 50%, #fbbf24 75%, #fef9c3 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: royalGlow 4s linear infinite;
    position: relative;
}

.games-container h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 220px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.9), transparent);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.8);
}

@keyframes royalGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Адаптация для больших экранов (ПК) */
@media (min-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .game-card {
        padding: 35px 25px;
        min-height: 380px;
    }
    
    .game-icon {
        height: 110px;
        width: 110px;
        font-size: 72px;
        line-height: 110px;
    }
    
    .game-icon img {
        width: 72px !important;
        height: 72px !important;
        max-width: 72px !important;
        max-height: 72px !important;
    }
}

@media (min-width: 1600px) {
    .games-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 35px;
    }
    
    .game-card {
        padding: 40px 30px;
        min-height: 400px;
    }
    
    .game-icon {
        height: 120px;
        width: 120px;
        font-size: 80px;
        line-height: 120px;
    }
    
    .game-icon img {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
    }
}

@media (min-width: 2000px) {
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 40px;
    }
    
    .game-card {
        padding: 45px 35px;
        min-height: 420px;
    }
    
    .game-icon {
        height: 130px;
        width: 130px;
        font-size: 88px;
        line-height: 130px;
    }
    
    .game-icon img {
        width: 88px !important;
        height: 88px !important;
        max-width: 88px !important;
        max-height: 88px !important;
    }
}

/* ===== GAME CARDS - WINDOX STYLE ===== */
.game-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(102, 126, 234, 0.3);
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.game-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

.game-card:hover::before {
    opacity: 0.1;
}

.game-card > * {
    position: relative;
    z-index: 1;
}

.game-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    height: 100px;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 100px; /* Для emoji иконок */
}

/* Унифицируем размеры изображений в иконках - делаем их такого же визуального размера как emoji */
.game-icon img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
}

.game-card h3 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.game-card p {
    text-align: center;
    color: #b8b8b8;
    font-size: 14px;
    margin-bottom: 15px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-stats {
    text-align: center;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
    margin-top: auto;
    font-weight: 500;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== PLAY BUTTON - WINDOX STYLE ===== */
.play-button {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(98, 31, 250, 0.4);
}

.play-button:active {
    transform: scale(0.98);
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    position: relative;
    margin-top: 30px;
    padding: 24px 26px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.22), transparent 55%),
                rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(250, 204, 21, 0.5);
    box-shadow:
        0 0 40px rgba(250, 204, 21, 0.18),
        0 18px 50px rgba(15, 23, 42, 0.9),
        inset 0 0 0 1px rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(18px);
    text-align: center;
    color: #fefce8;
    overflow: hidden;
}

.promo-banner p {
    font-size: 18px;
    margin-bottom: 14px;
}

.bonus-btn {
    background: linear-gradient(120deg, #facc15, #f97316, #facc15);
    background-size: 200% 100%;
    color: #1f2937;
    padding: 12px 32px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.25s ease;
    box-shadow:
        0 0 24px rgba(250, 204, 21, 0.7),
        0 10px 30px rgba(15, 23, 42, 0.9);
}

.bonus-btn:hover {
    transform: translateY(-1px) scale(1.03);
    background-position: 100% 0;
    box-shadow:
        0 0 32px rgba(250, 204, 21, 0.9),
        0 14px 40px rgba(15, 23, 42, 0.95);
}

/* ===== BUTTONS ===== */
.back-btn, .logout-btn {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.logout-btn {
    background: rgba(220, 38, 38, 0.15);
    color: #ef4444;
    border-color: rgba(220, 38, 38, 0.3);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.logout-btn:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.5);
    transform: translateY(-2px);
}

/* ===== GAME PAGE STYLES ===== */
.game-container {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    padding: 40px;
    margin-top: 20px;
}

.control-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.control-panel label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.control-panel input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e6ee;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.control-panel input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(98, 31, 250, 0.1);
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.amount-number {
    padding: 10px;
    background: white;
    border: 2px solid #e1e6ee;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.amount-number:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

.amount-number.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* ===== GAME BUTTON ===== */
.btn-play {
    width: 100%;
    padding: 15px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(98, 31, 250, 0.4);
}

.btn-play:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== NOTIFICATIONS ===== */
.notification {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .game-card {
        padding: 18px 12px;
        min-height: 260px;
    }

    .game-icon {
        height: 72px;
        width: 72px;
        font-size: 44px;
        line-height: 72px;
        margin-bottom: 8px;
    }
    
    .game-icon img {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }

    .game-card h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .game-card p {
        font-size: 13px;
        margin-bottom: 10px;
        height: auto;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .user-panel {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .games-container {
        padding: 20px;
    }
    
    .game-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .header h1 {
        font-size: 20px;
        letter-spacing: 0.14em;
    }
}


/* REALITY MODAL - АНТИГЕМБЛИНГ */
.reality-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    padding-top: 50px;
    overflow-y: auto;
}

.reality-modal-content {
    background: linear-gradient(135deg, #1e2230 0%, #252936 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid #ef4444;
    animation: modalAppear 0.3s ease;
    color: #fff;
}

@keyframes modalAppear {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.reality-modal-content h2 {
    color: #ef4444;
    text-align: center;
    font-size: 32px;
    margin-bottom: 25px;
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hook {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.reality-check {
    color: #ffd700;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.hook-text {
    color: #fff !important;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.urgency-badge {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.urgency-badge span {
    background: #ef4444;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.reality-modal-content h3 {
    color: #10b981;
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
}

.job-benefits {
    margin-bottom: 25px;
}

.benefit-item {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    color: #fff !important;
    font-size: 16px;
}

.benefit-item strong {
    color: #10b981 !important;
}

.contact-form {
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid #6366f1;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.form-title {
    color: #ffd700 !important;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.contact-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: #2a2f40;
    border: 2px solid #4a5060;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
}

.contact-form input:focus {
    outline: none;
    border-color: #6366f1;
}

.cta-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
}

.privacy {
    color: #8b92b3 !important;
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}

.close-modal-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #2a2f40;
    color: #8b92b3;
    border: 2px solid #4a5060;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.close-modal-btn:hover {
    border-color: #6366f1;
}

.success-message {
    text-align: center;
    padding: 30px;
}

.success-message h3 {
    color: #10b981;
    font-size: 28px;
    margin-bottom: 15px;
}

.success-message p {
    color: #fff;
    font-size: 18px;
}

.hidden {
    display: none !important;
}

/* ==========================
   Премиальный лоадер игры
   ========================== */

.premium-loader-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(250, 204, 21, 0.12), transparent 55%),
                radial-gradient(circle at bottom, rgba(59, 130, 246, 0.18), transparent 60%),
                rgba(3, 7, 18, 0.96);
    backdrop-filter: blur(22px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.premium-loader-card {
    max-width: 420px;
    width: 90%;
    padding: 28px 26px 24px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(250, 204, 21, 0.5);
    box-shadow:
        0 0 60px rgba(250, 204, 21, 0.25),
        0 20px 60px rgba(15, 23, 42, 0.95),
        inset 0 0 0 1px rgba(148, 163, 184, 0.1);
    position: relative;
    overflow: hidden;
}

.premium-loader-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 120deg, rgba(250, 204, 21, 0.18), transparent 35%, transparent 65%, rgba(96, 165, 250, 0.22));
    opacity: 0.45;
    filter: blur(22px);
    z-index: -1;
}

.premium-loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.premium-loader-logo .logo-icon {
    font-size: 28px;
    color: #facc15;
    text-shadow:
        0 0 10px rgba(250, 204, 21, 1),
        0 0 20px rgba(250, 204, 21, 0.9),
        0 0 35px rgba(252, 211, 77, 0.95);
    filter: drop-shadow(0 0 14px rgba(250, 204, 21, 0.95));
}

.premium-loader-logo .logo-text {
    font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 800;
    letter-spacing: 0.22em;
    font-size: 15px;
    text-transform: uppercase;
    color: #fef3c7;
    text-shadow:
        0 0 18px rgba(250, 204, 21, 0.8),
        0 0 32px rgba(250, 204, 21, 0.4);
}

.premium-loader-title {
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #e5e7eb;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.premium-loader-subtitle {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 22px;
}

.premium-loader-spinner {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid rgba(31, 41, 55, 0.9);
    border-top-color: #facc15;
    border-right-color: rgba(248, 250, 252, 0.9);
    animation: premiumSpin 1.1s linear infinite;
    box-shadow:
        0 0 24px rgba(250, 204, 21, 0.7),
        0 0 80px rgba(59, 130, 246, 0.5);
}

.premium-loader-progress {
    margin-bottom: 18px;
}

.premium-loader-progress .progress-bar {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    overflow: hidden;
    position: relative;
}

.premium-loader-progress .progress-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #facc15, #fb923c, #38bdf8);
    background-size: 200% 100%;
    animation: premiumProgressMove 1.6s ease-in-out infinite;
}

.premium-loader-progress .progress-label {
    margin-top: 8px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

.premium-loader-tip {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    color: #e5e7eb;
    opacity: 0.9;
}

.premium-loader-retry {
    margin-top: 16px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(239, 68, 68, 0.6);
    background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.25), rgba(15, 23, 42, 0.95));
    color: #fecaca;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
}

.premium-loader-retry:hover {
    box-shadow: 0 0 24px rgba(248, 113, 113, 0.55);
    transform: translateY(-1px);
}

.premium-loader-hide {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
    transition: all 0.35s ease;
}

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

@keyframes premiumProgressMove {
    0% {
        transform: translateX(-50%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(50%);
    }
}


/* Таблица выплат для всех игр */
.game-paytable {
    position: fixed;
    right: 20px;
    top: 140px;
    width: 280px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.2);
    z-index: 100;
}

.game-container-with-paytable {
    padding-right: 320px;
}

@media (max-width: 1200px) {
    .game-container-with-paytable {
        padding-right: 0;
    }
}

.game-paytable h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.paytable-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.paytable-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.paytable-row:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
}

.paytable-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.paytable-icon {
    font-size: 24px;
}

.paytable-combo {
    color: #888;
    font-size: 11px;
}

.paytable-multiplier {
    font-weight: 700;
    color: #4caf50;
    font-size: 16px;
}

.paytable-note {
    text-align: center;
    color: #888;
    margin-top: 15px;
    font-size: 11px;
    line-height: 1.4;
}

@media (max-width: 1400px) {
    .game-paytable {
        position: static;
        width: 100%;
        max-height: none;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .game-paytable {
        position: static !important;
        width: 100% !important;
        max-height: none !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        padding: 15px !important;
        right: auto !important;
        top: auto !important;
        z-index: 1 !important;
    }
    
    .game-container-with-paytable {
        padding-right: 20px !important;
    }
    
    .bottom-controls {
        position: relative !important;
        z-index: 100 !important;
        margin-top: 20px !important;
    }
}
