/* ============================================================
   SENSIFIRE — Premium Dark Gaming Design System
   ============================================================ */

:root {
    /* Color Palette - Tema Fuego */
    --bg-color: #050508;
    --bg-card: rgba(15, 16, 22, 0.72);
    --bg-card-solid: #0f1016;
    --primary: #FF6B2B;
    --primary-rgb: 255, 107, 43;
    --secondary: #FF3B30;
    --secondary-rgb: 255, 59, 48;
    --accent: #FFD60A;
    --accent-rgb: 255, 214, 10;
    --text-main: #F2F2F2;
    --text-muted: #8E93A3;
    --border-color: rgba(255, 255, 255, 0.06);
    --success: #34C759;
    --danger: #FF453A;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-glow: 0 0 25px rgba(var(--primary-rgb), 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.55);
    --shadow-accent: 0 0 30px rgba(var(--accent-rgb), 0.15);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==================== RESET ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Animated grid background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Ambient gradient orbs */
body::after {
    content: '';
    position: fixed;
    top: -30%;
    left: -20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 20s ease-in-out infinite alternate;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15vw, 10vh) scale(1.2); }
    100% { transform: translate(-5vw, 20vh) scale(0.9); }
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==================== HEADER ==================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 5%;
    background-color: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo h1:hover {
    transform: scale(1.02);
}

.logo h1 a {
    -webkit-text-fill-color: transparent;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(var(--primary-rgb), 0.4)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.7)); }
}

/* Desktop navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
    padding: 0.3rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s var(--ease-out-expo);
    border-radius: 2px;
}

nav a:hover, nav a:focus {
    color: var(--text-main);
}

nav a:hover::after, nav a:focus::after {
    width: 100%;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.35s var(--ease-out-expo);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100dvh;
        background: rgba(10, 10, 16, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-left: 1px solid var(--border-color);
        padding: 5rem 2rem 2rem;
        transition: right 0.4s var(--ease-out-expo);
        z-index: 150;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid var(--border-color);
    }

    nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }

    nav a::after {
        display: none;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 140;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
}

/* ==================== ADSENSE ==================== */
.adsense-placeholder {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin: 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
    opacity: 0.6;
}

.mt-2 { margin-top: 2rem; }
.my-2 { margin: 2rem auto; }
.text-center { text-align: center; }

/* ==================== MAIN LAYOUT ==================== */
main {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* ==================== HERO ==================== */
.hero {
    text-align: center;
    padding: 3rem 0 2.5rem;
    position: relative;
}

.hero h2 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-main) 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroReveal 0.8s var(--ease-out-expo) both;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
    animation: heroReveal 0.8s var(--ease-out-expo) 0.15s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    animation: badgePulse 2.5s ease-in-out infinite, heroReveal 0.8s var(--ease-out-expo) 0.3s both;
}

.author-name {
    text-transform: none;
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #00e5ff, 0 0 40px #00e5ff;
    letter-spacing: normal;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0); }
}

/* Floating particles in hero */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.hero-particles .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(var(--primary-rgb), 0.5);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100%) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(80%) scale(1);
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) scale(0.5);
        opacity: 0;
    }
}

/* ==================== CALCULATOR CONTAINER ==================== */
.calculator-container {
    position: relative;
}

/* ==================== FORMS ==================== */
#sensi-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    opacity: 0.7;
}

.label-icon svg {
    width: 100%;
    height: 100%;
}

input[type="text"], select {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: rgba(10, 10, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238E93A3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

input[type="text"]:focus, select:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb), 0.6);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12), 0 0 20px rgba(var(--primary-rgb), 0.08);
    background-color: rgba(15, 15, 25, 0.9);
}

/* ==================== CARDS ==================== */
.card-group {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-card);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.card-group:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==================== GRIP SELECTOR ==================== */
.grip-selector {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.grip-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.grip-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.grip-option.active {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.grip-emoji {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-fast);
}

.grip-option.active .grip-emoji {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.grip-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.grip-sub {
    font-size: 0.65rem;
    opacity: 0.7;
}

.glow-card {
    border-color: rgba(var(--primary-rgb), 0.25);
    box-shadow: var(--shadow-glow);
    position: relative;
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), transparent 50%, rgba(var(--secondary-rgb), 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

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

.card-group h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}
.card-icon svg { width: 100%; height: 100%; }

.test-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ==================== TOGGLERS ==================== */
.toggle-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}
.toggle-group:last-child {
    border-bottom: none;
}

.toggle-group label span {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
}

.toggle-group label small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.08);
    transition: 0.35s var(--ease-out-expo);
    border-radius: 34px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.35s var(--ease-out-expo);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.3);
}

input:checked + .slider::before {
    transform: translateX(22px);
}

/* ==================== RANGE SLIDER ==================== */
.range-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: linear-gradient(90deg,
        var(--accent) 0%,
        var(--secondary) 50%,
        var(--primary) 100%
    );
    border-radius: 3px;
    opacity: 0.35;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.4), 0 2px 8px rgba(0,0,0,0.3);
    transition: box-shadow 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.6), 0 2px 12px rgba(0,0,0,0.4);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--primary));
    border-radius: 3px;
    opacity: 0.35;
}

input[type=range]::-moz-range-thumb {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.4), 0 2px 8px rgba(0,0,0,0.3);
}

.profile-chip {
    align-self: flex-start;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    transition: all 0.3s;
}

/* ==================== CTA BUTTON ==================== */
.btn-container {
    margin-top: 1.2rem;
}

.cta-button {
    width: 100%;
    padding: 1.1rem 2rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.45);
}

.cta-button:active {
    transform: translateY(0) scale(0.98);
}

/* Glitch Button Extension */
.glitch-btn {
    position: relative;
    overflow: visible;
}

.glitch-btn:hover {
    animation: glitchAction 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes glitchAction {
    0% { transform: translate(0) }
    20% { transform: translate(-2px, 2px) }
    40% { transform: translate(-2px, -2px) }
    60% { transform: translate(2px, 2px) }
    80% { transform: translate(2px, -2px) }
    100% { transform: translate(0) }
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(10, 10, 16, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 199, 89, 0.5);
    padding: 14px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 20px rgba(52, 199, 89, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==================== LOADER ==================== */
#loader {
    text-align: center;
    padding: 4rem 0;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

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

#loader p {
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: loadPulse 1.5s ease-in-out infinite;
}

@keyframes loadPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==================== RESULTS ==================== */
#results-section {
    margin-top: 2.5rem;
    animation: resultsFadeIn 0.6s var(--ease-out-expo) both;
}

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

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-header h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    background: linear-gradient(135deg, var(--accent), #80F0FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#dynamic-explanation {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sensi-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .sensi-results {
        grid-template-columns: 1fr 1fr;
    }
    .sensi-results .sensi-card:first-child {
        grid-column: span 2;
    }
}

.sensi-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 1.8rem 1.2rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
    transform-style: preserve-3d;
}

.sensi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.sensi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Gauge ring */
.sensi-gauge {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0.5rem 0;
}

.sensi-gauge svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 4;
}

.gauge-fill {
    fill: none;
    stroke: url(#gaugeGradient);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 1.2s var(--ease-out-expo);
}

.sensi-gauge .sensi-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1;
}

.sensi-results .sensi-card:first-child .sensi-gauge .sensi-value {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
    font-size: 3rem;
}

.sensi-results .sensi-card:first-child .sensi-gauge {
    width: 130px;
    height: 130px;
}

.sensi-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sensi-range {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    margin-top: 0.4rem;
}

/* ==================== ADJUSTMENTS ==================== */
.adjustment-section {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-top: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.adjustment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.adjustment-section h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.adjust-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

@media (min-width: 600px) {
    .adjust-buttons {
        flex-direction: row;
    }
}

.adjust-btn {
    flex: 1;
    padding: 0.85rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.adjust-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: inherit;
}

.adjust-btn.btn-down::after { background: rgba(var(--accent-rgb), 0.08); }
.adjust-btn.btn-up::after { background: rgba(var(--primary-rgb), 0.08); }
.adjust-btn.btn-scope::after { background: rgba(var(--secondary-rgb), 0.08); }

.adjust-btn:hover::after {
    opacity: 1;
}

.adjust-btn:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.adjust-btn:active {
    transform: scale(0.96);
}

/* Flash feedback */
.adjust-btn.flash-down {
    animation: flashDown 0.4s;
}
.adjust-btn.flash-up {
    animation: flashUp 0.4s;
}

@keyframes flashDown {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5); }
    100% { box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0); }
}

@keyframes flashUp {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.5); }
    100% { box-shadow: 0 0 0 12px rgba(var(--primary-rgb), 0); }
}

/* ==================== SEO CONTENT ==================== */
.seo-content {
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
}

.seo-content > h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.seo-content > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.seo-content article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
    border-left: 3px solid var(--secondary);
}

.seo-content article:nth-child(odd) {
    border-left-color: var(--accent);
}

.seo-content article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.seo-content article h3 {
    color: var(--secondary);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.seo-content article:nth-child(odd) h3 {
    color: var(--accent);
}

.seo-content article p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ==================== FAQ ACCORDION ==================== */
.faq-section {
    margin-top: 3rem;
}

.faq-section > h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1rem 1.2rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-out-expo);
    opacity: 0.5;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo), padding 0.3s;
    padding: 0 1.2rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.2rem 1rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==================== FOOTER ==================== */
footer {
    text-align: center;
    padding: 3rem 5% 4rem;
    border-top: 1px solid var(--border-color);
    background: rgba(8, 8, 14, 0.8);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary),
        var(--secondary),
        var(--accent),
        transparent
    );
    animation: footerGradient 5s linear infinite;
    background-size: 200% 100%;
}

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

footer p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 1.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: left;
}

.footer-col h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 0.25rem 0;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* Legacy footer nav */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    position: relative;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary);
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 14, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1rem 5%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 999;
    animation: slideUp 0.5s var(--ease-out-expo);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.cookie-banner p {
    font-size: 0.82rem;
    flex: 1;
    color: var(--text-muted);
}

.cookie-btns {
    display: flex;
    gap: 0.5rem;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.cookie-btn.accept:hover {
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.4);
}

.cookie-btn.reject {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
}

.cookie-btn.reject:hover {
    background: rgba(255,255,255,0.05);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==================== CONFETTI ==================== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    top: -10px;
    animation: confettiFall 2.5s ease-in forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0.3);
        opacity: 0;
    }
}

/* ==================== UTILITIES ==================== */
.hidden {
    display: none !important;
}

/* Cursor glow — desktop only */
@media (hover: hover) and (pointer: fine) {
    .cursor-glow {
        position: fixed;
        width: 250px;
        height: 250px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s;
        opacity: 0;
    }

    .cursor-glow.active {
        opacity: 1;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 480px) {
    main {
        padding: 1.5rem 4%;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .sensi-gauge {
        width: 90px;
        height: 90px;
    }

    .sensi-gauge .sensi-value {
        font-size: 2rem;
    }

    .sensi-results .sensi-card:first-child .sensi-gauge {
        width: 110px;
        height: 110px;
    }

    .sensi-results .sensi-card:first-child .sensi-gauge .sensi-value {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }
    
    .copy-section {
        flex-direction: column;
    }
    
    .whatsapp-btn, .glitch-btn {
        width: 100%;
    }
    
    .grip-selector {
        flex-wrap: wrap;
    }
    
    .grip-option {
        min-width: 30%;
        padding: 0.6rem 0.2rem;
    }
    
    .grip-emoji {
        font-size: 1.5rem;
    }
    
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1rem;
    }
    
    .cookie-btns {
        width: 100%;
        justify-content: stretch;
    }
    
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* ==================== SHARE BUTTONS CSS ==================== */
.copy-section {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.copy-section .cta-button {
    font-size: 0.85rem;
    padding: 0.9rem 0.8rem;
    letter-spacing: 0.8px;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    box-shadow: 0 0 50px rgba(37, 211, 102, 0.5);
}

.telegram-btn {
    background: linear-gradient(135deg, #2CA5E0, #1A73B8);
    box-shadow: 0 0 30px rgba(44, 165, 224, 0.3);
}

.telegram-btn:hover {
    box-shadow: 0 0 50px rgba(44, 165, 224, 0.5);
}

.twitter-btn {
    background: linear-gradient(135deg, #1a1a1a, #333);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #333, #555);
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

/* ==================== RANGE VALUE BADGE ==================== */
.range-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-value-badge {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    border-radius: 50px;
    padding: 0.15rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: var(--font-heading);
    min-width: 38px;
    text-align: center;
    transition: background 0.2s;
}

/* ==================== HISTORIAL ==================== */
#history-section {
    margin-top: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    border-left: 3px solid var(--accent);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.history-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clear-hist-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.clear-hist-btn:hover {
    border-color: var(--danger);
    color: var(--danger);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-entry {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: background 0.2s;
}

.history-entry:hover {
    background: rgba(255,255,255,0.05);
}

.history-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 60px;
}

.history-values {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.history-values b {
    color: var(--text-main);
    margin-right: 2px;
}

@media (max-width: 480px) {
    .copy-section {
        grid-template-columns: 1fr 1fr;
    }
    .history-values {
        gap: 0.5rem;
    }
}

/* ==================== SHARED CONFIG BANNER ==================== */
.shared-banner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    animation: slideDown 0.4s var(--ease-out-expo) both;
}

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

.shared-banner svg { color: var(--accent); }

.banner-recalc-link {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
    font-size: inherit;
    text-decoration: underline;
    padding: 0;
}

.banner-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 0.2rem;
    margin-left: auto;
    transition: color 0.2s;
}

.banner-close:hover { color: var(--text-main); }

/* ==================== QUIZ SECTION ==================== */
.quiz-section {
    background: var(--bg-card);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.06);
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.quiz-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.quiz-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.9rem;
}

.quiz-header h2 {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    font-weight: 900;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, var(--text-main), rgba(255,255,255,0.75));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quiz-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.quiz-progress {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    margin-bottom: 1.8rem;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.5s var(--ease-out-expo);
}

.quiz-questions { position: relative; min-height: 180px; }

.quiz-q {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    animation: quizFadeIn 0.35s var(--ease-out-expo) both;
}

.quiz-q.active { display: flex; }

@keyframes quizFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.quiz-q-text {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.quiz-num {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.8rem;
    margin-right: 0.4rem;
    opacity: 0.8;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quiz-opt {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: all 0.2s var(--ease-out-expo);
    width: 100%;
}

.quiz-opt:hover {
    background: rgba(var(--primary-rgb), 0.06);
    border-color: rgba(var(--primary-rgb), 0.4);
    color: var(--text-main);
    transform: translateX(4px);
}

.quiz-opt.selected {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: var(--primary);
    color: var(--text-main);
}

.quiz-opt-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.quiz-result {
    text-align: center;
    padding: 1rem 0;
    animation: quizFadeIn 0.5s var(--ease-out-expo) both;
}

.quiz-result-icon {
    font-size: 3.5rem;
    margin-bottom: 0.6rem;
    animation: iconPop 0.5s var(--ease-spring) both;
}

@keyframes iconPop {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

.quiz-result h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quiz-result p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 420px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.quiz-result-tags {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.quiz-tag {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.quiz-restart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.quiz-restart-btn:hover {
    border-color: rgba(255,255,255,0.2);
    color: var(--text-main);
}

/* ==================== SHARE LINK ROW ==================== */
.share-link-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.share-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px dashed rgba(var(--primary-rgb), 0.4);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.25s;
}

.share-link-btn:hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-style: solid;
}

.share-link-url {
    font-size: 0.82rem;
    color: var(--success);
    font-weight: 700;
    animation: fadeinUrl 0.3s ease both;
}

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

/* ==================== TEST PROMO BANNER ==================== */
.test-promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb, 0,229,255), 0.05));
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.test-promo-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.test-promo-icon { font-size: 1.4rem; flex-shrink: 0; }

.test-promo-content strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.test-promo-content span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.test-promo-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.test-promo-btn:hover {
    background: rgba(var(--primary-rgb), 0.2);
    transform: translateX(2px);
}
