/* Review Components CSS - 8 Modern Review Components */

/* ============================================
   1. TEST BADGE - Real Testing Data Badge
   ============================================ */
.test-badge {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.test-badge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.test-badge-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.test-badge-title .verified-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #00C853, #00E676);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.75rem;
}

.test-badge-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}

.test-badge-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 575px) {
    .test-badge-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.test-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.test-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-gold), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.test-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* ============================================
   2. QUICK JUDGMENT CARD
   ============================================ */
.quick-judgment {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.judgment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.judgment-score {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score-circle {
    width: 80px;
    height: 80px;
    background: conic-gradient(
        var(--primary-gold) calc(var(--score) * 1%),
        rgba(255,255,255,0.1) 0
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    background: var(--bg-dark);
    border-radius: 50%;
}

.score-circle-value {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-gold);
}

.score-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.score-label strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-light);
}

.judgment-cta .btn {
    white-space: nowrap;
}

.judgment-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 575px) {
    .judgment-lists {
        grid-template-columns: 1fr;
    }
}

.judgment-list h5 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.judgment-list.good h5 { color: #4ade80; }
.judgment-list.bad h5 { color: #f87171; }

.judgment-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.judgment-list li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.judgment-list.good li::before {
    content: '✓';
    color: #4ade80;
    font-weight: bold;
}

.judgment-list.bad li::before {
    content: '✗';
    color: #f87171;
    font-weight: bold;
}

/* ============================================
   3. RADAR CHART COMPARISON
   ============================================ */
.radar-comparison {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.radar-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.radar-header h4 {
    margin-bottom: 0.5rem;
}

.radar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
}

.radar-legend span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.brand { background: var(--primary-gold); }
.legend-dot.market { background: rgba(255,255,255,0.3); }

.radar-chart-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.radar-chart {
    width: 100%;
    height: 100%;
}

/* Radar chart labels - brighter for better readability */
.radar-chart text {
    fill: #e2e8f0 !important;
    font-weight: 500;
}

.radar-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 575px) {
    .radar-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

.radar-metric {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 0.5rem;
}

.radar-metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.radar-metric-values {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.radar-metric-values .brand { color: var(--primary-gold); }
.radar-metric-values .market { color: var(--text-muted); }

/* ============================================
   4. TIMELINE TEST - Withdrawal Process
   ============================================ */
.timeline-test {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header h4 {
    margin: 0;
}

.timeline-total {
    background: rgba(0, 200, 83, 0.15);
    color: #4ade80;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    min-width: 600px;
    padding: 0 1rem;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 1rem;
    right: 1rem;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.timeline-track::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 1rem;
    width: var(--progress, 100%);
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), #4ade80);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.timeline-step {
    position: relative;
    text-align: center;
    z-index: 1;
    flex: 1;
    max-width: 120px;
}

.timeline-step-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-dark);
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.25rem;
}

.timeline-step.completed .timeline-step-icon {
    background: var(--primary-gold);
    color: #000;
}

.timeline-step-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-step-time {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.timeline-step-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================
   5. BONUS CALCULATOR
   ============================================ */
.bonus-calculator {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.calculator-header {
    margin-bottom: 1.5rem;
}

.calculator-header h4 {
    margin-bottom: 0.25rem;
}

.calculator-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.calculator-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.calculator-input-wrapper {
    flex: 1;
    min-width: 200px;
}

.calculator-input-wrapper label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.calculator-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-light);
    transition: border-color 0.2s;
}

.calculator-input:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.calculator-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 575px) {
    .calculator-results {
        grid-template-columns: 1fr;
    }
}

.calculator-result {
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 0.75rem;
    text-align: center;
}

.calculator-result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.calculator-result-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.calculator-result-value.bonus { color: #4ade80; }
.calculator-result-value.rollover { color: var(--primary-gold); }
.calculator-result-value.total { color: var(--text-light); }

.calculator-suggestion {
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
}

.calculator-suggestion.green {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.calculator-suggestion.yellow {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.calculator-suggestion.red {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #f87171;
}

/* ============================================
   6. HONEST COMPARISON TABLE
   ============================================ */
.comparison-table {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.comparison-table h4 {
    margin-bottom: 1rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.comparison-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(255,255,255,0.03);
}

.comparison-table th:first-child {
    border-radius: 0.5rem 0 0 0.5rem;
}

.comparison-table th:last-child {
    border-radius: 0 0.5rem 0.5rem 0;
}

.comparison-table td {
    font-size: 0.875rem;
    color: var(--text-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .metric-name {
    color: var(--text-muted);
}

.comparison-table .brand-value {
    font-weight: 600;
}

.comparison-table .best-value {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.comparison-table .rank {
    font-size: 1.25rem;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.green { background: #4ade80; }
.status-dot.yellow { background: #fbbf24; }
.status-dot.red { background: #f87171; }

/* Mobile: Convert table to card stack */
@media (max-width: 767px) {
    .comparison-table table,
    .comparison-table thead,
    .comparison-table tbody,
    .comparison-table th,
    .comparison-table td,
    .comparison-table tr {
        display: block;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tr {
        background: rgba(255,255,255,0.02);
        border-radius: 0.75rem;
        padding: 1rem;
        margin-bottom: 0.75rem;
        border: 1px solid rgba(255,255,255,0.05);
    }

    .comparison-table td {
        padding: 0.5rem 0;
        border-bottom: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .comparison-table td::before {
        content: attr(data-label);
        font-size: 0.7rem;
        text-transform: uppercase;
        color: var(--text-muted);
        font-weight: 600;
    }

    .comparison-table td.metric-name {
        padding-bottom: 0.75rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .comparison-table td.metric-name::before {
        display: none;
    }

    .comparison-table .rank {
        font-size: 1.5rem;
    }
}

/* ============================================
   7. SCENARIO RECOMMENDATION CARDS
   ============================================ */
.scenario-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .scenario-cards {
        grid-template-columns: 1fr;
    }
}

.scenario-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.scenario-card.beginner::before { background: linear-gradient(90deg, #4ade80, #22c55e); }
.scenario-card.casino::before { background: linear-gradient(90deg, var(--primary-gold), #FFA500); }
.scenario-card.sports::before { background: linear-gradient(90deg, #60a5fa, #3b82f6); }

.scenario-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.scenario-card.beginner .scenario-icon { background: rgba(74, 222, 128, 0.15); }
.scenario-card.casino .scenario-icon { background: rgba(255, 215, 0, 0.15); }
.scenario-card.sports .scenario-icon { background: rgba(96, 165, 250, 0.15); }

.scenario-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.scenario-card .scenario-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.scenario-tips {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scenario-tips li {
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.scenario-tips li:first-child {
    border-top: none;
}

.scenario-tips .tip-icon {
    color: var(--primary-gold);
    flex-shrink: 0;
}

/* ============================================
   8. FAQ ACCORDION - Enhanced with 3 parts
   ============================================ */
.faq-enhanced {
    margin-bottom: 2rem;
}

.faq-enhanced .accordion-item {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 1px solid var(--border-color);
    border-radius: 0.75rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-enhanced .accordion-button {
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.faq-enhanced .accordion-button:not(.collapsed) {
    background: rgba(255,255,255,0.03);
    color: var(--primary-gold);
}

.faq-enhanced .accordion-button::after {
    filter: invert(1);
}

.faq-enhanced .accordion-body {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer-section {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.faq-answer-section:last-child {
    margin-bottom: 0;
}

.faq-answer-section h6 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-answer-section p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.faq-answer-section.official {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.faq-answer-section.official h6 {
    color: #60a5fa;
}

.faq-answer-section.test {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.faq-answer-section.test h6 {
    color: #4ade80;
}

.faq-answer-section.feedback {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.faq-answer-section.feedback h6 {
    color: #fbbf24;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-green { color: #4ade80 !important; }
.text-yellow { color: #fbbf24 !important; }
.text-red { color: #f87171 !important; }
.text-blue { color: #60a5fa !important; }
