/* ==============================================
   QA NOTICE V2 - HDR Premium Style
   Modern quality assurance notice
   ============================================== */

/* CSS Variables - HDR Color Palette */
.qa-notice {
    --dt-gold: #E5A93C;
    --dt-gold-light: #FFDF73;
    --dt-gold-dark: #B8860B;
    --dt-glow: rgba(229, 169, 60, 0.6);
    --dt-glow-strong: rgba(255, 223, 115, 0.8);
    --dt-dark: #0A0A0A;
    --dt-surface: #151515;
    --dt-text: #FFFFFF;
    --dt-text-muted: #A3A3A3;
    --dt-success: #22C55E;
    --dt-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Container */
.qa-notice {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 24px;
    background: linear-gradient(135deg, rgba(15, 12, 20, 0.98) 0%, rgba(8, 6, 12, 0.95) 100%);
    border: 1px solid rgba(229, 169, 60, 0.3);
    border-radius: 16px;
    box-shadow:
        0 0 40px rgba(229, 169, 60, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.qa-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dt-gold-dark), var(--dt-gold), var(--dt-gold-light), var(--dt-gold));
    box-shadow: 0 0 20px var(--dt-glow);
}

/* Badge */
.qa-badge {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(229, 169, 60, 0.2) 0%, rgba(229, 169, 60, 0.05) 100%);
    border: 2px solid rgba(229, 169, 60, 0.3);
    border-radius: 50%;
    position: relative;
}

.qa-badge::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle, var(--dt-glow) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    animation: qa-pulse 3s ease-in-out infinite;
}

@keyframes qa-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.qa-badge svg {
    width: 32px;
    height: 32px;
    color: var(--dt-gold);
    filter: drop-shadow(0 0 10px var(--dt-glow));
    position: relative;
    z-index: 1;
}

/* Content */
.qa-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Header */
.qa-header {
    text-align: left;
}

.qa-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dt-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-shadow: 0 0 20px var(--dt-glow);
}

.qa-subtitle {
    font-size: 14px;
    color: var(--dt-text-muted);
    line-height: 1.5;
}

.qa-subtitle strong {
    color: var(--dt-gold);
    font-weight: 700;
}

/* Stats */
.qa-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qa-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    background: rgba(229, 169, 60, 0.1);
    border: 1px solid rgba(229, 169, 60, 0.2);
    border-radius: 12px;
    min-width: 100px;
}

.qa-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--dt-gold);
    line-height: 1;
    text-shadow: 0 0 20px var(--dt-glow);
}

.qa-stat-label {
    font-size: 10px;
    color: var(--dt-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Progress */
.qa-progress-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qa-progress-bar {
    height: 8px;
    background: rgba(229, 169, 60, 0.15);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.qa-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dt-gold-dark), var(--dt-gold), var(--dt-gold-light));
    border-radius: 4px;
    box-shadow: 0 0 15px var(--dt-glow);
    transition: width 0.8s var(--dt-transition);
    position: relative;
}

.qa-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: qa-shimmer 2s ease-in-out infinite;
}

@keyframes qa-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.qa-remaining {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--dt-text-muted);
}

.qa-remaining svg {
    width: 16px;
    height: 16px;
    color: var(--dt-gold);
    animation: qa-blink 2s ease-in-out infinite;
}

@keyframes qa-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.qa-remaining strong {
    color: var(--dt-gold-light);
    font-weight: 700;
    text-shadow: 0 0 10px var(--dt-glow);
}

/* CTA */
.qa-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(229, 169, 60, 0.15) 0%, rgba(229, 169, 60, 0.05) 100%);
    border: 1px solid rgba(229, 169, 60, 0.3);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dt-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 0 15px var(--dt-glow);
}

.qa-cta svg {
    width: 18px;
    height: 18px;
    color: var(--dt-gold);
    filter: drop-shadow(0 0 8px var(--dt-glow));
    animation: qa-flash 1.5s ease-in-out infinite;
}

@keyframes qa-flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 600px) {
    .qa-notice {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 16px;
    }

    .qa-badge {
        width: 60px;
        height: 60px;
    }

    .qa-badge svg {
        width: 28px;
        height: 28px;
    }

    .qa-title {
        font-size: 16px;
        text-align: center;
    }

    .qa-subtitle {
        font-size: 13px;
        text-align: center;
    }

    .qa-stats {
        flex-direction: column;
        width: 100%;
    }

    .qa-stat {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 16px;
    }

    .qa-stat-number {
        font-size: 24px;
    }

    .qa-stat-label {
        font-size: 11px;
        margin-top: 0;
    }

    .qa-cta {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .qa-notice {
        padding: 16px;
    }

    .qa-title {
        font-size: 14px;
    }

    .qa-subtitle {
        font-size: 12px;
    }

    .qa-stat-number {
        font-size: 20px;
    }

    .qa-cta {
        font-size: 11px;
        padding: 10px 16px;
    }
}

/* ==============================================
   Reduced Motion
   ============================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
