/**
 * WhereIsMyFair - Magical Theme Park Design
 * A professional, inviting design inspired by world-class theme parks
 */

/* ============================================
   CSS VARIABLES - THEME SYSTEM
   ============================================ */
:root {
    /* Light Theme (Default) - Warm, inviting, magical */
    --bg-primary: #FFFBF5;
    --bg-secondary: #FFF8ED;
    --bg-card: #FFFFFF;
    --bg-header: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --bg-hero: linear-gradient(180deg, #1565c0 0%, #0d47a1 60%, #0f3460 100%);

    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #ffffff;

    /* Magic Colors - Warm golds, sunset oranges, carnival reds */
    --magic-gold: #FFD700;
    --magic-orange: #FF8C00;
    --magic-red: #E63946;
    --magic-pink: #FF6B9D;
    --magic-blue: #00B4D8;
    --magic-teal: #2EC4B6;
    --magic-purple: #7B2CBF;

    /* Primary palette */
    --primary: #E63946;
    --primary-dark: #C1121F;
    --primary-light: #FF6B7A;
    --secondary: #FFD700;
    --secondary-dark: #E6C200;
    --accent: #00B4D8;
    --accent-dark: #0096C7;

    /* UI Colors */
    --border: #E8E1D9;
    --border-light: #F5EDE4;
    --shadow: rgba(26, 26, 46, 0.1);
    --shadow-strong: rgba(26, 26, 46, 0.2);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--magic-orange) 100%);
    --gradient-gold: linear-gradient(135deg, var(--magic-gold) 0%, var(--magic-orange) 100%);
    --gradient-magic: linear-gradient(135deg, var(--magic-purple) 0%, var(--magic-pink) 100%);
    --gradient-night: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'Fredoka One', 'Comic Sans MS', cursive;
    --font-heading: 'Nunito', 'Segoe UI', sans-serif;
    --font-body: 'Nunito', 'Segoe UI', Tahoma, sans-serif;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Dark Theme - Night at the Fair */
[data-theme="dark"] {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --bg-header: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    --bg-hero: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);

    --text-primary: #FFFBF5;
    --text-secondary: #CBD5E0;
    --text-muted: #A0AEC0;

    --border: #2D3748;
    --border-light: #1a1a2e;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-strong: rgba(0, 0, 0, 0.5);

    /* Brighter colors for dark mode */
    --primary: #FF6B7A;
    --secondary: #FFE066;
    --accent: #4DD4E8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-lg);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: var(--bg-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-strong);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3)); }
    to { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7)); }
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--magic-gold);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--magic-gold);
}

.nav-links a:hover::after {
    width: 80%;
}

/* Active page indicator */
.nav-links a.nav-active {
    color: var(--magic-gold);
    background: rgba(255, 215, 0, 0.1);
}

.nav-links a.nav-active::after {
    width: 80%;
    background: var(--magic-gold);
}

/* Separator between primary nav and auth actions */
.nav-sep {
    width: 1px;
    height: 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.25rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nav-sep {
        display: none;
    }
}

/* Nav auth buttons */
.btn-register-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    white-space: nowrap !important;
    background: var(--gradient-gold) !important;
    color: var(--text-primary) !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
}

.btn-register-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4) !important;
}

.btn-register-nav::after { display: none !important; }

.nav-logout-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.nav-logout-btn:hover {
    background: rgba(255,255,255,0.15);
    color: var(--magic-gold);
}

/* Hamburger toggle button (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

/* Site-nav wrapper: always visible on desktop */
.site-nav {
    display: flex;
    align-items: center;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Animates to × when open */
.site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: var(--bg-hero);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Floating lights animation */
.hero::after {
    content: '✨';
    position: absolute;
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
    top: 20%;
    left: 10%;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--gradient-gold);
    color: var(--text-primary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--magic-gold);
    color: var(--magic-gold);
}

.btn-outline:hover {
    background: var(--magic-gold);
    color: var(--text-primary);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: var(--space-lg);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

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

/* Attraction Card Specific */
.attraction-card {
    position: relative;
}

.attraction-card .card-image {
    height: 220px;
}

.attraction-card .card-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--gradient-gold);
    color: var(--text-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.attraction-card .location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.attraction-card .location i {
    color: var(--primary);
}

.attraction-card .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.attraction-card .price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.stat-box {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.stat-box .stat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    filter: drop-shadow(0 0 10px currentColor);
}

.stat-box .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.stat-box .stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    position: relative;
}

[data-theme="dark"] .stat-box {
    background: var(--gradient-night);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.feature-card .feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title h2 {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-title h2 .emoji {
    font-size: 1.2em;
}

.section-title p {
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

/* CTA Section — themed gradient so it adapts to light and dark mode */
.cta-section {
    background: var(--gradient-primary);
    color: white;
}
[data-theme="dark"] .cta-section {
    background: var(--gradient-night);
}
.cta-section h2,
.cta-section p {
    color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--gradient-night);
    color: var(--text-light);
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.site-footer h3 {
    color: var(--magic-gold);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.site-footer ul {
    list-style: none;
}

.site-footer ul li {
    margin-bottom: var(--space-sm);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.site-footer a:hover {
    color: var(--magic-gold);
    padding-left: var(--space-sm);
}

/* Newsletter in Footer */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--magic-gold);
}

.newsletter-form button {
    background: var(--gradient-gold);
    color: var(--text-primary);
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.search-box {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    padding-right: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
    outline: none;
    border-color: var(--magic-gold);
    background: rgba(255, 255, 255, 0.15);
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-gold);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.search-box button:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ============================================
   LIKE BUTTON
   ============================================ */
.like-btn,
.card-like-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 1rem;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.like-btn:hover,
.card-like-btn:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.1);
}

.like-btn.liked,
.card-like-btn.liked {
    color: var(--primary);
}

.like-btn.liked i,
.card-like-btn.liked i {
    animation: heartBeat 0.3s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Medium screens: hide labels, show hamburger when nav fits poorly */
@media (max-width: 1100px) and (min-width: 769px) {
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.35rem 0.45rem;
    }

    .nav-logout-btn {
        font-size: 0.8rem;
        padding: 0.35rem 0.45rem;
    }

    .btn-register-nav {
        font-size: 0.8rem !important;
        padding: 0.3rem 0.6rem !important;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: var(--space-sm) var(--space-md);
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        width: 100%;
        order: 3;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .site-header.nav-open .site-nav {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        padding: 0.25rem 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a,
    .nav-links li form {
        display: flex;
        width: 100%;
    }

    .nav-links li a {
        padding: 0.65rem 1rem;
        border-radius: 8px;
        font-size: 0.9rem;
    }

    .nav-logout-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 0.65rem 1rem;
        border-radius: 8px;
        font-size: 0.9rem;
        border: none;
    }

    .btn-register-nav {
        justify-content: center !important;
        padding: 0.65rem 1rem !important;
        border-radius: 8px !important;
        font-size: 0.9rem !important;
    }

    .hero {
        padding: var(--space-2xl) 0;
    }

    .btn-lg {
        padding: var(--space-md) var(--space-xl);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--magic-gold); }
.text-primary { color: var(--primary); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mt-4 { margin-top: var(--space-xl); }
.py-4 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-5 { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

/* Section spacing */
.section {
    padding: var(--space-3xl) 0;
}

.section-alt {
    background: var(--bg-secondary);
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-2xl) 0;
}

/* Magic sparkle effect for special elements */
.sparkle {
    position: relative;
}

.sparkle::before,
.sparkle::after {
    content: '✦';
    position: absolute;
    font-size: 0.8rem;
    color: var(--magic-gold);
    animation: twinkle 1.5s ease-in-out infinite;
}

.sparkle::before {
    top: -5px;
    left: -10px;
    animation-delay: 0s;
}

.sparkle::after {
    bottom: -5px;
    right: -10px;
    animation-delay: 0.75s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ============================================
   SPOTLIGHT CARD (homepage hero)
   ============================================ */
.spotlight-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
}

.spotlight-eyebrow {
    color: var(--magic-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.spotlight-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 18px;
    padding: 0.9rem 1.25rem;
    max-width: 580px;
    width: 100%;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spotlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.7);
    color: inherit;
}

.spotlight-img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 215, 0, 0.4);
}

.spotlight-img-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.spotlight-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.spotlight-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotlight-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0 0 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotlight-location i {
    color: var(--primary);
    margin-right: 0.25rem;
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.spotlight-price {
    background: var(--gradient-gold);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.spotlight-rating {
    color: var(--magic-gold);
    font-size: 0.82rem;
    font-weight: 600;
}

.spotlight-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.55rem 1.1rem !important;
    font-size: 0.85rem !important;
}

/* Skeleton loading shimmer */
.spotlight-skeleton {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 0.9rem 1.25rem;
    max-width: 580px;
    width: 100%;
    animation: spotlight-pulse 1.6s ease-in-out infinite;
}

.spotlight-skeleton__img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.spotlight-skeleton__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.spotlight-skeleton__line {
    height: 11px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
}

.spotlight-skeleton__line--title { width: 55%; }
.spotlight-skeleton__line--sub   { width: 38%; }

@keyframes spotlight-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@media (max-width: 576px) {
    .spotlight-card {
        flex-direction: column;
        text-align: center;
    }
    .spotlight-info { text-align: center; min-width: unset; }
    .spotlight-meta { justify-content: center; }
    .spotlight-name,
    .spotlight-location {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}
