/* ============================================
   PH Toolbox — Premium Design System
   Modern glass morphism, rich gradients, fluid animations
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary palette — deep indigo to electric blue */
    --primary-50:  #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;

    /* Accent — vibrant emerald for success/results */
    --accent-50:  #ecfdf5;
    --accent-100: #d1fae5;
    --accent-200: #a7f3d0;
    --accent-300: #6ee7b7;
    --accent-400: #34d399;
    --accent-500: #10b981;
    --accent-600: #059669;
    --accent-700: #047857;

    /* Warm accent — amber for premium/CTA */
    --warm-400: #fbbf24;
    --warm-500: #f59e0b;
    --warm-600: #d97706;

    /* Neutrals */
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* Radius */
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: var(--gray-50);
    color: var(--gray-800);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ensure links within custom components reset text-decoration */
a.calc-card, a.calc-card:hover { text-decoration: none; color: inherit; }

/* Animated gradient background blobs */
.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-blobs::before,
.bg-blobs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: blobFloat 20s ease-in-out infinite;
}

.bg-blobs::before {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-300), var(--primary-500));
    top: -200px;
    right: -100px;
}

.bg-blobs::after {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-300), var(--accent-500));
    bottom: -150px;
    left: -100px;
    animation-delay: -10s;
    animation-direction: reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.02); }
}

/* ---------- Glass Morphism ---------- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-2xl);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 30px -5px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-smooth);
}

.glass-card:hover {
    box-shadow:
        0 8px 12px -2px rgba(0, 0, 0, 0.06),
        0 20px 50px -10px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ---------- Navigation ---------- */
.nav-premium {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav-premium.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.04);
}

.nav-link {
    position: relative;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: all 0.25s var(--ease-smooth);
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-link.active {
    color: var(--primary-700);
    background: var(--primary-100);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    border-radius: 1px;
    transition: all 0.25s var(--ease-spring);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Logo */
.logo-text {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* ---------- Buttons ---------- */
button.btn-primary,
a.btn-primary,
.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: #fff;
    font-weight: 700;
    padding: 16px 24px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-spring);
    box-shadow:
        0 4px 14px rgba(99, 102, 241, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(99, 102, 241, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        0 2px 8px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Shimmer effect on button */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

button.btn-secondary,
a.btn-secondary,
.btn-secondary {
    background: white;
    color: var(--primary-600);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid var(--primary-200);
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
}

.btn-secondary:hover {
    border-color: var(--primary-400);
    background: var(--primary-50);
    transform: translateY(-1px);
}

.btn-premium {
    background: linear-gradient(135deg, var(--warm-400), var(--warm-500), #f97316);
    color: #78350f;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease-spring);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.btn-premium:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* ---------- Input Fields ---------- */
.input-premium {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    font-size: 1rem;
    color: var(--gray-800);
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.25s var(--ease-smooth);
    outline: none;
}

.input-premium:hover {
    border-color: var(--gray-300);
}

.input-premium:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: white;
}

.input-premium::placeholder {
    color: var(--gray-400);
}

.select-premium {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    font-size: 1rem;
    color: var(--gray-800);
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.25s var(--ease-smooth);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

.select-premium:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background-color: white;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.input-hint {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Checkbox premium */
.checkbox-premium {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-500);
    border-radius: 6px;
    cursor: pointer;
}

/* ---------- Result Card ---------- */
.result-card-premium {
    position: relative;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    border: 2px solid var(--accent-300);
    border-radius: var(--radius-2xl);
    padding: 32px;
    overflow: hidden;
    animation: resultSlideUp 0.5s var(--ease-spring);
}

.result-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes resultSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.result-value-large {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent-700);
    letter-spacing: -0.03em;
    line-height: 1;
}

.result-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
}

.result-stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.2s var(--ease-spring);
}

.result-stat-card:hover {
    transform: translateY(-2px);
}

/* ---------- Calculator Cards (Homepage) ---------- */
.calc-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-2xl);
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: all 0.35s var(--ease-spring);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 10px 30px -5px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.calc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s;
}

.calc-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 12px 24px -4px rgba(0, 0, 0, 0.08),
        0 24px 60px -12px rgba(0, 0, 0, 0.12);
}

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

.calc-card--salary::before  { background: linear-gradient(90deg, var(--primary-400), var(--primary-600)); }
.calc-card--loan::before    { background: linear-gradient(90deg, var(--accent-400), var(--accent-600)); }
.calc-card--gpa::before     { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.calc-card--age::before     { background: linear-gradient(90deg, #fb923c, #ea580c); }

.calc-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 16px;
    transition: transform 0.3s var(--ease-spring);
}

.calc-card:hover .calc-icon {
    transform: scale(1.1) rotate(-3deg);
}

.calc-icon--salary  { background: linear-gradient(135deg, var(--primary-100), var(--primary-200)); }
.calc-icon--loan    { background: linear-gradient(135deg, var(--accent-100), var(--accent-200)); }
.calc-icon--gpa     { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.calc-icon--age     { background: linear-gradient(135deg, #ffedd5, #fed7aa); }

/* ---------- Hero Section ---------- */
.hero-premium {
    text-align: center;
    padding: 60px 20px 48px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 20px;
    animation: fadeInDown 0.5s var(--ease-spring);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 16px;
    animation: fadeInUp 0.6s var(--ease-spring);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-400), var(--accent-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 0.7s var(--ease-spring);
}

/* ---------- Floating Shapes (Hero decoration) ---------- */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.floating-shape:nth-child(1) {
    width: 120px; height: 120px;
    background: var(--primary-400);
    top: 10%; left: 8%;
    animation: floatShape 8s ease-in-out infinite;
}

.floating-shape:nth-child(2) {
    width: 80px; height: 80px;
    background: var(--accent-400);
    top: 20%; right: 12%;
    animation: floatShape 6s ease-in-out infinite reverse;
}

.floating-shape:nth-child(3) {
    width: 60px; height: 60px;
    background: var(--warm-400);
    bottom: 15%; left: 15%;
    animation: floatShape 10s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* ---------- Section Titles ---------- */
.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 8px;
}

/* ---------- Feature Cards ---------- */
.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 16px;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
    background: white;
}

.faq-item:hover {
    border-color: var(--gray-300);
}

.faq-item summary {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-700);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gray-400);
    transition: transform 0.3s var(--ease-spring);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 18px;
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---------- Sidebar Widgets ---------- */
.sidebar-widget {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.sidebar-info {
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-top: 20px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-premium {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 28px;
}

.breadcrumb-premium a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-premium a:hover {
    color: var(--primary-500);
}

.breadcrumb-sep {
    color: var(--gray-300);
}

/* ---------- Footer ---------- */
.footer-premium {
    background: linear-gradient(180deg, var(--gray-50), white);
    border-top: 1px solid var(--gray-200);
    position: relative;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-300), transparent);
}

/* ---------- Ad Containers ---------- */
.ad-container {
    min-height: 50px;
    margin: 28px 0;
}

.ad-placeholder {
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    border: 2px dashed var(--gray-200);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    color: var(--gray-400);
}

/* Sticky mobile ad */
.ad-sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
}

@media (min-width: 768px) {
    .ad-sticky-bottom { display: none; }
}

/* ---------- Table Styles ---------- */
.table-premium {
    width: 100%;
    font-size: 0.875rem;
    border-collapse: separate;
    border-spacing: 0;
}

.table-premium thead tr {
    background: linear-gradient(135deg, var(--accent-100), var(--accent-50));
}

.table-premium th {
    padding: 12px 16px;
    color: var(--accent-700);
    font-weight: 600;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-premium th:first-child { border-radius: 12px 0 0 0; }
.table-premium th:last-child  { border-radius: 0 12px 0 0; }

.table-premium td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}

.table-premium tbody tr {
    transition: background 0.15s;
}

.table-premium tbody tr:hover {
    background: var(--gray-50);
}

/* ---------- Explanation Card ---------- */
.explanation-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-2xl);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* ---------- Error/Success Alerts ---------- */
.alert-error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 16px 20px;
}

.alert-success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 16px 20px;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.5s var(--ease-spring) both;
}

.animate-fade-in {
    animation: fadeIn 0.4s var(--ease-smooth) both;
}

/* Stagger children */
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 80ms; }
.stagger > *:nth-child(3) { animation-delay: 160ms; }
.stagger > *:nth-child(4) { animation-delay: 240ms; }
.stagger > *:nth-child(5) { animation-delay: 320ms; }
.stagger > *:nth-child(6) { animation-delay: 400ms; }

/* ---------- Mobile Optimizations ---------- */
@media (max-width: 640px) {
    .hero-premium {
        padding: 40px 16px 32px;
    }

    .glass-card {
        border-radius: var(--radius-xl);
    }

    .result-card-premium {
        padding: 24px 20px;
    }

    .result-value-large {
        font-size: 2.25rem;
    }

    .calc-card {
        padding: 24px 20px;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ---------- Details/Summary Premium ---------- */
.details-premium summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-500);
    transition: color 0.2s;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.details-premium summary::-webkit-details-marker { display: none; }

.details-premium summary:hover {
    color: var(--primary-700);
}

/* ---------- Badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-honor {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.badge-info {
    background: var(--primary-100);
    color: var(--primary-700);
}

/* ---------- Divider ---------- */
.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
    border: none;
    margin: 24px 0;
}

/* ---------- Number Counter Animation ---------- */
.number-pop {
    display: inline-block;
    animation: numberPop 0.4s var(--ease-spring);
}

@keyframes numberPop {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}
