/* ═══════════════════════════════════════════════════════════════
   СИСТЕМА ДОСТИЖЕНИЙ И ЕЖЕДНЕВНЫХ БОНУСОВ - Современный дизайн
   ═══════════════════════════════════════════════════════════════ */

:root {
    --achievement-common: #6b7280;
    --achievement-rare: #3b82f6;
    --achievement-epic: #a855f7;
    --achievement-legendary: #f59e0b;
    
    --achievement-common-glow: rgba(107, 114, 128, 0.3);
    --achievement-rare-glow: rgba(59, 130, 246, 0.4);
    --achievement-epic-glow: rgba(168, 85, 247, 0.5);
    --achievement-legendary-glow: rgba(245, 158, 11, 0.6);
}

/* Контейнер достижений */
.achievements-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.achievements-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: achievementsSweep 3s infinite;
}

@keyframes achievementsSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.achievements-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.achievements-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   ИНФОРМАЦИЯ О БОНУС-БАЛАНСЕ
   ═══════════════════════════════════════════════════════════════ */

.bonus-balance-info-section {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.bonus-balance-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}

.bonus-balance-icon {
    width: 32px;
    height: 32px;
    stroke: #fbbf24;
    flex-shrink: 0;
}

.bonus-balance-info-title {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex: 1;
}

.bonus-balance-current {
    display: flex;
    align-items: center;
}

.bonus-balance-amount {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.bonus-balance-amount.has-bonus {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.bonus-balance-amount.no-bonus {
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
}

.bonus-balance-info-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bonus-balance-info-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.bonus-balance-info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateX(4px);
}

.bonus-balance-info-item svg {
    width: 24px;
    height: 24px;
    stroke: #fbbf24;
    flex-shrink: 0;
    margin-top: 2px;
}

.bonus-balance-info-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.bonus-balance-info-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .bonus-balance-info-section {
        padding: 16px;
    }
    
    .bonus-balance-info-header {
        flex-wrap: wrap;
    }
    
    .bonus-balance-amount.has-bonus {
        font-size: 20px;
    }
    
    .bonus-balance-amount.no-bonus {
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   XP ПРОГРЕСС БАР
   ═══════════════════════════════════════════════════════════════ */

.xp-progress-section {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.xp-progress-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: xpSweep 3s infinite;
}

@keyframes xpSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.xp-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.xp-level-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.xp-level-icon {
    width: 56px;
    height: 56px;
    stroke: #fbbf24;
    fill: #fbbf24;
    fill-opacity: 0.2;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.5));
    animation: xpIconPulse 2s infinite;
}

@keyframes xpIconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.8)); }
}

.xp-level-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.xp-level-badge {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.xp-level-text {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xp-level-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    line-height: 1;
}

.xp-rank-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.xp-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.xp-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.xp-stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.xp-stat-icon {
    width: 24px;
    height: 24px;
    stroke: #fbbf24;
    fill: none;
    flex-shrink: 0;
}

.xp-stat-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 600;
}

.xp-current,
.xp-total {
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
    font-family: 'Courier New', monospace;
}

.xp-separator {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
}

.xp-next-level {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
}

.xp-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 4px;
}

.xp-progress-bar-container {
    position: relative;
    z-index: 2;
}

.xp-progress-bar {
    position: relative;
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.xp-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
    background-size: 200% auto;
    border-radius: 12px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    animation: xpProgressShimmer 2s linear infinite;
    overflow: hidden;
}

@keyframes xpProgressShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.xp-progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: xpShine 2s infinite;
}

@keyframes xpShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.xp-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 10;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

@media (max-width: 768px) {
    .xp-progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .xp-stats {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .xp-stat-item {
        width: 100%;
        justify-content: space-between;
    }
    
    .xp-level-icon {
        width: 48px;
        height: 48px;
    }
    
    .xp-level-number {
        font-size: 28px;
    }
    
    .xp-progress-bar {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .xp-progress-section {
        padding: 16px;
    }
    
    .xp-level-info {
        gap: 12px;
    }
    
    .xp-level-icon {
        width: 40px;
        height: 40px;
    }
    
    .xp-level-number {
        font-size: 24px;
    }
    
    .xp-rank-name {
        font-size: 14px;
    }
    
    .xp-current,
    .xp-total {
        font-size: 18px;
    }
    
    .xp-progress-bar {
        height: 36px;
    }
    
    .xp-progress-text {
        font-size: 12px;
    }
}

.achievements-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.stat-badge .stat-icon {
    width: 18px;
    height: 18px;
    stroke: #22c55e;
    fill: none;
    flex-shrink: 0;
}

/* Сетка достижений */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Карточка достижения */
.achievement-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Редкость достижений */
.achievement-card.common {
    border-color: rgba(107, 114, 128, 0.3);
}

.achievement-card.common:hover {
    border-color: var(--achievement-common);
    box-shadow: 0 10px 30px var(--achievement-common-glow);
}

.achievement-card.rare {
    border-color: rgba(59, 130, 246, 0.3);
}

.achievement-card.rare:hover {
    border-color: var(--achievement-rare);
    box-shadow: 0 10px 30px var(--achievement-rare-glow);
}

.achievement-card.epic {
    border-color: rgba(168, 85, 247, 0.3);
}

.achievement-card.epic:hover {
    border-color: var(--achievement-epic);
    box-shadow: 0 10px 30px var(--achievement-epic-glow);
}

.achievement-card.legendary {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
}

.achievement-card.legendary:hover {
    border-color: var(--achievement-legendary);
    box-shadow: 0 10px 40px var(--achievement-legendary-glow);
}

.achievement-card.legendary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    animation: legendaryShine 3s infinite;
}

@keyframes legendaryShine {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* Иконка достижения */
.achievement-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.achievement-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.achievement-card.common .achievement-icon {
    color: var(--achievement-common);
}

.achievement-card.rare .achievement-icon {
    color: var(--achievement-rare);
}

.achievement-card.epic .achievement-icon {
    color: var(--achievement-epic);
}

.achievement-card.legendary .achievement-icon {
    color: var(--achievement-legendary);
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.5));
}

.achievement-card.completed .achievement-icon {
    animation: achievementPulse 2s infinite;
}

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

.achievement-reward-info {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    text-align: center;
}

/* Название достижения */
.achievement-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

/* Описание достижения */
.achievement-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Прогресс достижения */
.achievement-progress {
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #ec4899 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Статус достижения */
.achievement-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #22c55e;
    margin-top: 8px;
}

.achievement-status.claimed {
    background: rgba(107, 114, 128, 0.2);
    border-color: rgba(107, 114, 128, 0.4);
    color: #6b7280;
}

.achievement-status svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Кнопка получения награды */
.claim-reward-btn {
    margin-top: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #ec4899 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.claim-reward-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.claim-reward-btn:hover::before {
    width: 300px;
    height: 300px;
}

.claim-reward-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

.claim-reward-btn:active {
    transform: scale(0.95);
}

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

/* Ежедневный бонус */
.daily-bonus-container {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.daily-bonus-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    animation: bonusPulse 4s infinite;
}

@keyframes bonusPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.daily-bonus-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.daily-bonus-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.daily-bonus-title svg {
    width: 28px;
    height: 28px;
    color: #22c55e;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6));
    flex-shrink: 0;
}

.streak-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #f59e0b;
}

.streak-badge .streak-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.streak-badge .streak-icon svg {
    width: 100%;
    height: 100%;
    color: #f59e0b;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
    animation: firePulse 1.5s infinite;
}

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

/* Календарь бонусов */
.bonus-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.bonus-day {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bonus-day:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, 0.5);
}

.bonus-day.claimed {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border-color: rgba(34, 197, 94, 0.5);
}

.bonus-day.today {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border-color: #3b82f6;
    border-width: 3px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    animation: todayPulse 2s infinite;
}

.bonus-day.future {
    opacity: 0.5;
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.bonus-day.future:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.05);
    cursor: default;
}

@keyframes todayPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.6); }
}

.bonus-day-number {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.bonus-day-amount {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.bonus-day.claimed .bonus-day-amount {
    color: #22c55e;
}

.bonus-day-checkmark {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
}

.bonus-day-checkmark svg {
    width: 16px;
    height: 16px;
}

/* Кнопка получения сегодняшнего бонуса */
.claim-daily-bonus-btn {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.claim-daily-bonus-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.claim-daily-bonus-btn:hover::before {
    width: 400px;
    height: 400px;
}

.claim-daily-bonus-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
}

.claim-daily-bonus-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background: rgba(107, 114, 128, 0.4) !important;
    box-shadow: none !important;
    pointer-events: none;
}

.claim-daily-bonus-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.claim-daily-bonus-btn:disabled::before {
    display: none;
}

/* Ежедневные задания */
.daily-quests-container {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.daily-quests-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.quests-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quest-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.quest-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateX(5px);
}

.quest-item.completed {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border-color: rgba(34, 197, 94, 0.4);
}

.quest-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.quest-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.quest-item.completed .quest-icon {
    color: #22c55e;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}

.quest-reward svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    margin-right: 4px;
}

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

.quest-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.quest-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.quest-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quest-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.quest-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #9333ea 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.quest-progress-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.quest-reward {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #22c55e;
    flex-shrink: 0;
}

.quest-claim-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quest-claim-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.5);
}

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

/* Модальное окно разблокировки достижения */
.achievement-unlocked-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.achievement-unlocked-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(236, 72, 153, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    overflow: hidden;
    animation: achievementBounce 0.5s ease;
}

@keyframes achievementBounce {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.achievement-unlocked-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: unlockedRotate 3s infinite;
}

@keyframes unlockedRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.achievement-unlocked-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: unlockedPulse 2s infinite;
    position: relative;
    z-index: 1;
    color: #fff;
}

.achievement-unlocked-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: currentColor;
}

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

.achievement-unlocked-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.achievement-unlocked-name {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.achievement-unlocked-reward {
    font-size: 18px;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 30px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.achievement-unlocked-btn {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.achievement-unlocked-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .achievement-icon {
        font-size: 36px;
    }
    
    .bonus-calendar {
        gap: 8px;
    }
    
    .bonus-day {
        padding: 12px 8px;
    }
    
    .quest-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .achievement-unlocked-content {
        padding: 30px 20px;
    }
    
    .achievement-unlocked-icon {
        font-size: 60px;
    }
    
    .achievement-unlocked-title {
        font-size: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ИНФОРМАЦИОННЫЙ БЛОК О ДОСТИЖЕНИЯХ
   ═══════════════════════════════════════════════════════════════ */

.achievements-info-section {
    margin-bottom: 30px;
    position: relative;
}

.achievements-info-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievements-info-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.achievements-info-toggle:hover::before {
    left: 100%;
}

.achievements-info-toggle:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(236, 72, 153, 0.25));
    border-color: rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.achievements-info-toggle.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(236, 72, 153, 0.3));
    border-color: rgba(102, 126, 234, 0.6);
}

.info-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    transition: transform 0.3s ease;
}

.achievements-info-toggle.active .info-icon {
    transform: rotate(180deg);
}

.achievements-info-content {
    margin-top: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    animation: infoFadeIn 0.3s ease;
}

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

.info-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
    background: linear-gradient(90deg, #667eea 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

.info-reward-type {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.info-reward-type svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    color: #667eea;
}

.info-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* XP Highlight Section */
.info-item.xp-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.info-item.xp-highlight .info-reward-type {
    color: #fbbf24;
}

.info-item.xp-highlight .info-reward-type svg {
    color: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.xp-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xp-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.xp-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.xp-feature svg {
    width: 24px;
    height: 24px;
    stroke: #fbbf24;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.xp-feature-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.xp-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.xp-feature-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.xp-levels-preview {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.xp-levels-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
}

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

.xp-level-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.xp-level-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(3px);
}

.xp-level-item.legendary-level {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.05));
    border-color: rgba(245, 158, 11, 0.3);
}

.xp-level-item.legendary-level:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.1));
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.level-number {
    font-size: 12px;
    font-weight: 700;
    color: #667eea;
    min-width: 40px;
    text-align: center;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
}

.xp-level-item.legendary-level .level-number {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.level-name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.xp-level-item.legendary-level .level-name {
    color: #fbbf24;
}

.level-xp {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
}

.xp-level-item.legendary-level .level-xp {
    color: rgba(251, 191, 36, 0.8);
}

.info-rarity {
    padding-top: 16px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.info-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
}

.rarity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.rarity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.rarity-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.rarity-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.rarity-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.rarity-item.common {
    border-color: rgba(107, 114, 128, 0.3);
}

.rarity-item.rare {
    border-color: rgba(59, 130, 246, 0.3);
}

.rarity-item.epic {
    border-color: rgba(168, 85, 247, 0.3);
}

.rarity-item.legendary {
    border-color: rgba(245, 158, 11, 0.3);
}

.rarity-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.rarity-item.common .rarity-badge {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.rarity-item.rare .rarity-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.rarity-item.epic .rarity-badge {
    background: rgba(168, 85, 247, 0.2);
    color: #a78bfa;
}

.rarity-item.legendary .rarity-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.rarity-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .achievements-info-content {
        padding: 16px;
    }
    
    .info-title {
        font-size: 18px;
    }
    
    .info-reward-type {
        font-size: 14px;
    }
    
    .info-reward-type svg {
        width: 20px;
        height: 20px;
    }
    
    .rarity-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .achievement-icon {
        width: 48px;
        height: 48px;
    }
    
    .quest-icon {
        width: 40px;
        height: 40px;
    }
    
    .bonus-day-number {
        font-size: 16px;
    }
    
    .bonus-day-amount {
        font-size: 10px;
    }
    
    .achievement-unlocked-icon {
        width: 80px;
        height: 80px;
    }
    
    .achievements-info-toggle {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .info-icon {
        width: 18px;
        height: 18px;
    }
    
    .rarity-list {
        grid-template-columns: 1fr;
    }
}

/* Exchange Info Section */
.exchange-info {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
}

.exchange-available {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.exchange-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.exchange-label svg {
    width: 18px;
    height: 18px;
    stroke: #fbbf24;
}

.exchange-amount {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    font-family: 'Courier New', monospace;
}

.btn-exchange {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-exchange svg {
    width: 16px;
    height: 16px;
}

.btn-exchange:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.btn-exchange:disabled,
.btn-exchange.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(251, 191, 36, 0.3);
}

.exchange-note {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.exchange-note p {
    margin: 4px 0;
}

/* Exchange Modal */
.exchange-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.exchange-modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.exchange-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.exchange-modal-close:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

.exchange-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #ef4444;
}

.exchange-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 30px 20px;
    text-align: center;
}

.exchange-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.exchange-icon {
    width: 100%;
    height: 100%;
}

.exchange-modal-title {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exchange-modal-body {
    padding: 0 30px 20px;
}

.exchange-info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 16px;
    padding: 20px;
}

.exchange-rate-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.rate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.rate-item svg {
    width: 32px;
    height: 32px;
    stroke: #fbbf24;
}

.rate-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rate-value {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    font-family: 'Courier New', monospace;
}

.rate-arrow {
    padding: 0 12px;
}

.rate-arrow svg {
    width: 24px;
    height: 24px;
    stroke: #fbbf24;
}

.exchange-input-section {
    margin-bottom: 20px;
}

.exchange-input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.exchange-input-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.exchange-input-wrapper input {
    width: 100%;
    padding: 14px 16px;
    padding-right: 40px;
    background: var(--bg-elevated);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.exchange-input-wrapper input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.exchange-currency {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-weight: 600;
}

.exchange-quick-amounts {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.exchange-quick-btn {
    flex: 1;
    padding: 10px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exchange-quick-btn:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
}

.exchange-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
}

.exchange-result-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.exchange-result-value {
    font-size: 20px;
    font-weight: 800;
    color: #fbbf24;
    font-family: 'Courier New', monospace;
}

.exchange-warning {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
}

.exchange-warning svg {
    width: 20px;
    height: 20px;
    stroke: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.exchange-warning p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.exchange-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 30px 30px;
}

.btn-exchange-cancel {
    flex: 1;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-exchange-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-exchange-confirm {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-exchange-confirm svg {
    width: 18px;
    height: 18px;
}

.btn-exchange-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.btn-exchange-confirm:disabled,
.btn-exchange-confirm.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .exchange-modal-content {
        max-width: 95%;
        border-radius: 20px;
    }
    
    .exchange-modal-header {
        padding: 24px 20px 16px;
    }
    
    .exchange-icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .exchange-modal-title {
        font-size: 20px;
    }
    
    .exchange-modal-body {
        padding: 0 20px 16px;
    }
    
    .exchange-info-card {
        padding: 16px;
    }
    
    .exchange-rate-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .rate-arrow {
        transform: rotate(90deg);
        padding: 8px 0;
    }
    
    .exchange-modal-footer {
        flex-direction: column;
        padding: 16px 20px 24px;
    }
    
    .btn-exchange-cancel,
    .btn-exchange-confirm {
        width: 100%;
    }
}

