/* ============================================
   ШРИФТЫ
   ============================================ */
@font-face {
    font-family: 'YFFRareHyperMedium';
    src: url('/fonts/YFFRareHyperMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   ГЛОБАЛЬНЫЕ СТИЛИ
   ============================================ */
* {
    font-family: 'YFFRareHyperMedium', 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    background-color: #0d0e12; 
    color: #e8e8e8; 
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #f39c12; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #f1c40f; }

.balance-coin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #000;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(241, 196, 15, 0.3);
    flex-shrink: 0;
}
.balance-coin-sm { width: 16px; height: 16px; font-size: 9px; margin-right: 4px; }
.balance-coin-md { width: 20px; height: 20px; font-size: 11px; margin-right: 5px; }
.balance-coin-lg { width: 28px; height: 28px; font-size: 16px; }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 14, 18, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-size: 26px;
    font-weight: 900 !important;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo span {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(241, 196, 15, 0.2);
}

.online-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 16px 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    color: #8a8d9b;
    font-weight: 600 !important;
    transition: 0.3s;
    white-space: nowrap;
}

.online-counter:hover {
    background: rgba(46, 204, 113, 0.04);
    border-color: rgba(46, 204, 113, 0.08);
}

.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.3);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.online-number {
    color: #fff;
    font-weight: 700 !important;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* NAV */
.nav-games {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: #8a8d9b;
    text-decoration: none;
    font-weight: 700 !important;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.nav-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.nav-link:hover {
    color: #f1c40f;
    background: rgba(241, 196, 15, 0.04);
    border-color: rgba(241, 196, 15, 0.08);
}

.nav-link.active {
    color: #f1c40f;
    background: rgba(241, 196, 15, 0.06);
    border-color: rgba(241, 196, 15, 0.12);
}

/* USER PANEL */
.user-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.balance-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 18px 8px 14px;
    border-radius: 12px;
    font-weight: 700 !important;
    color: #f1c40f;
    font-size: 15px;
    transition: 0.3s;
}

.balance-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.balance-box .balance-coin {
    width: 20px;
    height: 20px;
    font-size: 11px;
}

.balance-amount {
    color: #fff;
    font-weight: 700 !important;
}

.btn-deposit {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #0d0e12;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 800 !important;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(241, 196, 15, 0.15);
}

.btn-deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.3);
}

.btn-deposit svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 4px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.profile-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.profile-link .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.06);
    object-fit: cover;
    transition: 0.4s;
}

.profile-link:hover .avatar {
    border-color: #f1c40f;
    transform: scale(1.05);
}

.profile-link .name {
    font-size: 13px;
    font-weight: 700 !important;
    color: #fff;
}

.admin-link {
    color: #e74c3c;
    font-size: 11px;
    font-weight: 800 !important;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(231, 76, 60, 0.2);
    background: rgba(231, 76, 60, 0.06);
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-link:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.2);
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 10px;
    color: #5b6285;
    transition: 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}

.logout-btn:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.06);
}

.logout-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.btn-steam {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #66c0f4;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700 !important;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-steam:hover {
    background: rgba(102, 192, 244, 0.08);
    border-color: rgba(102, 192, 244, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.btn-steam svg {
    width: 18px;
    height: 18px;
    fill: #66c0f4;
}

/* BURGER */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: 0.3s;
}

.burger-btn:hover {
    background: rgba(255, 255, 255, 0.04);
}

.burger-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background: #e8e8e8;
    border-radius: 2px;
    transition: 0.3s;
    transform-origin: center;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 14, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 24px 40px;
    z-index: 99;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    animation: slideDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu.open {
    display: flex;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu .nav-link {
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 12px;
    width: 100%;
    justify-content: flex-start;
    border: 1px solid transparent;
}

.mobile-menu .nav-link:hover {
    border-color: rgba(241, 196, 15, 0.1);
}

.mobile-menu .nav-link svg {
    width: 20px;
    height: 20px;
}

.mobile-menu .divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin: 12px 0;
}

.mobile-menu .mobile-user {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 8px;
}

.mobile-menu .mobile-user .balance-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f1c40f;
    font-size: 18px;
    font-weight: 700 !important;
}

.mobile-menu .mobile-user .balance-row .balance-coin {
    width: 24px;
    height: 24px;
    font-size: 13px;
}

.mobile-menu .mobile-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.mobile-menu .mobile-actions .btn-deposit {
    flex: 1;
    justify-content: center;
    padding: 14px;
}

.mobile-menu .mobile-actions .btn-steam {
    flex: 1;
    justify-content: center;
    padding: 14px;
}

/* ============================================
   DEPOSIT MODAL
   ============================================ */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    height: 100dvh;
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex; 
    justify-content: center; 
    align-items: center; 
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease; 
    z-index: 10000; 
    padding: 15px;
    -webkit-tap-highlight-color: transparent;
}
.modal-overlay.active { 
    opacity: 1; 
    visibility: visible; 
    pointer-events: all; 
}
.modal-box { 
    background: #1a1c24; 
    border: 1px solid #2a2c38; 
    border-radius: 24px; 
    padding: 30px 25px; 
    width: 100%; 
    max-width: 500px; 
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    text-align: center; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.8); 
    transform: translateY(-30px) scale(0.95); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    -webkit-overflow-scrolling: touch;
}
.modal-overlay.active .modal-box { 
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-title { 
    font-size: 24px; 
    font-weight: 700 !important; 
    margin-bottom: 6px; 
    color: #fff; 
}
.modal-subtitle { 
    color: #8a8d9b; 
    font-size: 13px; 
    font-weight: 600; 
    margin-bottom: 20px; 
}

.payment-methods {
    display: flex;
    gap: 12px;
    margin: 15px 0 20px 0;
}
.payment-method {
    flex: 1;
    background: #121318;
    border: 2px solid #2a2c38;
    border-radius: 14px;
    padding: 20px 12px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 110px;
    justify-content: center;
}
.payment-method:active { transform: scale(0.96); }
.payment-method:hover { border-color: #f1c40f; background: rgba(241, 196, 15, 0.05); }
.payment-method.selected { border-color: #f1c40f; background: rgba(241, 196, 15, 0.08); box-shadow: 0 0 30px rgba(241, 196, 15, 0.1); }
.payment-method img { width: 60px; height: 60px; object-fit: contain; }
.payment-method .method-name { color: #fff; font-weight: 700; font-size: 13px; }
.payment-method .method-badge { font-size: 9px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 20px; background: rgba(46, 204, 113, 0.15); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.2); }

.deposit-info {
    background: rgba(46, 204, 113, 0.05);
    border: 1px solid rgba(46, 204, 113, 0.15);
    border-radius: 12px;
    padding: 12px 15px;
    margin: 10px 0 15px 0;
    text-align: left;
    font-size: 12px;
    color: #c0c0c0;
    line-height: 1.5;
}
.deposit-info strong { color: #2ecc71; }

.deposit-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 10px 0;
}
.amount-btn {
    background: #121318;
    border: 1px solid #2a2c38;
    color: #8a8d9b;
    padding: 8px 4px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 38px;
}
.amount-btn:hover { border-color: #f1c40f; color: #f1c40f; background: rgba(241,196,15,0.05); }
.amount-btn.active { border-color: #f1c40f; color: #f1c40f; background: rgba(241,196,15,0.1); }

.custom-amount { margin-top: 8px; }
.custom-amount input {
    width: 100%;
    padding: 12px 16px;
    background: #121318;
    border: 1px solid #2a2c38;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: 0.3s;
    -webkit-appearance: none;
    appearance: none;
}
.custom-amount input:focus { border-color: #f1c40f; box-shadow: 0 0 20px rgba(241,196,15,0.05); }
.custom-amount .min-hint { color: #5b6285; font-size: 11px; margin-top: 6px; text-align: left; }

.bonus-block {
    animation: fadeInBonus 0.3s ease forwards;
    background: rgba(241, 196, 15, 0.05);
    border: 1px solid rgba(241, 196, 15, 0.15);
    border-radius: 12px;
    padding: 12px 15px;
    margin: 10px 0 0 0;
    text-align: left;
}
@keyframes fadeInBonus { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.bonus-block .bonus-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.bonus-block .bonus-label-small { font-size: 11px; color: #8a8d9b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.bonus-block .bonus-value { font-size: 14px; font-weight: 800; color: #f1c40f; }
.bonus-block .bonus-condition { font-size: 11px; color: #5b6285; }
.bonus-block .total-amount { font-size: 18px; font-weight: 900; color: #f1c40f; display: flex; align-items: center; gap: 5px; }
.bonus-block .total-amount .coin { width: 20px; height: 20px; font-size: 10px; }

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}
.btn-modal {
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700 !important;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    flex: 1;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    min-height: 48px;
}
.btn-modal:active { transform: scale(0.96); }
.btn-modal.confirm { 
    background: linear-gradient(135deg, #f39c12, #f1c40f); 
    color: #000; 
    box-shadow: 0 5px 15px rgba(241,196,15,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-modal.confirm:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-modal.cancel { background: #2a2c38; color: #fff; border: 1px solid #383b4d; }

/* PLUS GIFT */
.modal-overlay.plus-gift {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.modal-overlay.plus-gift .modal-box {
    border: 2px solid #f1c40f;
    max-width: 420px;
    transform: translateY(0) scale(1);
    opacity: 1;
}
.modal-overlay.plus-gift .modal-box .gift-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: rgba(241, 196, 15, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(241, 196, 15, 0.2);
}
.modal-overlay.plus-gift .modal-box .gift-icon svg {
    width: 45px;
    height: 45px;
    stroke: #f1c40f;
    fill: none;
    stroke-width: 2.5;
}
.modal-overlay.plus-gift .modal-box .gift-title {
    font-size: 24px;
    font-weight: 900;
    color: #f1c40f;
}
.modal-overlay.plus-gift .modal-box .gift-text {
    font-size: 16px;
    color: #8a8d9b;
    margin: 10px 0 20px;
    line-height: 1.6;
}
.modal-overlay.plus-gift .modal-box .gift-text strong { color: #f1c40f; }
.modal-overlay.plus-gift .modal-box .gift-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.btn-gold {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(241, 196, 15, 0.4); }
.btn-gold svg { width: 18px; height: 18px; stroke: #000; fill: none; stroke-width: 2.5; }
.btn-outline-modal {
    background: transparent;
    color: #8a8d9b;
    border: 1px solid #2a2c38;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
}
.btn-outline-modal:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }

/* ============================================
   УВЕДОМЛЕНИЯ (TOAST NOTIFICATIONS)
   ============================================ */
.notify-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 40px);
}

.notify-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(26, 28, 36, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    pointer-events: all;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(120%) scale(0.85);
    animation: notifySlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.notify-item.hiding {
    animation: notifySlideOut 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.notify-item .notify-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.notify-item .notify-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notify-item.success .notify-icon {
    background: rgba(46, 204, 113, 0.12);
    border: 2px solid rgba(46, 204, 113, 0.4);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.25);
}

.notify-item.success .notify-icon svg {
    stroke: #2ecc71;
}

.notify-item.success::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2ecc71, #00e88f);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
}

.notify-item.error .notify-icon {
    background: rgba(231, 76, 60, 0.12);
    border: 2px solid rgba(231, 76, 60, 0.4);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.25);
}

.notify-item.error .notify-icon svg {
    stroke: #e74c3c;
}

.notify-item.error::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e74c3c, #ff6b6b);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
}

.notify-item.info .notify-icon {
    background: rgba(52, 152, 219, 0.12);
    border: 2px solid rgba(52, 152, 219, 0.4);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.25);
}

.notify-item.info .notify-icon svg {
    stroke: #3498db;
}

.notify-item.info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3498db, #5dade2);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.6);
}

.notify-item .notify-text {
    flex: 1;
    font-size: 14px;
    font-weight: 700 !important;
    color: #fff;
    line-height: 1.4;
    word-break: break-word;
}

.notify-item .notify-text .title {
    font-size: 12px;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
    opacity: 0.6;
}

.notify-item.success .notify-text .title { color: #2ecc71; }
.notify-item.error .notify-text .title { color: #e74c3c; }
.notify-item.info .notify-text .title { color: #3498db; }

.notify-item .notify-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 16px 16px;
    animation: notifyProgress 4s linear forwards;
}

.notify-item.success .notify-progress {
    background: linear-gradient(90deg, #2ecc71, #00e88f);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.notify-item.error .notify-progress {
    background: linear-gradient(90deg, #e74c3c, #ff6b6b);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.notify-item.info .notify-progress {
    background: linear-gradient(90deg, #3498db, #5dade2);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

@keyframes notifySlideIn {
    0% {
        opacity: 0;
        transform: translateX(120%) scale(0.85);
    }
    60% {
        opacity: 1;
        transform: translateX(-8px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes notifySlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(120%) scale(0.85);
    }
}

@keyframes notifyProgress {
    0% { width: 100%; }
    100% { width: 0%; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .header-inner { padding: 12px 20px; }
    .nav-games { gap: 2px; }
    .nav-link { font-size: 12px; padding: 6px 12px; }
}

@media (max-width: 900px) {
    .header-inner { padding: 10px 16px; flex-wrap: wrap; gap: 10px; }
    .header-left { flex: 1; justify-content: space-between; }
    .nav-games { display: none; }
    .user-panel { display: none; }
    .burger-btn { display: flex; }
    .header-left .online-counter { display: none; }
}

@media (min-width: 901px) {
    .burger-btn { display: none; }
    .mobile-menu { display: none !important; }
}

@media (max-width: 768px) {
    .notify-container {
        top: 80px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }
    
    .notify-item {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .notify-item .notify-icon {
        width: 36px;
        height: 36px;
    }
    
    .notify-item .notify-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .notify-item .notify-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-inner { padding: 8px 12px; }
    .logo { font-size: 20px; }
    .balance-box { padding: 6px 12px; font-size: 13px; }
    .balance-box .balance-coin { width: 16px; height: 16px; font-size: 9px; }
    .btn-deposit { padding: 8px 14px; font-size: 11px; }
    .btn-deposit svg { width: 14px; height: 14px; }
    .profile-link .avatar { width: 30px; height: 30px; }
    .profile-link .name { font-size: 11px; }
    .btn-steam { padding: 8px 14px; font-size: 11px; }
    .btn-steam svg { width: 16px; height: 16px; }
    .online-counter { font-size: 11px; padding: 4px 10px; }
    .online-dot { width: 6px; height: 6px; }
    .online-number { font-size: 12px; }
    .mobile-menu { padding: 20px 16px; top: 60px; }
    
    .notify-container {
        top: 70px;
        right: 8px;
        left: 8px;
    }
    
    .notify-item {
        padding: 12px 14px;
        border-radius: 14px;
    }
    
    .notify-item .notify-icon {
        width: 32px;
        height: 32px;
    }
    
    .notify-item .notify-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 375px) {
    .logo { font-size: 17px; }
    .balance-box { padding: 4px 10px; font-size: 11px; }
    .balance-box .balance-coin { width: 14px; height: 14px; font-size: 8px; }
    .btn-deposit { padding: 6px 12px; font-size: 10px; }
    .btn-steam { padding: 6px 12px; font-size: 10px; }
    .profile-link .avatar { width: 26px; height: 26px; }
    .profile-link .name { font-size: 10px; }
}