/* Root Variables */
:root {
    --primary: #DC143C;       /* Rojo (Crimson) */
    --secondary: #0FA36B;     /* Verde actualizado para mejor contraste */
    --gold: #FFD700;          /* Dorado */
    --white: #FFFFFF;         /* Blanco */
    --text: #1F2937;          /* Texto más oscuro para mejor legibilidad */
    --light: #f8f9fa;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    /* Big Event extra tokens */
    --santa-red: var(--primary);
    --festive-green: var(--secondary);
    --hoho-text: var(--text);
    --hoho-border: rgba(31, 41, 55, 0.12);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    /* Use fondo2 as the global background for the whole site */
    background: url('/images/fondo-de-pagina/fondo2.png') center center / cover fixed no-repeat;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ensure form controls and interactive elements use the same font */
html, body, button, input, select, textarea {
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 11100;
}

/* Navigation */
.navbar {
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 14000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-selector {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.language-selector:hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.language-selector option {
    background: var(--dark);
    color: var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Colored logo text: HoHoHODL */
.logo span { font-weight: 800; line-height: 1; }
.logo .logo-letter { font-weight: 800; }
.logo .letter-1,
.logo .letter-3,
.logo .letter-5,
.logo .letter-7 { color: var(--primary); }
.logo .letter-2,
.logo .letter-6 { color: var(--secondary); }
.logo .letter-4,
.logo .letter-8 { color: var(--gold); }

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

/* Hamburger menu button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hamburger animation when open */
.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 20px 20px;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

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

    .nav-menu .nav-link {
        display: block;
        padding: 15px 10px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        color: var(--text);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(220,20,60,0.05);
        color: var(--primary);
    }

    .nav-controls {
        position: fixed;
        bottom: 20px;
        right: calc(-100% + 20px);
        width: calc(70% - 40px);
        max-width: 260px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active ~ .nav-controls {
        right: 20px;
    }

    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

.nav-event {
    color: var(--gold);
    font-weight: 800;
    animation: blinkGold 1.2s infinite;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
}

.nav-event::after {
    background: var(--gold);
}

@keyframes blinkGold {
    0%, 60%, 100% { opacity: 1; }
    30% { opacity: 0.3; }
}

.admin-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Hero Section */
.hero {
    background: transparent;
    position: relative;
    overflow: visible;
    padding: 1.5rem 0 3rem 0;
}

/* (Deprecated) .banner removed in favor of .portada */

/* Portada (banner bajo la barra) */
.portada {
    width: 100%;
    padding: 0.5rem 0 1rem 0;
    background: transparent;
}

.portada .container { /* asegura mismo ancho que nav/hero */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portada-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    background: transparent;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    margin: 0;
    object-fit: cover;
}

/* Make portada and hero visually contiguous so they look like one section */
.portada {
    padding-bottom: 0;
    margin-bottom: 2rem;
}

.portada .container { padding-bottom: 0; }

.hero {
    padding-top: 0;
    margin-top: 0;
}

/* When backgrounds are assigned, remove rounded corners and shadow from the banner so it blends */
.portada.bg-assigned .portada-img {
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12) !important;
}

.hero-content {
    text-align: center;
    color: var(--hoho-text);
}

/* Home hero long paragraph: justified with centered last line */
.hero-content .hero-description {
    text-align: justify;
    text-align-last: center;
    -ms-text-align-last: center;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    margin-left: auto;
    margin-right: auto;
    color: var(--hoho-text);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary);
    text-shadow: none;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #0FA36B !important;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-btn {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.3);
}

/* Enhanced CTA style */
.cta-btn {
    background: linear-gradient(90deg, var(--primary) 0%, #a80f30 100%);
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: 14px;
    letter-spacing: 0.6px;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(220,20,60,0.35); }

/* Hero copy box + small copy button */
.hero-copy-wrap { margin-top: 18px; display:flex; justify-content:center; }
.hero-copy-box {
    display: inline-flex; align-items:center; gap:10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,250,0.9));
    border: 1px solid rgba(31,41,55,0.06);
    padding: 10px 12px; border-radius: 12px; box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    max-width: 760px; width: 100%; justify-content:space-between;
}
.hero-copy-text { color: var(--hoho-text); font-weight:600; font-size:0.95rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.copy-btn {
    background: linear-gradient(90deg, var(--gold), #ffe372);
    border: none; color: #7a4700; font-weight:800; padding:8px 10px; border-radius:10px; cursor:pointer; font-size:0.9rem;
    box-shadow: 0 6px 16px rgba(255,215,0,0.18);
}
.copy-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,215,0,0.25); }

@media (max-width: 680px) {
    .hero-copy-box { padding: 8px; gap:8px; }
    .hero-copy-text { font-size:0.9rem; }
    .cta-btn { padding: 12px 22px; }
}

/* --- Attention-grabbing effects for CTA and copy box --- */

@keyframes pulseGlow {
  0% { box-shadow: 0 8px 20px rgba(220,20,60,0.28); transform: translateY(0); }
  50% { box-shadow: 0 20px 44px rgba(220,20,60,0.42); transform: translateY(-3px); }
 100% { box-shadow: 0 8px 20px rgba(220,20,60,0.28); transform: translateY(0); }
}

@keyframes shineAcross {
  0% { transform: translateX(-120%) skewX(-20deg); opacity: 0; }
  50% { transform: translateX(30%) skewX(-20deg); opacity: 0.6; }
 100% { transform: translateX(120%) skewX(-20deg); opacity: 0; }
}

.cta-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform-origin: center center;
    /* stronger, faster heartbeat pulse */
    animation: pulseGlow 3.2s ease-in-out infinite, bgCycle 6s linear infinite, pulseBeat 1.0s cubic-bezier(.2,.7,.2,1) infinite;
}
.cta-btn::after {
    content: '';
    position: absolute;
    top: -10%; left: -40%;
    width: 60%; height: 120%;
    background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.28), rgba(255,255,255,0.12));
    transform: translateX(-120%) skewX(-20deg);
    opacity: 0; pointer-events: none;
}
.cta-btn:hover::after { animation: shineAcross 1.2s ease-in-out 1; }

.hero-copy-box {
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.hero-copy-box::before {
    content: '';
    position: absolute; inset: -2px; z-index: -1; border-radius: 14px;
    background: linear-gradient(90deg, rgba(220,20,60,0.06), rgba(255,215,0,0.06), rgba(15,163,107,0.06));
    filter: blur(8px);
    opacity: 0.9; transition: opacity 0.28s ease;
}
.hero-copy-box:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.hero-copy-box:hover::before { opacity: 1; }

.copy-btn {
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.copy-btn:hover { transform: translateY(-2px) scale(1.02); }
.copy-btn:active { transform: translateY(0) scale(0.98); }
.copy-btn.copied { transform: scale(1.04); box-shadow: 0 10px 26px rgba(255,215,0,0.22); }

/* Subtle floating ornaments on large screens */
@media (min-width: 900px) {
    .cta-btn { box-shadow: 0 12px 30px rgba(220,20,60,0.32); }
}

/* Confetti pieces for copy feedback */
.confetti-piece {
    position: fixed;
    width: 8px; height: 12px;
    will-change: transform, opacity;
    pointer-events: none;
    z-index: 20000;
    opacity: 0.95;
    border-radius: 2px;
}

@keyframes confetti-fall {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate3d(var(--dx, 0px), 120px, 0) rotate(360deg); opacity: 0; }
}

/* CTA vibration and color alternation */
@keyframes vibrate {
    0% { transform: translateX(0); }
    20% { transform: translateX(-1.5px) rotate(-0.5deg); }
    40% { transform: translateX(1.5px) rotate(0.5deg); }
    60% { transform: translateX(-1px) rotate(-0.4deg); }
    80% { transform: translateX(1px) rotate(0.4deg); }
 100% { transform: translateX(0); }
}

.cta-btn.cta-vibrate { animation: vibrate 0.12s linear infinite; }
.cta-btn.cta-flash { animation: bgCycle 1s linear 1 both; }

@keyframes bgCycle {
    0% { background: linear-gradient(90deg, #0FA36B 0%, #0b8a55 100%); box-shadow: 0 12px 30px rgba(15,163,107,0.28); }
    25% { background: linear-gradient(90deg, #1E90FF 0%, #0b66d1 100%); box-shadow: 0 12px 30px rgba(16,102,255,0.28); }
    50% { background: linear-gradient(90deg, #DC143C 0%, #a80f30 100%); box-shadow: 0 12px 30px rgba(220,20,60,0.28); }
    75% { background: linear-gradient(90deg, #FF8C42 0%, #ff6b00 100%); box-shadow: 0 12px 30px rgba(255,140,66,0.28); }
 100% { background: linear-gradient(90deg, #0FA36B 0%, #0b8a55 100%); box-shadow: 0 12px 30px rgba(15,163,107,0.28); }
}

/* Pulse / heartbeat animation */
@keyframes pulseBeat {
    0% { transform: scale(1); box-shadow: 0 8px 20px rgba(220,20,60,0.28); }
    20% { transform: scale(1.04); box-shadow: 0 12px 26px rgba(220,20,60,0.30); }
    50% { transform: scale(1.12); box-shadow: 0 20px 40px rgba(220,20,60,0.36); }
    80% { transform: scale(1.04); box-shadow: 0 12px 26px rgba(220,20,60,0.30); }
 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(220,20,60,0.28); }
}

/* Make confetti even more subtle by default */
.confetti-piece { opacity: 0.9; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12)); }

/* Music autoplay blocked notification */
/* (autoplay notice removed) */

/* Floating buy button (icon-only) */
.floating-buy {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    border-radius: 12px; /* square-ish */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 21000;
    box-shadow: 0 14px 36px rgba(0,0,0,0.28);
    font-size: 22px;
    transition: transform 0.18s ease, opacity 0.22s ease, box-shadow 0.22s ease;
    animation: pulseGlow 3.2s ease-in-out infinite, pulseBeat 1.0s cubic-bezier(.2,.7,.2,1) infinite;
    position: fixed;
    overflow: hidden;
}
.floating-buy::before {
    /* subtle cuadriculado overlay */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 8px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 8px);
    opacity: 0.18;
    pointer-events: none;
}
.floating-buy:hover { transform: translateY(-4px) scale(1.02); }
.floating-buy.hidden { opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; }

@media (max-width: 480px) {
    .floating-buy { right: 12px; bottom: 12px; width: 48px; height: 48px; font-size: 18px; }
}
/* ensure inline SVG fits nicely */
.floating-buy img { width: 32px; height: 32px; display: block; object-fit: contain; transition: transform 0.18s ease; }
.floating-buy:hover img { transform: scale(1.3); }



/* =====================
   Roadmap Timeline Map
   ===================== */
.roadmap-timeline {
    margin: 1rem 0 2rem 0;
    position: relative;
    padding: 1rem;
    border-radius: 16px;
    background: transparent;
}

/* --- Big Event styles --- */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.95rem;
    color: var(--hoho-text);
    margin: 1rem 0 1.2rem 0;
}
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.card {
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(31,41,55,0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    width: 100%;
    backdrop-filter: blur(3px);
    position: relative;
    z-index: 11100;
}

/* Card body padding for section cards */
.card-body {
    padding: 2rem;
}

/* Special padding for portada banner */
.portada-body {
    padding: 1rem;
}

/* Ensure all section cards have same width */
.page-section .card,
.hero .card {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 11100;
}

.card-body h2 {
    color: #0FA36B;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem 0;
}

.card-body h2:first-of-type {
    margin-top: 0.5rem;
}

.card-body p {
    color: var(--hoho-text);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.card-body .section-title {
    color: var(--primary);
    text-shadow: none;
    margin-bottom: 1rem;
}

.hero-banner { position: relative; }
.hero-banner img { width: 100%; height: auto; display: block; }
.hero-badge {
    position: absolute; bottom: 12px; left: 12px;
    background: linear-gradient(90deg, var(--gold), #ffe372);
    color: #7a4700;
    font-weight: 900; font-size: 0.9rem;
    padding: 6px 10px; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.hero-body { display: grid; gap: 16px; padding: 16px; }
.hero-right { display: grid; gap: 12px; }
.badge-row { margin-top: 12px; display:flex; gap:8px; flex-wrap:wrap; }

.hero-sub { margin-top: 6px; color: var(--hoho-text); opacity: 0.85; }

.badge { font-size: 0.85rem; font-weight: 800; padding: 6px 10px; border-radius: 999px; }
.badge.red { background: rgba(220,20,60,0.10); color: var(--santa-red); border: 1px solid rgba(220,20,60,0.25); }
.badge.green { background: rgba(15,163,107,0.10); color: var(--festive-green); border: 1px solid rgba(15,163,107,0.25); }
.badge.turq { background: rgba(0,184,212,0.10); color: #00b8d4; border: 1px solid rgba(0,184,212,0.25); }

.main-grid { margin-top: 8px; display: grid; gap: 16px; }
.main { min-width: 0; }
.aside { min-width: 0; }

.k-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.mini-card { background: #fff; border: 1px solid var(--hoho-border); border-radius: 12px; padding: 12px; box-shadow: 0 8px 18px rgba(0,0,0,0.05); }
.mini-title { margin: 0; font-size: 1rem; font-weight: 900; }
.agenda-title { margin-top: 16px; font-weight: 900; }
.agenda-list { margin-top: 8px; color: var(--hoho-text); padding-left: 1rem; }

.rsvp-form { display: grid; gap: 8px; grid-template-columns: 1fr; align-items: start; }
.input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--hoho-border); background: #fff; outline: none; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(220,20,60,0.15); }
.rsvp-msg { grid-column: 1 / -1; margin-top: 6px; font-size: 0.95rem; color: var(--hoho-text); }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius: 10px; border:none; background:#eee; color:#111; font-weight:800; cursor:pointer; transition: var(--transition); text-decoration:none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.02); box-shadow: 0 8px 18px rgba(220,20,60,0.25); }
.btn-accent { background: var(--festive-green); color: #fff; }
.btn-accent:hover { filter: brightness(1.03); box-shadow: 0 8px 18px rgba(15,163,107,0.25); }
.btn-outline { background:#fff; color: var(--hoho-text); border:1px solid var(--hoho-border); }

.count-card { 
    border: 2px solid var(--gold); 
    border-radius: 16px; 
    padding: 24px; 
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,255,255,1) 50%, rgba(15,163,107,0.1) 100%); 
    box-shadow: 0 10px 30px rgba(255,215,0,0.2); 
    text-align: center; 
}
.count-label { font-size: 1.1rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.count-value { 
    font-weight: 900; 
    font-size: 2.5rem; 
    letter-spacing: 3px; 
    margin: 12px 0; 
    color: var(--primary); 
    text-shadow: 2px 2px 4px rgba(220,20,60,0.2);
}

/* ========================================== */
/* ======== MODERN COUNTDOWN BOXES ========== */
/* ========================================== */

.countdown-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px auto;
    padding: 15px 20px;
    background: 
        repeating-linear-gradient(
            45deg,
            #DC143C 0px,
            #DC143C 8px,
            #0FA36B 8px,
            #0FA36B 16px,
            #DC143C 16px,
            #DC143C 24px,
            #FFD700 24px,
            #FFD700 32px
        );
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    position: relative;
}

.countdown-container::before {
    content: '';
    position: absolute;
    inset: 5px;
    background: rgba(255,255,255,0.97);
    border-radius: 12px;
    z-index: 0;
}

.countdown-box {
    background: linear-gradient(180deg, #DC143C 0%, #a01030 100%);
    border: 2px solid #FFD700;
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 65px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    border-radius: 8px 8px 0 0;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.countdown-label {
    display: block;
    font-size: 0.65rem;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 5px;
    position: relative;
    z-index: 1;
}

.countdown-separator {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    z-index: 1;
    position: relative;
}

@media (max-width: 480px) {
    .countdown-box {
        min-width: 70px;
        padding: 15px 18px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-separator {
        font-size: 1.8rem;
    }
}

/* ========================================== */
/* ====== END MODERN COUNTDOWN BOXES ======== */
/* ========================================== */

.side-stats { display: grid; gap: 12px; }
.stat-card { border:1px solid var(--hoho-border); border-radius:12px; padding:12px; background:#fff; box-shadow:0 8px 18px rgba(0,0,0,0.05); }
.stat-title { color: #000; opacity:1.0; font-weight:700; font-size:1.1rem; }
.stat-value { font-weight: 900; font-size: 1.7rem; }
.stat-flex { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.stat-number { font-weight:900; font-size:1.2rem; }
.stat-right { text-align:right; }

.share-box { border:1px solid var(--hoho-border); border-radius:12px; padding:12px; background:#fff; box-shadow:0 8px 18px rgba(0,0,0,0.05); }
.share-title { font-weight:900; margin-bottom:8px; }
.share-row { display:flex; gap:8px; flex-wrap:wrap; }

.cta-row { margin-top: 12px; display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }

.footer-body { padding-top:8px; border-top:1px solid var(--hoho-border); }
.footer-cta { width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.footer-actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

@media (min-width: 900px) {
  .hero-body { grid-template-columns: 2fr 1fr; align-items: start; }
  .main-grid { grid-template-columns: 2fr 1fr; }
  .k-grid { grid-template-columns: 1fr 1fr; }
  .rsvp-form { grid-template-columns: 1fr 1fr auto; }
}

/* --- Global Colored Snow Effect --- */
.snow-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; /* allow all interactions below */
    overflow: hidden;
    z-index: 10005; /* above fireworks canvases and nav */
}

/* --- Flying Santa Animation --- */
.flying-santa {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}

.flying-santa img {
    width: 120px;
    height: auto;
    animation: santa-bob 0.8s ease-in-out infinite;
}

@keyframes santa-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Santa sparkle trail */
.santa-sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: sparkle-fade 0.8s ease-out forwards;
}

@keyframes sparkle-fade {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0); opacity: 0; }
}

/* Falling Bitcoin coins from Santa */
.santa-coin {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    font-size: 1.5rem;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700, 0 2px 4px rgba(0,0,0,0.3);
    animation: coin-fall 2.5s ease-in forwards;
}

@keyframes coin-fall {
    0% { 
        transform: translateY(0) rotateY(0deg); 
        opacity: 1; 
    }
    100% { 
        transform: translateY(calc(100vh - 100px)) rotateY(1080deg); 
        opacity: 0; 
    }
}

.snowflake {
    position: absolute;
    top: -12px;
    border-radius: 50%;
    opacity: 0.9;
    mix-blend-mode: normal; /* ensure visibility over white content */
    will-change: transform;
    animation-name: fall-snow;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall-snow {
    0% { transform: translate3d(0, -12px, 0); }
    50% { transform: translate3d(var(--drift, 0px), 50vh, 0) rotate(180deg); }
    100% { transform: translate3d(calc(var(--drift, 0px) * 2), 100vh, 0) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .snow-container { display: none !important; }
    /* Force snow and fireworks on The Big Event page */
    body.page-big-event .snow-container,
    body.page-big-event .fireworks-canvas,
    body.page-big-event .fireworks-canvas-live { display: block !important; }
}

/* --- Fireworks overlay (Big Event welcome) --- */
.fireworks-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10001; /* above snow */
}

.fireworks-canvas-live {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10002; /* above welcome fireworks and snow */
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.5rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(255,215,0,0.25) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255,215,0,0.5), 0 0 20px rgba(255,215,0,0.25);
    background-size: 100% 200%;
    animation: lineFlow 4s linear infinite;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    padding: 0.25rem 0 1.25rem 0;
}

.timeline-item:last-child { padding-bottom: 0; }

.marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 2px solid #fff;
    z-index: 1;
    animation: pulseGlow 2.4s ease-in-out infinite;
}

.marker img,
.marker .roadmap-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.marker.gold { background: var(--gold); color: #7A5E00; }
.marker.red { background: rgba(220,20,60,0.12); color: var(--primary); border-color: rgba(220,20,60,0.25); }
.marker.green { background: rgba(15,163,107,0.12); color: var(--secondary); border-color: rgba(15,163,107,0.25); }

.phase-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    text-align: left; /* lists read better left-aligned */
    transition: transform .2s ease, box-shadow .2s ease;
}

.phase-1 .phase-card { background: linear-gradient(180deg, rgba(220,20,60,0.07), #fff 38%); }
.phase-2 .phase-card { background: linear-gradient(180deg, rgba(15,163,107,0.08), #fff 38%); }
.phase-3 .phase-card { background: linear-gradient(180deg, rgba(220,20,60,0.06), #fff 38%); }
.phase-2 .phase-card { 
    background: linear-gradient(180deg, rgba(15,163,107,0.10), #fff 38%);
    box-shadow: 0 10px 22px rgba(15,163,107,0.18), 0 3px 10px rgba(15,163,107,0.18);
}
.phase-3 .phase-card { 
    background: linear-gradient(180deg, rgba(220,20,60,0.06), #fff 38%);
    box-shadow: 0 10px 22px rgba(220,20,60,0.16), 0 3px 10px rgba(220,20,60,0.16);
}
.phase-4 .phase-card { 
    background: linear-gradient(180deg, rgba(15,163,107,0.09), #fff 38%);
    box-shadow: 0 10px 22px rgba(15,163,107,0.17), 0 3px 10px rgba(15,163,107,0.17);
}
.phase-5 .phase-card { 
    background: linear-gradient(180deg, rgba(255,215,0,0.16), #fff 38%);
    box-shadow: 0 10px 22px rgba(255,215,0,0.28), 0 3px 10px rgba(255,215,0,0.26);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.phase-title {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.phase-1 .phase-title { color: var(--primary); }
.phase-2 .phase-title { color: var(--secondary); }
.phase-3 .phase-title { color: var(--primary); }
.phase-4 .phase-title { color: var(--secondary); }
.phase-5 .phase-title { color: var(--gold); }

.phase-sub {
    color: #6B7280;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.phase-list {
    margin: 0.25rem 0 0 1.25rem;
}

.phase-list li { color: var(--text); }
.phase-1 .phase-list li::marker { color: var(--primary); }
.phase-2 .phase-list li::marker { color: var(--secondary); }
.phase-3 .phase-list li::marker { color: var(--primary); }
.phase-4 .phase-list li::marker { color: var(--secondary); }
.phase-5 .phase-list li::marker { color: var(--gold); }

@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item { grid-template-columns: 52px 1fr; }
    .marker { width: 44px; height: 44px; }
    .marker img,
    .marker .roadmap-icon { width: 24px; height: 24px; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.12), 0 0 0 0 rgba(255,215,0,0.0); }
    50% { box-shadow: 0 6px 20px rgba(0,0,0,0.12), 0 0 18px 6px rgba(255,215,0,0.35); }
}

@keyframes lineFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 200%; }
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.6);
}

/* Main Content */
.main-content {
    padding: 2rem 0 3rem 0;
    background: #FFFFFF;
}

.page-content {
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--border-radius);
    padding: 2rem;
    color: var(--text);
    animation: fadeIn 0.5s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    text-align: center; /* centra títulos y elementos generales del contenido */
}

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

.page-content h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.page-content h2 {
    color: var(--accent);
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    text-align: center;
}

.page-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem 0;
    text-align: center;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text);
    text-align: justify; /* justificar párrafos del cuerpo */
    text-align-last: center; /* última línea centrada manteniendo justificado */
    -ms-text-align-last: center; /* IE/Edge antiguo */
    text-justify: inter-word; /* mejora el algoritmo de justificado */
    hyphens: auto; /* ayuda a cortes de palabra para mejor justificado */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    font-size: 1.05rem; /* ligeramente más grande para mejor lectura */
}

.page-content ul,
.page-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.page-content strong {
    color: var(--primary);
}

.page-content em {
    color: var(--accent);
}

/* Footer */
.footer {
    background: #FFFFFF; /* fondo blanco para el pie */
    border-top: 2px solid var(--primary);
    padding: 2rem 0;
    text-align: center;
    color: var(--text);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
.phase-1 .marker { box-shadow: 0 0 14px rgba(220,20,60,0.45), 0 6px 20px rgba(0,0,0,0.06); }
.phase-2 .marker { box-shadow: 0 0 14px rgba(15,163,107,0.45), 0 6px 20px rgba(0,0,0,0.06); }
.phase-3 .marker { box-shadow: 0 0 14px rgba(220,20,60,0.40), 0 6px 20px rgba(0,0,0,0.06); }
.phase-4 .marker { box-shadow: 0 0 14px rgba(15,163,107,0.40), 0 6px 20px rgba(0,0,0,0.06); }
.phase-5 .marker { box-shadow: 0 0 16px rgba(255,215,0,0.55), 0 6px 20px rgba(0,0,0,0.06); }
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-content {
        padding: 1.5rem;
    }

    .page-content h1 {
        font-size: 1.8rem;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Colored Letters for Logo - H o H o H O D L */
.logo span {
    font-weight: 800;
}

/* Navigation Link Colors */
.nav-link {
    color: var(--text);
}

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

/* The Big Event - Verde */
.nav-event {
    color: var(--secondary) !important;
    font-weight: 700;
}

/* CTA Button - Rojo */
.cta-btn {
    background: var(--primary);
    color: #FFFFFF;
    padding: 14px 32px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.cta-btn:hover {
    background: #B8112E;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 20, 60, 0.4);
}

/* =====================
   Tokenomics Stats Grid
   ===================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 2rem 0;
}

.stat-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.stat-card.primary {
    border-top: 4px solid var(--primary);
    background-image: url('/images/fondo_tokenomics/fondo1.png');
}
.stat-card.secondary {
    border-top: 4px solid var(--secondary);
    background-image: url('/images/fondo_tokenomics/fondo2.png');
}
.stat-card.gold {
    border-top: 4px solid var(--gold);
    background-image: url('/images/fondo_tokenomics/fondo3.png');
}

/* Tokenomics stat-card overlays for transparency and text contrast */
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.72); /* more transparent white overlay */
    z-index: 0;
}

.stat-card.primary::before { background: rgba(255,255,255,0.68); }
.stat-card.secondary::before { background: rgba(255,255,255,0.68); }
.stat-card.gold::before { background: rgba(255,255,255,0.68); }

.stat-card, .stat-card * {
    position: relative;
    z-index: 1;
}

.stat-title, .stat-note {
    color: #000 !important;
    text-shadow: 0 2px 8px rgba(255,255,255,0.25), 0 1px 0 #fff;
    font-size: 0.95rem;
}

.stat-value.primary { color: #DC143C !important; text-shadow: 0 2px 8px #fff, 0 1px 0 #fff; }
.stat-value.secondary { color: #0FA36B !important; text-shadow: 0 2px 8px #fff, 0 1px 0 #fff; }
.stat-value.gold { color: #0FA36B !important; text-shadow: 0 2px 8px #fff, 0 1px 0 #fff; }

.badge.safe { background: rgba(15,163,107,0.18); color: #0FA36B; border: 1px solid rgba(15,163,107,0.45); }
.badge.zero { background: rgba(15,163,107,0.15); color: #0FA36B !important; border: 1px solid rgba(15,163,107,0.35); font-size: 1.0rem; }
.badge.gold { background: rgba(255,215,0,0.18); color: #FFD700; border: 1px solid rgba(255,215,0,0.45); }

.stat-title {
    font-weight: 800;
    color: var(--text);
    font-size: 1rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-value.primary { color: var(--primary); }
.stat-value.secondary { color: var(--secondary); }
.stat-value.gold { color: var(--gold); }

.stat-note {
    color: #6B7280;
    font-size: 0.95rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
}

.badge.safe { background: rgba(15,163,107,0.1); color: var(--secondary); border: 1px solid rgba(15,163,107,0.3); }
.badge.zero { background: rgba(220,20,60,0.08); color: var(--primary); border: 1px solid rgba(220,20,60,0.25); }
.badge.gold { background: rgba(255,215,0,0.12); color: #8A6D00; border: 1px solid rgba(255,215,0,0.35); }

/* Responsive for stats */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* Language Selector */
.language-selector {
    background: #FFFFFF;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.language-selector:hover {
    background: #FFF5F5;
}

/* ========================================== */
/* ========= SCROLL REVEAL ANIMATIONS ======= */
/* ========================================== */

/* Page sections - full width with padding */
.page-section {
    padding: 80px 0;
    min-height: 60vh;
    position: relative;
}

.page-section:nth-child(even) {
    background: rgba(255,255,255,0.03);
}

.page-section:nth-child(odd) {
    background: transparent;
}

.section-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 11100;
}

/* Section background helper (assigned dynamically via JS) */
.page-section.bg-assigned,
.portada.bg-assigned,
.hero.bg-assigned {
    background: none !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Make the home portada occupy more vertical space when a background is assigned */
.portada.bg-assigned {
    min-height: 68vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Hide the inline portada image only when a background is assigned */
/* Keep the portada/banner image visible; do not hide it when a background is assigned */

.page-section.bg-assigned::before {
    /* subtle tint to keep text readable */
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    pointer-events: none;
    z-index: 0;
}

/* Ensure section content (and cards) are above any background overlays */
.page-section .section-content,
.portada .container,
.hero .card {
    position: relative;
    z-index: 11100;
}

/* Ensure section content appears above background overlay */
.page-section .section-content {
    position: relative;
    z-index: 11100;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: none;
}

/* Scroll animation base states */
.scroll-section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Scroll items - staggered animation for children */
.scroll-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out,
                transform 0.6s ease-out;
}

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

/* Staggered delays for scroll items */
.scroll-item:nth-child(1) { transition-delay: 0.1s; }
.scroll-item:nth-child(2) { transition-delay: 0.2s; }
.scroll-item:nth-child(3) { transition-delay: 0.3s; }
.scroll-item:nth-child(4) { transition-delay: 0.4s; }
.scroll-item:nth-child(5) { transition-delay: 0.5s; }

/* FAQ Items styling - inside white card */
.faq-item {
    background: rgba(0,0,0,0.02);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--primary);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h2 {
    color: #0FA36B;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--hoho-text);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

/* Active nav link for scroll spy */
.nav-link.scroll-active {
    color: var(--primary) !important;
    font-weight: 700;
}

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

/* Big Event section special styling */
.big-event-section {
    background: transparent !important;
    color: #fff;
}

.big-event-section .section-title {
    color: var(--gold);
}

/* Event section title fix */
.event-section-title {
    color: var(--gold);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

/* Smooth scroll offset for fixed navbar */
:target {
    scroll-margin-top: 100px;
}

/* ========================================== */
/* ======= END SCROLL REVEAL ANIMATIONS ===== */
/* ========================================== */

/* ========================================== */
/* ========= CHRISTMAS MUSIC TOGGLE ========= */
/* ========================================== */

.music-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #8B0000 100%);
    border: 3px solid var(--gold);
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.5);
    transition: all 0.3s ease;
    animation: musicPulse 2s ease-in-out infinite;
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(220, 20, 60, 0.7);
}

.music-toggle.playing {
    animation: musicPlaying 0.5s ease-in-out infinite alternate;
    background: linear-gradient(135deg, var(--secondary) 0%, #0d8a5a 100%);
    box-shadow: 0 4px 20px rgba(15, 163, 107, 0.5);
}

.music-toggle.playing:hover {
    box-shadow: 0 6px 30px rgba(15, 163, 107, 0.7);
}

.music-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(220, 20, 60, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(220, 20, 60, 0.8), 0 0 40px rgba(255, 215, 0, 0.3);
    }
}

@keyframes musicPlaying {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Mobile adjustments for music button */
@media (max-width: 768px) {
    .music-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }
}

/* ========================================== */
/* ======= END CHRISTMAS MUSIC TOGGLE ======= */
/* ========================================== */

/* ========================================== */
/* ======= HERO SOCIAL BUTTONS (MATTE) ====== */
/* ========================================== */

.hero-social-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.social-icon-svg {
    flex-shrink: 0;
}

/* Twitter/X Button - Matte Black */
.twitter-btn {
    background: #1a1a1a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.twitter-btn:active {
    transform: translateY(0);
}

/* Discord Button - Matte Indigo */
.discord-btn {
    background: #5865F2;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.discord-btn:active {
    transform: translateY(0);
}

/* Telegram Button - Matte Blue */
.telegram-btn {
    background: #0088cc;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.telegram-btn:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.telegram-btn:active {
    transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .hero-social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        padding: 12px 24px;
    }
}

/* ========================================== */
/* ===== END HERO SOCIAL BUTTONS (MATTE) ==== */
/* ========================================== */
