/* ===========================
   The Bruumers — Design System
   =========================== */

:root {
    /* Colors */
    --gold: #c9a84c;
    --gold-light: #e3cc7a;
    --gold-dark: #a88a2e;
    --black: #0a0a0a;
    --black-soft: #111111;
    --dark: #1a1a1a;
    --dark-card: #161616;
    --dark-hover: #222222;
    --gray: #2a2a2a;
    --gray-light: #3a3a3a;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #6a6a6a;
    --white: #ffffff;
    --whatsapp: #25D366;
    --instagram-1: #f09433;
    --instagram-2: #e6683c;
    --instagram-3: #dc2743;
    --instagram-4: #cc2366;
    --instagram-5: #bc1888;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===========================
   Reset & Base
   =========================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

/* ===========================
   Typography
   =========================== */

@font-face {
    font-family: "Twemoji Country Flags";
    unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073, U+E0074, U+E0077, U+E007F;
    src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2") format("woff2");
    font-display: swap;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    position: relative;
    padding: 6px 20px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 30px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.8;
}

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

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* ===========================
   Navbar
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--gold);
}

.nav-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 30px;
    transition: all 0.3s var(--ease);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black) !important;
    font-weight: 600;
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
    background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}

.nav-close {
    display: none;
}

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

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   Hero
   =========================== */

.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.05);
    transition: transform 15s linear;
}

.hero:hover .hero-bg-img {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.5) 0%,
        rgba(10, 10, 10, 0.4) 30%,
        rgba(10, 10, 10, 0.7) 70%,
        rgba(10, 10, 10, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-logo {
    margin-bottom: 24px;
}

.hero-logo img {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.3);
    border: 3px solid rgba(201, 168, 76, 0.4);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title-line {
    display: block;
    color: var(--text-primary);
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===========================
   About
   =========================== */

.about {
    padding: var(--section-padding) 0;
    background: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-lead {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p + p {
    margin-top: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s var(--ease);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
    color: var(--gold);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===========================
   Founders
   =========================== */

.founders {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark) 50%, var(--black) 100%);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.founder-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}

.founder-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.founder-image {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s var(--ease);
}

.founder-card:hover .founder-image img {
    transform: scale(1.05);
}

.founder-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
    text-transform: uppercase;
}

.founder-badge i {
    font-size: 13px;
}

.founder-badge-food {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
}

.founder-badge-food i {
    color: #4ade80;
}

.founder-badge-crash {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
}

.founder-badge-crash i {
    color: #f87171;
}

.founder-info {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
}

.founder-role {
    font-size: 14px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.founder-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 16px 0;
    border-radius: 3px;
}

.founder-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    flex: 1;
}

/* ===========================
   Upcoming Outings
   =========================== */

.upcoming {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
}

.upcoming-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.upcoming-card {
    position: relative;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s var(--ease);
    display: flex;
    flex-direction: row;
    min-height: 500px;
}

.upcoming-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.upcoming-image-wrapper {
    position: relative;
    flex: 0 0 45%; 
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upcoming-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mostra la locandina intera senza tagli */
    transition: transform 0.8s var(--ease);
}

.upcoming-card:hover .upcoming-image {
    transform: scale(1.05);
}

.upcoming-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.4) 0%, transparent 100%);
    pointer-events: none;
}

.upcoming-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.upcoming-date-day {
    display: block;
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.upcoming-date-month {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.upcoming-content {
    padding: 48px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upcoming-details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.upcoming-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gold);
}

.upcoming-detail i {
    font-size: 16px;
}

.upcoming-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.upcoming-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 500px;
}

/* Additional Info (Maps, Restaurant) — legacy, kept for archive */
.upcoming-additional {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-additional {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    text-decoration: none;
}

.btn-additional:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-additional i {
    font-size: 14px;
}

.btn-maps {
    border-color: rgba(66, 133, 244, 0.3);
    color: #7aabf7;
}

.btn-maps:hover {
    background: rgba(66, 133, 244, 0.12);
    border-color: rgba(66, 133, 244, 0.5);
    color: #a4c6fa;
}

.btn-restaurant {
    border-color: rgba(201, 168, 76, 0.3);
    color: var(--gold);
}

.btn-restaurant:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.5);
    color: var(--gold-light);
}

.upcoming-actions {
    display: flex;
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.upcoming-actions-main {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    width: 100%;
}

/* Info buttons — Percorso & Ristorante (prominent) */
.upcoming-actions-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-info i {
    font-size: 14px;
}

.btn-info-maps {
    border-color: rgba(66, 133, 244, 0.3);
    color: #7aabf7;
}

.btn-info-maps:hover {
    background: rgba(66, 133, 244, 0.12);
    border-color: rgba(66, 133, 244, 0.5);
    color: #a4c6fa;
}

.btn-info-restaurant {
    border-color: rgba(201, 168, 76, 0.3);
    color: var(--gold);
}

.btn-info-restaurant:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.5);
    color: var(--gold-light);
}

/* Utility icon circles — small, clean */
.upcoming-actions-utils {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-util {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    font-size: 14px;
    flex-shrink: 0;
    padding: 0;
}

.btn-util:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-util-calimoto {
    border-color: rgba(255, 146, 43, 0.3);
}
.btn-util-calimoto:hover {
    border-color: rgba(255, 146, 43, 0.6);
    background: rgba(255, 146, 43, 0.1);
}

.btn-util-gpx {
    border-color: rgba(44, 181, 140, 0.3);
    color: #5ce0b5;
}
.btn-util-gpx:hover {
    border-color: rgba(44, 181, 140, 0.6);
    background: rgba(44, 181, 140, 0.1);
    color: #9ef2d5;
}

.btn-util-stats {
    border-color: rgba(120, 156, 255, 0.3);
    color: #9ab6ff;
}
.btn-util-stats:hover {
    border-color: rgba(120, 156, 255, 0.6);
    background: rgba(120, 156, 255, 0.1);
    color: #c7d6ff;
}

.btn-util-download {
    border-color: rgba(255, 255, 255, 0.1);
}
.btn-util-download:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-whatsapp-join {
    background: var(--whatsapp);
    color: var(--white);
    padding: 14px 28px;
    flex: 0 1 auto;
    justify-content: center;
}

.btn-whatsapp-join:hover {
    background: #1eb954;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.calimoto-logo {
    height: 16px;
    width: auto;
    display: block;
}

.gpx-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(44, 181, 140, 0.18);
    border: 1px solid rgba(44, 181, 140, 0.35);
    color: #8be8ca;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.gpx-stats-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2200;
    padding: 20px;
}

.gpx-stats-modal.open {
    display: flex;
}

.gpx-stats-dialog {
    width: min(760px, 100%);
    background: linear-gradient(180deg, #181818 0%, #111111 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    max-height: min(88vh, 920px);
    overflow-y: auto;
}

.gpx-stats-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    z-index: 2;
}

.gpx-stats-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.gpx-stats-header-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.06));
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold);
    flex-shrink: 0;
}

.gpx-stats-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 2px;
}

.gpx-stats-subtitle {
    color: var(--gold);
    font-size: 14px;
}

/* Hero Stats Bar */
.gpx-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.gpx-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.gpx-hero-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.gpx-hero-unit {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-top: 2px;
}

.gpx-hero-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.gpx-hero-divider {
    width: 1px;
    height: 50px;
    background: rgba(201, 168, 76, 0.2);
    margin: 0 8px;
    flex-shrink: 0;
}

/* Fun Factor & Difficulty badges */
.gpx-badges-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.gpx-badge-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: var(--text-secondary);
    flex: 1;
    min-width: 180px;
}

.gpx-badge-pill i {
    color: var(--gold);
    font-size: 14px;
}

.gpx-badge-bar {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    min-width: 60px;
}

.gpx-badge-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.gpx-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.gpx-stat-item {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 118px;
}

.gpx-stat-icon {
    color: #8eb0ff;
    font-size: 14px;
}

.gpx-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.gpx-stat-value {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.gpx-visuals-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 14px;
}

.gpx-map-wrap,
.gpx-chart-wrap {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
}

.gpx-visual-title {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 0.4px;
    color: #d7dbe3;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.gpx-stats-map {
    width: 100%;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
}

.gpx-chart-canvas-wrap {
    width: 100%;
    height: 280px;
}

.gpx-chart-canvas-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

.gpx-visual-error {
    color: #fca5a5;
    font-size: 14px;
    margin: 8px 0;
}

.gpx-stats-loading {
    text-align: center;
    color: var(--text-secondary);
    padding: 8px 0 4px;
}

.gpx-stats-error {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(248, 113, 113, 0.45);
    color: #fca5a5;
    background: rgba(127, 29, 29, 0.22);
}

/* Media Queries for Upcoming */
@media (max-width: 992px) {
    .upcoming-card {
        flex-direction: column;
        max-height: none;
        min-height: auto;
    }
    .upcoming-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-height: 500px;
        aspect-ratio: auto;
    }
    .upcoming-image {
        height: auto;
        max-height: 500px;
    }
    .upcoming-content {
        padding: 28px 24px;
        text-align: center;
        align-items: center;
    }
    .upcoming-details {
        justify-content: center;
    }
    .upcoming-actions {
        width: 100%;
        align-items: center;
        gap: 14px;
    }
    .upcoming-actions-main {
        width: 100%;
        justify-content: center;
    }
    .upcoming-actions-info {
        justify-content: center;
        width: 100%;
    }
    .upcoming-actions-utils {
        justify-content: center;
        width: 100%;
    }
    .btn-whatsapp-join {
        width: 100%;
        justify-content: center;
    }
    .btn-photos {
        width: 100%;
        justify-content: center;
    }
    .upcoming-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .gpx-visuals-grid {
        grid-template-columns: 1fr;
    }

    .gpx-stats-map,
    .gpx-chart-canvas-wrap {
        height: 240px;
    }

    .gpx-hero-stats {
        padding: 16px;
    }

    .gpx-hero-value {
        font-size: 26px;
    }

    .gpx-hero-divider {
        height: 40px;
    }

    .gpx-stats-dialog {
        padding: 20px;
    }

    .gpx-stats-header-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .gpx-stats-title {
        font-size: 20px;
    }

    .gpx-badges-row {
        flex-direction: column;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .upcoming-content {
        padding: 24px 18px;
    }
    .upcoming-title {
        font-size: 22px;
    }
    .upcoming-desc {
        font-size: 14px;
    }
    .btn-info {
        padding: 9px 16px;
        font-size: 12px;
    }
    .btn-util {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .gpx-hero-value {
        font-size: 22px;
    }
    .gpx-hero-unit {
        font-size: 11px;
    }
    .gpx-hero-label {
        font-size: 9px;
    }
    .gpx-hero-divider {
        height: 32px;
        margin: 0 4px;
    }
    .gpx-stat-item {
        min-height: 90px;
        padding: 10px;
    }
    .gpx-stat-value {
        font-size: 18px;
    }
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
}

.upcoming-actions-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 64px;
}

.archive-section {
    padding-top: 160px;
    min-height: 80vh;
}

@media (min-width: 993px) {
    .archive-page .upcoming-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        max-width: 1200px;
    }

    .archive-page .upcoming-card {
        flex-direction: column;
        min-height: 0;
        max-height: none;
        border-radius: 18px;
    }

    .archive-page .upcoming-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-height: 300px;
    }

    .archive-page .upcoming-image {
        object-fit: cover;
        height: 100%;
    }

    .archive-page .upcoming-content {
        padding: 24px;
        justify-content: flex-start;
    }

    .archive-page .upcoming-details {
        gap: 14px;
        margin-bottom: 14px;
    }

    .archive-page .upcoming-title {
        font-size: 24px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .archive-page .upcoming-desc {
        font-size: 14px;
        line-height: 1.65;
        max-width: none;
        margin-bottom: 20px;
    }

    .archive-page .upcoming-actions {
        gap: 10px;
        justify-content: flex-start;
    }

    .archive-page .upcoming-actions-main,
    .archive-page .upcoming-actions-tools {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .archive-page .upcoming-actions .btn,
    .archive-page .upcoming-actions .btn-outline {
        padding: 10px 16px;
        font-size: 13px;
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(201, 168, 76, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s linear infinite;
}

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

/* ===========================
   Trips
   =========================== */

.trips {
    padding: var(--section-padding) 0;
    background: var(--black);
}

.map-container {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.map-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
}

.map-title h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.map-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-line {
    width: 20px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    display: inline-block;
}

#map {
    width: 100%;
    height: 500px;
}

/* Leaflet custom styles */
.leaflet-popup-content-wrapper {
    background: var(--dark-card) !important;
    color: var(--text-primary) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}

.leaflet-popup-tip {
    background: var(--dark-card) !important;
}

.leaflet-popup-content {
    font-family: var(--font-body) !important;
    margin: 12px 16px !important;
}

.popup-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.popup-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Trip Cards */
.trip-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.trip-card {
    position: relative;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.trip-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.trip-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.trip-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.trip-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.trip-card-featured .trip-card-image {
    aspect-ratio: auto;
    min-height: 400px;
}

.trip-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.trip-card:hover .trip-card-image img {
    transform: scale(1.05);
}

.trip-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark), var(--gray));
    font-size: 48px;
    color: var(--gold);
    opacity: 0.3;
}

.trip-card-content {
    padding: 28px;
}

.trip-card-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.trip-card-subtitle {
    font-size: 14px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 16px;
}

.trip-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.trip-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.trip-stat i {
    color: var(--gold);
    font-size: 12px;
}

.trip-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.trip-route-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.route-tag {
    padding: 4px 12px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: var(--gold);
    font-weight: 500;
}

/* ===========================
   Country Stickers
   =========================== */

.stickers-section {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 48px;
}

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

.stickers-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
}

.stickers-title h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.stickers-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

.stickers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.country-sticker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 130px;
    background: linear-gradient(145deg, #1e1e1e, #141414);
    border: 2px solid rgba(201, 168, 76, 0.25);
    border-radius: 16px;
    position: relative;
    cursor: default;
    transition: all 0.5s var(--ease-bounce);
    opacity: 0;
    transform: scale(0.5) rotate(-15deg);
}

.country-sticker.revealed {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.country-sticker::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.3), transparent, rgba(201, 168, 76, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.country-sticker:hover::before {
    opacity: 1;
}

.country-sticker:hover {
    transform: scale(1.1) rotate(3deg);
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2);
}

.country-sticker::after {
    content: attr(data-year);
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.country-sticker.no-year::after {
    display: none;
}

.sticker-flag {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    font-family: "Apple Color Emoji", "Twemoji Country Flags", "Segoe UI Emoji", "Noto Color Emoji", emoji;
}

.sticker-code {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    line-height: 1.2;
}

.sticker-name {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===========================
   Map Controls & Trip Selector
   =========================== */

.map-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trip-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trip-select-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.trip-select-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.trip-select-btn.active {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.1);
}

.trip-select-btn i {
    font-size: 11px;
}

/* ===========================
   Gallery
   =========================== */

.gallery-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark) 50%, var(--black) 100%);
}

.gallery-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.gallery-random-card {
    display: flex;
    flex-direction: column;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.gallery-random-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.gallery-random-media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.gallery-random-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    opacity: 1;
}

.gallery-random-card:hover .gallery-random-image {
    transform: scale(1.04);
}

.gallery-random-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.05) 0%, rgba(10, 10, 10, 0.55) 100%);
    pointer-events: none;
}

.gallery-random-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 30px;
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold);
    font-size: 12px;
    font-family: var(--font-heading);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.gallery-random-content {
    padding: 22px 24px 24px;
}

.gallery-random-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold);
    margin-bottom: 8px;
}

.gallery-random-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.gallery-random-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.gallery-random-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
}

.gallery-random-card.is-fading .gallery-random-image {
    opacity: 0.2;
}

.instagram-embed-card {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: none;
    margin: 0;
    padding: 28px 36px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.4s var(--ease);
}

.instagram-embed-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 48, 108, 0.3);
    box-shadow: 0 12px 40px rgba(225, 48, 108, 0.15);
}

.instagram-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--instagram-1), var(--instagram-3), var(--instagram-5));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.instagram-card-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.instagram-card-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.instagram-card-arrow {
    color: var(--text-muted);
    font-size: 16px;
    flex-shrink: 0;
    transition: color 0.3s var(--ease);
}

.instagram-embed-card:hover .instagram-card-arrow {
    color: var(--instagram-3);
}

/* ===========================
   Join
   =========================== */

.join {
    padding: var(--section-padding) 0;
    background: var(--black);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.join-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-top: 20px;
}

.join-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.join-card {
    display: block;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--dark-card);
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

.join-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 16px 48px rgba(37, 211, 102, 0.1);
}

.instagram-card:hover {
    border-color: rgba(225, 48, 108, 0.3);
    box-shadow: 0 16px 48px rgba(225, 48, 108, 0.1);
}

.join-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}

.whatsapp-card .join-card-icon {
    background: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp);
}

.instagram-card .join-card-icon {
    background: linear-gradient(135deg, rgba(240, 148, 51, 0.15), rgba(225, 48, 108, 0.15));
    color: var(--instagram-3);
}

.join-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.join-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.join-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    transition: gap 0.3s var(--ease);
}

.join-card:hover .join-card-cta {
    gap: 14px;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s var(--ease);
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    transform: translateY(-2px);
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-location i {
    color: var(--gold);
}

/* ===========================
   Animations
   =========================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for value cards */
.about-values .value-card:nth-child(1) { transition-delay: 0s; }
.about-values .value-card:nth-child(2) { transition-delay: 0.1s; }
.about-values .value-card:nth-child(3) { transition-delay: 0.2s; }
.about-values .value-card:nth-child(4) { transition-delay: 0.3s; }

/* ===========================
   Responsive
   =========================== */

.nav-mobile-info {
    display: none;
}

@media (max-width: 1024px) {
    .president-card {
        grid-template-columns: 350px 1fr;
    }

    .trip-card-featured {
        grid-template-columns: 1fr;
    }

    .trip-card-featured .trip-card-image {
        min-height: auto;
        aspect-ratio: 16/10;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(10, 10, 10, 0.8);
        border: 2px solid var(--gold);
        color: var(--gold);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        font-size: 32px;
        font-weight: 400;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s var(--ease);
        backdrop-filter: blur(4px);
    }

    .nav-close:hover {
        background: var(--gold);
        color: var(--black);
        transform: scale(1.1);
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100svh;
        background: linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.95)), url('assets/stelvio-bikes.png') center/cover no-repeat;
        display: flex;
        flex-direction: column;
        padding: 80px 24px 32px;
        gap: 16px;
        transition: right 0.4s var(--ease);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
        overflow: hidden;
    }

    .nav-menu-wrapper.open {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        margin-top: 10px;
    }

    .nav-mobile-info {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        margin-top: auto;
    }

    .mobile-info-social {
        display: flex;
        justify-content: center;
        gap: 16px;
    }

    .mobile-info-social a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold);
        font-size: 20px;
        transition: all 0.3s var(--ease);
    }

    .mobile-info-social a:hover {
        background: rgba(201, 168, 76, 0.2);
    }

    .nav-link {
        font-size: 18px;
        padding: 8px 18px;
        width: 100%;
    }

    .hero-logo img {
        width: 120px;
        height: 120px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .founder-image {
        height: 300px;
    }

    .founder-info {
        padding: 24px;
    }

    .trip-cards {
        grid-template-columns: 1fr;
    }

    .trip-card-featured {
        grid-template-columns: 1fr;
    }

    #map {
        height: 350px;
    }

    .stickers-section {
        padding: 24px;
    }

    .stickers-header {
        flex-direction: column;
        text-align: center;
    }

    .stickers-grid {
        gap: 12px;
    }

    .country-sticker {
        width: 90px;
        height: 110px;
    }

    .sticker-flag {
        font-size: 28px;
    }

    .sticker-code {
        font-size: 14px;
    }

    .map-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .map-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .join-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .instagram-embed-card {
        flex-direction: column;
        text-align: center;
    }

    .gallery-cta {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .map-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* ===========================
   Cookie Consent Banner
   =========================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
    pointer-events: none;
}

.cookie-banner-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px;
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.cookie-icon {
    font-size: 28px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cookie-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gold);
    color: var(--black);
}

.cookie-btn-accept:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .cookie-banner-text {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* ===========================
   Gallery & Lightbox Styles
   =========================== */
.gallery-page {
    padding-top: 100px;
}

.gallery-header {
    text-align: center;
    padding: 40px 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding-bottom: 60px;
}

.photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: #1a1a1a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.photo-item img, .photo-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.photo-item:hover img, .photo-item:hover video {
    transform: scale(1.05);
}

.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.2);
}

.photo-item:hover .video-indicator {
    background: #c9a84c;
    color: #111;
    border-color: #c9a84c;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-media-container img, .lightbox-media-container video {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox-media-container video {
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #c9a84c;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
    user-select: none;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: #c9a84c;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .lightbox-prev {
        left: 10px;
        background: rgba(0,0,0,0.5);
        border-radius: 5px;
        padding: 10px;
    }
    .lightbox-next {
        right: 10px;
        background: rgba(0,0,0,0.5);
        border-radius: 5px;
        padding: 10px;
    }
    .lightbox-close {
        top: 10px;
        right: 20px;
    }
}
/* ===========================
   GPX Settings Panel
   =========================== */

.gpx-settings-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
    flex-shrink: 0;
}

.gpx-stats-dialog .gpx-settings-btn {
    position: absolute;
    top: 14px;
    right: 58px;
    z-index: 2;
}

.gpx-settings-btn:hover, .gpx-settings-btn.active {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
    color: var(--gold);
    transform: rotate(45deg);
}

.gpx-settings-panel {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-top: 16px;
    margin-bottom: 24px;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gpx-settings-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gpx-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.gpx-settings-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gpx-settings-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gpx-settings-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    height: 40px;
}

.gpx-settings-input-wrap:focus-within {
    border-color: var(--gold);
}

.gpx-settings-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0 12px;
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.gpx-settings-input::-webkit-outer-spin-button,
.gpx-settings-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.gpx-settings-unit {
    padding-right: 12px;
    color: var(--text-muted);
    font-size: 13px;
    user-select: none;
    white-space: nowrap;
}

.gpx-settings-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gpx-settings-reset {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

.gpx-settings-reset:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.gpx-settings-apply {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    border: none;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gpx-settings-apply:hover {
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

/* ===========================
   Legal Pages (Privacy / Cookie Policy)
   =========================== */

.legal-page {
    background: var(--black);
}

.container-narrow {
    max-width: 860px;
}

.legal-section {
    padding: 160px 0 120px;
    min-height: 80vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 64px;
}

.legal-header .section-tag {
    display: inline-block;
    margin-bottom: 16px;
}

.legal-header .section-title {
    margin-bottom: 16px;
}

.legal-updated {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 500;
}

.legal-content {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 56px 56px 48px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.legal-lead {
    font-size: 17px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-content p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

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

.legal-content em {
    color: var(--text-secondary);
    font-style: italic;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 48px 0 20px;
    padding-left: 18px;
    border-left: 3px solid var(--gold);
    line-height: 1.3;
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    margin: 32px 0 14px;
    line-height: 1.4;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 22px 4px;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.85;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content li::marker {
    color: var(--gold);
}

.legal-content a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(201, 168, 76, 0.4);
    text-underline-offset: 3px;
    transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease);
    word-break: break-word;
}

.legal-content a:hover {
    color: var(--gold-light);
    text-decoration-color: var(--gold-light);
}

.legal-content code {
    font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
    font-size: 13px;
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold-light);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    white-space: nowrap;
}

.legal-note {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid rgba(201, 168, 76, 0.4);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 0 0 22px;
    line-height: 1.7;
}

.legal-cta {
    margin-top: 48px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 16px;
    text-align: center;
}

.legal-cta p {
    margin-bottom: 0;
    color: var(--text-primary);
    font-size: 15px;
}

/* Tables in legal pages */
.legal-table-wrapper {
    overflow-x: auto;
    margin: 8px 0 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    -webkit-overflow-scrolling: touch;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--text-secondary);
    min-width: 520px;
}

.legal-table thead {
    background: rgba(201, 168, 76, 0.08);
}

.legal-table th {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    white-space: nowrap;
}

.legal-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: top;
    line-height: 1.6;
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.legal-table code {
    font-size: 12px;
    white-space: nowrap;
}

.legal-content button.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    margin: 8px 0;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 120px 0 80px;
    }

    .legal-content {
        padding: 32px 22px 28px;
        border-radius: 16px;
    }

    .legal-content h2 {
        font-size: 20px;
        margin: 36px 0 16px;
    }

    .legal-content h3 {
        font-size: 16px;
    }

    .legal-lead {
        font-size: 15px;
    }

    .legal-content p,
    .legal-content ul,
    .legal-content ol {
        font-size: 14px;
    }
}

/* ===========================
   Cookie banner — close button
   =========================== */

.cookie-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
    padding: 0;
}

.cookie-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.cookie-banner-content {
    position: relative;
}

.cookie-desc a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s var(--ease);
}

.cookie-desc a:hover {
    color: var(--gold-light);
}

@media (max-width: 768px) {
    .cookie-close {
        top: 8px;
        right: 8px;
    }
}

/* ===========================
   Floating Cookie Preferences Button
   =========================== */

.cookie-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9998;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.3);
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    padding: 0;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
        background 0.25s var(--ease), border-color 0.25s var(--ease),
        box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}

.cookie-fab-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cookie-fab:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: var(--gold);
    color: var(--gold-light);
    box-shadow: 0 8px 26px rgba(201, 168, 76, 0.25);
    transform: translateY(-2px) scale(1.04);
}

.cookie-fab:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .cookie-fab {
        bottom: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}
