* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --page-background: #f4f6ff;
    --dock-gradient: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
    --workspace-surface: #f6f8ff;
    --card-surface: #ffffff;
    --card-alt-surface: #f0f3ff;
    --stroke-soft: #e2e6f4;
    --stroke-strong: #c7d0f4;
    --text-strong: #1c2140;
    --text-muted: #636a86;
    --text-hint: #99a1c0;
    --accent-warm-start: #ff8a1f;
    --accent-warm-end: #ff4c4f;
    --accent-primary: #4b6bff;
    --accent-secondary: #36c8ff;
    --radius-xxl: 34px;
    --radius-xl: 26px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-soft: 0 18px 40px rgba(78, 107, 255, 0.15);
    --shadow-hero: 0 36px 90px rgba(79, 106, 255, 0.2);
    --dock-width: 268px;
}

html {
    scroll-behavior: smooth;
    background: var(--page-background);
}

body {
    font-family: 'Manrope', 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-strong);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body.nika-skin {
    background: radial-gradient(108% 120% at 100% 0%, rgba(116, 143, 255, 0.16) 0%, rgba(244, 246, 255, 0) 60%),
        radial-gradient(108% 140% at 0% 0%, rgba(255, 168, 104, 0.16) 0%, rgba(244, 246, 255, 0) 62%),
        linear-gradient(180deg, #f4f6ff 0%, #f7f9ff 60%, #eff3ff 100%);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
    background: transparent;
}

.page-frame {
    display: flex;
    min-height: 100vh;
    background: var(--workspace-surface);
}

.primary-dock {
    width: var(--dock-width);
    flex: 0 0 var(--dock-width);
    background: var(--dock-gradient);
    border-right: 1px solid var(--stroke-soft);
    position: sticky;
    top: 0;
    height: 100vh;
    box-shadow: inset -1px 0 0 rgba(203, 212, 240, 0.4);
    z-index: 12;
    transform: translateX(0);
    transition: transform 0.35s ease;
}

.dock-scroll {
    padding: 32px 26px 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: 100%;
    overflow-y: auto;
}

.dock-scroll::-webkit-scrollbar {
    width: 6px;
}

.dock-scroll::-webkit-scrollbar-thumb {
    background: rgba(101, 127, 255, 0.4);
    border-radius: 3px;
}

.dock-branding {
    display: flex;
    justify-content: center;
}

.dock-logo {
    width: 116px;
}

.dock-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dock-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.dock-item:hover {
    background: rgba(79, 106, 255, 0.08);
    transform: translateX(4px);
    color: var(--text-strong);
    border-color: rgba(75, 107, 255, 0.24);
}

.dock-item.is-active {
    background: #ffffff;
    color: var(--text-strong);
    border-color: rgba(75, 107, 255, 0.24);
    box-shadow: 0 10px 24px rgba(110, 133, 255, 0.16);
}

.dock-glyph {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(75, 107, 255, 0.12) 0%, rgba(255, 76, 79, 0.08) 100%);
    color: var(--accent-primary);
}

.dock-item.is-active .dock-glyph {
    background: linear-gradient(130deg, var(--accent-warm-start) 0%, var(--accent-warm-end) 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(255, 120, 80, 0.35);
}

.glyph-home::before { content: '🏠'; }
.glyph-gift::before { content: '🎁'; }
.glyph-diamond::before { content: '💎'; }
.glyph-slot::before { content: '🎰'; }
.glyph-live::before { content: '📺'; }
.glyph-rocket::before { content: '🚀'; }
.glyph-grid::before { content: '🕹️'; }
.glyph-provider::before { content: '🏢'; }

.dock-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--stroke-soft);
}

.support-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--card-surface);
    border: 1px solid var(--stroke-soft);
    color: var(--text-muted);
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.support-chip:hover {
    background: #ffffff;
    color: var(--text-strong);
    box-shadow: 0 8px 18px rgba(110, 133, 255, 0.16);
}

.support-glyph::before { content: '💬'; }
.glyph-mail::before { content: '✉️'; }

.locale-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--card-surface);
    border: 1px solid var(--stroke-soft);
    font-weight: 600;
    color: var(--text-strong);
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

.locale-switch:hover {
    border-color: rgba(75, 107, 255, 0.4);
    box-shadow: 0 8px 18px rgba(110, 133, 255, 0.16);
}

.locale-flag {
    font-size: 18px;
}

.locale-caret {
    font-size: 12px;
    opacity: 0.5;
}

.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 244, 255, 0.88) 100%);
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 36px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke-soft);
    box-shadow: 0 12px 32px rgba(141, 161, 255, 0.14);
}

.top-nav__start {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-trigger {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--card-alt-surface);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.3s ease;
}

.nav-trigger__bar {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

.nav-trigger:hover {
    background: rgba(75, 107, 255, 0.12);
}

.masthead-logo {
    width: 96px;
}

.command-search {
    flex: 1;
    max-width: 560px;
    margin: 0 32px;
    padding: 12px 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-alt-surface);
    color: var(--text-muted);
    border: 1px solid rgba(98, 119, 196, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.command-search:focus-within {
    background: #ffffff;
    border-color: rgba(75, 107, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(75, 107, 255, 0.12);
}

.command-search input {
    flex: 1;
    color: var(--text-strong);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.command-search input::placeholder {
    color: var(--text-hint);
}

.search-icon::before {
    content: '\1F50D';
    font-size: 18px;
    color: var(--text-hint);
}

.top-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 13px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cta-button--primary {
    background: linear-gradient(94deg, var(--accent-warm-start) 0%, var(--accent-warm-end) 100%);
    color: #fff7f0;
    box-shadow: 0 18px 38px rgba(255, 118, 80, 0.32);
}

.cta-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 46px rgba(255, 118, 80, 0.42);
}

.cta-button--ghost {
    background: transparent;
    color: var(--text-strong);
}

.cta-button--ghost:hover {
    color: var(--accent-primary);
    background: rgba(75, 107, 255, 0.08);
}

.cta-button--outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid rgba(75, 107, 255, 0.2);
}

.cta-button--outline:hover {
    background: rgba(75, 107, 255, 0.1);
    border-color: rgba(75, 107, 255, 0.35);
}

.view-stack {
    flex: 1;
    padding: 36px 40px 80px;
    display: flex;
    flex-direction: column;
    gap: 56px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.hero-banner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-panel {
    position: relative;
    border-radius: var(--radius-xxl);
    padding: 48px 46px;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(280px, 380px);
    gap: 38px;
    align-items: center;
    background: linear-gradient(114deg, #ffffff 0%, #f0f5ff 42%, #ffeedd 100%);
    box-shadow: var(--shadow-hero);
    border: 1px solid rgba(203, 212, 240, 0.6);
    overflow: hidden;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/nika-hero/main-slider-bg-desk.webp') left center no-repeat;
    background-size: 130% auto;
    transform: translateX(-200px) scale(1.2);
    transform-origin: left center;
    z-index: 0;
}

.hero-copy,
.hero-visuals {
    position: relative;
    z-index: 1;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 480px;
}

.tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(75, 107, 255, 0.12);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.hero-heading {
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.18;
}

.hero-heading--mobile {
    display: none;
}

.hero-lead {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 16px;
}

.hero-lead--mobile {
    display: none;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visuals {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://nika-casino.es/assets/nika-hero/main-slider-message-desk.png') center/contain no-repeat;
}

.hero-mobile-figure {
    display: none;
    width: 100%;
}

.hero-mobile-figure img {
    width: 100%;
    height: auto;
}

.info-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.info-tile {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 26px;
    background: var(--card-surface);
    border: 1px solid var(--stroke-soft);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    --lift-offset: 0px;
}

.info-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    z-index: 0;
    border-radius: inherit;
}

.info-tile:nth-of-type(1)::before {
    background-image: url('../assets/nika-reasons/first-bg.webp');
}

.info-tile:nth-of-type(2)::before {
    background-image: url('../assets/nika-reasons/two-bg.webp');
}

.info-tile:nth-of-type(3)::before {
    background-image: url('../assets/nika-reasons/three-bg.webp');
}

.info-tile > * {
    position: relative;
    z-index: 1;
}

.info-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: linear-gradient(135deg, rgba(75, 107, 255, 0.12) 0%, rgba(255, 138, 31, 0.18) 100%);
}

.glyph-random::before { content: '🎲'; }
.glyph-limitless::before { content: '♾️'; }
.glyph-smart::before { content: '🤖'; }

.info-title {
    font-size: 18px;
}

.info-copy {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.text-link {
    background: transparent;
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.text-link::after {
    content: ' →';
}

.section-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.section-block__header > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-title {
    font-size: 28px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
}

.badge-button {
    background: var(--card-surface);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    border: 1px solid var(--stroke-soft);
    transition: border 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.badge-button:hover {
    color: var(--text-strong);
    border-color: rgba(75, 107, 255, 0.4);
    box-shadow: 0 12px 24px rgba(110, 133, 255, 0.18);
}

.grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid--live {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.grid--hot {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.grid--instant {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.tile {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--stroke-soft);
    background: var(--card-surface);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    --lift-offset: 0px;
}

.tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 148, 96, 0.24) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile.is-lifted::after {
    opacity: 1;
}

.tile--live {
    display: flex;
    flex-direction: column;
}

.tile--live span {
    padding: 16px;
    font-weight: 600;
    color: var(--text-muted);
}

.tile--live.is-lifted span {
    color: var(--text-strong);
}

.jackpot-band {
    display: flex;
    justify-content: center;
}

.jackpot-chip {
    padding: 22px 46px;
    border-radius: 999px;
    background: linear-gradient(98deg, rgba(255, 152, 80, 0.2) 0%, rgba(78, 117, 255, 0.2) 100%);
    border: 1px solid rgba(204, 214, 245, 0.8);
    box-shadow: 0 18px 40px rgba(129, 150, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.jackpot-label {
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.jackpot-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-strong);
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.reason-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 30px;
    background: var(--card-surface);
    border: 1px solid var(--stroke-soft);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    --lift-offset: 0px;
}

.reason-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    border-radius: inherit;
}

.reason-card > * {
    position: relative;
    z-index: 1;
}

.reason-card--welcome::before {
    background-image: url('../assets/nika-hero/first-bg.webp');
}

.reason-card--list::before {
    background-image: url('../assets/nika-reasons/first-bg.webp');
}

.reason-card--secure::before {
    background-image: url('../assets/nika-reasons/two-bg.webp');
}

.reason-card--vip::before {
    background-image: url('../assets/nika-reasons/three-bg.webp');
}

.reason-tag {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(75, 107, 255, 0.12);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--accent-primary);
}

.reason-title {
    font-size: 20px;
}

.reason-copy {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.section-block--providers .provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.provider-card {
    padding: 24px;
    border-radius: 20px;
    background: var(--card-surface);
    border: 1px solid var(--stroke-soft);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    --lift-offset: 0px;
}

.provider-name {
    font-weight: 700;
    font-size: 18px;
}

.provider-count {
    color: var(--text-muted);
    font-size: 14px;
}

.longform {
    background: var(--workspace-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--stroke-soft);
    box-shadow: 0 18px 40px rgba(129, 150, 255, 0.12);
}

.longform__wrap {
    padding: 60px 64px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.longform__header h1,
.longform__header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-strong);
    text-align: center;
    line-height: 1.2;
}

.longform__body,
.longform__section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.longform__section h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 16px;
}

.longform__section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 12px;
}

.longform__section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 10px;
}

.longform__section h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 8px;
}

.longform__section h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 6px;
}

.longform__section h6 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 4px;
}

.longform__body p,
.longform__section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

.bullet-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.bullet-list li::before {
    content: '•';
    color: var(--accent-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.data-table {
    margin: 10px 0 20px;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(129, 150, 255, 0.1);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--stroke-soft);
    font-size: 15px;
    color: var(--text-muted);
}

.data-table th {
    background: linear-gradient(96deg, rgba(75, 107, 255, 0.1) 0%, rgba(255, 138, 31, 0.1) 100%);
    font-weight: 700;
    color: var(--text-strong);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.faq {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.faq__header h1,
.faq__header h2,
.faq__header h3 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: var(--text-strong);
}

.faq__list {
    display: grid;
    gap: 24px;
}

.faq__item {
    background: var(--card-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke-soft);
    padding: 20px 24px;
    transition: box-shadow 0.3s ease;
    --lift-offset: 0px;
}

.faq__item.is-lifted {
    box-shadow: 0 8px 25px rgba(129, 150, 255, 0.1);
}

.faq__question {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 12px;
}

.faq__answer {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.site-footer {
    margin-top: auto;
    background: #ffffff;
    border-top: 1px solid var(--stroke-soft);
    padding: 32px 40px 46px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.site-footer__main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
}

.site-footer__brand img {
    width: 96px;
}

.site-footer__brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer__links a {
    color: var(--text-muted);
    font-size: 14px;
}

.site-footer__links a:hover {
    color: var(--text-strong);
}

.site-footer__note p {
    color: var(--text-hint);
    font-size: 13px;
    line-height: 1.6;
}

.screen-veil {
    position: fixed;
    inset: 0;
    background: rgba(4, 9, 30, 0.72);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 11;
}

.screen-veil.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.dock-open {
    overflow: hidden;
}

[data-hover-raise] {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(var(--lift-offset, 0px));
}

.is-lifted {
    --lift-offset: -6px;
    box-shadow: 0 18px 40px rgba(129, 150, 255, 0.2);
}

.tile.is-lifted {
    box-shadow: 0 22px 40px rgba(129, 150, 255, 0.22);
    border-color: rgba(75, 107, 255, 0.35);
}

.reason-card.is-lifted {
    box-shadow: 0 18px 36px rgba(129, 150, 255, 0.24);
}

.info-tile.is-lifted {
    box-shadow: 0 18px 40px rgba(129, 150, 255, 0.2);
}

.provider-card.is-lifted {
    box-shadow: 0 16px 30px rgba(129, 150, 255, 0.2);
}

.faq__item.is-lifted {
    box-shadow: 0 12px 28px rgba(129, 150, 255, 0.16);
}

[data-animate] {
    opacity: 0;
    transform: translateY(24px);
}

[data-animate].is-visible {
    animation: floatUp 0.6s ease forwards;
}

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

@media (max-width: 1280px) {
    .view-stack {
        padding: 32px 28px 70px;
    }

    .top-nav {
        padding: 20px 28px;
    }

    .hero-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel::before {
        left: -200px;
        right: -120px;
        transform: translateX(-150px) scale(1.1);
    }

    .hero-copy {
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 1100px) {
    .page-frame {
        flex-direction: column;
    }

    .primary-dock {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        box-shadow: 30px 0 60px rgba(4, 9, 30, 0.55);
    }

    .primary-dock.is-open {
        transform: translateX(0);
    }

    .nav-trigger {
        display: inline-flex;
    }

    .command-search {
        display: none;
    }

    .view-stack {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 820px) {
    .top-nav {
        gap: 16px;
    }

    .top-nav__actions {
        gap: 10px;
    }

    .top-nav__actions .cta-button {
        padding: 10px 18px;
        font-size: 12px;
    }

    .hero-panel {
        padding: 36px 28px;
        border-radius: 28px;
    }

    .hero-panel::before {
        left: -160px;
        right: -100px;
        transform: translateX(-80px) scale(1.0);
    }

    .hero-copy {
        align-items: center;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        width: 100%;
    }

    .longform__wrap {
        padding: 48px 36px;
    }
}

@media (max-width: 600px) {
    .top-nav {
        padding: 16px 18px;
        gap: 14px;
    }

    .top-nav__start {
        gap: 12px;
    }

    .masthead-logo {
        width: 82px;
    }

    .top-nav__actions {
        gap: 8px;
    }

    .top-nav__actions .cta-button {
        padding: 9px 16px;
        font-size: 11px;
    }

    .view-stack {
        padding: 28px 20px 60px;
        gap: 44px;
    }

    .hero-panel {
        padding: 0;
        border-radius: 26px;
        grid-template-columns: 1fr;
    }

    .hero-panel::before {
        display: none;
    }

    .hero-copy {
        padding: 26px 22px 24px;
        background: rgba(255, 255, 255, 0.92);
        border-radius: 24px;
        border: 1px solid rgba(204, 214, 245, 0.6);
        box-shadow: 0 18px 40px rgba(129, 150, 255, 0.18);
    }

    .hero-heading--desktop,
    .hero-lead--desktop {
        display: none;
    }

    .hero-heading--mobile,
    .hero-lead--mobile {
        display: block;
    }

    .hero-heading--mobile {
        font-size: clamp(20px, 6vw, 28px);
        line-height: 1.3;
        font-weight: 800;
        margin-bottom: 18px;
    }

    .hero-lead--mobile {
        font-size: 14px;
        color: var(--text-muted);
        margin-bottom: 30px;
    }

    .hero-visuals {
        display: block;
        background: none;
        min-height: auto;
    }

    .hero-mobile-figure {
        display: block;
        margin: 20px auto 0;
        text-align: center;
    }

    .hero-mobile-figure img {
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(129, 150, 255, 0.15);
    }

    .info-stack {
        grid-template-columns: 1fr;
    }

    .badge-button {
        align-self: stretch;
        text-align: center;
    }

    .longform__wrap {
        padding: 40px 24px;
    }
}

@media (max-width: 420px) {
    .top-nav {
        padding: 12px 16px;
    }

    .masthead-logo {
        width: 70px;
    }

    .top-nav__actions .cta-button {
        padding: 8px 12px;
        font-size: 10px;
    }

    .view-stack {
        padding: 20px 16px 50px;
    }

    .hero-copy {
        padding: 20px 16px 18px;
    }

    .hero-mobile-figure {
        margin: 16px auto 0;
    }

    .hero-mobile-figure img {
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(129, 150, 255, 0.12);
    }

    .info-tile,
    .reason-card {
        padding: 22px;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .longform__header h1,
    .longform__header h2 {
        font-size: 28px;
    }

    .longform__section h1 {
        font-size: 26px;
    }

    .longform__section h2 {
        font-size: 24px;
    }

    .longform__section h3 {
        font-size: 22px;
    }

    .longform__section h4 {
        font-size: 18px;
    }

    .longform__section h5 {
        font-size: 16px;
    }

    .longform__section h6 {
        font-size: 14px;
    }

    .faq__header h1,
    .faq__header h2,
    .faq__header h3 {
        font-size: 26px;
    }

    .longform__body p,
    .longform__section p {
        font-size: 14px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 12px;
    }

    .faq__question {
        font-size: 16px;
    }

    .faq__answer {
        font-size: 14px;
    }

    .site-footer {
        padding: 28px 20px 40px;
    }

    .site-footer__main {
        flex-direction: column;
    }
}

