/* SpinGranny ES vault surface - hosted type + ink palette */

@font-face {
    font-family: "Manrope ES";
    src: url("/vault/fonts/manrope-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope ES";
    src: url("/vault/fonts/manrope-500.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope ES";
    src: url("/vault/fonts/manrope-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sora ES";
    src: url("/vault/fonts/sora-700.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sora ES";
    src: url("/vault/fonts/sora-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #0b022b;
    --ink-2: #130a35;
    --ink-3: #1a0d42;
    --panel: #241358;
    --panel-soft: #2d1868;
    --line: rgba(255, 255, 255, 0.1);
    --text: #f4f1ff;
    --muted: #b8aed8;
    --amber-a: #ffc107;
    --amber-b: #ff8a00;
    --mint: #46e4b0;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --font-body: "Manrope ES", "Segoe UI", sans-serif;
    --font-display: "Sora ES", "Manrope ES", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(88, 40, 180, 0.35), transparent 55%),
        radial-gradient(900px 500px at 90% 0%, rgba(255, 138, 0, 0.12), transparent 50%),
        linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 45%, #070414 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

a {
    color: var(--amber-a);
}

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

.spes-frame {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Masthead */
.spes-crown {
    padding: 12px 22px;
    background: linear-gradient(90deg, #ffffff 0%, #2d1868 48%, #0b022b 100%);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 40;
}

.spes-crown-row {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.spes-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}

.spes-brand-img {
    max-height: 46px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.25));
}

.spes-brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
}

.spes-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
    max-width: 58%;
    justify-content: flex-end;
}

.spes-btn-gold,
.spes-btn-line,
.spes-hero-cta,
.spes-slot-btn,
.app-download-link {
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-body);
    border: 1px solid transparent;
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
    cursor: pointer;
}

.spes-btn-gold,
.spes-hero-cta,
.spes-slot-btn,
.app-download-link {
    background: linear-gradient(160deg, var(--amber-a), var(--amber-b));
    color: #1a0f00;
    box-shadow: 0 6px 18px rgba(255, 138, 0, 0.28);
}

.spes-btn-gold:hover,
.spes-hero-cta:hover,
.spes-slot-btn:hover,
.app-download-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.spes-btn-line {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: rgba(170, 150, 255, 0.45);
}

.spes-btn-line:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Horizontal lane */
.spes-rail {
    background: linear-gradient(90deg, rgba(34, 20, 86, 0.95), rgba(28, 18, 72, 0.95));
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 30;
}

.spes-rail-list {
    list-style: none;
    margin: 0 auto;
    padding: 6px 14px;
    max-width: 1240px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: stretch;
}

.spes-rail-item {
    margin: 0;
}

.spes-rail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 12px;
    border: 1px solid transparent;
}

.spes-rail-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.spes-rail-link.is-active {
    color: #1a0f00;
    background: linear-gradient(160deg, var(--amber-a), var(--amber-b));
    border-color: transparent;
}

.spes-glyph {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: inherit;
}

.spes-rail-text {
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}

.spes-burger {
    display: none;
    background: var(--panel);
    border: 1px solid rgba(255, 193, 7, 0.45);
    cursor: pointer;
    padding: 0;
    border-radius: 12px;
    color: var(--amber-a);
    align-items: center;
    justify-content: center;
}

.spes-burger-icon {
    display: block;
    width: 22px;
    height: 16px;
    flex-shrink: 0;
}

.spes-shade {
    display: none;
}

html.menu-pinned,
html.menu-pinned body {
    overflow: hidden;
}

/* Stage */
.spes-stage {
    flex: 1;
    width: 100%;
}

.spes-stage-inner {
    padding: 22px 18px 40px;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}

.section-title,
.spes-hero-title,
.bonus-name,
.spes-lost-title,
.spes-lost-num {
    font-family: var(--font-display);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
}

.show-all-btn {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 600;
    font-size: 13px;
}

.show-all-btn:hover {
    color: var(--text);
    border-color: rgba(255, 193, 7, 0.4);
}

/* Promo reel / banners */
.spes-hero-zone,
.spes-hero-reel {
    margin-bottom: 28px;
}

.spes-hero-reel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--panel), var(--ink-3));
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.spes-hero-track {
    position: relative;
}

.spes-hero-slide {
    display: none;
    position: relative;
}

.spes-hero-slide.is-active {
    display: block;
    animation: heroFade 0.45s ease;
}

@keyframes heroFade {
    from { opacity: 0.35; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.spes-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-height: 0;
}

.spes-hero-card picture {
    display: block;
    width: 100%;
    align-self: center;
}

.spes-hero-img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    object-fit: contain;
    aspect-ratio: 760 / 250;
    background: transparent;
}

.spes-hero-copy {
    padding: 28px 28px 28px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.spes-hero-title {
    font-size: clamp(1.25rem, 2.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}

.spes-hero-text {
    color: var(--muted);
    font-size: 0.95rem;
}

.spes-hero-cta {
    align-self: flex-start;
    margin-top: 6px;
    position: relative;
    z-index: 3;
}

.spes-hero-controls {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.spes-hero-arrow {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(10, 6, 30, 0.65);
    color: var(--text);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.spes-hero-arrow:hover {
    border-color: var(--amber-a);
    color: var(--amber-a);
}

.spes-hero-dots {
    display: flex;
    gap: 6px;
    margin-right: 4px;
}

.spes-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    padding: 0;
}

.spes-hero-dot.is-active {
    background: var(--amber-a);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

/* Games / slots */
.spes-slots-block {
    margin-bottom: 34px;
}

.spes-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 16px;
}

.spes-slot-tile {
    background: linear-gradient(180deg, rgba(42, 27, 110, 0.85), rgba(18, 11, 50, 0.95));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.spes-slot-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 193, 7, 0.35);
}

.spes-slot-visual {
    position: relative;
    background: #140c36;
    display: flex;
    flex-direction: column;
}

.spes-slot-img {
    width: 100%;
    height: auto;
    aspect-ratio: 265 / 371;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #140c36;
}

.spes-slot-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(180deg, transparent, rgba(10, 6, 30, 0.92) 30%);
}

.spes-slot-btn {
    width: 100%;
    padding: 9px 10px;
    font-size: 12px;
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    min-height: 36px;
}

.spes-slot-btn.is-muted {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(170, 150, 255, 0.4);
    box-shadow: none;
}

.spes-slot-name {
    padding: 10px 12px 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

/* Bonuses */
.bonuses-section {
    margin-bottom: 36px;
}

.bonuses-section .section-header {
    text-align: center;
    margin-bottom: 22px;
}

.bonuses-section .section-title {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    background: linear-gradient(135deg, #fff 20%, var(--amber-a) 55%, var(--amber-b) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 12px rgba(255, 138, 0, 0.2));
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.bonus-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background:
        radial-gradient(300px 180px at 100% 0%, rgba(255, 193, 7, 0.18), transparent 55%),
        radial-gradient(240px 140px at 0% 100%, rgba(70, 228, 176, 0.08), transparent 50%),
        linear-gradient(158deg, rgba(44, 28, 112, 0.96), rgba(14, 8, 40, 0.99));
    border: 2px solid rgba(255, 193, 7, 0.22);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bonus-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--amber-a), var(--mint));
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 2;
}

.bonus-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.38),
        0 0 40px rgba(255, 138, 0, 0.12);
}

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

.bonus-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 193, 7, 0.2), transparent 50%),
        linear-gradient(180deg, #1a0f48, #0e0830);
    overflow: hidden;
    position: relative;
}

.bonus-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(14, 8, 40, 0.85));
    pointer-events: none;
}

.bonus-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bonus-card:hover .bonus-image {
    transform: scale(1.06);
}

.bonus-content {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.bonus-name {
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    font-family: var(--font-display);
}

.bonus-description {
    margin: 0;
    font-size: 14px;
    color: rgba(244, 241, 255, 0.72);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bonus-value {
    margin-top: 6px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.25);
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
}

.bonus-value strong {
    background: linear-gradient(120deg, #fff5c2, var(--amber-a), var(--amber-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bonus-category {
    order: -1;
}

.bonus-category-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(120deg, rgba(61, 222, 168, 0.18), rgba(61, 222, 168, 0.08));
    color: var(--mint);
    border: 1px solid rgba(61, 222, 168, 0.4);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(61, 222, 168, 0.12);
}

.bonus-terms {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
}

/* SEO text */
.text-content {
    max-width: 920px;
    margin: 28px auto 0;
    padding: 8px 4px 20px;
}

.spes-prose-panel {
    padding: clamp(22px, 3.5vw, 32px);
    border-radius: 24px;
    background:
        radial-gradient(560px 240px at 0% 0%, rgba(255, 193, 7, 0.12), transparent 55%),
        radial-gradient(480px 260px at 100% 10%, rgba(88, 40, 180, 0.28), transparent 58%),
        linear-gradient(168deg, rgba(34, 20, 86, 0.78), rgba(12, 7, 36, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.spes-prose-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.5), transparent);
    pointer-events: none;
}

.spes-contact-wrap .spes-prose-panel,
.spes-doc-wrap .spes-prose-panel {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.spes-contact-wrap .spes-prose-panel::before,
.spes-doc-wrap .spes-prose-panel::before {
    display: none;
}

.text-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.spes-prose-panel > h1 {
    background: linear-gradient(135deg, #fff 25%, var(--amber-a) 70%, var(--amber-b) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255, 138, 0, 0.15));
}

.text-content h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 32px 0 14px;
    position: relative;
    padding: 0 0 10px 16px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spes-prose-panel > h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 4px;
    height: 1.1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--amber-a), var(--mint));
}

.spes-prose-panel > h2::after {
    display: none;
}

.text-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--amber-a);
    padding-left: 2px;
}

.text-content p {
    margin-bottom: 16px;
    color: rgba(244, 241, 255, 0.78);
    line-height: 1.75;
    font-size: 0.97rem;
}

.spes-prose-panel > p:first-of-type {
    color: var(--text);
    font-size: 1.02rem;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.7;
}

.text-content img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border-radius: var(--radius);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(18, 11, 50, 0.65);
}

.text-content table,
.app-info-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    margin: 0;
}

.text-content th,
.text-content td,
.app-info-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    color: var(--text);
}

.text-content th {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
    white-space: nowrap;
}

.text-content ul,
.text-content ol,
.list-container ul,
.list-container ol {
    margin: 18px 0;
    padding: 16px 20px 16px 36px;
    border-radius: 16px;
    background: rgba(8, 4, 24, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.text-content li {
    margin-bottom: 10px;
    line-height: 1.65;
}

.text-content li::marker {
    color: var(--amber-a);
}

.text-content a {
    color: var(--amber-a);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 193, 7, 0.4);
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.text-content a:hover {
    color: #1a0f00;
    background: var(--amber-a);
    border-bottom-color: var(--amber-a);
    border-radius: 3px;
}

.text-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--amber-b);
    background: rgba(255, 138, 0, 0.08);
    border-radius: 0 16px 16px 0;
    color: var(--text);
    font-style: italic;
    line-height: 1.65;
}

/* Contact / help-support */
.spes-contact-wrap {
    position: relative;
    margin: 10px auto 8px;
    max-width: 780px;
    padding: clamp(28px, 5vw, 44px);
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(480px 260px at 50% -15%, rgba(255, 193, 7, 0.32), transparent 58%),
        radial-gradient(420px 240px at 100% 30%, rgba(88, 40, 180, 0.45), transparent 55%),
        linear-gradient(168deg, rgba(38, 22, 96, 0.96), rgba(10, 6, 32, 0.99));
    border: 2px solid rgba(255, 193, 7, 0.32);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.38),
        0 0 60px rgba(255, 138, 0, 0.1);
    animation: miss-rise 0.5s ease both;
}

.spes-contact-wrap::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 220deg at 50% 50%, transparent, rgba(255, 193, 7, 0.05), transparent, rgba(70, 228, 176, 0.04), transparent);
    animation: miss-spin 24s linear infinite;
    pointer-events: none;
}

.spes-contact-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.07), transparent 50%);
    pointer-events: none;
}

.spes-contact-wrap .text-content {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.spes-contact-wrap .text-content h1 {
    font-size: clamp(2rem, 5vw, 2.6rem);
    letter-spacing: 0.01em;
    text-align: center;
    background: linear-gradient(135deg, #fff 10%, var(--amber-a) 55%, var(--amber-b) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 16px rgba(255, 138, 0, 0.25));
}

.spes-contact-wrap .text-content > p:first-of-type {
    font-size: 1.08rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 28px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}

.spes-contact-wrap .text-content h2 {
    margin-top: 32px;
    padding-top: 4px;
    color: #fff;
    font-size: 1.35rem;
    text-align: center;
}

.spes-contact-wrap .text-content h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--amber-a), var(--mint));
}

.spes-contact-wrap .text-content h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 193, 7, 0.25), rgba(255, 138, 0, 0.12));
    border: 1px solid rgba(255, 193, 7, 0.45);
    color: #fff5c2;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.15);
}

.spes-contact-wrap .text-content h3 + p {
    margin-top: 12px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(8, 4, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    line-height: 1.65;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.spes-contact-wrap .text-content a {
    color: var(--amber-a);
    font-weight: 700;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 6px;
    background: rgba(255, 193, 7, 0.1);
    border-bottom: 2px solid rgba(255, 193, 7, 0.5);
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.spes-contact-wrap .text-content a:hover {
    color: #1a0f00;
    background: var(--amber-a);
    border-bottom-color: var(--amber-a);
}

.spes-contact-wrap .breadcrumb-nav {
    justify-content: center;
    margin-bottom: 8px;
}

/* Legal docs: privacy / terms */
.spes-doc-wrap {
    position: relative;
    margin: 10px auto 8px;
    max-width: 900px;
    padding: clamp(28px, 4.5vw, 42px);
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(540px 260px at 10% -10%, rgba(255, 193, 7, 0.22), transparent 55%),
        radial-gradient(480px 280px at 100% 5%, rgba(88, 40, 180, 0.42), transparent 58%),
        linear-gradient(168deg, rgba(36, 20, 92, 0.96), rgba(10, 6, 32, 0.99));
    border: 2px solid rgba(255, 193, 7, 0.24);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.34),
        0 0 50px rgba(255, 138, 0, 0.08);
    animation: miss-rise 0.5s ease both;
}

.spes-doc-wrap::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--amber-a), var(--mint), transparent);
    opacity: 0.9;
    pointer-events: none;
    z-index: 2;
}

.spes-doc-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 45%);
    pointer-events: none;
}

.spes-doc-wrap .text-content {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.spes-doc-wrap .text-content h1 {
    font-size: clamp(1.85rem, 3.8vw, 2.35rem);
    letter-spacing: 0.01em;
    text-align: center;
    background: linear-gradient(135deg, #fff 15%, var(--amber-a) 60%, var(--amber-b) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 18px;
    filter: drop-shadow(0 3px 14px rgba(255, 138, 0, 0.2));
}

.spes-doc-wrap .text-content > p:first-of-type {
    color: var(--text);
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    line-height: 1.65;
    text-align: center;
}

.spes-doc-wrap .text-content h2 {
    margin-top: 32px;
    color: #fff;
    position: relative;
    padding: 10px 0 10px 18px;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spes-doc-wrap .text-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 1.1em;
    border-radius: 5px;
    background: linear-gradient(180deg, var(--amber-a), var(--mint));
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.4);
}

.spes-doc-wrap .text-content h3 {
    color: var(--amber-a);
    margin-top: 22px;
    font-size: 1.08rem;
    padding-left: 4px;
}

.spes-doc-wrap .text-content p {
    color: rgba(244, 241, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 14px;
}

.spes-doc-wrap .text-content ul,
.spes-doc-wrap .text-content ol {
    padding: 16px 20px 16px 36px;
    border-radius: 18px;
    background: rgba(8, 4, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    margin: 16px 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.spes-doc-wrap .text-content li {
    margin-bottom: 10px;
    line-height: 1.65;
}

.spes-doc-wrap .text-content li::marker {
    color: var(--amber-a);
}

.spes-doc-wrap .text-content a {
    color: var(--amber-a);
    font-weight: 700;
    text-decoration: none;
    padding: 1px 4px;
    border-radius: 4px;
    background: rgba(255, 193, 7, 0.08);
    border-bottom: 2px solid rgba(255, 193, 7, 0.45);
    transition: color 0.15s ease, background 0.15s ease;
}

.spes-doc-wrap .text-content a:hover {
    color: #1a0f00;
    background: var(--amber-a);
    border-bottom-color: var(--amber-a);
}

/* FAQ / HowTo */
.faq-wrapper {
    margin: 20px 0;
}

.faq-item-block {
    border: 1px solid var(--line);
    margin-bottom: 10px;
    background: rgba(34, 20, 86, 0.7);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question-block {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--line);
}

.faq-question-block strong {
    font-size: 15px;
    font-family: var(--font-display);
}

.faq-answer-block {
    padding: 14px 16px;
    color: var(--muted);
}

.howto-wrapper {
    margin: 20px 0;
    padding: 18px;
    background: rgba(34, 20, 86, 0.65);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.howto-steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.howto-step-item {
    counter-increment: step-counter;
    padding: 14px;
    margin-bottom: 10px;
    background: rgba(10, 6, 30, 0.55);
    border-left: 3px solid var(--amber-a);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.howto-step-item::before {
    content: counter(step-counter) ".";
    font-weight: 700;
    margin-right: 8px;
    color: var(--amber-a);
    font-family: var(--font-display);
}

.howto-step-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin: 0 0 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
}

.breadcrumb-link {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: var(--amber-a);
}

.breadcrumb-divider {
    color: rgba(255, 255, 255, 0.28);
}

/* Footer */
.site-footer {
    margin-top: auto;
    color: var(--text);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(820px 320px at 8% -5%, rgba(255, 138, 0, 0.16), transparent 58%),
        radial-gradient(720px 300px at 92% 4%, rgba(88, 40, 180, 0.5), transparent 60%),
        radial-gradient(480px 220px at 50% 100%, rgba(70, 228, 176, 0.08), transparent 65%),
        linear-gradient(180deg, #160d3a 0%, #0a061e 52%, #05030f 100%);
    border-top: 1px solid rgba(255, 193, 7, 0.2);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--amber-a) 18%,
        var(--amber-b) 50%,
        var(--mint) 82%,
        transparent 100%
    );
    opacity: 0.9;
    pointer-events: none;
    z-index: 2;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 193, 7, 0.06) 0, transparent 42%),
        radial-gradient(circle at 80% 70%, rgba(70, 228, 176, 0.05) 0, transparent 38%);
    pointer-events: none;
    z-index: 0;
}

.spes-base-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 20px 30px;
    position: relative;
    z-index: 1;
}

.spes-base-pay {
    position: relative;
    margin-bottom: 30px;
    padding: 20px 20px 18px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(52, 32, 130, 0.78), rgba(14, 8, 42, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.spes-base-pay::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.45), rgba(70, 228, 176, 0.25), rgba(255, 138, 0, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.spes-base-pay-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-a);
    margin-bottom: 16px;
    text-align: center;
    text-shadow: 0 0 18px rgba(255, 193, 7, 0.35);
}

.spes-base-pay-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.spes-base-pay-chip {
    min-width: 106px;
    height: 56px;
    padding: 10px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f0ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spes-base-pay-chip:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 14px 28px rgba(255, 138, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.spes-base-pay-img {
    max-width: 80px;
    max-height: 30px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.spes-base-pay-name {
    font-size: 12px;
    font-weight: 700;
    color: #1a0f00;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(148px, 1fr));
    gap: 18px 16px;
    margin-bottom: 28px;
}

.spes-base-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 20px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(36, 19, 88, 0.72), rgba(18, 11, 50, 0.55));
    border: 1px solid rgba(255, 193, 7, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.spes-base-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    width: fit-content;
}

.spes-base-brand-img {
    max-height: 50px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(255, 193, 7, 0.35));
}

.spes-base-brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    font-size: 1.35rem;
    letter-spacing: 0.03em;
}

.spes-base-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spes-base-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid transparent;
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}

.spes-base-btn:hover {
    transform: translateY(-2px);
}

.spes-base-btn-gold {
    background: linear-gradient(160deg, var(--amber-a), var(--amber-b));
    color: #1a0f00;
    box-shadow: 0 8px 20px rgba(255, 138, 0, 0.32);
}

.spes-base-btn-gold:hover {
    filter: brightness(1.06);
    box-shadow: 0 10px 26px rgba(255, 138, 0, 0.4);
}

.spes-base-btn-accent {
    background: linear-gradient(160deg, var(--mint), #1fb888);
    color: #04140f;
    box-shadow: 0 8px 20px rgba(61, 222, 168, 0.28);
}

.spes-base-btn-accent:hover {
    filter: brightness(1.05);
    box-shadow: 0 10px 26px rgba(61, 222, 168, 0.36);
}

.spes-base-btn-line {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: rgba(170, 150, 255, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.spes-base-btn-line:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 193, 7, 0.4);
}

.spes-base-col {
    padding: 20px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(6px);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.spes-base-col:hover {
    border-color: rgba(255, 193, 7, 0.22);
    background: rgba(255, 255, 255, 0.045);
}

.spes-base-col-social {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: var(--font-display);
    color: var(--amber-a);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--amber-a), var(--mint));
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-links a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.35);
    flex-shrink: 0;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--text);
    transform: translateX(3px);
}

.footer-links a:hover::before,
.footer-links a.active::before {
    background: var(--amber-a);
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.55);
}

.spes-base-social {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.spes-base-social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.spes-base-social-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.12);
    box-shadow: 0 8px 22px rgba(255, 138, 0, 0.18);
}

.spes-base-social-img {
    max-height: 24px;
    width: auto;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding: 24px 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, 60%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.55), transparent);
}

.footer-safe {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(70, 228, 176, 0.14);
}

.spes-base-safe-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 14px;
}

.footer-safe-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.spes-base-safe-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.spes-base-safe-chip:hover {
    border-color: rgba(61, 222, 168, 0.5);
    background: rgba(61, 222, 168, 0.1);
    transform: translateY(-2px);
}

.safe-image {
    max-width: 96px;
    max-height: 30px;
    width: auto;
    height: auto;
    display: block;
    opacity: 0.94;
    filter: brightness(1.05);
}

.spes-base-copy {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.spes-base-note {
    font-size: 12px;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 12px;
}

/* App hero + table */
.spes-app-panel {
    display: grid;
    grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    margin: 10px 0 28px;
    padding: clamp(20px, 3.5vw, 28px);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(540px 280px at 0% 0%, rgba(255, 193, 7, 0.24), transparent 55%),
        radial-gradient(500px 300px at 100% 15%, rgba(88, 40, 180, 0.48), transparent 58%),
        radial-gradient(360px 200px at 50% 100%, rgba(70, 228, 176, 0.1), transparent 50%),
        linear-gradient(162deg, rgba(38, 22, 96, 0.97), rgba(10, 6, 32, 0.99));
    border: 2px solid rgba(255, 193, 7, 0.3);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.38),
        0 0 70px rgba(255, 138, 0, 0.1);
    animation: miss-rise 0.5s ease both;
}

.spes-app-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--amber-a), var(--mint), transparent);
    opacity: 0.9;
    pointer-events: none;
}

.spes-app-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 12px;
}

.spes-app-phone {
    width: min(100%, 176px);
    aspect-ratio: 9 / 16;
    border-radius: 32px;
    padding: 10px;
    background: linear-gradient(165deg, #352080, #0e0830);
    border: 2px solid rgba(255, 193, 7, 0.5);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.45),
        0 0 0 5px rgba(255, 255, 255, 0.04),
        0 0 40px rgba(255, 138, 0, 0.15);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transform: rotate(-4deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spes-app-phone::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36%;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 3;
}

.spes-app-phone:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow:
        0 26px 52px rgba(0, 0, 0, 0.5),
        0 0 0 5px rgba(255, 193, 7, 0.15),
        0 0 50px rgba(255, 138, 0, 0.25);
}

.spes-app-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    background: linear-gradient(160deg, rgba(255, 193, 7, 0.15), rgba(88, 40, 180, 0.3));
}

.spes-app-phone-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 193, 7, 0.12), rgba(88, 40, 180, 0.35));
}

.spes-app-phone-fallback svg {
    width: 72%;
    height: auto;
}

.spes-app-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
    z-index: 1;
}

.spes-app-orb-a {
    width: 100px;
    height: 100px;
    top: 8%;
    left: 0;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.5), transparent 70%);
    animation: miss-glow 3s ease-in-out infinite;
}

.spes-app-orb-b {
    width: 80px;
    height: 80px;
    bottom: 8%;
    right: 4%;
    background: radial-gradient(circle, rgba(61, 222, 168, 0.4), transparent 70%);
}

.spes-app-orb-c {
    width: 60px;
    height: 60px;
    top: 50%;
    right: 0;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.35), transparent 70%);
    animation: miss-glow 4s ease-in-out infinite reverse;
}

.app-info-table-wrapper {
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-info-table-container {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(8, 4, 24, 0.65);
    height: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-info-table {
    min-width: 360px;
    width: 100%;
}

.app-info-row {
    transition: background 0.15s ease;
}

.app-info-row:hover {
    background: rgba(255, 193, 7, 0.06);
}

.app-info-row:last-child td {
    border-bottom: 0;
}

.app-info-label-cell {
    padding: 16px 14px;
    text-align: center;
    width: 76px;
    vertical-align: middle;
}

.app-info-label-wrapper {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #1a0f00;
    background: linear-gradient(155deg, var(--amber-a), var(--amber-b));
    box-shadow: 0 6px 16px rgba(255, 138, 0, 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.app-info-row:hover .app-info-label-wrapper {
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(255, 138, 0, 0.4);
}

.app-info-icon {
    width: 22px;
    height: 22px;
}

.app-info-value-cell {
    padding: 16px 18px;
    vertical-align: middle;
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.app-name-with-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-name-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
    border: 1px solid rgba(255, 193, 7, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.app-name-text {
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, #fff, var(--amber-a));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.spes-app-panel .app-download-link {
    min-width: 200px;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 1rem;
    box-shadow: 0 10px 28px rgba(255, 138, 0, 0.38);
}

.spes-app-panel .app-download-link:hover {
    box-shadow: 0 14px 34px rgba(255, 138, 0, 0.5);
}

@media (max-width: 860px) {
    .spes-app-panel {
        grid-template-columns: 1fr;
    }

    .spes-app-visual {
        min-height: 220px;
        order: -1;
    }

    .spes-app-phone {
        width: 140px;
        transform: rotate(0deg);
    }
}

/* 404 */
.spes-stage-inner:has(.spes-lost-panel) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 260px);
    padding-top: 32px;
    padding-bottom: 32px;
}

.spes-lost-panel {
    text-align: center;
    width: min(100%, 520px);
    margin: 0 auto;
    padding: clamp(48px, 10vw, 80px) clamp(24px, 6vw, 44px);
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(360px 200px at 50% -10%, rgba(255, 193, 7, 0.35), transparent 62%),
        linear-gradient(165deg, rgba(42, 24, 110, 0.95), rgba(12, 7, 36, 0.98));
    border: 2px solid rgba(255, 193, 7, 0.35);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(255, 138, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: miss-rise 0.5s ease both;
}

.spes-lost-panel::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(255, 193, 7, 0.06), transparent, rgba(70, 228, 176, 0.05), transparent);
    animation: miss-spin 18s linear infinite;
    pointer-events: none;
}

.spes-lost-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 55%);
    pointer-events: none;
}

.spes-lost-num {
    font-size: clamp(6rem, 22vw, 9rem);
    line-height: 0.85;
    margin: 0 auto 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff5c2 0%, var(--amber-a) 35%, var(--amber-b) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 28px rgba(255, 138, 0, 0.5));
    position: relative;
    z-index: 1;
}

.spes-lost-title {
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    margin: 0 auto 12px;
    max-width: 24ch;
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.spes-lost-text {
    color: rgba(244, 241, 255, 0.72);
    margin: 0 auto 32px;
    max-width: 34ch;
    line-height: 1.55;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.spes-lost-panel .spes-btn-gold {
    position: relative;
    z-index: 1;
    min-width: 220px;
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(255, 138, 0, 0.4);
}

.spes-lost-panel .spes-btn-gold:hover {
    box-shadow: 0 14px 36px rgba(255, 138, 0, 0.55);
}

@keyframes miss-rise {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes miss-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes miss-glow {
    0%, 100% {
        opacity: 0.75;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* Narrow */
@media (max-width: 992px) {
    .spes-crown {
        padding: 10px 14px 10px 56px;
        background: linear-gradient(90deg, #ffffff 0%, #2d1868 48%, #0b022b 100%);
    }

    .spes-crown-row {
        padding-left: 0;
    }

    .spes-rail {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(86vw, 320px);
        overflow-y: auto;
        background: linear-gradient(180deg, var(--panel-soft), var(--ink-2));
        border-right: 1px solid var(--line);
        box-shadow: 8px 0 36px rgba(0, 0, 0, 0.45);
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        z-index: 1200;
        padding: 72px 0 24px;
    }

    .spes-rail.is-open {
        transform: translateX(0);
    }

    .spes-rail-list {
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 14px;
        gap: 6px;
    }

    .spes-rail-link {
        width: 100%;
    }

    .spes-burger {
        display: flex;
        position: fixed;
        left: 12px;
        top: 12px;
        z-index: 1300;
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
        transform: translate3d(0, 0, 0);
        -webkit-font-smoothing: antialiased;
    }

    .spes-shade {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(4, 2, 14, 0.62);
        z-index: 1100;
    }

    .spes-shade:not([hidden]) {
        display: block;
    }

    .spes-stage-inner {
        padding: 14px 12px 32px;
    }

    .spes-hero-card {
        grid-template-columns: 1fr;
    }

    .spes-hero-copy {
        padding: 18px 18px 56px;
    }

    .spes-hero-img {
        aspect-ratio: 1 / 1;
    }

    .spes-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
        gap: 12px;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .spes-actions {
        max-width: none;
        gap: 6px;
    }

    .spes-actions .spes-btn-line,
    .spes-actions .spes-btn-gold {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .site-footer .spes-base-shell {
        padding-bottom: 32px;
    }

    .spes-hero-copy {
        padding-bottom: 64px;
    }

    .spes-hero-cta {
        width: auto;
        max-width: calc(100% - 96px);
    }

    .text-content h1 {
        font-size: 1.55rem;
    }

    .text-content h2 {
        font-size: 1.25rem;
    }

    .text-content h3 {
        font-size: 1.05rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .spes-base-brand {
        grid-column: 1 / -1;
    }

    .spes-base-col {
        padding: 16px 14px;
    }

    .spes-base-pay-chip {
        min-width: 88px;
        height: 48px;
    }

    .section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 560px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .spes-base-cta {
        width: 100%;
    }

    .spes-base-btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 480px) {
    .spes-crown-row {
        gap: 8px;
    }

    .spes-brand-img {
        max-height: 34px;
    }

    .spes-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 4px;
    }

    .spes-actions .spes-btn-line,
    .spes-actions .spes-btn-gold {
        padding: 7px 10px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* FAQ accordion - collapsible rows */
.faq-item-block.is-open .faq-answer-block {
    display: block;
}

.faq-item-block:not(.is-open) .faq-answer-block {
    display: none;
}

.faq-question-block {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
}

.faq-question-block::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--amber-a);
    border-bottom: 2px solid var(--amber-a);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item-block.is-open .faq-question-block::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

