/* ===== HERMÊS STYLES ===== */
/* Brand: Deep Emerald #1B3A3A | Classic Amber #D4941E | Messenger White #F5F5F5 */
/* Typography: Cinzel + Montserrat */
/* Amber accent: #D4941E */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Palette */
    --deep-navy: #1B3A3A;
    --classic-gold: #D4941E;
    --victory-white: #F5F5F5;

    /* Extended Palette */
    --midnight-navy: #0D2F1F;
    --pale-gold: #E8D5A3;
    --silver-wing: #C0C0C0;
    --navy-bright: #2A6A4E;
    --gold-bright: #F0C058;
    --gold-dim: #B8780C;

    /* Surface Colors */
    --bg-primary: #0a1f15;
    --bg-secondary: #0e1a1a;
    --bg-card: rgba(14, 26, 20, 0.8);
    --bg-nav: rgba(10, 18, 15, 0.95);

    /* Text Colors */
    --text-primary: #E8E8E8;
    --text-secondary: #A0AAB5;
    --text-muted: #5A6A7A;
    --text-gold: #D4941E;

    /* Gradients */
    --gradient-hero: linear-gradient(180deg, rgba(10,18,15,0.3) 0%, rgba(10,18,15,0.95) 100%);
    --gradient-card: linear-gradient(135deg, rgba(14,26,20,0.85), rgba(8,15,10,0.92));
    --gradient-gold: linear-gradient(135deg, var(--classic-gold), var(--gold-bright));
    --gradient-navy: linear-gradient(180deg, rgba(27,90,58,0.08) 0%, transparent 100%);

    /* Shadows */
    --shadow-gold: 0 0 30px rgba(212, 148, 30, 0.15);
    --shadow-navy: 0 0 40px rgba(27, 90, 58, 0.15);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.4);

    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-greek: 'Georgia', 'Times New Roman', serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

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

/* ===== CANVAS ===== */
#messenger-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== NAVIGATION ===== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212,148,30,0.1);
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo-img {
    height: 128px;
    width: auto;
    margin-top: 8px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-lg);
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--classic-gold);
    margin-bottom: var(--space-sm);
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.title-greek {
    font-family: var(--font-greek);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    color: var(--text-primary);
    text-shadow: 0 0 60px rgba(212,148,30,0.2);
    line-height: 1.1;
}

.title-divider {
    display: block;
    width: 80px;
    height: 2px;
    background: var(--gradient-gold);
    margin: var(--space-xs) 0;
}

.title-trans {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--text-gold);
    letter-spacing: 0.06em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-md);
}

.hero-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(212,148,30,0.1);
    border: 1px solid rgba(212,148,30,0.2);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--classic-gold);
}

.meta-domain {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(212,148,30,0.08);
    border: 1px solid rgba(212,148,30,0.18);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-gold);
}

.meta-domain-alt {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(192,192,192,0.06);
    border: 1px solid rgba(192,192,192,0.15);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--silver-wing);
}

.tier-bridge {
    display: flex;
    align-items: center;
    gap: 0;
}

.tier-connector {
    width: 20px;
    height: 2px;
    background: var(--classic-gold);
    position: relative;
    opacity: 0.5;
}

.tier-connector::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid var(--classic-gold);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.meta-badge.tier-1 {
    border-radius: 100px 0 0 100px;
    border-right: none;
}

.meta-badge.tier-2 {
    border-radius: 0 100px 100px 0;
    border-left: none;
    background: rgba(212,148,30,0.04);
    border-color: rgba(212,148,30,0.15);
    color: var(--text-secondary);
}

.domain-bridge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.domain-connector {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--gradient-gold);
    color: #1a1500;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212,148,30,0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212,148,30,0.35);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translate(3px, -3px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-gold);
    border: 1px solid rgba(212,148,30,0.35);
    box-shadow: none;
}

.btn-ghost:hover {
    background: rgba(212,148,30,0.08);
    box-shadow: 0 4px 20px rgba(212,148,30,0.12);
}

.hero-mascot {
    position: relative;
    display: flex;
    align-items: center;
}

.mascot-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(212,148,30,0.15)) drop-shadow(0 20px 60px rgba(0,0,0,0.5));
    transition: transform 0.6s ease;
}

.mascot-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse at center, rgba(27,58,36,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--classic-gold);
    opacity: 0.4;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(0.8); }
    50% { opacity: 0.5; transform: scaleY(1); }
}

/* ===== SECTIONS ===== */
.section {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-gold);
    margin-bottom: var(--space-xs);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.section-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-navy);
    pointer-events: none;
    z-index: -1;
}

/* ===== THE NAME SECTION ===== */
.section-name {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(212,148,30,0.08);
    border-bottom: 1px solid rgba(212,148,30,0.08);
}

.name-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.name-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.name-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.name-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-gold);
    border-color: rgba(212,148,30,0.2);
}

.name-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    background: rgba(212,148,30,0.06);
    border: 1px solid rgba(212,148,30,0.12);
    border-radius: 12px;
    margin-bottom: var(--space-sm);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-greek, .card-ascii, .card-unicode, .card-unicode-alt {
    font-family: var(--font-greek);
    font-size: 1.5rem;
    color: var(--text-gold);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.04em;
}

.card-ascii {
    color: var(--text-muted);
    font-family: var(--font-display);
    letter-spacing: 0.15em;
}

.card-unicode {
    color: var(--classic-gold);
}

.card-unicode-alt {
    color: var(--silver-wing);
    font-size: 1.2rem;
    margin-top: -0.5rem;
}

.card-body {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.card-body em {
    color: var(--text-gold);
    font-style: italic;
}

/* Punycode Explainer */
.punycode-explainer {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.12);
    border-radius: 12px;
    padding: var(--space-md);
    text-align: center;
}

.explainer-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-gold);
    margin-bottom: var(--space-sm);
}

.explainer-box {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: var(--space-md);
    border: 1px solid rgba(212,148,30,0.08);
    overflow-wrap: break-word;
}

.explainer-box.dual-box {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.explainer-code {
    display: block;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 1.1rem;
    color: var(--classic-gold);
    word-break: break-all;
}

.explainer-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

.explainer-note strong {
    color: var(--text-gold);
}

/* ===== PRONUNCIATION SECTION ===== */
.section-pronunciation {
    background: var(--bg-primary);
}

.pronunciation-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-lg);
    align-items: start;
}

.pronunciation-main {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-lg);
}

.ipa-display {
    text-align: center;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(212,148,30,0.1);
    margin-bottom: var(--space-md);
}

.ipa-text {
    display: block;
    font-family: 'Consolas', monospace;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.ipa-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.pronunciation-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.phoneme {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.phoneme-symbol {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--classic-gold);
    min-width: 60px;
}

.phoneme-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.phoneme-desc em {
    color: var(--text-gold);
    font-style: italic;
}

.phoneme-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Sidebar */
.pronunciation-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sidebar-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-md);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    border-color: rgba(212,148,30,0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gold);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.04em;
}

.sidebar-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sidebar-text em {
    color: var(--text-gold);
    font-style: italic;
}

.sidebar-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.sidebar-divider {
    height: 1px;
    background: rgba(212,148,30,0.1);
    margin: var(--space-sm) 0;
}

.kin-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kin-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    position: relative;
}

.kin-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-gold);
    font-size: 0.7rem;
}

.kin-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.accent-card {
    border-color: rgba(212,148,30,0.15);
    background: linear-gradient(135deg, rgba(14,26,20,0.85), rgba(12,20,15,0.9));
}

/* ===== THE VICTORY SECTION ===== */
.section-victory {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(212,148,30,0.06);
}

.victory-intro {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-weight: 300;
}

.lead-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.lead-text em {
    color: var(--text-gold);
    font-style: italic;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.domain-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-md);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.domain-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card), var(--shadow-gold);
    border-color: rgba(212,148,30,0.2);
}

.domain-card:hover::before {
    transform: scaleX(1);
}

.domain-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    background: rgba(212,148,30,0.06);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 16px;
}

.domain-icon svg {
    width: 36px;
    height: 36px;
}

.domain-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.domain-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.domain-desc em {
    color: var(--text-gold);
    font-style: italic;
}

.domain-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Symbols Section */
.symbols-section {
    max-width: 900px;
    margin: 0 auto;
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-lg);
}

.symbols-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-gold);
    text-align: center;
    margin-bottom: var(--space-md);
    letter-spacing: 0.06em;
}

.symbols-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.symbol-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--space-sm);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.symbol-item:hover {
    background: rgba(212,148,30,0.04);
}

.symbol-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.symbol-meaning {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== MYTHS SECTION ===== */
.section-myths {
    background: var(--bg-primary);
}

.myths-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: var(--space-lg);
}

.myths-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(212,148,30,0.15);
}

.myth-card {
    position: relative;
    padding-bottom: var(--space-lg);
}

.myth-card:last-child {
    padding-bottom: 0;
}

.myth-marker {
    position: absolute;
    left: calc(-1 * var(--space-lg) - 6px);
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--text-gold);
    box-shadow: 0 0 15px rgba(212,148,30,0.2);
    z-index: 2;
}

.myth-content {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-md);
    transition: all 0.4s ease;
}

.myth-content:hover {
    border-color: rgba(212,148,30,0.2);
    box-shadow: var(--shadow-card), var(--shadow-gold);
    transform: translateX(4px);
}

.myth-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-gold);
    padding: 0.3rem 0.8rem;
    background: rgba(212,148,30,0.06);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 100px;
    margin-bottom: var(--space-sm);
}

.myth-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.03em;
}

.myth-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.myth-text em {
    color: var(--text-gold);
    font-style: italic;
}

.myth-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== PANTHEON SECTION ===== */
.section-pantheon {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(212,148,30,0.06);
}

.pantheon-content {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.pantheon-eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-gold);
    margin-bottom: var(--space-sm);
}

.pantheon-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.pantheon-body {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.pantheon-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.pantheon-body em {
    color: var(--text-gold);
    font-style: italic;
}

.pantheon-mascot {
    display: flex;
    align-items: center;
}

.pantheon-mascot-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(212,148,30,0.1)) drop-shadow(0 15px 40px rgba(0,0,0,0.4));
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(212,148,30,0.1);
    padding: var(--space-xl) 0 var(--space-md);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-end;
}

.footer-block {
    text-align: right;
}

.footer-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.footer-value {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    word-break: break-word;
    overflow-wrap: break-word;
}

.footer-seal {
    display: flex;
    margin: var(--space-md) 0;
}

.footer-logomark {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-logomark:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(212,148,30,0.06);
}

.footer-credit {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ===== SCROLL REVEALS ===== */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.9) translateY(20px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) scale(1) translateX(0);
}

/* Staggered delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="350"] { transition-delay: 0.35s; }

/* ===== MOUSE PARALLAX ===== */
.hero-mascot {
    transition: transform 0.15s ease-out;
}

/* ===== 3D TILT CARDS ===== */
.name-card, .domain-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-mascot {
        order: -1;
    }
    .mascot-img {
        max-width: 320px;
    }
    .title-divider {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-meta {
        align-items: center;
    }
    
    .name-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pronunciation-grid {
        grid-template-columns: 1fr;
    }
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pantheon-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .pantheon-mascot {
        order: -1;
    }
    .pantheon-mascot-img {
        max-width: 280px;
    }
    .symbols-list {
        grid-template-columns: 1fr;
    }
    .myths-timeline {
        padding-left: var(--space-md);
    }
    .myth-marker {
        left: calc(-1 * var(--space-md) - 6px);
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-nav);
        flex-direction: column;
        padding: var(--space-md);
        gap: 0;
        border-bottom: 1px solid rgba(212,148,30,0.1);
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
    }
    .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(212,148,30,0.05);
    }
    .nav-toggle {
        display: flex;
    }
    .nav-logo-img {
        height: 96px;
    }
    .name-grid {
        grid-template-columns: 1fr;
    }
    .domains-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }
    .footer-info {
        align-items: center;
    }
    .footer-block {
        text-align: center;
    }
    .phoneme {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        gap: 0.5rem;
    }
    .title-greek {
        font-size: 2.5rem;
    }
    .title-trans {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .myths-timeline {
        padding-left: 0;
    }
    .myths-timeline::before {
        display: none;
    }
    .myth-marker {
        display: none;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}
/* ===== TAB NAVIGATION ===== */
.tab-nav .nav-link {
    position: relative;
}
.tab-nav .nav-link.active {
    color: var(--classic-gold);
}
.tab-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--classic-gold);
}

/* Extended Lore Navigation */
.extended-nav .nav-links {
    gap: 0.75rem;
}
.extended-nav .nav-link {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
}

/* ===== AD ZONES (Home/Endorsements) ===== */
.ad-zones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}
.ad-zone-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.ad-zone-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,148,30,0.25);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}
.ad-zone-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    background: rgba(212,148,30,0.1);
    border: 1px solid rgba(212,148,30,0.2);
    border-radius: 100px;
    color: var(--classic-gold);
    margin-bottom: var(--space-sm);
}
.ad-zone-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.ad-zone-dims {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}
.ad-zone-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}
.ad-zone-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}
.price-amount {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--classic-gold);
}
.price-period {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.ad-zone-ppm {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}
.ad-zone-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
}
.ad-zone-status.available {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

/* ===== PRICING STEPS ===== */
.pricing-content {
    max-width: 800px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-lg);
}
.pricing-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-gold);
    margin-bottom: var(--space-md);
    text-align: center;
    letter-spacing: 0.04em;
}
.pricing-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.pricing-step {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(212,148,30,0.06);
}
.pricing-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.step-number {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--classic-gold);
    width: 40px;
    text-align: center;
}
.step-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.step-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== QUICK FACTS ===== */
.facts-grid {
    max-width: 800px;
    margin: 0 auto;
}
.facts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    overflow: hidden;
}
.fact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(212,148,30,0.06);
    border-right: 1px solid rgba(212,148,30,0.06);
}
.fact-item:nth-child(2n) {
    border-right: none;
}
.fact-item:nth-last-child(-n+2) {
    border-bottom: none;
}
.fact-item dt {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.fact-item dd {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
}

/* ===== ETymology ===== */
.etymology-content {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: var(--space-lg);
    align-items: start;
}
.etymology-main {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-lg);
}
.etymology-chain {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
.etymology-step {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    border-left: 3px solid var(--classic-gold);
}
.etym-lang {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.etym-form {
    font-family: var(--font-greek);
    font-size: 1.4rem;
    color: var(--classic-gold);
}
.etym-gloss {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}
.etym-arrow {
    text-align: center;
    color: var(--classic-gold);
    font-size: 1.2rem;
    opacity: 0.5;
}
.etymology-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}
.etymology-note strong {
    color: var(--text-primary);
    font-style: normal;
}
.derivatives-sidebar {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-md);
}
.derivatives-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gold);
    margin-bottom: var(--space-md);
    letter-spacing: 0.04em;
}
.derivatives-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.derivative-group h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212,148,30,0.08);
}
.derivative-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.derivative-group li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
}
.derivative-group li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-gold);
    font-size: 0.7rem;
}
.derivative-group li strong {
    color: var(--text-primary);
}

/* ===== UNICODE BREAKDOWN TABLE ===== */
.breakdown-table {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-md);
    overflow-x: auto;
}
.char-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
}
.char-table thead {
    border-bottom: 2px solid rgba(212,148,30,0.2);
}
.char-table th {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-gold);
    padding: 0.75rem 0.5rem;
    text-align: left;
}
.char-table td {
    padding: 0.75rem 0.5rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(212,148,30,0.05);
}
.char-cell {
    font-family: var(--font-greek);
    font-size: 1.3rem;
    color: var(--classic-gold);
}
.char-table code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    color: var(--pale-gold);
}
.breakdown-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
    line-height: 1.6;
}
.breakdown-note strong {
    color: var(--text-primary);
}

/* ===== CULTURAL SIGNIFICANCE ===== */
.cultural-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}
.cultural-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-md);
    transition: all 0.4s ease;
}
.cultural-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,148,30,0.2);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}
.cultural-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.03em;
}
.cultural-card-body {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.cultural-card-body strong {
    color: var(--text-primary);
}
.cultural-card-body em {
    color: var(--text-gold);
    font-style: italic;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.faq-item {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover {
    border-color: rgba(212,148,30,0.2);
}
.faq-question {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: var(--space-md);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    transition: color 0.2s;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--classic-gold);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after {
    content: '−';
}
.faq-item[open] .faq-question {
    color: var(--classic-gold);
}
.faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    border-top: 1px solid rgba(212,148,30,0.06);
    padding-top: var(--space-sm);
    margin: 0 var(--space-md) var(--space-md);
}
.faq-answer p {
    margin: 0;
}
.faq-answer strong {
    color: var(--text-primary);
}

/* ===== SOURCES ===== */
.sources-content {
    max-width: 1000px;
    margin: 0 auto;
}
.sources-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}
.sources-intro strong {
    color: var(--text-primary);
    font-style: normal;
}
.sources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}
.source-category {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: var(--space-md);
}
.source-category h3 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-gold);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(212,148,30,0.1);
}
.source-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.source-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 1rem;
    position: relative;
}
.source-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--classic-gold);
    font-size: 0.6rem;
    top: 0.35rem;
}
.source-list cite {
    font-style: italic;
    color: var(--text-primary);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}
.gallery-item {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212,148,30,0.2);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}
.gallery-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(14,26,20,0.9), rgba(8,15,10,0.95));
    border-bottom: 1px solid rgba(212,148,30,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--space-md);
    text-align: center;
}
.gallery-label {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--classic-gold);
    letter-spacing: 0.03em;
}
.gallery-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255,215,0,0.1);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s ease;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.03);
    filter: brightness(1.08);
}
.gallery-caption {
    padding: var(--space-md);
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .ad-zones-grid,
    .etymology-content,
    .cultural-grid,
    .sources-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .facts-list {
        grid-template-columns: 1fr;
    }
    .fact-item:nth-child(2n) {
        border-right: 1px solid rgba(212,148,30,0.06);
    }
    .fact-item:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(212,148,30,0.06);
    }
    .fact-item:last-child {
        border-bottom: none;
    }
    .extended-nav .nav-links {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .extended-nav .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-nav);
        flex-direction: column;
        padding: var(--space-md);
        gap: 0;
        border-bottom: 1px solid rgba(212,148,30,0.1);
    }
    .extended-nav .nav-links.active {
        display: flex;
    }
    .pricing-step {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== HOME / LEASE PAGE STYLES ===== */

/* Global Strip (shared across all pages) */
.global-strip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.global-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.4rem clamp(1.5rem, 5vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.global-brand {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--classic-gold);
    text-decoration: none;
}
.global-links {
    display: flex;
    gap: 1.5rem;
}
.global-links a {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #A0A0A0;
    text-decoration: none;
    transition: color 0.3s;
}
.global-links a:hover {
    color: var(--classic-gold);
}

/* Tab nav adjustment */
.tab-nav {
    top: 40px;
}
.tab-nav .nav-link.active {
    color: var(--classic-gold);
}
.tab-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--classic-gold);
}

/* Lease Header */
.lease-header {
    padding-top: calc(40px + var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid rgba(212,148,30,0.06);
}
.lease-domain {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--classic-gold);
    margin-bottom: 1rem;
}
.lease-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}
.lease-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* Current Endorsements */
.endorsement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.endorsement-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.25rem;
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
}
.endorsement-slot.empty:hover {
    border-color: rgba(212,148,30,0.3);
    box-shadow: var(--shadow-card), var(--shadow-gold);
    transform: translateY(-4px);
}
.slot-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
}
.slot-status {
    font-size: 0.75rem;
    color: #2ecc71;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.slot-cta {
    margin-top: auto;
    padding: 0.5rem 1.25rem;
    background: rgba(212,148,30,0.1);
    border: 1px solid rgba(212,148,30,0.25);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--classic-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}
.slot-cta:hover {
    background: var(--classic-gold);
    color: #0A0A0A;
}

/* Ad Zone Cards */
.ad-zone-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.ad-zone-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.ad-zone-card:hover {
    border-color: rgba(212,148,30,0.25);
    box-shadow: var(--shadow-card), 0 20px 60px rgba(0,0,0,0.4);
    transform: translateY(-4px);
}
.ad-zone-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(212,148,30,0.06);
}
.ad-tier {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    background: rgba(212,148,30,0.08);
    border: 1px solid rgba(212,148,30,0.15);
    border-radius: 100px;
    color: var(--classic-gold);
    margin-bottom: 0.75rem;
}
.ad-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}
.ad-dims {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}
.ad-zone-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ad-price-row {
    margin-bottom: 1.25rem;
}
.ad-price {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
}
.ad-currency {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--classic-gold);
    margin-top: 0.3rem;
}
.ad-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--classic-gold);
    line-height: 1;
}
.ad-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 0.4rem;
    margin-left: 0.25rem;
}
.ad-ppm {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}
.ad-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.ad-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}
.ad-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--classic-gold);
    font-size: 0.75rem;
}
.btn-ad-select {
    display: block;
    text-align: center;
    padding: 0.85rem 1.5rem;
    background: var(--gradient-gold);
    color: #0A0A0A;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-ad-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,148,30,0.35);
}

/* Hekaweb Services */
.hekaweb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}
.hekaweb-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.hekaweb-card:hover {
    border-color: rgba(212,148,30,0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}
.hekaweb-service {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}
.hekaweb-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.hekaweb-price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--classic-gold);
}
.hekaweb-price span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.hekaweb-contact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212,148,30,0.08);
}
.hekaweb-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.hekaweb-note strong {
    color: var(--text-primary);
}

/* ===== RESPONSIVE LEASE PAGE ===== */
@media (max-width: 1024px) {
    .endorsement-grid,
    .ad-zone-cards,
    .hekaweb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .endorsement-grid,
    .ad-zone-cards,
    .hekaweb-grid {
        grid-template-columns: 1fr;
    }
    .lease-header {
        padding-top: calc(40px + var(--nav-height) + 2.5rem);
        padding-bottom: 2.5rem;
    }
    .global-links {
        display: none;
    }
}

/* ===== ENDORSEMENT HERO ===== */
.endorsement-hero {
    padding-top: calc(40px + var(--nav-height) + 3rem);
    padding-bottom: 3rem;
    text-align: center;
    background: linear-gradient(180deg, #0a1f15 0%, #0e1a1a 50%, #0f1f1a 100%);
    border-bottom: 1px solid rgba(212,148,30,0.08);
    position: relative;
    overflow: hidden;
}
.endorsement-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 30%, rgba(212,148,30,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.endorsement-hero-content {
    position: relative;
    z-index: 1;
}
.endorsement-mascot {
    margin-bottom: 1.25rem;
}
.endorsement-mascot-img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(212,148,30,0.2));
}
.endorsement-eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.endorsement-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.endorsement-greek {
    color: var(--classic-gold);
}
.endorsement-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* ===== HEKAWEB PARTNER ===== */
.hekaweb-partner-section {
    background: linear-gradient(180deg, #0e1a1a 0%, #0a1f15 100%);
    border-top: 1px solid rgba(212,148,30,0.06);
}
.hekaweb-partner-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.hekaweb-partner-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}
.hekaweb-badge-text {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--classic-gold);
    padding: 0.4rem 1rem;
    background: rgba(212,148,30,0.06);
    border: 1px solid rgba(212,148,30,0.15);
    border-radius: 100px;
}
.hekaweb-partner-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}
.hekaweb-partner-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}
.hekaweb-partner-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto 2.5rem;
}
.hekaweb-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.hekaweb-service-item:hover {
    border-color: rgba(212,148,30,0.2);
}
.hekaweb-service-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.hekaweb-service-price {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--classic-gold);
}
.hekaweb-partner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .endorsement-mascot-img {
        width: 90px;
    }
    .hekaweb-partner-services {
        grid-template-columns: 1fr;
    }
    .global-links {
        display: none;
    }
}

/* ===== HOW IT WORKS ===== */
.how-it-works-section {
    background: var(--bg-primary);
    border-top: 1px solid rgba(212,148,30,0.06);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.step-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,148,30,0.2);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}
.step-card .step-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--classic-gold);
    margin-bottom: 1rem;
    line-height: 1;
}
.step-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}
.step-body {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== RESPONSIVE TEMPLATE ===== */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

/* ===== TEMPLATE SLOTS (PROPORTIONAL) ===== */
.template-section {
    background: linear-gradient(180deg, #0f1f1a 0%, #0a1f15 40%, #0e1a1a 100%);
    border-top: 1px solid rgba(212,148,30,0.06);
    border-bottom: 1px solid rgba(212,148,30,0.06);
}
.template-layout {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

/* Individual Slot Container */
.template-slot {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.template-slot-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.template-slot-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}
.template-slot-dims {
    font-family: 'Consolas', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* The Frame Itself */
.template-frame {
    position: relative;
    background: linear-gradient(145deg, rgba(14,26,20,0.9), rgba(8,15,10,0.95));
    border: 1px solid rgba(212,148,30,0.12);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.template-frame-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212,148,30,0.04) 0%, transparent 70%);
    opacity: 0.12;
    pointer-events: none;
}
.template-frame:hover {
    border-color: rgba(212,148,30,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(212,148,30,0.06);
    transform: translateY(-3px);
}
.template-frame:hover .template-frame-glow {
    opacity: 1;
}
.template-frame-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27,58,36,0.08), rgba(10,18,15,0.15));
}
.template-placeholder-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,148,30,0.1);
    border: 1px solid rgba(212,148,30,0.2);
    border-radius: 8px;
    color: var(--classic-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.template-placeholder-text {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Proportional Sizes */
.template-frame--hero {
    aspect-ratio: 1200 / 400;
    max-height: 320px;
}
.template-frame--sidebar {
    aspect-ratio: 300 / 600;
    max-height: 480px;
}
.template-frame--inline {
    aspect-ratio: 800 / 300;
    max-height: 280px;
}
.template-frame--footer {
    aspect-ratio: 1200 / 160;
    max-height: 140px;
}
.template-frame--fullpage {
    aspect-ratio: 1200 / 400;
    max-height: 320px;
    background: linear-gradient(145deg, rgba(212,148,30,0.04), rgba(14,26,20,0.9));
    border-color: rgba(212,148,30,0.2);
}
.template-frame--fullpage .template-frame-content {
    background: linear-gradient(135deg, rgba(212,148,30,0.04), rgba(27,58,36,0.1));
}

/* Sidebar + Inline Row */
.template-row--sidebar-inline {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}
.template-slot--narrow {
    max-width: 260px;
}
.template-slot--narrow .template-frame--sidebar {
    width: 100%;
}

/* Slot Footer (Price + Reserve, outside frame) */
.template-slot-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
}
.template-slot-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--classic-gold);
    line-height: 1;
}
.template-slot-price span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-left: 0.15rem;
}
.template-slot-reserve {
    padding: 0.6rem 1.75rem;
    background: transparent;
    border: 1px solid rgba(212,148,30,0.3);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--classic-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}
.template-slot-reserve:hover {
    background: var(--classic-gold);
    color: #0A0A0A;
    border-color: var(--classic-gold);
}
.template-slot-reserve--gold {
    background: var(--gradient-gold);
    color: #0A0A0A;
    border-color: transparent;
}
.template-slot-reserve--gold:hover {
    box-shadow: 0 8px 25px rgba(212,148,30,0.35);
}

/* Divider */
.template-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}
.template-divider span {
    flex: 1;
    height: 1px;
    background: rgba(212,148,30,0.1);
}
.template-divider em {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Full Page Slot Special */
.template-slot--full .template-slot-name {
    color: var(--classic-gold);
}
.template-slot--full .template-slot-price {
    font-size: 1.8rem;
}

/* ===== RESPONSIVE TEMPLATE ===== */
@media (max-width: 1024px) {
    .template-row--sidebar-inline {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
    }
    .template-slot--narrow {
        max-width: 200px;
    }
    .template-frame--sidebar {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .template-layout {
        gap: 2.5rem;
    }
    .template-row--sidebar-inline {
        grid-template-columns: 1fr;
    }
    .template-slot--narrow {
        max-width: 100%;
    }
    .template-frame--sidebar {
        aspect-ratio: 3 / 2;
        max-height: 240px;
    }
    .template-frame--hero,
    .template-frame--fullpage {
        max-height: 200px;
    }
    .template-frame--inline {
        max-height: 180px;
    }
    .template-slot-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .template-slot-reserve {
        width: 100%;
        text-align: center;
    }
    .endorsement-mascot-img {
        width: 90px;
    }
    .global-links {
        display: none;
    }
}

/* ===== 12 SACRED SPACES ===== */
.spaces-section {
    background: linear-gradient(180deg, #0f1f1a 0%, #0a1f15 30%, #0e1a1a 60%, #0a1f15 100%);
    border-top: 1px solid rgba(212,148,30,0.06);
    border-bottom: 1px solid rgba(212,148,30,0.06);
}
.spaces-legend {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}
.spaces-layout {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Space Row Layouts */
.space-row {
    display: flex;
    gap: 2rem;
}
.space-row--sidebar {
    align-items: stretch;
}
.space-row--sidebar .space-slot--narrow {
    flex-shrink: 0;
}
.space-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.space-row--halves > .space-slot {
    flex: 1;
}
.space-row--triple > .space-slot:nth-child(1) {
    flex: 2;
}
.space-row--triple > .space-slot:nth-child(2) {
    flex: 1.2;
}
.space-row--triple > .space-slot:nth-child(3) {
    flex: 1;
}
.space-row--quad > .space-slot:nth-child(1),
.space-row--quad > .space-slot:nth-child(2) {
    flex: 1;
}
.space-row--quad > .space-slot:nth-child(3) {
    flex: 2.5;
}

/* Individual Space Slot */
.space-slot {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
}
.space-slot--narrow {
    flex: none;
    width: 260px;
}
.space-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.space-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--classic-gold);
    opacity: 0.4;
    line-height: 1;
    min-width: 36px;
}
.space-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.space-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}
.space-dims {
    font-family: 'Consolas', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.space-exclusive {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--classic-gold);
    padding: 0.25rem 0.75rem;
    background: rgba(212,148,30,0.08);
    border: 1px solid rgba(212,148,30,0.2);
    border-radius: 100px;
}

/* The Frame */
.space-frame {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, rgba(14,26,20,0.92), rgba(8,15,10,0.97));
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.5s ease;
    box-sizing: border-box;
}
.space-frame-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212,148,30,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.space-frame:hover {
    border-color: rgba(212,148,30,0.3);
}

.space-frame-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27,58,36,0.06), rgba(10,18,15,0.12));
}
.space-placeholder-logo {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,148,30,0.08);
    border: 1px solid rgba(212,148,30,0.18);
    border-radius: 6px;
    color: var(--classic-gold);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.space-placeholder-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Proportional Frame Sizes */

/* Elite reserve button inside frame */

/* Frame-type specific button sizing */

/* Frame is the interactive element */
.space-frame {
    cursor: pointer;
}

/* Elegant "Available" hover label */
.space-frame-content::after {
    content: 'Available';
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    font-family: var(--font-display);
    font-size: clamp(0.28rem, 0.7vw, 0.5rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(212,175,55,0.5);
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
    white-space: nowrap;
}
.space-frame:hover .space-frame-content::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    color: rgba(212,175,55,0.75);
}

/* Refined glow on hover */
.space-frame:hover {
    border-color: rgba(212,175,55,0.25);
    box-shadow: 0 0 20px rgba(212,175,55,0.06), inset 0 0 30px rgba(212,175,55,0.03);
}
.space-frame:hover .space-frame-glow {
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   ARCHETYPE ANIMATIONS — HERMES
   ═══════════════════════════════════════════════════════════════ */

/* Frame is the interactive element */
.space-frame {
    cursor: pointer;
}

/* Shimmer sweep across frame */
.space-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.06), transparent);
    transform: skewX(-20deg);
    animation: shimmer-sweep 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Archetype symbol replaces diamond */
.space-placeholder-logo {
    font-size: 0;
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
}
.space-placeholder-logo::before {
    content: '⚕';
    font-size: 1.1rem;
    color: var(--classic-gold);
    animation: hermes-symbol 8s linear infinite;
    display: block;
}

/* Floating particles inside frame */
.space-frame-content::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(192,192,192,0.35);
    top: 60%;
    left: 25%;
    animation: float-up 4s ease-in-out infinite;
    pointer-events: none;
}
.space-frame-content .particle-2,
.space-frame-content .particle-3 {
    display: none;
}

/* Elegant "Available" hover label */
.space-frame-content::after {
    content: 'Available';
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    font-family: var(--font-display);
    font-size: clamp(0.28rem, 0.7vw, 0.5rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(212,175,55,0.5);
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
    white-space: nowrap;
}
.space-frame:hover .space-frame-content::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    color: rgba(212,175,55,0.75);
}

/* Refined glow on hover */
.space-frame:hover {
    border-color: rgba(212,175,55,0.25);
    box-shadow: 0 0 20px rgba(212,175,55,0.06), inset 0 0 30px rgba(212,175,55,0.03);
}
.space-frame:hover .space-frame-glow {
    opacity: 0.7;
}

@keyframes hermes-symbol {
    0% { transform: rotate(0deg); filter: drop-shadow(0 0 2px rgba(212,175,55,0.2)); }
    100% { transform: rotate(360deg); filter: drop-shadow(0 0 6px rgba(212,175,55,0.5)); }
}
@keyframes hermes-streak {
    0% { transform: translateX(-120%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

@keyframes shimmer-sweep {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}
@keyframes float-up {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    15% { opacity: 0.6; }
    85% { opacity: 0.6; }
    100% { transform: translateY(-30px) scale(0.3); opacity: 0; }
}
@keyframes available-pulse {
    0%, 100% { opacity: 0.25; transform: translateX(-50%) translateY(4px) scale(0.92); }
    50% { opacity: 0.85; transform: translateX(-50%) translateY(0) scale(1); }
}

.space-frame--hero {
    aspect-ratio: 1200 / 400;
    border-top: 3px solid var(--classic-gold);
}
.space-frame--column {
    aspect-ratio: 300 / 600;
}
.space-frame--inline {
    aspect-ratio: 800 / 300;
    max-height: 240px;
}
.space-frame--content {
    aspect-ratio: 600 / 280;
    max-height: 220px;
}
.space-frame--half {
    aspect-ratio: 500 / 280;
    max-height: 220px;
}
.space-frame--ribbon {
    aspect-ratio: 700 / 180;
    max-height: 160px;
}
.space-frame--badge {
    aspect-ratio: 400 / 150;
    max-height: 140px;
}
.space-frame--text {
    aspect-ratio: 350 / 120;
    max-height: 120px;
}
.space-frame--emblem {
    aspect-ratio: 250 / 100;
    max-height: 100px;
}
.space-frame--footer {
    aspect-ratio: 1200 / 100;
    max-height: 100px;
}
.space-frame--throne {
    aspect-ratio: 1200 / 400;
    max-height: 300px;
    background: linear-gradient(145deg, rgba(212,148,30,0.06), rgba(14,26,20,0.95));
    border-color: rgba(212,148,30,0.25);
}
.space-frame--throne .space-frame-content {
    background: linear-gradient(135deg, rgba(212,148,30,0.05), rgba(27,58,36,0.1));
}

/* Space Footer (Price + Reserve, outside frame) */

/* Divider */
.spaces-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}
.spaces-divider span {
    flex: 1;
    height: 1px;
    background: rgba(212,148,30,0.12);
}
.spaces-divider em {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Full Page Slot Special */
.space-slot--fullpage .space-name {
    color: var(--classic-gold);
}
.space-slot--fullpage .space-num {
    opacity: 0.8;
}

/* ===== RESPONSIVE SPACES ===== */
@media (max-width: 1024px) {
    .space-row--sidebar {
        flex-direction: column;
    }
    .space-row--sidebar .space-slot--narrow {
        width: 100%;
        max-width: 320px;
    }
    .space-row--sidebar .space-frame--column {
        max-height: 360px;
        aspect-ratio: 3 / 2;
    }
    .space-row--halves,
    .space-row--triple,
    .space-row--quad {
        flex-wrap: wrap;
    }
    .space-row--halves > .space-slot,
    .space-row--triple > .space-slot,
    .space-row--quad > .space-slot {
        flex: 1 1 calc(50% - 1rem);
        min-width: 240px;
    }
    .space-row--quad > .space-slot:nth-child(3) {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .spaces-layout {
        gap: 1rem;
    }
    .space-row {
        gap: 0.5rem;
    }
    .space-slot {
        gap: 0.35rem;
    }
    .space-row--sidebar {
        flex-direction: row;
    }
    .space-row--sidebar .space-slot--narrow {
        width: 80px;
        max-width: none;
    }
    .space-row--sidebar .space-frame--column {
        flex: 1;
        aspect-ratio: auto;
        min-height: 0;
    }
    .space-row--halves,
    .space-row--triple,
    .space-row--quad {
        flex-wrap: nowrap;
    }
    .space-row--halves > .space-slot,
    .space-row--triple > .space-slot,
    .space-row--quad > .space-slot {
        flex: 1 1 auto;
        min-width: 0;
    }
    .space-row--quad > .space-slot:nth-child(3) {
        flex: 2.5;
    }
    .space-frame--hero,
    .space-frame--throne {
        max-height: none;
    }
    .space-frame--inline {
        max-height: none;
    }
    .space-frame--content,
    .space-frame--half {
        max-height: none;
    }
    .space-row--triple > .space-slot:nth-child(2) {
        flex: 1.8;
    }
    .space-row--quad > .space-slot:nth-child(2) {
        flex: 1.5;
    }
    .space-frame-content {
        gap: 0.15rem;
    }
    .space-frame-content .space-placeholder-logo {
        font-size: 0.7rem;
    }
    .space-meta {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .space-num {
        font-size: 0.6rem;
    }
    .space-name {
        font-size: 0.65rem;
    }
    .space-exclusive {
        margin-left: 0;
        font-size: 0.5rem;
    }
}

.booking-error {
    background: rgba(255,107,107,0.08);
    border: 1px solid rgba(255,107,107,0.2);
    color: #ff6b6b;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* ===== BOOKING MODAL ===== */
.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.booking-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
}
.booking-modal-panel {
    position: relative;
    background: linear-gradient(145deg, rgba(14,26,20,0.98), rgba(8,15,10,0.99));
    border: 1px solid rgba(212,148,30,0.15);
    border-radius: 14px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.booking-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}
.booking-modal-close:hover { color: var(--classic-gold); }
.booking-modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.booking-modal-title span { color: var(--classic-gold); }
.booking-modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.booking-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}
.booking-input {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,148,30,0.12);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s;
    outline: none;
}
.booking-input:focus { border-color: var(--classic-gold); }
.booking-input::placeholder { color: var(--text-muted); }
.booking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(212,148,30,0.08);
    margin-top: 0.5rem;
}
.booking-price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.booking-price-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--classic-gold);
}
.booking-submit {
    background: var(--classic-gold);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
}
.booking-submit:hover { opacity: 0.9; }
.booking-submit--secondary {
    background: transparent;
    color: var(--classic-gold);
    border: 1px solid rgba(212,148,30,0.3);
}
.booking-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}
.booking-toggle {
    display: flex;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,148,30,0.12);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.booking-toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s;
}
.booking-toggle-btn.active {
    background: rgba(212,148,30,0.15);
    color: var(--classic-gold);
}
.booking-char-limit {
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
    margin-left: 0.4rem;
}
.booking-char-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    margin: -0.4rem 0 0.4rem 0;
    transition: color 0.2s;
}
.booking-char-count.booking-char-count--near {
    color: var(--gold-dim);
}
.booking-char-count.booking-char-count--over {
    color: #c44;
}
.booking-upload-zone {
    border: 2px dashed rgba(212,148,30,0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
}
.booking-upload-zone:hover,
.booking-upload-zone.dragover {
    border-color: var(--classic-gold);
    background: rgba(212,148,30,0.03);
}
.booking-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.booking-upload-prompt { pointer-events: none; }
.booking-upload-icon {
    font-size: 2rem;
    color: var(--classic-gold);
    display: block;
    margin-bottom: 0.5rem;
}
.booking-upload-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}
.booking-upload-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 6px;
    margin-top: 1rem;
    object-fit: contain;
}
.booking-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}
.booking-live-preview {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212,148,30,0.08);
}
.booking-live-preview-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.booking-live-preview-frame {
    background: linear-gradient(145deg, rgba(14,26,20,0.92), rgba(8,15,10,0.97));
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.booking-live-preview-frame img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}
.booking-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(212,148,30,0.1);
    border: 2px solid var(--classic-gold);
    color: var(--classic-gold);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.booking-status-icon--error {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: rgba(255,107,107,0.08);
}
.booking-token-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin: 1rem 0;
}
.booking-token-note a {
    color: var(--classic-gold);
    text-decoration: underline;
}
.booking-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212,148,30,0.15);
    border-top-color: var(--classic-gold);
    border-radius: 50%;
    animation: bookingSpin 0.8s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes bookingSpin {
    to { transform: rotate(360deg); }
}

/* Reserved badge */
.space-reserved-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--classic-gold);
    padding: 0.5rem 1rem;
    background: rgba(212,148,30,0.08);
    border: 1px solid rgba(212,148,30,0.2);
    border-radius: 6px;
}
.space-reserved-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
}
.space-reserved-badge--reserved::before {
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
}


/* Frame overlay for reserved/live slots */
.space-frame-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(8, 14, 25, 0.85);
    backdrop-filter: blur(2px);
    gap: 0.5rem;
}
.space-frame-overlay-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--classic-gold);
    text-transform: uppercase;
}
.space-frame-overlay-sub {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Live ad inside frame */
.space-live-ad {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}
.space-live-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Upload dimensions emphasis */
.booking-upload-dims {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--classic-gold);
    text-align: center;
    margin-bottom: 1rem;
}


/* My Bookings */
.my-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}
.my-booking-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,148,30,0.1);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.my-booking-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.my-booking-item-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}
.my-booking-item-status {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.my-booking-item-status--live { color: var(--success); }
.my-booking-item-status--pending { color: #fbbf24; }
.my-booking-item-status--rejected { color: #ff6b6b; }
.my-booking-item-link {
    color: var(--classic-gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.my-booking-item-link:hover {
    text-decoration: underline;
}

/* My bookings nav link */
.my-bookings-nav {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    background: var(--bg-elevated);
    border: 1px solid var(--gold-dim);
    color: var(--classic-gold);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.2s;
}
.my-bookings-nav:hover {
    background: rgba(212,148,30,0.1);

    .space-placeholder-logo {
        width: 24px;
        height: 24px;
    }
    .space-placeholder-logo::before {
        font-size: 0.85rem;
    }
    /* Mobile: Available pulses randomly per slot */
    .space-frame-content::after {
        opacity: 0.5;
        animation: available-pulse 3.5s ease-in-out infinite;
    }
    .space-slot:nth-child(1) .space-frame-content::after { animation-delay: 0s; }
    .space-slot:nth-child(2) .space-frame-content::after { animation-delay: 0.7s; }
    .space-slot:nth-child(3) .space-frame-content::after { animation-delay: 1.4s; }
    .space-slot:nth-child(4) .space-frame-content::after { animation-delay: 2.1s; }
    .space-slot:nth-child(5) .space-frame-content::after { animation-delay: 0.3s; }
    .space-slot:nth-child(6) .space-frame-content::after { animation-delay: 1.0s; }
    .space-slot:nth-child(7) .space-frame-content::after { animation-delay: 1.7s; }
    .space-slot:nth-child(8) .space-frame-content::after { animation-delay: 2.4s; }
    .space-slot:nth-child(9) .space-frame-content::after { animation-delay: 0.5s; }
    .space-slot:nth-child(10) .space-frame-content::after { animation-delay: 1.2s; }
    .space-slot:nth-child(11) .space-frame-content::after { animation-delay: 1.9s; }
    .space-slot:nth-child(12) .space-frame-content::after { animation-delay: 2.6s; }
    .space-slot:nth-child(13) .space-frame-content::after { animation-delay: 0.9s; }

}