/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #007aff;
    --accent-hover: #0051d5;
    --success: #34c759;
    --error: #ff3b30;
    --warning: #ff9500;
    --border-radius: 20px;
    --blur: blur(20px);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Snow Animation */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5em;
    animation: fall linear infinite;
    pointer-events: none;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* App Container */
.app-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Header & Winter Sale Banner */
.header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Hide header on profile and bonuses tabs */
.header.hidden,
#profile-tab.active ~ .header,
#bonuses-tab.active ~ .header,
.app-container:has(#profile-tab.active) .header,
.app-container:has(#bonuses-tab.active) .header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.winter-sale-banner {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2) 0%, rgba(138, 43, 226, 0.2) 100%);
    backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.sale-content {
    position: relative;
    z-index: 1;
}

.sale-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s ease-in-out infinite;
}

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

.sale-subtitle {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--warning);
    margin-bottom: 10px;
}

.sale-text {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin: 5px 0;
}

.sale-text-small {
    font-size: 0.9em;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Glass Morphism */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.glass-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    z-index: 1000;
}

/* Main Content */
.main-content {
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
}

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

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

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

/* Games Container */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.game-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out backwards;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.3);
}

.game-icon {
    font-size: 3em;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.game-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto 10px auto;
    display: block;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.game-icon-fallback {
    font-size: 3em;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.game-name {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Packages List */
.packages-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.package-item {
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-item:hover {
    background: var(--bg-glass-hover);
    transform: translateX(5px);
    border-color: var(--accent);
}

.package-item-free {
    border: 2px solid var(--error);
    background: rgba(255, 59, 48, 0.1);
}

.package-item-free:hover {
    border-color: var(--error);
    background: rgba(255, 59, 48, 0.2);
    transform: translateX(5px);
}

.package-price-free {
    color: var(--error);
    font-weight: 600;
    font-size: 1em;
}

.package-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
}

.package-price {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--accent);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-spin {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.btn-spin {
    margin-top: 20px;
    background: linear-gradient(135deg, var(--warning) 0%, #ff6b00 100%);
    color: white;
    font-size: 1.2em;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(255, 149, 0, 0.4);
}

.btn-spin:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 149, 0, 0.6);
}

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

/* Input Fields */
.input-field {
    width: 100%;
    padding: 15px;
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 1em;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.input-field.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.deposit-amount-section {
    margin-bottom: 25px;
}

.deposit-amount-section label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: var(--text-secondary);
    font-weight: 500;
}

.deposit-amount-section .input-field {
    width: 100%;
    margin-bottom: 10px;
}

.error-message {
    color: var(--error);
    font-size: 0.9em;
    margin-top: 5px;
    padding: 8px 12px;
    background: rgba(255, 59, 48, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

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

.coupon-section label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: var(--text-secondary);
    font-weight: 500;
}

.coupon-section .input-field {
    width: 100%;
    margin-bottom: 10px;
}

/* Purchase Confirmation */
.purchase-confirmation-info {
    margin: 25px 0;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.confirmation-item:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.confirmation-label {
    font-size: 0.95em;
    color: var(--text-secondary);
    font-weight: 500;
}

.confirmation-value {
    font-size: 1em;
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

/* Notification Modal */
.notification-modal-content {
    text-align: center;
    max-width: 400px;
    padding: 30px;
}

.notification-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: scaleIn 0.3s ease-out;
}

.notification-icon-success {
    color: var(--success);
    filter: drop-shadow(0 0 10px rgba(52, 199, 89, 0.5));
}

.notification-icon-error {
    color: var(--error);
    filter: drop-shadow(0 0 10px rgba(255, 59, 48, 0.5));
}

.notification-icon-info {
    color: var(--accent);
    filter: drop-shadow(0 0 10px rgba(0, 122, 255, 0.5));
}

.notification-modal-content h2 {
    margin: 15px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.notification-modal-content p {
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.5;
    margin: 15px 0;
}

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

/* Channels List */
.channels-list {
    margin: 20px 0;
}

.channel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.channel-item:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.channel-name {
    font-size: 1em;
    color: var(--text-primary);
    font-weight: 500;
}

.channel-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.channel-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.package-item-free {
    border: 2px solid var(--error);
    background: rgba(255, 59, 48, 0.1);
}

.package-item-free:hover {
    border-color: var(--error);
    background: rgba(255, 59, 48, 0.2);
    transform: translateX(5px);
}

.package-price-free {
    color: var(--error);
    font-weight: 600;
    font-size: 1em;
}

.input-field.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.deposit-amount-section {
    margin-bottom: 25px;
}

.deposit-amount-section label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: var(--text-secondary);
    font-weight: 500;
}

.deposit-amount-section .input-field {
    width: 100%;
    margin-bottom: 10px;
}

.error-message {
    color: var(--error);
    font-size: 0.9em;
    margin-top: 5px;
    padding: 8px 12px;
    background: rgba(255, 59, 48, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-secondary);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    padding-top: 50px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.modal-content h2 {
    margin-top: 0;
    padding-top: 0;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2em;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.payment-method {
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: scale(1.05);
}

.payment-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.payment-name {
    font-size: 1em;
    font-weight: 600;
}

/* Development Notice */
.development-notice {
    text-align: center;
    padding: 60px 30px;
    margin: 40px 0;
}

.development-icon {
    margin: 0 auto 30px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    opacity: 0.6;
}

.development-notice h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.development-notice p {
    font-size: 1.1em;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Active Bonuses Section */
.active-bonuses-section {
    margin-bottom: 30px;
}

.active-bonuses-section h2 {
    margin-bottom: 24px;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    letter-spacing: -0.02em;
}

.bonuses-list {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.25s ease;
    position: relative;
}

.bonus-item:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bonus-item.bonus-balance {
    border-left: 3px solid var(--accent);
}

.bonus-item.bonus-discount {
    border-left: 3px solid var(--warning);
}

.bonus-item.bonus-other {
    border-left: 3px solid var(--text-secondary);
}

.bonus-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--accent);
}

.bonus-item.bonus-discount .bonus-icon {
    color: var(--warning);
}

.bonus-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

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

.bonus-title {
    font-size: 1em;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.bonus-expires {
    font-size: 0.85em;
    color: var(--text-secondary);
    font-weight: 400;
}

.no-bonuses-text,
.loading-text {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 0.95em;
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.loading-text {
    color: var(--text-secondary);
}

.error-text {
    text-align: center;
    padding: 30px 20px;
    color: var(--error);
    font-size: 0.95em;
    background: rgba(255, 59, 48, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

/* Wheel of Fortune */
.wheel-container {
    margin-bottom: 30px;
    text-align: center;
}

.wheel-spins-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 15px;
    font-size: 1.1em;
}

.spins-label {
    color: var(--text-secondary);
}

.spins-count {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.3em;
}

.wheel-wrapper {
    position: relative;
    display: inline-block;
    margin: 30px 0;
}

#wheel-canvas {
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 122, 255, 0.3);
    transition: transform 0.1s ease-out;
    display: block;
    width: 300px;
    height: 300px;
    max-width: 100%;
    margin: 0 auto;
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid var(--accent);
    z-index: 10;
}

#wheel-result {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: 600;
    min-height: 30px;
}

/* Referral Section */
.referral-section {
    margin-top: 30px;
}

.referral-info {
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.referral-rewards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease;
}

.reward-item:hover {
    background: var(--bg-glass-hover);
    transform: translateX(5px);
}

.reward-icon {
    font-size: 2em;
}

.referral-stats {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border-radius: 15px;
}

/* Profile */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-card {
    text-align: center;
    padding: 40px 20px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #8a2be2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    margin: 0 auto 20px;
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

.profile-name {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.profile-id {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.balance-card {
    text-align: center;
    padding: 30px 20px;
}

.balance-amount {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--accent);
    margin: 20px 0;
}

.stats-card {
    padding: 20px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

/* History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.history-item {
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border-radius: 15px;
    padding: 15px;
}

.history-game {
    font-weight: 600;
    margin-bottom: 5px;
}

.history-package {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.history-price {
    color: var(--accent);
    font-weight: 600;
    margin-top: 5px;
}

/* Bottom Navigation */
.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

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

.nav-icon {
    font-size: 1.5em;
}

.nav-label {
    font-size: 0.8em;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 480px) {
    .games-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sale-title {
        font-size: 2em;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* Shake Animation for Errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

