/* =====================================================
   ΠΟΣΕΙΔΩΝ — Lord of the Sea
   Custom styles. No framework. No template.
   ===================================================== */

/* CSS Variables */
:root {
    --void: #0A0A0A;
    --void-deep: #030810;
    --ocean: #006994;
    --ocean-deep: #004968;
    --ocean-glow: #0088BB;
    --seafoam: #20B2AA;
    --foam: #87CEEB;
    --gold: #D4AF37;
    --gold-dim: #8B7355;
    --coral: #CD7F32;
    --white: #F5F5F5;
    --white-dim: #A0B8C8;
    --section-pad: clamp(6rem, 12vh, 10rem);
    --container-max: 1200px;
    --font-display: 'Poiret One', 'Cinzel', serif;
    --font-display-alt: 'Cinzel', 'Times New Roman', serif;
    --font-body: 'Nunito Sans', 'Helvetica Neue', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::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(--void-deep);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(0, 105, 148, 0.3);
    color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--void-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--ocean-deep);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--ocean);
}

/* Ocean Canvas */
#ocean-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    position: relative;
    z-index: 2;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.35rem 0;
    transition: all 0.5s var(--ease-out-expo);
    background: transparent;
}

.main-nav.scrolled {
    background: rgba(3, 8, 16, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0, 105, 148, 0.2);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    overflow: visible;
}

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

.nav-logo-img {
    display: block;
}

.nav-logo-img {
    height: 128px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: filter 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 10;
    transform: translateY(8px);
}

.nav-logo:hover .nav-logo-img {
    filter: brightness(1.3) drop-shadow(0 0 12px rgba(32, 178, 170, 0.4));
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--white-dim);
    text-decoration: none;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--seafoam);
    transition: width 0.4s var(--ease-out-expo);
}

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

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

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

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--seafoam);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-greek {
    display: block;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 400;
    color: var(--ocean);
    letter-spacing: 0.05em;
}

.title-divider {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--seafoam), transparent);
    margin: 1rem 0;
}

.title-trans {
    display: block;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.15em;
    font-style: italic;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
    color: var(--white-dim);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.meta-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(32, 178, 170, 0.3);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--seafoam);
    background: rgba(32, 178, 170, 0.05);
}

.meta-domain {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 105, 148, 0.3);
    border-radius: 2px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ocean);
    background: rgba(0, 105, 148, 0.05);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--ocean), var(--ocean-deep));
    color: var(--white);
    font-family: var(--font-display-alt);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 105, 148, 0.5);
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--seafoam);
    border: 1px solid var(--seafoam);
}

.btn-ghost:hover {
    background: rgba(32, 178, 170, 0.1);
    box-shadow: 0 10px 40px rgba(32, 178, 170, 0.15);
}

/* Hero Mascot */
.hero-mascot {
    position: relative;
    display: flex;
    align-items: center;
}

.mascot-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(0, 105, 148, 0.3));
    position: relative;
    z-index: 2;
}

.mascot-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 105, 148, 0.15), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

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

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--seafoam), transparent);
    animation: scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.section-name {
    background: linear-gradient(180deg, var(--void-deep) 0%, #010508 100%);
}

.section-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 105, 148, 0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section-pronunciation {
    background: var(--void-deep);
    border-top: 1px solid rgba(0, 105, 148, 0.1);
    border-bottom: 1px solid rgba(0, 105, 148, 0.1);
}

.section-lord {
    background: linear-gradient(180deg, #010508 0%, var(--void-deep) 100%);
}

.section-myths {
    background: var(--void-deep);
}

.section-pantheon {
    background: linear-gradient(180deg, var(--void-deep) 0%, var(--ocean-deep) 100%);
    padding-bottom: 8rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-number {
    display: block;
    font-family: var(--font-display-alt);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--seafoam);
    letter-spacing: 0.4em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
    color: var(--white-dim);
    font-style: italic;
}

/* Name Section */
.name-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.name-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(0, 105, 148, 0.15);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.name-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ocean), transparent);
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
}

.name-card:hover {
    border-color: rgba(0, 105, 148, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.card-icon {
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.card-title {
    font-family: var(--font-display-alt);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--seafoam);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.card-greek,
.card-ascii,
.card-unicode {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.card-greek {
    color: var(--ocean);
}

.card-ascii {
    color: var(--white-dim);
    text-decoration: line-through;
    text-decoration-color: rgba(139, 0, 0, 0.5);
}

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

.card-body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white-dim);
    line-height: 1.8;
}

/* Punycode Explainer */
.punycode-explainer {
    text-align: center;
    padding: 3rem;
    background: rgba(0, 105, 148, 0.04);
    border: 1px solid rgba(0, 105, 148, 0.2);
    border-radius: 2px;
}

.explainer-label {
    font-family: var(--font-display-alt);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ocean);
    margin-bottom: 1rem;
}

.explainer-box {
    display: inline-block;
    overflow-wrap: break-word;
}

.explainer-code {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--white);
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 2.5rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    word-break: break-all;
}

.explainer-note {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Pronunciation Section */
.pronunciation-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.ipa-display {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0, 105, 148, 0.04);
    border: 1px solid rgba(0, 105, 148, 0.12);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.ipa-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ocean), transparent);
}

.ipa-text {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--ocean);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.ipa-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--white-dim);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.pronunciation-breakdown {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.phoneme {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border-left: 2px solid var(--ocean);
    transition: all 0.3s ease;
}

.phoneme:hover {
    background: rgba(0, 105, 148, 0.03);
}

.phoneme-symbol {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--ocean);
    min-width: 80px;
    font-weight: 600;
}

.phoneme-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white-dim);
    line-height: 1.7;
}

.pronunciation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.sidebar-card:hover {
    border-color: rgba(0, 105, 148, 0.2);
}

.sidebar-title {
    font-family: var(--font-display-alt);
    font-size: 1rem;
    font-weight: 600;
    color: var(--seafoam);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.sidebar-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white-dim);
    line-height: 1.8;
}

.sidebar-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--ocean), transparent);
    margin: 1.5rem 0;
    opacity: 0.3;
}

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

.kin-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white-dim);
    padding-left: 1.5rem;
    position: relative;
}

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

.accent-card {
    border-color: rgba(32, 178, 170, 0.15);
}

.accent-card .sidebar-title {
    color: var(--seafoam);
}

/* Lord Section */
.lord-intro {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.lead-text {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.9;
    font-style: italic;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.domain-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s var(--ease-out-expo);
}

.domain-card:hover {
    background: rgba(0, 105, 148, 0.03);
    border-color: rgba(0, 105, 148, 0.2);
    transform: translateY(-5px);
}

.domain-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.domain-card:hover .domain-icon {
    opacity: 1;
}

.domain-name {
    font-family: var(--font-display-alt);
    font-size: 1rem;
    font-weight: 600;
    color: var(--seafoam);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.domain-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white-dim);
    line-height: 1.7;
}

/* Symbols */
.symbols-section {
    max-width: 800px;
    margin: 0 auto;
}

.symbols-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ocean);
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.symbols-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.symbol-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.symbol-item:hover {
    padding-left: 1rem;
    border-bottom-color: rgba(0, 105, 148, 0.25);
}

.symbol-name {
    font-family: var(--font-display-alt);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.05em;
}

.symbol-meaning {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white-dim);
    text-align: right;
    max-width: 50%;
}

/* Myths */
.myths-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.myths-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--ocean), transparent);
}

.myth-card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    position: relative;
}

.myth-marker {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--void-deep);
    border: 2px solid var(--ocean);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.myth-marker::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ocean);
}

.myth-content {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.myth-content:hover {
    border-color: rgba(0, 105, 148, 0.15);
    background: rgba(0, 105, 148, 0.02);
}

.myth-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--seafoam);
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(32, 178, 170, 0.25);
}

.myth-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.myth-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white-dim);
    line-height: 1.9;
}

/* Pantheon Section */
.pantheon-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pantheon-text {
    padding-right: 2rem;
}

.pantheon-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--seafoam);
    margin-bottom: 1.5rem;
}

.pantheon-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.pantheon-body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--white-dim);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

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

.pantheon-mascot-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    opacity: 0.6;
    filter: grayscale(30%) drop-shadow(0 0 40px rgba(0, 105, 148, 0.15));
    transition: all 0.6s ease;
}

.pantheon-mascot-img:hover {
    opacity: 0.9;
    filter: grayscale(0%) drop-shadow(0 0 60px rgba(0, 105, 148, 0.3));
}

/* Footer */
.main-footer {
    background: #020508;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 105, 148, 0.08);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-display-alt);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white-dim);
    line-height: 1.7;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white-dim);
}

.footer-value {
    font-family: var(--font-display-alt);
    font-size: 0.95rem;
    color: var(--ocean);
    letter-spacing: 0.05em;
    word-break: break-word;
    overflow-wrap: break-word;
}

.footer-seal {
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.footer-logomark {
    width: 144px;
    height: auto;
    opacity: 0.5;
    filter: grayscale(20%) brightness(1.2);
    transition: all 0.5s var(--ease-out-expo);
}

.footer-logomark:hover {
    opacity: 0.9;
    filter: grayscale(0%) brightness(1.3) drop-shadow(0 0 20px rgba(0, 105, 148, 0.3));
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-credit {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--white-dim);
    letter-spacing: 0.1em;
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-mascot {
        order: 1;
        max-height: 50vh;
    }
    
    .mascot-img {
        max-height: 50vh;
    }
    
    .hero-meta {
    }
    
    
.meta-badge-alt {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #A0A0A0;
    background: rgba(255,255,255,0.03);
}

.meta-domain-alt {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #A0A0A0;
    background: rgba(255,255,255,0.03);
}

.hero-cta {
    }
    
    .title-divider {
        margin: 1rem auto;
    }
    
    .name-grid {
        grid-template-columns: 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-img {
        max-height: 350px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(3, 8, 16, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(0, 105, 148, 0.15);
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-logo-img {
        height: 96px;
    }
    
    .domains-grid {
        grid-template-columns: 1fr;
    }
    
    .symbol-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .symbol-meaning {
        text-align: left;
        max-width: 100%;
    }
    
    .myth-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .myths-timeline::before {
        left: 19px;
    }
    
    .phoneme {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .explainer-code {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        line-height: 1.2;
    }
    
    .title-greek,
    .title-trans {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .btn-primary {
        padding: 0.85rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .name-card,
    .sidebar-card,
    .myth-content {
        padding: 2rem 1.5rem;
    }
    
    .nav-logo-img {
        height: 48px;
    }
}

/* ── Name Variations ────────────────────────────────────────────────────── */
.section-variations { padding: 6rem 0; background: rgba(0,0,0,0.15); border-top: 1px solid rgba(255,255,255,0.08); }
.variations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.variation-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 2rem; transition: all 0.3s ease; position: relative; overflow: hidden; }
.variation-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.variation-card.primary { border-color: rgba(212, 175, 55, 0.4); }
.var-badge { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 100px; font-family: 'Cinzel', serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.var-badge.owned { background: rgba(212, 175, 55, 0.12); color: #D4AF37; border: 1px solid rgba(212, 175, 55, 0.3); }
.var-badge.ideal { background: rgba(100, 149, 237, 0.12); color: #6495ED; border: 1px solid rgba(100, 149, 237, 0.3); }
.var-badge.ascii { background: rgba(160, 160, 160, 0.1); color: #888; border: 1px solid rgba(160, 160, 160, 0.2); }
.var-badge.removed { background: rgba(200, 80, 80, 0.12); color: #C85050; border: 1px solid rgba(200, 80, 80, 0.3); }
.var-name { font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 700; color: #F5F5DC; margin-bottom: 0.5rem; }
.var-form { font-size: 0.85rem; color: #C8C8A8; font-style: italic; margin-bottom: 1rem; }
.var-note { font-size: 0.9rem; color: #888; line-height: 1.7; margin-bottom: 1.5rem; }
.var-domain { display: block; font-family: 'Cinzel', serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; color: #D4AF37; }
.var-domain.taken { color: #6495ED; }
@media (max-width: 1024px) { .variations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .variations-grid { grid-template-columns: 1fr; } }


/* Tier Classification Section */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.tier-grid-single {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tier-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    text-align: left;
    transition: all 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease-out;
}

.tier-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.tier-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.tier-domain {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #A0A0A0;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.tier-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #A0A0A0;
}

.tier-body strong {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .tier-grid {
        grid-template-columns: 1fr;
    }
}



/* ===== AD PAGE VARIABLES (auto-generated) ===== */
:root {
  --nav-height: 72px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --max-width: 1200px;

  --classic-gold: #D4AF37;
  --pale-gold: #F0D878;
  --gold-dim: #8B7355;
  --gold-bright: #F0D878;
  --text-gold: #D4AF37;

  --bg-primary: #030810;
  --bg-secondary: #0A0A0A;
  --bg-nav: rgba(3, 8, 16, 0.95);
  --bg-card: rgba(75, 115, 235, 0.8);
  --bg-elevated: #4b73eb;

  --text-primary: #F5F5F5;
  --text-secondary: #A0B8C8;
  --text-muted: #A0B8C8;
  --font-greek: 'Georgia', 'Times New Roman', serif;

  --gradient-card: linear-gradient(135deg, rgba(75,115,235,0.85), rgba(3,8,16,0.92));
  --gradient-gold: linear-gradient(135deg, var(--classic-gold), var(--gold-bright));
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);

  --success: #4ade80;
  --black: #000000;
}


/* ===== 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: #D4AF37;
    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: #D4AF37;
}

/* 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,175,55,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,175,55,0.1);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
}
.endorsement-slot.empty:hover {
    border-color: rgba(212,175,55,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,175,55,0.1);
    border: 1px solid rgba(212,175,55,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,175,55,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,175,55,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,175,55,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,175,55,0.08);
    border: 1px solid rgba(212,175,55,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,175,55,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,175,55,0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.hekaweb-card:hover {
    border-color: rgba(212,175,55,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,175,55,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, #030810 0%, #0A0A0A 50%, #0A0A0A 100%);
    border-bottom: 1px solid rgba(212,175,55,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,175,55,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,175,55,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;
}

/* ===== HOW IT WORKS ===== */
.how-it-works-section {
    background: var(--bg-primary);
    border-top: 1px solid rgba(212,175,55,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,175,55,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,175,55,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;
}

/* ===== 12 SACRED SPACES ===== */
.spaces-section {
    background: linear-gradient(180deg, #0A0A0A 0%, #030810 30%, #0A0A0A 60%, #030810 100%);
    border-top: 1px solid rgba(212,175,55,0.06);
    border-bottom: 1px solid rgba(212,175,55,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,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 100px;
}

/* The Frame */
.space-frame {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, rgba(75,115,235,0.92), rgba(3,8,16,0.97));
    border: 1px solid rgba(212,175,55,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,175,55,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.space-frame:hover {
    border-color: rgba(212,175,55,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(65,105,225,0.06), rgba(10,10,10,0.12));
}
.space-placeholder-logo {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,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 — NIKE
   ═══════════════════════════════════════════════════════════════ */

/* 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: nike-symbol 3s ease-in-out infinite;
    display: block;
}

/* Floating particles inside frame */
.space-frame-content::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(212,175,55,0.4);
    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 nike-symbol {
    0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 2px rgba(212,175,55,0.3)); }
    25% { transform: scale(1.15) rotate(5deg); filter: drop-shadow(0 0 8px rgba(212,175,55,0.6)); }
    50% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 4px rgba(212,175,55,0.4)); }
    75% { transform: scale(1.15) rotate(-5deg); filter: drop-shadow(0 0 8px rgba(212,175,55,0.6)); }
}

@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,175,55,0.06), rgba(75,115,235,0.95));
    border-color: rgba(212,175,55,0.25);
}
.space-frame--throne .space-frame-content {
    background: linear-gradient(135deg, rgba(212,175,55,0.05), rgba(65,105,225,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,175,55,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(75,115,235,0.98), rgba(3,8,16,0.99));
    border: 1px solid rgba(212,175,55,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,175,55,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,175,55,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,175,55,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,175,55,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,175,55,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,175,55,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,175,55,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,175,55,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(75,115,235,0.92), rgba(3,8,16,0.97));
    border: 1px solid rgba(212,175,55,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,175,55,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,175,55,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,175,55,0.08);
    border: 1px solid rgba(212,175,55,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,175,55,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,175,55,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; }

}

/* ===== 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;
    }
}

/* ===== 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,175,55,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,0.2);
    box-shadow: var(--shadow-card), var(--shadow-gold);
}
.gallery-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(75,115,235,0.9), rgba(3,8,16,0.95));
    border-bottom: 1px solid rgba(212,175,55,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;
}