/**
 * ============================================================================
 * V2 DASHBOARD — Главная страница (Мастерская)
 * ============================================================================
 * 
 * @file        web/css/v2/dashboard.css
 * @description Стили главной страницы модуля V2
 * @version     1.0 (Декабрь 2025)
 * 
 * ============================================================================
 * СОДЕРЖИМОЕ:
 * ────────────────────────────────────────
 * 
 * 1. Hero Banner (.v2-hero, .v2-hero-*)
 *    - Приветственный блок с аватаром и текстом
 *    - Снежинки на фоне
 * 
 * 2. CTA Block (.v2-cta, .v2-cta-*)
 *    - Призыв к действию с обратным отсчётом
 *    - Варианты: обычный, urgent (срочный)
 * 
 * ============================================================================
 * ИСПОЛЬЗОВАНИЕ:
 * 
 * Hero:
 * <div class="v2-hero">
 *     <div class="v2-hero-bg"></div>
 *     <div class="v2-hero-content">
 *         <div class="v2-hero-text">
 *             <h1>Приветствие</h1>
 *             <p>Описание</p>
 *         </div>
 *         <div class="v2-hero-avatar"><img src="..."></div>
 *     </div>
 * </div>
 * 
 * CTA:
 * <div class="v2-cta"> / <div class="v2-cta v2-cta-urgent">
 *     <div class="v2-cta-content">...</div>
 * </div>
 * 
 * ============================================================================
 */

/* ==========================================================================
   1. HERO BANNER — Приветствие
   ========================================================================== */

.v2-hero {
    position: relative;
    background: var(--v2-bg-card);
    border-radius: var(--v2-radius-xl);
    padding: 0;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.v2-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, var(--v2-red-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, var(--v2-green-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, var(--v2-gold-glow) 0%, transparent 60%);
    opacity: 0.6;
    animation: v2-aurora 15s ease-in-out infinite;
}

.v2-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px;
    justify-content: space-between;
}

.v2-hero-main {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 760px;
}

.v2-hero-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}

.v2-hero-text h1 {
    font-size: 32px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--v2-gold) 0%, var(--v2-gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.v2-hero-text p {
    font-size: 16px;
    color: var(--v2-text-muted);
    line-height: 1.6;
    max-width: 500px;
}

.v2-hero-important {
    width: 100%;
    background: var(--v2-bg-elevated);
    border-radius: var(--v2-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 16px 16px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.v2-hero-important-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.v2-hero-important-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--v2-gold-glow);
    color: var(--v2-text);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.v2-hero-important-updated {
    font-size: 12px;
    color: var(--v2-text-dim);
}

.v2-hero-important-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v2-hero-important-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: var(--v2-radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.v2-hero-important-icon {
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
}

.v2-hero-important-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v2-hero-important-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--v2-text);
}

.v2-hero-important-text {
    font-size: 13px;
    color: var(--v2-text-muted);
    line-height: 1.5;
}

.v2-hero-important-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--v2-text);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
}

.v2-hero-important-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--v2-gold);
    text-decoration: none;
}

.v2-hero-important-link:hover {
    color: var(--v2-gold-light);
    text-decoration: none;
}

.v2-important-update {
    border-left: 3px solid var(--v2-gold);
}

.v2-important-holiday {
    border-left: 3px solid var(--v2-purple);
}

.v2-important-alert {
    border-left: 3px solid var(--v2-red);
}

.v2-important-default {
    border-left: 3px solid var(--v2-ice-blue);
}

.v2-hero-avatar {
    position: relative;
}

.v2-hero-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--v2-gold);
    box-shadow: 0 0 30px var(--v2-gold-glow);
    animation: v2-float 4s ease-in-out infinite;
}

.v2-hero-character {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--v2-bg-elevated);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid var(--v2-gold);
    animation: v2-bounce 2s ease-in-out infinite;
}

/* Snowflakes в hero */
.v2-hero-snow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.v2-snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    animation: v2-snowfall 10s linear infinite;
    opacity: 0;
}

.v2-snowflake:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.v2-snowflake:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 12s; }
.v2-snowflake:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 9s; }
.v2-snowflake:nth-child(4) { left: 40%; animation-delay: 3s; animation-duration: 11s; }
.v2-snowflake:nth-child(5) { left: 50%; animation-delay: 0.5s; animation-duration: 10s; }
.v2-snowflake:nth-child(6) { left: 60%; animation-delay: 1.5s; animation-duration: 13s; }
.v2-snowflake:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 8s; }
.v2-snowflake:nth-child(8) { left: 80%; animation-delay: 3.5s; animation-duration: 14s; }
.v2-snowflake:nth-child(9) { left: 90%; animation-delay: 4s; animation-duration: 9s; }

/* ==========================================================================
   2. CTA BLOCK — Call to Action
   ========================================================================== */

.v2-cta {
    position: relative;
    background: var(--v2-bg-card);
    border-radius: var(--v2-radius-xl);
    margin-bottom: 32px;
    overflow: hidden;
    border: 2px solid var(--v2-green);
}

.v2-cta-glow {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 0% 50%, var(--v2-green-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, var(--v2-gold-glow) 0%, transparent 50%);
    opacity: 0.6;
    animation: v2-cta-pulse 4s ease-in-out infinite;
}

/* Urgent вариант — красный */
.v2-cta-urgent {
    border-color: var(--v2-red);
}

.v2-cta-urgent .v2-cta-glow {
    background: 
        radial-gradient(ellipse at 0% 50%, var(--v2-red-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, var(--v2-gold-glow) 0%, transparent 50%);
}

.v2-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
}

.v2-cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.v2-cta-icon {
    font-size: 48px;
    animation: v2-bounce 2s ease-in-out infinite;
}

.v2-cta-text {
    flex: 1;
}

.v2-cta-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--v2-text);
    margin: 0 0 6px 0;
}

.v2-cta-description {
    font-size: 14px;
    color: var(--v2-text-muted);
    margin: 0;
}

.v2-cta-center {
    text-align: center;
    padding: 0 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-cta-countdown {
    min-width: 140px;
}

.v2-cta-countdown-label {
    font-size: 12px;
    color: var(--v2-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.v2-cta-countdown-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.v2-cta-countdown-number {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--v2-gold);
    line-height: 1;
}

.v2-cta-urgent .v2-cta-countdown-number {
    color: var(--v2-red-bright);
    animation: v2-blink 1s ease-in-out infinite;
}

.v2-cta-countdown-unit {
    font-size: 16px;
    color: var(--v2-text-muted);
    font-weight: 600;
}

.v2-cta-countdown-date {
    font-size: 12px;
    color: var(--v2-text-dim);
    margin-top: 6px;
}

.v2-cta-right {
    flex-shrink: 0;
}

/* Кнопка CTA — зелёная */
.v2-btn-cta {
    background: linear-gradient(135deg, var(--v2-green) 0%, #059669 100%);
    color: #fff;
    padding: 16px 32px;
    font-size: 16px;
    box-shadow: 0 4px 20px var(--v2-green-glow);
}

.v2-btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px var(--v2-green-glow);
    color: #fff;
}

.v2-cta-urgent .v2-btn-cta {
    background: linear-gradient(135deg, var(--v2-red) 0%, #b91c1c 100%);
    box-shadow: 0 4px 20px var(--v2-red-glow);
}

.v2-cta-urgent .v2-btn-cta:hover {
    box-shadow: 0 8px 30px var(--v2-red-glow);
}

/* Декорация CTA */
.v2-cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.v2-cta-star {
    position: absolute;
    font-size: 16px;
    opacity: 0.4;
    animation: v2-twinkle 3s ease-in-out infinite;
}

.v2-cta-star:nth-child(2) { animation-delay: 0.5s; }
.v2-cta-star:nth-child(3) { animation-delay: 1s; }
.v2-cta-star:nth-child(4) { animation-delay: 1.5s; }

/* ==========================================================================
   3. ONBOARDING — Онбординг для новичков
   ========================================================================== */

.v2-hero-newbie {
    padding-bottom: 0;
}

.v2-hero-content-newbie {
    padding-bottom: 20px;
}

.v2-hero-welcome-text {
    font-size: 16px;
    line-height: 1.7;
}

.v2-hero-welcome-text strong {
    color: var(--v2-gold);
}

/* Онбординг контейнер */
.v2-hero-onboarding {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 40px 32px;
}

.v2-theme-light .v2-hero-onboarding {
    background: rgba(0, 0, 0, 0.03);
    border-top-color: rgba(0, 0, 0, 0.06);
}

.v2-onboarding-header {
    text-align: center;
    margin-bottom: 24px;
}

.v2-onboarding-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-text);
    display: block;
    margin-bottom: 4px;
}

.v2-onboarding-subtitle {
    font-size: 14px;
    color: var(--v2-text-muted);
}

/* Шаги онбординга */
.v2-onboarding-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.v2-onboarding-step {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--v2-radius-lg);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--v2-duration-normal) var(--v2-ease-smooth);
    animation: v2-fade-in-up 0.5s ease-out backwards;
}

.v2-theme-light .v2-onboarding-step {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}

.v2-onboarding-step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--v2-gold);
    transform: translateY(-4px);
}

.v2-theme-light .v2-onboarding-step:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Активный шаг */
.v2-onboarding-step.v2-step-active {
    border-color: var(--v2-gold);
    background: var(--v2-gold-glow);
}

.v2-onboarding-step.v2-step-active .v2-step-number {
    background: var(--v2-gold);
    color: #000;
}

/* Номер шага */
.v2-step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--v2-text-muted);
}

/* Иконка шага */
.v2-step-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

/* Текст шага */
.v2-step-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 6px;
}

.v2-step-desc {
    font-size: 12px;
    color: var(--v2-text-muted);
    line-height: 1.5;
}

/* CTA онбординга */
.v2-onboarding-cta {
    text-align: center;
}

.v2-onboarding-cta .v2-btn {
    min-width: 200px;
}

.v2-onboarding-cta-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--v2-text-dim);
}

/* Кнопка с эффектом свечения */
.v2-btn-glow {
    animation: v2-btn-glow-pulse 2s ease-in-out infinite;
}

@keyframes v2-btn-glow-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px var(--v2-gold-glow);
    }
    50% {
        box-shadow: 0 4px 30px var(--v2-gold-glow), 0 0 40px var(--v2-gold-glow);
    }
}

@keyframes v2-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   4. RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
    .v2-hero-content{
        flex-flow: column;
    }
}

@media (max-width: 991px) {
    .v2-dashboard-sidebar-column {
        margin-top: 20px;
    }

    .v2-hero-main {
        align-items: center;
    }
    
    .v2-hero-side {
        width: 100%;
        align-items: center;
    }
    
    .v2-hero-avatar {
        order: -1;
    }
    
    .v2-hero-text p {
        margin: 0 auto;
    }
    
    .v2-cta-content {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .v2-cta-left {
        flex-direction: column;
    }
    
    .v2-cta-center {
        border: none;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    /* Онбординг на планшетах */
    .v2-onboarding-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .v2-hero-onboarding {
        padding: 24px 24px 28px;
    }
}

@media (max-width: 575px) {

    .v2-hero-content {
        padding: 15px;
        gap: 10px;
    }
    
    .v2-hero-text h1 {
        font-size: 24px;
    }
    
    .v2-hero-avatar img {
        width: 100px;
        height: 100px;
    }
    
    /* Онбординг на мобильных */
    .v2-onboarding-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .v2-onboarding-step {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0 12px;
        text-align: left;
        padding: 16px;
    }
    
    .v2-step-number {
        position: static;
        transform: none;
        grid-row: span 2;
        align-self: center;
    }
    
    .v2-step-icon {
        font-size: 24px;
        margin-bottom: 0;
        grid-row: span 2;
        align-self: center;
    }
    
    .v2-step-title {
        margin-bottom: 2px;
    }
    
    .v2-hero-onboarding {
        padding: 20px 16px 24px;
    }
    
    .v2-onboarding-title {
        font-size: 18px;
    }
}

/* ==========================================================================
   4. AVAILABLE EXCHANGES — Виджет доступных обменов
   ========================================================================== */

.v2-available-exchanges {
    margin-bottom: 24px;
}

.v2-available-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.v2-available-card {
    position: relative;
    background: var(--v2-bg-elevated);
    border-radius: var(--v2-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--v2-duration-normal) var(--v2-ease-smooth);
}

.v2-available-card-glow {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, var(--v2-green-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, var(--v2-red-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--v2-duration-normal);
}

.v2-available-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--v2-shadow-hover);
    border-color: var(--v2-green);
}

.v2-available-card:hover .v2-available-card-glow {
    opacity: 0.5;
}

.v2-available-card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.v2-available-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.v2-available-card-icon {
    font-size: 32px;
}

.v2-available-card-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--v2-green-glow);
    border: 1px solid var(--v2-green);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--v2-green-bright);
}

.v2-pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--v2-green-bright);
    border-radius: 50%;
    animation: v2-pulse-dot 2s ease-in-out infinite;
}

.v2-available-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 8px;
}

.v2-available-card-desc {
    font-size: 14px;
    color: var(--v2-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.v2-available-card-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.v2-available-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--v2-text-dim);
}

.v2-available-stat-icon {
    font-size: 14px;
}

/* ==========================================================================
   5. NEWS WIDGET — Виджет новостей на дашборде
   ========================================================================== */

.v2-news-card {
    /*margin-bottom: 24px;*/
}

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

.v2-news-item {
    display: block;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--v2-radius-md);
    text-decoration: none;
    transition: all var(--v2-duration-fast) var(--v2-ease-smooth);
}

.v2-news-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--v2-gold);
    transform: translateX(4px);
    text-decoration: none;
}

.v2-news-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.v2-news-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.v2-tag-green {
    background: var(--v2-green-glow);
    color: var(--v2-green-bright);
}

.v2-tag-red {
    background: var(--v2-red-glow);
    color: var(--v2-red-bright);
}

.v2-tag-gold {
    background: var(--v2-gold-glow);
    color: var(--v2-gold);
}

.v2-tag-orange {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.v2-tag-blue {
    background: var(--v2-ice-glow);
    color: var(--v2-ice-blue);
}

.v2-tag-default {
    background: rgba(255, 255, 255, 0.1);
    color: var(--v2-text-muted);
}

.v2-news-date {
    font-size: 12px;
    color: var(--v2-text-dim);
}

.v2-news-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--v2-text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.v2-news-excerpt {
    font-size: 14px;
    color: var(--v2-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.v2-news-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-gold);
    display: flex;
    align-items: center;
    gap: 4px;
}

.v2-news-read-more span {
    transition: transform var(--v2-duration-fast);
}

.v2-news-item:hover .v2-news-read-more span {
    transform: translateX(4px);
}

/* ==========================================================================
   6. LIGHT THEME
   ========================================================================== */

.v2-theme-light .v2-hero {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.v2-theme-light .v2-hero-important {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.v2-theme-light .v2-hero-important-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.v2-theme-light .v2-available-card {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.06);
}

.v2-theme-light .v2-available-card:hover {
    background: #ffffff;
    border-color: var(--v2-green);
}

/*.v2-theme-light .v2-news-item {*/
/*    background: rgba(0, 0, 0, 0.02);*/
/*    border-color: rgba(0, 0, 0, 0.06);*/
/*}*/

.v2-theme-light .v2-news-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.v2-theme-light .v2-hero-bg {
    opacity: 0.3;
}

.v2-theme-light .v2-cta {
    background: #ffffff;
}

.v2-theme-light .v2-cta-glow {
    opacity: 0.4;
}

/* ==========================================================================
   7. COUNTDOWN WIDGET — Обратный отсчёт с Tick
   ========================================================================== */

.v2-countdown-widget {
    text-align: center;
}

.v2-countdown-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Tick стили */
.v2-countdown-widget .tick {
    font-size: 1rem;
    white-space: nowrap;
}

.v2-countdown-widget .tick-flip {
    font-family: 'Montserrat', sans-serif;
}

.v2-countdown-widget .tick-flip-panel {
    background: linear-gradient(180deg, var(--v2-bg-elevated) 0%, var(--v2-bg-card) 100%);
    color: var(--v2-gold);
    border-radius: 6px;
}

.v2-countdown-widget .tick-flip-panel-back::after {
    background: rgb(199 199 199 / 5%);
}

.v2-countdown-widget .tick-flip-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.v2-countdown-widget .tick-group {
    margin: 0 4px;
    padding: 0 6px;
}

.v2-countdown-widget .tick-label {
    font-size: 10px;
    color: var(--v2-text-dim);
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
}

/* Compact вариант */
.v2-countdown-compact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.v2-countdown-compact .v2-countdown-title {
    margin-bottom: 0;
    font-size: 12px;
}

.v2-countdown-compact .tick {
    font-size: 1.1rem;
    padding-bottom: 0px;
}

.v2-countdown-compact .tick-group {
    margin: 0 2px;
    padding: 0 4px;
}

/* Urgent вариант — красный */
.v2-countdown-urgent .tick-flip-panel {
    background: linear-gradient(180deg, rgba(185, 28, 28, 0.3) 0%, rgba(127, 29, 29, 0.3) 100%);
    color: var(--v2-red-bright);
}

.v2-countdown-urgent .v2-countdown-title {
    color: var(--v2-red-bright);
}

/* Ended состояние */
.v2-countdown-ended {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--v2-green-glow);
    border: 1px solid var(--v2-green);
    border-radius: var(--v2-radius-md);
}

.v2-countdown-ended-icon {
    font-size: 24px;
}

.v2-countdown-ended-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--v2-green-bright);
}

/* Light theme */
.v2-theme-light .v2-countdown-widget .tick-flip-panel {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    color: #b45309;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.v2-theme-light .v2-countdown-urgent .tick-flip-panel {
    background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.2);
}

/* CTA Countdown в блоке обмена */
.v2-exchange-countdown-block {
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--v2-radius-md);
    padding: 16px 20px;
    margin: 16px 0;
}

.v2-theme-light .v2-exchange-countdown-block {
    background: rgba(0, 0, 0, 0.03);
}

.v2-exchange-countdown-block .v2-countdown-title {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 575px) {
    .v2-countdown-widget .tick {
        font-size: 0.8rem;
    }
    
    .v2-countdown-widget .tick-group {
        margin: 0 2px;
        padding: 0 3px;
    }
    
    .v2-countdown-title {
        font-size: 11px;
    }
}

