* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 500px;
    background: rgba(30, 30, 46, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Навигация */
.navbar {
    display: flex;
    justify-content: space-around;
    background: rgba(20, 20, 35, 0.8);
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #aaa;
    border-radius: 10px;
    transition: all 0.3s;
    min-width: 70px;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.balance-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
}

.balance {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.15);
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.coins-balance {
    background: rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.coins-balance i {
    color: #00bfff;
}

.balance i {
    color: gold;
}

.logo {
    text-align: center;
    flex-grow: 1;
}

.logo-gradient {
    background: linear-gradient(135deg, #00dbde 0%, #fc00ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 12px;
    color: #aaa;
}

.stats {
    display: flex;
    gap: 15px;
    min-width: 120px;
    justify-content: flex-end;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 123, 255, 0.15);
    padding: 8px 12px;
    border-radius: 50px;
    font-weight: bold;
}

.stat i {
    color: #00bfff;
}

/* Общие стили для контента */
.main-content {
    margin-bottom: 70px; /* Отступ для навигации */
}

/* Стили для магазина */
.shop-container {
    background: rgba(20, 20, 35, 0.8);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.category-title {
    margin-bottom: 20px;
    text-align: center;
}

.category-title h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #00dbde;
    font-size: 22px;
    margin-bottom: 5px;
}

.category-description {
    color: #aaa;
    font-size: 14px;
    font-style: italic;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.gift-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gift-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gift-card.owned {
    border-color: rgba(0, 200, 83, 0.3);
    background: rgba(0, 200, 83, 0.05);
}

.gift-card.owned .gift-icon {
    filter: brightness(1.2);
}

.gift-icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
    min-height: 50px;
}

.gift-name {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.gift-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.price-stars {
    color: gold;
}

.price-coins {
    color: #00bfff;
}

.gift-description {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
    min-height: 36px;
}

.buy-btn {
    width: 100%;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}

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

.owned-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 200, 83, 0.9);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.instructions {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #667eea;
}

.instructions h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #00dbde;
}

.instructions p {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.instructions .note {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: gold;
    font-style: italic;
}

/* Стили для пополнения */
.wallet-container {
    background: rgba(20, 20, 35, 0.8);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.wallet-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.wallet-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00dbde;
    font-size: 20px;
    margin-bottom: 10px;
}

.section-description {
    color: #aaa;
    margin-bottom: 15px;
    font-size: 14px;
}

.stars-packs, .coins-packs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.pack-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.pack-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.pack-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.pack-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.pack-price {
    color: gold;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 14px;
}

.btn-buy {
    width: 100%;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.ton-connect {
    background: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 123, 255, 0.3);
}

.ton-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ton-icon {
    font-size: 40px;
}

.ton-details h4 {
    margin-bottom: 5px;
    color: #00bfff;
}

.ton-details p {
    color: #aaa;
    font-size: 14px;
}

.btn-connect {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #0088cc 0%, #0055aa 100%);
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-connect:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.payment-info {
    background: rgba(0, 200, 83, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    border-left: 4px solid #00c853;
    margin-top: 15px;
}

.payment-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

/* Стили для профиля */
.profile-container {
    background: rgba(20, 20, 35, 0.8);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.user-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #00dbde;
}

.user-id {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 10px;
}

.user-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.user-stats .stat-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.stats-section {
    margin-bottom: 25px;
}

.stats-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00dbde;
    font-size: 20px;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-details h4 {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: gold;
}

.gifts-section {
    margin-bottom: 25px;
}

.gifts-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00dbde;
    font-size: 20px;
    margin-bottom: 15px;
}

.collection-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
}

collection-info p {
    margin-bottom: 10px;
    font-weight: bold;
}

collection-info progress {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

collection-info progress::-webkit-progress-bar {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

collection-info progress::-webkit-progress-value {
    background: linear-gradient(135deg, #00dbde 0%, #fc00ff 100%);
    border-radius: 5px;
}

.gifts-collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.gift-collection-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.gift-collection-item .gift-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.gift-collection-item .gift-name {
    font-size: 14px;
}

.empty-collection {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
}

.empty-collection i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #667eea;
}

.empty-collection .hint {
    color: gold;
    font-style: italic;
    margin-top: 10px;
}

.achievements-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00dbde;
    font-size: 20px;
    margin-bottom: 15px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.achievement {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.achievement.unlocked {
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.achievement.locked {
    opacity: 0.6;
}

.achievement-icon {
    font-size: 30px;
    min-width: 50px;
    text-align: center;
}

.achievement-info h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.achievement-info p {
    font-size: 12px;
    color: #aaa;
}

.achievement-status {
    margin-left: auto;
}

.achievement.unlocked .achievement-status {
    color: gold;
}

.achievement.locked .achievement-status {
    color: #aaa;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: rgba(30, 30, 46, 0.95);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.modal-header h3 {
    color: #00dbde;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.modal-gift-info {
    text-align: center;
    padding: 20px 0;
}

.modal-gift-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.modal-gift-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00dbde;
}

.modal-gift-description {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.modal-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.modal-price.coins {
    border-color: rgba(0, 123, 255, 0.3);
}

.modal-balance-check {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #00c853;
}

.modal-balance-check p {
    margin-bottom: 5px;
    font-size: 14px;
}

.modal-balance-check .insufficient {
    color: #ff4757;
    font-weight: bold;
}

.modal-balance-check .sufficient {
    color: #00c853;
    font-weight: bold;
}

.modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Уведомления */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.5s ease-in-out;
    opacity: 0;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .navbar {
        padding: 8px;
    }
    
    .nav-item {
        padding: 8px 10px;
        min-width: 60px;
    }
    
    .nav-item i {
        font-size: 18px;
    }
    
    .nav-item span {
        font-size: 11px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .balance-container {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .stats {
        width: 100%;
        justify-content: center;
    }
    
    .gifts-grid, .stars-packs, .coins-packs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10px;
    }
}

/* Стили для слотов (добавьте если их нет) */
.slots-container {
    background: rgba(20, 20, 35, 0.8);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.slots-machine {
    position: relative;
    margin-bottom: 25px;
}

.slots-window {
    display: flex;
    justify-content: space-between;
    background: rgba(10, 10, 20, 0.9);
    border-radius: 10px;
    padding: 0;
    position: relative;
    height: 180px;
    border: 3px solid #333;
    overflow: hidden;
}

.reel-container {
    width: 32%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
}

.reel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transition: transform 2s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.slot-item {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 0 0 10px currentColor;
    user-select: none;
    padding: 10px 0;
}

/* Цвета для символов */
.slot-item.cherry { color: #ff4757; }
.slot-item.lemon { color: #ffd700; }
.slot-item.orange { color: #ff8c00; }
.slot-item.watermelon { color: #2ed573; }
.slot-item.star { color: gold; text-shadow: 0 0 15px gold; }
.slot-item.bell { color: #ffd700; }
.slot-item.diamond { color: #00d2ff; text-shadow: 0 0 15px #00d2ff; }
.slot-item.seven { color: #ff3838; text-shadow: 0 0 15px #ff3838; }

.slots-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.05) 33%, 
        transparent 34%, 
        transparent 66%, 
        rgba(255,255,255,0.05) 67%, 
        transparent 100%);
}

.slots-frame::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        gold, 
        transparent);
    transform: translateY(-1px);
    z-index: 2;
}

.control-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-spin {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 18px 50px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}

.btn-spin:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.6);
}

.btn-spin:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.win-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 200, 83, 0.15);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid rgba(0, 200, 83, 0.3);
}

.win-display i {
    color: gold;
}

.win-animation {
    animation: winPulse 0.5s ease-in-out 3;
}

@keyframes winPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Стили для таблицы выигрышей на странице слотов */
.info-panel {
    background: rgba(20, 20, 35, 0.8);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.info-panel h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00dbde;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wins-section {
    margin-bottom: 25px;
}

.wins-section:last-child {
    margin-bottom: 15px;
}

.wins-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: #ffd700;
    font-size: 18px;
}

.wins-section h4 i {
    font-size: 16px;
}

.wins-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.wins-table-double {
    margin-bottom: 25px;
}

.wins-table-double .combo-symbols {
    gap: 8px;
}

.wins-table-double .combo-symbols span {
    width: 40px;
    height: 40px;
    font-size: 22px;
}

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

.win-combination:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(255, 215, 0, 0.2);
}

.combo-symbols {
    display: flex;
    gap: 10px;
    align-items: center;
}

.combo-symbols span {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.combo-symbols span:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.combo-prize {
    font-weight: bold;
    color: gold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Стили для статистики */
.stats-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.stat-item i {
    color: #00d2ff;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.stat-item span:last-child {
    font-weight: bold;
    color: gold;
    margin-left: auto;
}

/* Навигация внизу */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 480px;
    background: rgba(20, 20, 35, 0.95);
    border-radius: 20px;
    padding: 12px;
    margin: 0;
    z-index: 100;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Увеличиваем отступ для контента */
.main-content {
    margin-bottom: 100px;
    padding-bottom: 20px;
}

/* Адаптивность для навигации */
@media (max-width: 480px) {
    .bottom-nav {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 10px;
    }
    
    .main-content {
        margin-bottom: 90px;
    }
}

/* Улучшенные стили для таблицы выигрышей */
.win-combination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.win-combination:hover {
    transform: translateX(5px);
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.combo-symbols {
    display: flex;
    gap: 10px;
    align-items: center;
}

.combo-symbols span {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.combo-symbols span:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.combo-prize {
    font-weight: bold;
    color: gold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.wins-table-double .combo-symbols span {
    width: 45px;
    height: 45px;
    font-size: 24px;
}

/* Стили для статистики */
.stats-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.stat-item i {
    color: #00d2ff;
    font-size: 18px;
    width: 30px;
    text-align: center;
}

.stat-item span:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.stat-item span:last-child {
    font-weight: bold;
    color: gold;
    font-size: 18px;
    min-width: 60px;
    text-align: right;
}

/* Анимации */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-item:hover i {
    animation: pulse 1s infinite;
}

/* Адаптивность */
@media (max-width: 480px) {
    .win-combination {
        padding: 12px;
    }
    
    .combo-symbols span {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .combo-prize {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    .wins-table-double .combo-symbols span {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .stat-item {
        padding: 12px;
        font-size: 14px;
    }
    
    .stat-item span:last-child {
        font-size: 16px;
    }
}