/**
 * VapoClouds Vaporizer Temperature Tool – Stylesheet v3
 *
 * Norddampf Light Theme – polygon network background,
 * full-height Relict vaporizer, Montserrat + Roboto.
 * BEM: .vtt (Block)
 *
 * @package VapoClouds_Vaporizer_Temperature_Tool
 */

/* ══════════════════════════════════════════════
 * Google Fonts Import (Montserrat + Roboto)
 * ══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Roboto:wght@400;500;600;700&display=swap');

/* ══════════════════════════════════════════════
 * CSS Variables – Norddampf Light Theme (default)
 * ══════════════════════════════════════════════ */
.vtt {
    --vtt-accent: #FEB41E;
    --vtt-accent-glow: rgba(254, 180, 30, 0.3);
    --vtt-accent-warm: #FF6E07;
    --vtt-bg: #f0f2f6;
    --vtt-bg-card: rgba(255, 255, 255, 0.65);
    --vtt-text: #333D53;
    --vtt-text-muted: #6b7585;
    --vtt-border: rgba(62, 80, 99, 0.1);
    --vtt-navy: #3E5063;
    --vtt-navy-dark: #333D53;
    --vtt-radius: 14px;
    --vtt-font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Helvetica Neue", Arial, sans-serif;
    --vtt-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Helvetica Neue", Arial, sans-serif;
}

/* Optional dark variant */
.vtt--dark {
    --vtt-bg: #08080e;
    --vtt-bg-card: rgba(18, 22, 30, 0.88);
    --vtt-text: #F0F0F1;
    --vtt-text-muted: #8a8fa0;
    --vtt-border: rgba(255, 255, 255, 0.06);
}

/* ══════════════════════════════════════════════
 * WordPress Theme Reset – Fix overflow on ancestors
 * that break position:sticky (WPBakery, Elementor, etc.)
 * ══════════════════════════════════════════════ */
.vtt-wp-overflow-fix {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* ══════════════════════════════════════════════
 * Container – NO overflow:hidden (breaks sticky)
 * ══════════════════════════════════════════════ */
.vtt {
    font-family: var(--vtt-font) !important;
    color: var(--vtt-text) !important;
    background: var(--vtt-bg) !important;
    position: relative !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Break out of theme container */
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: visible !important;
    line-height: 1.6 !important;
}

.vtt *, .vtt *::before, .vtt *::after {
    box-sizing: border-box;
}

/* WordPress theme resets – prevent common overrides */
.vtt img {
    max-width: none !important;
    height: auto;
}
.vtt button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
    margin: 0;
}
.vtt section,
.vtt nav,
.vtt div {
    margin: 0;
    padding: 0;
}
/* WPBakery / VC Row resets */
.vtt .vc_row,
.vtt .wpb_wrapper,
.vtt .vc_column-inner {
    padding: 0 !important;
    margin: 0 !important;
}

/* ══════════════════════════════════════════════
 * Particles.js Background Container
 * (absolute inside viewport, NOT fixed – avoids WP z-index issues)
 * ══════════════════════════════════════════════ */
.vtt__particles {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    width: 100% !important;
    height: 100% !important;
}

.vtt__particles canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
}

/* Subtle radial gradient for depth */
.vtt__bg-gradient {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 255, 255, 0.5), transparent);
}

/* ══════════════════════════════════════════════
 * Scroll Track
 * ══════════════════════════════════════════════ */
.vtt__scroll-track {
    position: relative;
    height: 500vh;
    background: var(--vtt-bg) !important;
}

/* ══════════════════════════════════════════════
 * Sticky Viewport
 * ══════════════════════════════════════════════ */
.vtt__viewport {
    position: sticky !important;
    top: 0 !important;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    background: var(--vtt-bg) !important;
}

/* ══════════════════════════════════════════════
 * Heat Canvas layer
 * ══════════════════════════════════════════════ */
.vtt__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ══════════════════════════════════════════════
 * Heat Glow Overlay
 * ══════════════════════════════════════════════ */
.vtt__heat-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(
        ellipse 25% 45% at 50% 60%,
        rgba(254, 180, 30, 0.2),
        transparent 70%
    );
}

/* ══════════════════════════════════════════════
 * Tab Navigation – Glassy, transparent, overlays vaporizer
 * ══════════════════════════════════════════════ */
.vtt__nav {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(62, 80, 99, 0.12);
    border-radius: 999px;
    padding: 4px;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 4px 24px rgba(62, 80, 99, 0.08);
}

.vtt__tab {
    padding: 0.5rem 1.4rem;
    font-family: var(--vtt-font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vtt-text-muted);
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.vtt__tab:hover {
    color: var(--vtt-navy-dark);
}

.vtt__tab--active {
    color: #0a0c10;
    font-weight: 700;
    background: var(--vtt-accent);
    box-shadow: 0 2px 16px var(--vtt-accent-glow);
}

/* ══════════════════════════════════════════════
 * Temperature Display – on vaporizer's black screen
 * Moved down ~65vh (10-20% lower than before)
 * White text to contrast with the black display area
 * ══════════════════════════════════════════════ */
.vtt__temp-display {
    position: absolute;
    top: 67vh;
    top: 67dvh;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    pointer-events: none;
}

.vtt__temp-value {
    font-family: var(--vtt-font-heading);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(254, 180, 30, 0.4);
    transition: text-shadow 0.3s ease, color 0.5s ease;
    line-height: 1;
}

.vtt__temp-unit {
    font-family: var(--vtt-font-heading);
    font-size: clamp(0.5rem, 1vw, 0.75rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════════
 * °C / °F Unit Toggle
 * ══════════════════════════════════════════════ */
.vtt__unit-toggle {
    position: absolute;
    top: 75vh;
    top: 75dvh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 2px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    font-family: var(--vtt-font-heading);
    transition: background 0.2s ease;
}

.vtt__unit-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vtt__unit-opt {
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
}

.vtt__unit-opt--active {
    color: #0a0c10;
    background: var(--vtt-accent);
    box-shadow: 0 1px 8px rgba(254, 180, 30, 0.3);
}

/* ══════════════════════════════════════════════
 * Vertical Temperature Scale
 * ══════════════════════════════════════════════ */
.vtt__scale {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 50vh;
    height: 50dvh;
    max-height: 400px;
    background: rgba(62, 80, 99, 0.12);
    border-radius: 2px;
    z-index: 10;
    overflow: visible;
}

.vtt__scale-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, var(--vtt-accent), var(--vtt-accent-warm));
    border-radius: 2px;
    transition: height 0.08s linear;
    box-shadow: 0 0 10px var(--vtt-accent-glow), 0 0 20px rgba(254, 180, 30, 0.1);
}

.vtt__scale-markers {
    position: absolute;
    inset: 0;
}

.vtt__scale-marker {
    position: absolute;
    right: 12px;
    font-family: var(--vtt-font-heading);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--vtt-text-muted);
    white-space: nowrap;
    transform: translateY(-50%);
    font-variant-numeric: tabular-nums;
    opacity: 0.6;
}

/* ══════════════════════════════════════════════
 * Hero (Center Vaporizer – Full Height)
 * ══════════════════════════════════════════════ */
.vtt__hero {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    height: 100vh;
    height: 100dvh;
    width: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    transition: filter 0.8s ease;
}

.vtt__hero-img {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    filter: drop-shadow(0 8px 40px rgba(62, 80, 99, 0.25))
            drop-shadow(0 0 80px rgba(62, 80, 99, 0.08));
    transition: filter 0.5s ease;
}

/* Ambient glow ring behind the vaporizer */
.vtt__hero::before {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 250%;
    height: 60%;
    background: radial-gradient(
        ellipse 50% 50% at 50% 50%,
        rgba(62, 80, 99, 0.06),
        rgba(254, 180, 30, 0.02) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

.vtt__hero-svg {
    width: 100%;
}

.vtt__vaporizer-svg {
    width: 100%;
    height: auto;
    color: var(--vtt-text);
    filter: drop-shadow(0 0 25px rgba(0,0,0,0.3));
}

.vtt__led {
    fill: var(--vtt-accent);
    filter: drop-shadow(0 0 6px var(--vtt-accent));
    transition: filter 0.3s ease;
}

.vtt__svg-temp {
    font-variant-numeric: tabular-nums;
}

.vtt__vapor-group {
    transition: opacity 1s ease;
    animation: vtt-vapor-float 4s ease-in-out infinite;
}

@keyframes vtt-vapor-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ══════════════════════════════════════════════
 * Datapoints – Light glassmorphism cards
 * ══════════════════════════════════════════════ */
.vtt__datapoints {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.vtt__dp {
    position: absolute;
    width: clamp(170px, 18vw, 250px);
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(62, 80, 99, 0.1);
    border-radius: var(--vtt-radius);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
}

.vtt__dp--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Subtle shadow on visible cards */
.vtt__dp--visible {
    border-color: rgba(62, 80, 99, 0.15);
    box-shadow: 0 4px 24px rgba(62, 80, 99, 0.1),
                0 1px 3px rgba(0, 0, 0, 0.05);
}

.vtt__dp-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.vtt__dp-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.vtt__dp-name {
    font-family: var(--vtt-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--vtt-navy-dark);
    letter-spacing: 0;
}

.vtt__dp-temp {
    font-family: var(--vtt-font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--vtt-accent-warm);
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.25rem;
}

.vtt__dp-desc {
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--vtt-text-muted);
}

/* Connector line */
.vtt__dp::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    opacity: 0;
    transition: opacity 0.6s ease 0.2s;
}

.vtt__dp--visible::after {
    opacity: 0.3;
}

.vtt__dp--left::after {
    right: -40px;
    background: linear-gradient(to right, var(--vtt-navy) 40%, transparent);
}

.vtt__dp--right::after {
    left: -40px;
    background: linear-gradient(to left, var(--vtt-navy) 40%, transparent);
}

/* ══════════════════════════════════════════════
 * Scroll Hint
 * ══════════════════════════════════════════════ */
.vtt__scroll-hint {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--vtt-text-muted);
    font-family: var(--vtt-font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: vtt-bounce 2.5s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

.vtt__scroll-hint svg {
    width: 18px;
    height: 18px;
    opacity: 0.5;
}

@keyframes vtt-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

.vtt__scroll-hint--hidden {
    opacity: 0;
    pointer-events: none;
}

/* ══════════════════════════════════════════════
 * SEO Fallback
 * ══════════════════════════════════════════════ */
.vtt__seo-fallback {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ══════════════════════════════════════════════
 * Effect Filter Bar
 * ══════════════════════════════════════════════ */
.vtt__effects-bar {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(62, 80, 99, 0.12);
    border-radius: 999px;
    padding: 3px;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 4px 24px rgba(62, 80, 99, 0.08);
}

.vtt__effect-btn {
    padding: 0.3rem 0.8rem;
    font-family: var(--vtt-font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--vtt-text-muted);
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.vtt__effect-btn:hover {
    color: var(--vtt-navy-dark);
}

.vtt__effect-btn--active {
    color: #0a0c10;
    font-weight: 700;
    background: var(--vtt-accent);
    box-shadow: 0 2px 12px var(--vtt-accent-glow);
}

.vtt__effect-icon {
    font-size: 0.75rem;
    line-height: 1;
}

/* ══════════════════════════════════════════════
 * Effect Tags on Datapoint Cards
 * ══════════════════════════════════════════════ */
.vtt__dp-effects {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 0.3rem;
}

.vtt__dp-effect-tag {
    font-family: var(--vtt-font-heading);
    font-size: 0.55rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(62, 80, 99, 0.08);
    color: var(--vtt-text-muted);
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════
 * SEO Content Block (visible, below tool)
 * ══════════════════════════════════════════════ */
.vtt-seo {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #333D53;
    background: #f0f2f6;
    padding: 4rem 1.5rem 3rem;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow-x: hidden;
}

.vtt-seo__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
}

.vtt-seo__h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #333D53;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.vtt-seo__h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    color: #333D53;
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
}

.vtt-seo__h3 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: #3E5063;
    margin: 2rem 0 0.6rem;
    line-height: 1.3;
}

.vtt-seo__intro {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.vtt-seo p {
    font-size: clamp(0.88rem, 1.8vw, 0.95rem);
    line-height: 1.75;
    color: #555;
    margin: 0 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.vtt-seo strong {
    color: #333D53;
    font-weight: 600;
}

.vtt-seo a {
    color: #FEB41E;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.vtt-seo a:hover {
    color: #FF6E07;
}

/* Responsive images */
.vtt-seo__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    object-fit: cover;
}

/* Lists */
.vtt-seo__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.vtt-seo__list li {
    position: relative;
    padding: 0.8rem 1rem 0.8rem 1.5rem;
    margin-bottom: 0.5rem;
    font-size: clamp(0.85rem, 1.8vw, 0.93rem);
    line-height: 1.65;
    color: #555;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border-left: 3px solid #FEB41E;
}

/* FAQ Section */
.vtt-seo__faq {
    margin-top: 1.5rem;
}

.vtt-seo__faq-item {
    margin-bottom: 1rem;
    padding: 1.2rem 1.4rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(62, 80, 99, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.vtt-seo__faq-item h4 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(0.88rem, 1.8vw, 0.95rem);
    font-weight: 700;
    color: #333D53;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.vtt-seo__faq-item p {
    font-size: clamp(0.82rem, 1.6vw, 0.88rem);
    line-height: 1.7;
    color: #6b7585;
    margin: 0;
}

/* SEO article responsive adjustments */
@media (max-width: 768px) {
    .vtt-seo {
        padding: 2.5rem 1rem 2rem;
    }

    .vtt-seo__img {
        border-radius: 8px;
        margin: 1rem 0;
    }

    .vtt-seo__list li {
        padding: 0.6rem 0.8rem 0.6rem 1.2rem;
    }

    .vtt-seo__faq-item {
        padding: 0.9rem 1rem;
    }
}

@media (max-width: 480px) {
    .vtt-seo {
        padding: 2rem 0.75rem 1.5rem;
    }

    .vtt-seo__img {
        border-radius: 6px;
        margin: 0.75rem 0;
    }

    .vtt-seo__h1 {
        margin-bottom: 1rem;
    }

    .vtt-seo__h2 {
        margin-top: 2rem;
    }

    .vtt-seo__list li {
        padding: 0.5rem 0.6rem 0.5rem 1rem;
        font-size: 0.82rem;
    }

    .vtt-seo__faq-item {
        padding: 0.75rem 0.8rem;
    }
}

/* ══════════════════════════════════════════════
 * Heat Shimmer
 * ══════════════════════════════════════════════ */
.vtt__shimmer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top, rgba(254, 180, 30, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: vtt-shimmer 3s ease-in-out infinite alternate;
}

@keyframes vtt-shimmer {
    0%   { transform: scaleY(1); }
    100% { transform: scaleY(1.015) translateY(-2px); }
}

/* ══════════════════════════════════════════════
 * Mobile Single-Card Mode
 * ══════════════════════════════════════════════ */
.vtt__dp--mobile-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(24px) scale(0.96);
    top: auto;
    bottom: 14vh;
    bottom: 14dvh;
    width: clamp(220px, 70vw, 320px);
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(62, 80, 99, 0.12);
    border-radius: var(--vtt-radius);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
    z-index: 12;
}

.vtt__dp--mobile-center.vtt__dp--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    box-shadow: 0 8px 32px rgba(62, 80, 99, 0.15),
                0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Hide connector lines on mobile-center cards */
.vtt__dp--mobile-center::after {
    display: none;
}

/* Mobile counter (e.g. "3 / 19") */
.vtt__mobile-counter {
    position: absolute;
    bottom: 9vh;
    bottom: 9dvh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    font-family: var(--vtt-font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--vtt-text-muted);
    letter-spacing: 0.08em;
    opacity: 0.6;
}

/* ══════════════════════════════════════════════
 * Responsive
 * ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .vtt__nav {
        top: 1rem;
        padding: 3px;
    }

    .vtt__tab {
        padding: 0.4rem 0.9rem;
        font-size: 0.7rem;
    }

    .vtt__temp-display {
        top: 63vh;
        top: 63dvh;
    }

    .vtt__temp-value {
        font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    }

    .vtt__unit-toggle {
        top: 71vh;
        top: 71dvh;
    }

    .vtt__scale {
        right: 0.75rem;
        height: 30vh;
        height: 30dvh;
    }

    .vtt__dp {
        width: clamp(140px, 36vw, 210px);
        padding: 0.75rem;
    }

    .vtt__dp:not(.vtt__dp--mobile-center) .vtt__dp-desc {
        font-size: 0.6rem;
    }

    .vtt__dp:not(.vtt__dp--mobile-center)::after {
        display: none;
    }

    /* Mobile: move scroll hint up to avoid card overlap */
    .vtt__scroll-hint {
        bottom: 28vh;
        bottom: 28dvh;
    }

    /* Mobile: temp display higher + bigger so card doesn't overlap */
    .vtt__temp-display {
        top: 42vh;
        top: 42dvh;
    }

    .vtt__temp-value {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .vtt__temp-unit {
        font-size: clamp(0.7rem, 2vw, 1rem);
    }

    .vtt__unit-toggle {
        top: 50vh;
        top: 50dvh;
    }

    .vtt__hero {
        height: 100vh;
        height: 100dvh;
    }

    .vtt__effects-bar {
        bottom: 1rem;
        padding: 2px;
        border-radius: 14px;
    }

    .vtt__effect-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.55rem;
    }

    .vtt__effect-icon {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .vtt__dp:not(.vtt__dp--mobile-center) {
        width: clamp(120px, 42vw, 175px);
        padding: 0.6rem;
    }

    .vtt__dp:not(.vtt__dp--mobile-center) .vtt__dp-name {
        font-size: 0.8rem;
    }

    .vtt__dp:not(.vtt__dp--mobile-center) .vtt__dp-desc {
        display: none;
    }

    .vtt__hero {
        height: 100vh;
        height: 100dvh;
    }

    .vtt__temp-display {
        top: 40vh;
        top: 40dvh;
    }

    .vtt__unit-toggle {
        top: 48vh;
        top: 48dvh;
    }

    .vtt__effects-bar {
        bottom: 0.5rem;
        border-radius: 12px;
        max-width: 95vw;
    }

    .vtt__effect-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.5rem;
    }
}

/* ══════════════════════════════════════════════
 * Reduced Motion
 * ══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .vtt__scroll-hint,
    .vtt__vapor-group,
    .vtt__shimmer,
    .vtt__bg-gradient {
        animation: none !important;
    }

    .vtt__dp {
        transition: opacity 0.15s !important;
        transform: none !important;
    }

    .vtt__canvas {
        display: none;
    }

    .vtt__particles {
        display: none;
    }
}
