/* ===================== ROOT VARIABLES ===================== */
:root {
    --black: #000000;
    --black-deep: #080808;
    --black-rich: #0f0f0f;
    --black-card: #111111;
    --black-lift: #1a1a1a;

    --gold: #e8c14a;
    --gold-bright: #f5d476;
    --gold-dim: #a88530;
    --gold-subtle: rgba(232, 193, 74, 0.08);
    --gold-border: rgba(232, 193, 74, 0.22);
    --gold-glow: rgba(232, 193, 74, 0.35);

    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-05: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.55);
    --text-muted: rgba(255, 255, 255, 0.25);

    --grad-gold: linear-gradient(135deg, #e8c14a 0%, #f5d476 50%, #c9a22d 100%);
    --grad-gold-h: linear-gradient(90deg, #e8c14a 0%, #f5d476 100%);
    --grad-lightning: linear-gradient(135deg, #e8c14a 0%, #fff8dc 40%, #e8c14a 100%);
    --grad-dark: linear-gradient(180deg, #000 0%, #0f0f0f 100%);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(232, 193, 74, 0.3);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    --font-body: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===================== SCREENS ===================== */
.screen {
    display: none;
    position: relative;
}

.screen.active {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    animation: screenIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes screenIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== LIGHTNING BACKGROUND ===================== */
.landing-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background: var(--black);
}

/* Sharp diagonal lightning streaks — elegant, not AI-blob */
.landing-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 55%;
    height: 140%;
    background: linear-gradient(160deg,
            transparent 0%,
            transparent 38%,
            rgba(232, 193, 74, 0.04) 40%,
            rgba(232, 193, 74, 0.10) 42%,
            rgba(245, 212, 118, 0.06) 44%,
            transparent 46%,
            transparent 56%,
            rgba(232, 193, 74, 0.03) 58%,
            rgba(232, 193, 74, 0.06) 60%,
            transparent 62%);
    transform: skewX(-8deg);
}

.landing-bg::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 50%;
    height: 80%;
    background: linear-gradient(-25deg,
            transparent 0%,
            rgba(232, 193, 74, 0.02) 30%,
            rgba(232, 193, 74, 0.06) 35%,
            transparent 40%);
}

/* ===================== NAVIGATION ===================== */
.nav {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 56px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-subtle);
}

/* ===================== LANDING BODY (two-column) ===================== */
.landing-body {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    min-height: 0;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.3px;
}

.nav-logo span {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-tagline {
    padding: 5px 14px;
    border: 1px solid var(--gold-border);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* ===================== LANDING HERO ===================== */
.landing-hero {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 56px 64px 56px 56px;
    gap: 24px;
    min-width: 0;
}

/* Remove the old decorative rule on hero (now handled differently) */
.landing-hero::after {
    display: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 8px;
    border: 1px solid var(--gold-border);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--gold-subtle);
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(54px, 8vw, 100px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -4px;
    color: var(--white);
}

.gradient-text {
    background: var(--grad-lightning);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-sub {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.platform-previews {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: -8px;
}

.platform-chip {
    padding: 7px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: default;
}

.platform-chip:hover {
    border-color: var(--gold-border);
    color: var(--gold);
}

/* Hero decorative rule */
/* .landing-hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 1px;
    background: var(--grad-gold-h);
} */

/* ===================== LANDING FEATURES (right panel) ===================== */
.landing-features {
    position: relative;
    z-index: 5;
    width: 420px;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    border-left: 1px solid var(--border-subtle);
}

.feature-card {
    padding: 32px 28px;
    border-right: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Remove right border on 2nd column, bottom border on bottom row */
.feature-card:nth-child(2n) {
    border-right: none;
}

.feature-card:nth-child(3),
.feature-card:nth-child(4) {
    border-bottom: none;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--gold-subtle) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.feature-card:hover {
    background: rgba(232, 193, 74, 0.02);
}

.feature-icon {
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.7;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
    color: var(--white);
}

.feature-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature number decorations */
.feature-card:nth-child(1)::after {
    content: '01';
}

.feature-card:nth-child(2)::after {
    content: '02';
}

.feature-card:nth-child(3)::after {
    content: '03';
}

.feature-card:nth-child(4)::after {
    content: '04';
}

.feature-card::after {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-gold);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(232, 193, 74, 0.25);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary>* {
    position: relative;
    z-index: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-large {
    font-size: 15px;
    padding: 18px 40px;
    letter-spacing: 1px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white-90);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 15px 28px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-secondary:hover {
    border-color: var(--gold-border);
    color: var(--gold-bright);
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 10px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-back:hover {
    color: var(--white);
    border-color: var(--white-30);
}

.btn-back-light {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 14px;
}

.btn-back-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===================== SCREEN HEADER ===================== */
.screen-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 56px;
    border-bottom: 1px solid var(--border-subtle);
}

/* ===================== STEP INDICATOR ===================== */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: var(--transition);
    letter-spacing: 0;
}

.step.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.step.done {
    background: var(--gold-subtle);
    border-color: var(--gold-border);
    color: var(--gold);
}

.step-indicator.small .step {
    width: 24px;
    height: 24px;
    font-size: 10px;
}

.step-line {
    width: 36px;
    height: 1px;
    background: var(--border-subtle);
}

.step-line.active {
    background: rgba(232, 193, 74, 0.3);
}

/* ===================== SCREEN CONTENT ===================== */
.screen-content {
    position: relative;
    z-index: 5;
    flex: 1;
    padding: 32px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--white-10) transparent;
}

.screen-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -2px;
    text-align: center;
    line-height: 1.0;
}

.screen-sub {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: -16px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* ===================== FORMAT SCREEN ===================== */
.format-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 1160px;
}

/* ── Card shell ── */
.format-card {
    display: flex;
    flex-direction: column;
    background: var(--black-card);
    border: 2px solid var(--border-subtle);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.18s;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}

.format-card:hover {
    border-color: rgba(232, 193, 74, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.format-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold-dim), 0 12px 36px rgba(232, 193, 74, 0.18);
}

/* "Click to select" cursor pulse ring on hover */
.format-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    border: 2px solid rgba(232, 193, 74, 0.0);
    transition: border-color 0.22s;
    pointer-events: none;
}

.format-card:hover::after {
    border-color: rgba(232, 193, 74, 0.2);
}

.format-card.selected::after {
    border-color: transparent;
}

/* ── Preview area (top) ── */
.format-preview-area {
    position: relative;
    background: #080808;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    min-height: 170px;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.22s;
}

.format-card:hover .format-preview-area {
    background: #0d0d0d;
}

.format-card.selected .format-preview-area {
    background: rgba(232, 193, 74, 0.04);
}

/* ── Illustration shapes ── */
.format-illust {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    gap: 0;
    transition: border-color 0.22s;
}

.format-card.selected .format-illust {
    border-color: rgba(232, 193, 74, 0.5);
}

/* Aspect-ratio shapes */
.illust-square {
    width: 88px;
    aspect-ratio: 1;
}

.illust-portrait {
    width: 80px;
    aspect-ratio: 4/5;
}

.illust-xhs {
    width: 76px;
    aspect-ratio: 3/4;
}

.illust-tiktok {
    width: 54px;
    aspect-ratio: 9/16;
}

/* ── Inner 2×2 grid inside illustration ── */
.fi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    padding: 3px;
    flex: 1;
}

.fi-grid.fi-grid-top {
    flex: none;
    height: 80%;
}

.fi-cell {
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.22s;
}

.format-card.selected .fi-cell {
    background: rgba(232, 193, 74, 0.38);
}

.format-card:hover .fi-cell {
    background: rgba(255, 255, 255, 0.18);
}

.format-card.selected:hover .fi-cell {
    background: rgba(232, 193, 74, 0.48);
}

/* ── Platform-specific extra bars ── */
.fi-caption-bar {
    height: 20%;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.fi-header-bar {
    height: 18%;
    background: rgba(220, 50, 50, 0.18);
    border-bottom: 1px solid rgba(220, 50, 50, 0.25);
    flex-shrink: 0;
}

.fi-tiktok-top,
.fi-tiktok-bottom {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
}

.fi-tiktok-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fi-tiktok-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Selected checkmark badge (top-right of preview) ── */
.format-check-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.3) rotate(-90deg);
    transition: opacity 0.2s, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 12px rgba(232, 193, 74, 0.6);
}

.format-card.selected .format-check-badge {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ── Card info section (bottom) ── */
.format-card-info {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.platform-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: -0.4px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    transition: var(--transition);
}

.platform-name span {
    font-size: 1.1em;
}

.format-type {
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.format-size {
    font-size: 10px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.format-desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 4px;
}

.format-card.selected .format-card-info h3 {
    color: var(--gold-bright);
}

/* ── CTA beneath grid ── */
.format-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.selected-count {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ===================== FILTER SCREEN ===================== */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    width: 100%;
    max-width: 720px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.filter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: var(--transition);
    background: var(--black);
}

.filter-card span {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 6px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition);
    width: 100%;
    background: var(--black);
}

.filter-card.selected span {
    color: var(--gold);
    background: var(--gold-subtle);
}

.filter-card.selected .filter-preview {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.filter-preview {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    font-family: var(--font-display);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.filter-none {
    background: #1a1a1a;
    color: #e0e0e0;
}

.filter-vivid {
    background: linear-gradient(135deg, #ff2057, #ffd700);
    color: white;
}

.filter-vintage {
    background: linear-gradient(135deg, #c9a96e, #7a4f2d);
    color: #f5e6c8;
}

.filter-bw {
    background: linear-gradient(135deg, #111, #777);
    color: white;
}

.filter-cool {
    background: linear-gradient(135deg, #0a3080, #00c9ff);
    color: white;
}

.filter-warm {
    background: linear-gradient(135deg, #cc4400, #ffaa00);
    color: white;
}

.filter-neon {
    background: linear-gradient(135deg, #050510, #7b00ff);
    color: #00ffdd;
    text-shadow: 0 0 10px #00ffdd;
}

.filter-dreamy {
    background: linear-gradient(135deg, #e8b4d0, #b4c8e8);
    color: white;
}

.filter-cinema {
    background: linear-gradient(135deg, #100800, #3a1800);
    color: #e8c090;
}

.filter-golden {
    background: linear-gradient(135deg, #c87000, #ffcc00);
    color: white;
}

.filter-fade {
    background: linear-gradient(135deg, #9a9090, #c8c0b8);
    color: #504848;
}

.filter-pop {
    background: linear-gradient(135deg, #cc0077, #ffee00);
    color: #000;
}

/* ===================== CUSTOMIZE OPTIONS ===================== */
.customize-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 720px;
    margin-top: 8px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-group label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.option-hint {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 10px;
}

.border-options,
.timer-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.border-opt,
.timer-opt {
    padding: 7px 14px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 3px;
}

.border-opt:hover,
.timer-opt:hover {
    border-color: var(--white-30);
    color: var(--text-primary);
}

.border-opt.selected,
.timer-opt.selected {
    background: var(--gold-subtle);
    border-color: var(--gold-border);
    color: var(--gold);
}

.caption-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    width: 100%;
    transition: var(--transition);
    border-radius: 0;
}

.caption-input:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

.caption-input::placeholder {
    color: var(--text-muted);
}

/* ===================== CAMERA SCREEN ===================== */
#screen-camera {
    flex-direction: row;
    background: var(--black);
}

.camera-layout {
    display: flex;
    width: 100%;
    height: 100vh;
}

.camera-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    background: var(--black);
}

.camera-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px;
}

.camera-progress-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.camera-viewport-wrap {
    flex: 1;
    position: relative;
    background: #000;
    overflow: hidden;
}

.camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    display: block;
}

.filter-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
}

.countdown-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-number {
    font-family: var(--font-display);
    font-size: 160px;
    font-weight: 900;
    color: white;
    background: var(--grad-lightning);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countdown-pop 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes countdown-pop {
    0% {
        transform: scale(1.8);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.flash-overlay {
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.05s;
}

.flash-overlay.flash {
    opacity: 1;
}

/* Camera corners — sharp engineered look */
.camera-frame-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.frame-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: rgba(232, 193, 74, 0.7);
    border-style: solid;
}

.frame-corner.tl {
    top: 16px;
    left: 16px;
    border-width: 1px 0 0 1px;
}

.frame-corner.tr {
    top: 16px;
    right: 16px;
    border-width: 1px 1px 0 0;
}

.frame-corner.bl {
    bottom: 16px;
    left: 16px;
    border-width: 0 0 1px 1px;
}

.frame-corner.br {
    bottom: 16px;
    right: 16px;
    border-width: 0 1px 1px 0;
}

.camera-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px;
}

.photos-taken-dots {
    display: flex;
    gap: 10px;
}

.photo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    transition: var(--transition);
}

.photo-dot.taken {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(232, 193, 74, 0.6);
}

.shutter-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.shutter-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shutter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}

.shutter-btn:active {
    transform: scale(0.95);
}

.shutter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.shutter-inner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0, #d8d8d8);
}

/* ===================== CAMERA PANEL ===================== */
.camera-right {
    width: 188px;
    background: var(--black-card);
    border-left: 1px solid var(--border-subtle);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.strip-title {
    font-size: 9px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.live-strip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.strip-slot {
    flex: 1;
    min-height: 72px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--black);
    position: relative;
    transition: var(--transition);
}

.slot-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
}

.slot-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    position: absolute;
    inset: 0;
}

.strip-slot.taken {
    border-color: rgba(232, 193, 74, 0.3);
}

.strip-slot.taken .slot-thumb {
    display: block;
}

.strip-slot.taking {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold-dim);
}

.filter-badge {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 7px 10px;
    border: 1px solid var(--border-subtle);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===================== RESULT SCREEN ===================== */
.result-content {
    position: relative;
    z-index: 5;
    flex: 1;
    padding: 0 56px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.result-tabs {
    display: flex;
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
}

.result-tab {
    padding: 12px 24px;
    background: var(--black);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-tab:hover {
    color: var(--text-primary);
    background: var(--black-card);
}

.result-tab.active {
    background: var(--gold-subtle);
    color: var(--gold);
}

.result-canvas-wrap {
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 52vh;
    overflow: hidden;
}

.result-canvas {
    max-width: 100%;
    max-height: 48vh;
    display: block;
}

.result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn-download {
    padding: 16px 36px;
    font-size: 13px;
}

/* ===================== LOADING ===================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.loading-overlay p {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
    width: 4px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 193, 74, 0.3);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
    .nav {
        padding: 20px 32px;
    }

    .landing-features {
        width: 360px;
    }

    .landing-hero {
        padding: 40px 40px 40px 32px;
    }

    .hero-title {
        font-size: clamp(44px, 6vw, 72px);
        letter-spacing: -3px;
    }

    .screen-header {
        padding: 20px 32px;
    }

    .screen-content {
        padding: 40px 32px;
    }

    .filter-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .customize-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .format-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .format-preview-area {
        min-height: 140px;
        padding: 20px 16px;
    }

    .illust-square {
        width: 72px;
    }

    .illust-portrait {
        width: 64px;
    }

    .illust-xhs {
        width: 60px;
    }

    .illust-tiktok {
        width: 44px;
    }

    .format-card-info {
        padding: 12px 14px;
    }

    .format-card-info h3 {
        font-size: 14px;
    }

    .format-desc {
        font-size: 10px;
    }
}

@media (max-width: 860px) {

    /* Stack landing to vertical on narrow screens */
    .landing-body {
        flex-direction: column;
    }

    .center-light {
        display: none;
    }

    .landing-hero {
        flex: none;
        padding: 40px 24px 28px;
        justify-content: flex-start;
        gap: 18px;
    }

    .landing-features {
        width: 100%;
        flex-shrink: 0;
        border-left: none;
        border-top: 1px solid var(--border-subtle);
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        height: 130px;
    }

    .feature-card {
        border-right: 1px solid var(--border-subtle);
        border-bottom: none;
        padding: 18px 16px;
    }

    .feature-card:nth-child(2n) {
        border-right: 1px solid var(--border-subtle);
    }

    .feature-card:last-child {
        border-right: none;
    }

    .hero-title {
        font-size: clamp(36px, 8vw, 56px);
        letter-spacing: -2px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .format-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .format-preview-area {
        min-height: 120px;
        padding: 16px 12px;
    }

    .illust-square {
        width: 60px;
    }

    .illust-portrait {
        width: 54px;
    }

    .illust-xhs {
        width: 50px;
    }

    .illust-tiktok {
        width: 36px;
    }

    .format-card-info {
        padding: 10px 12px;
    }

    .format-card h3 {
        font-size: 13px;
    }

    .format-size {
        font-size: 9px;
    }

    .filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .camera-right {
        display: none;
    }

    .result-tabs {
        flex-wrap: wrap;
    }
}

/* ============ MOBILE (portrait phones) ============ */
@media (max-width: 560px) {
    body {
        font-size: 14px;
    }

    /* Nav */
    .nav {
        padding: 14px 20px;
    }

    .nav-logo {
        font-size: 17px;
    }

    .nav-tagline {
        font-size: 9px;
        padding: 4px 10px;
        letter-spacing: 1.5px;
    }

    /* Landing hero — compact so 2x2 feature grid fits below */
    .landing-hero {
        padding: 24px 20px 16px;
        gap: 12px;
    }

    .hero-badge {
        font-size: 9px;
        letter-spacing: 1.2px;
        padding: 5px 12px 5px 6px;
    }

    .hero-title {
        font-size: clamp(30px, 10vw, 44px);
        letter-spacing: -1.5px;
    }

    .hero-sub {
        font-size: 12px;
        line-height: 1.55;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .btn-large {
        font-size: 12px;
        padding: 12px 22px;
    }

    .platform-previews {
        gap: 5px;
    }

    .platform-chip {
        font-size: 10px;
        padding: 4px 10px;
    }

    /* Landing features — 2x2 compact grid, fills remaining space */
    .landing-features {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        height: auto;
        flex: 1;
        min-height: 0;
        flex-shrink: 0;
    }

    .feature-card {
        padding: 14px 12px;
        border-right: 1px solid var(--border-subtle);
        border-bottom: 1px solid var(--border-subtle);
        justify-content: flex-start;
    }

    .feature-card:nth-child(2n) {
        border-right: none;
    }

    .feature-card:nth-child(3),
    .feature-card:nth-child(4) {
        border-bottom: none;
    }

    .feature-card h3 {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .feature-card p {
        font-size: 10px;
        line-height: 1.4;
    }

    .feature-icon {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .feature-card::after {
        font-size: 9px;
        top: 10px;
        right: 12px;
    }

    /* Screen headers */
    .screen-header {
        padding: 14px 20px;
    }

    .step {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }

    .step-line {
        width: 20px;
    }

    .btn-back {
        font-size: 11px;
        padding: 8px 12px;
    }

    /* Format screen */
    .screen-content {
        padding: 24px 20px;
        gap: 20px;
    }

    .screen-title {
        font-size: clamp(22px, 7vw, 32px);
        letter-spacing: -1px;
    }

    .screen-sub {
        font-size: 12px;
        margin-top: -14px;
    }

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

    .format-card {
        padding: 16px 14px;
    }

    .format-card h3 {
        font-size: 13px;
    }

    .format-desc {
        font-size: 11px;
    }

    .format-layout-preview {
        display: none;
    }

    .format-preview-area {
        min-height: 100px;
        padding: 12px 10px;
    }

    .illust-square {
        width: 52px;
    }

    .illust-portrait {
        width: 48px;
    }

    .illust-xhs {
        width: 44px;
    }

    .illust-tiktok {
        width: 32px;
    }

    .format-card-info {
        padding: 8px 10px;
    }

    .format-card h3 {
        font-size: 12px;
    }

    .format-size {
        font-size: 8px;
    }

    .format-desc {
        display: none;
    }

    /* Filter screen */
    .filter-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1px;
    }

    .filter-card span {
        font-size: 9px;
        padding: 6px 0;
        letter-spacing: 0.3px;
    }

    .customize-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .option-group label {
        font-size: 9px;
    }

    .border-opt,
    .timer-opt {
        font-size: 10px;
        padding: 6px 10px;
    }

    .caption-input {
        font-size: 13px;
    }

    /* Camera */
    .camera-left {
        padding: 10px;
        gap: 8px;
    }

    .camera-progress-label {
        font-size: 9px;
    }

    .shutter-btn {
        width: 56px;
        height: 56px;
    }

    .shutter-inner {
        width: 42px;
        height: 42px;
    }

    .photo-dot {
        width: 8px;
        height: 8px;
    }

    /* Result */
    .result-content {
        padding: 0 16px 24px;
        gap: 14px;
    }

    .result-tab {
        padding: 10px 14px;
        font-size: 10px;
    }

    .result-canvas-wrap {
        padding: 10px;
    }

    .result-canvas {
        max-height: 38vh;
    }

    .btn-download {
        padding: 13px 22px;
        font-size: 12px;
    }

    .btn-secondary {
        padding: 12px 18px;
        font-size: 11px;
    }
}

/* ============ TINY (iPhone SE / narrow) ============ */
@media (max-width: 375px) {
    .hero-title {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* ============================================================
   LIGHT BEAM ANIMATION
   A growing vertical beam of light at the hero/features split.
   ============================================================ */
.center-light {
    position: absolute;
    /* Positioned at the left border of the features panel (420px from right) */
    right: 420px;
    top: 0;
    bottom: 0;
    width: 0;
    z-index: 20;
    pointer-events: none;
    /* Only visible on desktop two-column layout */
    display: block;
}

/* The glowing vertical beam */
.light-beam {
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(232, 193, 74, 0.5) 20%,
            rgba(255, 248, 210, 1) 50%,
            rgba(232, 193, 74, 0.5) 80%,
            transparent 100%);
    box-shadow:
        0 0 6px 1px rgba(255, 248, 210, 0.9),
        0 0 20px 4px rgba(232, 193, 74, 0.5),
        0 0 60px 12px rgba(232, 193, 74, 0.2);
    animation: beam-grow 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: center;
}

/* The expanding radial glow at vertical midpoint */
.light-orb {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 248, 210, 0.18) 0%,
            rgba(232, 193, 74, 0.10) 25%,
            rgba(232, 193, 74, 0.04) 55%,
            transparent 70%);
    animation: orb-pulse 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes beam-grow {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }

    15% {
        opacity: 0.3;
    }

    35% {
        opacity: 1;
        transform: scaleY(1);
    }

    60% {
        opacity: 0.85;
    }

    85% {
        opacity: 0.4;
        transform: scaleY(0.95);
    }

    100% {
        opacity: 0;
        transform: scaleY(0);
    }
}

@keyframes orb-pulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2);
    }

    20% {
        opacity: 0.6;
    }

    45% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    70% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.6);
    }
}

/* ===================== MODALS ===================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-card {
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    position: relative;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

.modal-sub {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

.btn-google {
    width: 100%;
    height: 52px;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 24px;
    transition: transform 0.2s;
}

.btn-google:active {
    transform: scale(0.98);
}

.modal-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 24px;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.modal-card input {
    width: 100%;
    height: 52px;
    background: var(--black-lift);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0 16px;
    color: white;
    font-family: var(--font-body);
    margin-bottom: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin-top: 4px;
}

.design-item {
    background: var(--black-lift);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.design-item i,
.design-item span {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    pointer-events: none;
}

.design-preview {
    width: 100%;
    aspect-ratio: 3/4;
    background: #2a2a3a;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

.design-preview.masonry::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.design-preview.polaroid::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.design-preview.strip::before {
    content: "---";
    position: absolute;
    left: 2px;
    top: 0;
    bottom: 0;
    writing-mode: vertical-lr;
    color: rgba(255, 255, 255, 0.1);
    font-size: 6px;
}

.design-preview.stack::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(255, 255, 255, 0.05) 10px, rgba(255, 255, 255, 0.05) 12px);
}

.design-preview.street::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: rotate(-10deg) scale(1.5);
    background: rgba(255, 255, 255, 0.05);
}

.design-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.design-item.active {
    border-color: var(--gold-border);
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold-bright);
}

.design-item.active .design-preview {
    background: var(--gold-border);
    opacity: 0.3;
}

.color-picker-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--black-lift);
    border: 1px solid var(--border-subtle);
    padding: 0 16px;
    height: 52px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.color-picker-wrap:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

/* Override global modal input styles for the inner color input */
.color-picker-wrap input[type="color"] {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    width: 28px !important;
    height: 28px !important;
    cursor: pointer;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
}

.color-picker-wrap input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-wrap input[type="color"]::-webkit-color-swatch {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.color-value {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.file-upload-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--black-lift);
    border: 1px solid var(--border-subtle);
    padding: 0 8px 0 16px;
    height: 52px;
    border-radius: var(--radius-md);
}

.file-name-hint {
    font-size: 10px;
    color: var(--text-muted);
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.btn-small {
    padding: 8px 12px;
    font-size: 11px;
    height: 36px !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===================== PREMIUM CONTROLS ===================== */
.segmented-control {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--black-lift);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 4px;
    height: 52px;
}

.segmented-control button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 14px;
    border-radius: calc(var(--radius-md) - 4px);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.segmented-control button:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.segmented-control button.active {
    background: var(--grad-gold);
    color: var(--black);
    box-shadow: 0 4px 12px rgba(232, 193, 74, 0.2);
}

.toggle-switch-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 52px;
    cursor: pointer;
    user-select: none;
}

.toggle-switch {
    width: 52px;
    height: 28px;
    background: var(--black-lift);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    position: relative;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: var(--gold);
    border-color: var(--gold);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toggle-switch.active .toggle-knob {
    transform: translateX(24px);
    background: var(--black);
}

.toggle-text-wrap {
    display: flex;
    flex-direction: column;
}

.toggle-hint {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 400;
}

.w-full {
    width: 100%;
}

/* ===================== SHARING & RESULTS ===================== */
.result-actions {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.action-main {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.share-section {
    text-align: center;
}

.share-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    font-weight: 700;
}

.share-options {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-share {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--black-lift);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-share:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

.btn-share.wa:hover {
    background: #25D366;
    border-color: #25D366;
}

.btn-share.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.btn-share.copy:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.result-footer-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.btn-ghost.danger {
    color: #ff5252;
}

.btn-ghost.danger:hover {
    background: rgba(255, 82, 82, 0.1);
}

/* ===================== POLAROID ILLUSTRATION ===================== */
.illust-polaroid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fi-polaroid-frame {
    width: 60px;
    height: 75px;
    background: white;
    padding: 6px;
    padding-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.fi-polaroid-frame .fi-photo {
    flex: 1;
    background: #e0e0e0;
}

.fi-polaroid-frame .fi-bottom-bar {
    height: 4px;
    width: 20px;
    background: #eee;
    margin-top: 4px;
    border-radius: 2px;
}

/* ===================== EVENT VIEW ===================== */
#screen-event.active {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.event-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) saturate(1.2);
    transition: background-image 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.event-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--gold-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.event-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 60px 40px;
    align-items: center;
    justify-content: center;
}

.event-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px 80px;
    width: 100%;
    max-width: 680px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.event-info {
    margin-bottom: 48px;
}

.event-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.event-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 950;
    letter-spacing: -2px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.event-divider {
    width: 60px;
    height: 4px;
    background: var(--grad-gold);
    margin: 32px auto 0;
    border-radius: var(--radius-pill);
}

.event-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.event-tap-hint {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.6;
    animation: hint-fade 2s infinite;
}

@keyframes hint-fade {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 0.7;
        transform: translateY(4px);
    }
}

.event-footer {
    position: absolute;
    bottom: 48px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.global-footer {
    position: fixed;
    bottom: 16px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 9999;
    pointer-events: none;
}

.global-footer a {
    color: var(--gold);
    text-decoration: none;
    pointer-events: auto;
    font-weight: 600;
    transition: var(--transition);
}

.global-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.event-footer .dot {
    width: 4px;
    height: 4px;
    background: var(--border-subtle);
    border-radius: 50%;
}

.btn-glow {
    height: 72px;
    padding: 0 48px;
    font-size: 18px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(232, 193, 74, 0.25);
    background: var(--grad-gold);
    border: none;
    color: var(--black);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glow:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 60px rgba(232, 193, 74, 0.4);
}

.btn-glow:active {
    transform: translateY(0) scale(0.98);
}

.event-footer-restart {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
}

.btn-restart {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.btn-restart i {
    font-size: 0.75rem;
}

.btn-restart:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

/* ===================== CONFIGURE PHOTOBOOK MODAL ===================== */

/* Wider card to accommodate split layout in step 2 */
.modal-settings-split {
    max-width: 800px;
    width: 95%;
}

/* Step 1: Constrain content width and center it */
#settings-step-1 {
    max-width: 400px;
    margin: 0 auto;
}

/* Step indicator dots */
.modal-step-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

.modal-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-subtle);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-step-dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 4px;
}

/* Photos per session — fit to exactly 3 icon buttons */
.photo-count-control {
    display: inline-grid !important;
    grid-template-columns: repeat(3, 80px);
    width: auto !important;
}

/* ── Split layout (step 2) ── */
.split-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.split-controls {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    max-height: 58vh;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-subtle) transparent;
}

.split-controls::-webkit-scrollbar {
    width: 4px;
}

.split-controls::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 2px;
}

.split-preview-wrap {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
}

.preview-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.live-preview-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #1e1b4b;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-subtle);
    aspect-ratio: 3 / 4;
    position: relative;
    /* required: .mpv children are absolute */
}

.preview-inner {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.preview-caption {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

/* ══════════════════════════════════════════
   MINI DESIGN PREVIEWS  (.mpv-*)
   Accurate CSS replicas of each template
   ══════════════════════════════════════════ */

/* Base wrapper — fills the preview-inner absolutely */
.mpv {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Shared photo-cell placeholder */
.mpv-cell {
    border-radius: 2px;
    background: rgba(160, 140, 100, 0.35);
}

/* Footer text bar (event name / watermark area) */
.mpv-footer-bar {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0 0 2px 2px;
}

.mpv-footer-light {
    background: rgba(0, 0, 0, 0.05);
}

/* ── 1. VIRAL COLLAGE ──────────────────────── */
/* Masonry: top-left large | top-right tall | bottom-left wide | footer */
.mpv-collage {
    display: grid;
    grid-template-columns: 58% 1fr;
    grid-template-rows: 50% 1fr 14%;
    gap: 3px;
    padding: 6px 6px 0;
    box-sizing: border-box;
}

.mpv-c-tl {
    grid-column: 1;
    grid-row: 1;
}

.mpv-c-tr {
    grid-column: 2;
    grid-row: 1 / 3;
}

/* spans top + mid rows → taller */
.mpv-c-bl {
    grid-column: 1;
    grid-row: 2;
}

.mpv-collage .mpv-footer-bar {
    grid-column: 1 / 3;
    grid-row: 3;
}

/* ── 2. CLASSIC POLAROID ───────────────────── */
/* Off-white bg, 2×2 polaroid frames with thick bottom mat, footer */
.mpv-polaroid {
    display: flex;
    flex-direction: column;
    background: #f0ede8;
    padding: 6px 6px 0;
    gap: 4px;
    box-sizing: border-box;
}

.mpv-pol-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5px;
}

.mpv-pframe {
    background: #ffffff;
    padding: 4px 4px 13px;
    /* thick bottom = polaroid mat */
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}

.mpv-pphoto {
    flex: 1;
    background: #c8c0b0;
    border-radius: 1px;
}

.mpv-polaroid .mpv-footer-bar {
    height: 14%;
    flex-shrink: 0;
    border-radius: 0;
    background: #f0ede8;
}

/* ── 3. CINEMA STRIP ───────────────────────── */
/* Near-black bg, sprocket holes left+right, 3 horizontal photo strips */
.mpv-cinema {
    display: flex;
    flex-direction: row;
    background: #080808;
    align-items: stretch;
}

.mpv-sprocket {
    width: 13px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 6px 2px;
    background: #111;
}

.mpv-sprocket span {
    display: block;
    height: 9px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 1px;
}

.mpv-strips {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px 4px;
}

.mpv-cs {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
}

/* ── 4. POKEMON STACK ──────────────────────── */
/* White bg, 3 full-width horizontal strips stacked, footer */
.mpv-stack {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 8px 8px 0;
    gap: 5px;
    box-sizing: border-box;
}

.mpv-sk {
    flex: 1;
    background: rgba(0, 0, 0, 0.14);
    border-radius: 2px;
}

.mpv-stack .mpv-footer-bar {
    height: 14%;
    flex-shrink: 0;
    border-radius: 0;
    background: #f0f0f0;
}

/* ── 5. STREET VIBE ────────────────────────── */
/* Cream bg, 3 slightly-rotated strips with thick black border, watermark */
.mpv-street {
    background: #f2ece4;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.mpv-sv-watermark {
    position: absolute;
    bottom: 8px;
    left: -4px;
    font-size: 14px;
    font-weight: 900;
    font-family: var(--font-display);
    color: rgba(212, 175, 55, 0.22);
    letter-spacing: 2px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.mpv-sv-strip {
    height: 0;
    flex: 1;
    width: 88%;
    align-self: center;
    background: rgba(0, 0, 0, 0.16);
    border: 2px solid #111;
    border-radius: 1px;
    transform-origin: center;
}

/* Design grid: 3-column layout on step 2 (3 templates) */
.settings-step .design-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Font Style selector ── */
.font-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.font-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--black-lift);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 8px 4px 6px;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.font-item:hover {
    border-color: var(--gold-dim);
    background: var(--black-card);
}

.font-item.active {
    border-color: var(--gold);
    background: var(--gold-subtle);
}

.font-preview {
    font-size: 22px;
    line-height: 1;
    color: var(--text-primary);
}

.font-item span {
    font-size: 9px;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.font-item.active span {
    color: var(--gold);
}

/* ── Modal responsive ── */
@media (max-width: 760px) {
    .modal-settings-split {
        max-width: calc(100vw - 32px);
        padding: 32px 24px;
    }
}

@media (max-width: 560px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal-settings-split {
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        overflow-y: auto;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: 24px 18px 32px;
    }

    #settings-step-1 {
        max-width: 100%;
    }

    /* Step 2: stack controls above preview */
    .split-layout {
        flex-direction: column;
    }

    .split-preview-wrap {
        width: 100%;
        order: -1;
    }

    .live-preview-box {
        aspect-ratio: 3 / 2;
        max-height: 160px;
    }

    .split-controls {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    /* Design grid: 3 columns on mobile */
    .settings-step .design-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .design-item span {
        font-size: 8px;
    }

    /* Photo count buttons slightly smaller */
    .photo-count-control {
        grid-template-columns: repeat(3, 68px);
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-sub {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

/* ══════════════════════════════════════════
   DESIGN-ITEM — remove hover lift/transform
   ══════════════════════════════════════════ */
.design-item:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: none;
}


/* ══════════════════════════════════════════
   STEP 3 — Auth styles
   ══════════════════════════════════════════ */

/* Auth tabs */
.auth-tabs {
    display: flex;
    gap: 0;
    background: var(--black-lift);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3px;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 9px 16px;
    border-radius: calc(var(--radius-md) - 3px);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.auth-tab.active {
    background: var(--black-card);
    color: var(--white);
}

/* Google button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: var(--white);
    color: #1f1f1f;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, box-shadow .15s;
    margin-bottom: 16px;
}

.btn-google:hover {
    opacity: .92;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

/* Auth error message */
.auth-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 13px;
    margin-top: 4px;
}

/* ══════════════════════════════════════════
   SUCCESS MODAL — QR Code + URL
   ══════════════════════════════════════════ */
.success-modal {
    max-width: 420px;
    width: 95%;
    text-align: center;
}

.success-qr-wrap {
    display: flex;
    justify-content: center;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 12px;
    width: fit-content;
}

.success-qr-img {
    width: 200px;
    height: 200px;
    display: block;
    border-radius: var(--radius-sm);
}

.success-url-wrap {
    margin-bottom: 4px;
}

.success-url-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.success-url-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--black-lift);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 14px;
}

.success-url-text {
    flex: 1;
    font-size: 12px;
    color: var(--gold);
    word-break: break-all;
    text-align: left;
}

.btn-copy {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    transition: color .15s;
    flex-shrink: 0;
}

.btn-copy:hover { color: var(--white); }

/* Save to gallery button */
.btn-save-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(232, 193, 74, 0.1);
    border: 1.5px solid var(--gold-border);
    border-radius: var(--radius-md);
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    cursor: pointer;
    transition: background .15s;
}

.btn-save-gallery:hover { background: rgba(232, 193, 74, 0.18); }