/* ==========================================================================
   ROUNDY PREMIUM HERO SECTION CSS
   Art Direction: Cinematic, Sports Lifestyle, Premium Editorial
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
  --bg-color: #070708;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.4);
  --accent-yellow: #f4d03f;
  --border-color: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(15, 15, 15, 0.6);
  --nav-bg: rgba(10, 10, 10, 0.75);
  --transition-bezier: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-speed: 0.5s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

ul:not(.legal-card ul), ol:not(.legal-card ol) {
  list-style: none !important;
  padding-left: 0;
  margin-left: 0;
}

/* GPU Hardware Acceleration for 60+ FPS performance */
.parallax-reveal,
.roundy-about-container,
.roundy-about-slide,
.scenarios-section-content,
.roundy-products-container,
.roundy-community-content,
.marquee-track,
.roundy-instagram-track,
.hero-video,
.card-preview-video {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Off-screen Render Optimizations */
.scenarios-section,
.roundy-products-section,
.roundy-community-section,
.roundy-instagram-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* Lenis Smooth Scroll Mandatory CSS */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

html {
  scroll-behavior: auto; /* Controlado por Lenis para inercia fluida */
  background-color: #141416;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: #141416;
}

/* Sleek Dark Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333;
}

/* 2. Layout Structure */
.page-wrapper {
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #141416;
  position: relative;
  z-index: 2;
}

/* 3. Hero Section (Full Screen Viewport with Curved Bottom) */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  background-color: #101012;
  border-radius: 0 0 64px 64px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 64px 80px 64px;
  margin: 0;
}

/* Background Video */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Dark Overlay Gradients for Contrast & Readability */
.overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* 4. Full-Width Static Header & Yellow Scroll Transformation */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 20px 64px;
  background: transparent;
  border-radius: 0;
  border: none;
  transition: 
    background-color 0.35s ease,
    padding 0.35s ease,
    border-radius 0.35s ease,
    box-shadow 0.35s ease;
}

/* Estado al hacer scroll: Barra Amarilla Fija con esquinas inferiores redondeadas */
.navbar.scrolled {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 64px;
  background-color: var(--accent-yellow);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: none;
}

/* Brand Logo Layout */
.nav-brand {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
  min-width: 110px;
}

.brand-logo {
  height: 22px;
  opacity: 1;
  transform: none;
  transition: filter 0.35s ease, transform 0.35s ease;
  position: relative;
}

.brand-icon {
  display: none !important;
}

.navbar.scrolled .brand-logo {
  filter: brightness(0); /* Logo negro nítido sobre fondo amarillo */
  opacity: 1 !important;
  transform: none !important;
}

/* Nav Links Styling */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.35s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-link.active::after {
  transform: scaleX(1);
  background-color: var(--accent-yellow);
}

/* Adaptación de links en estado amarillo scroll */
.navbar.scrolled .nav-link {
  color: #000000;
  font-weight: 700;
}

.navbar.scrolled .nav-link::after {
  background-color: #000000;
}

.navbar.scrolled .nav-link:hover {
  color: #000000;
  opacity: 0.8;
}

.navbar.scrolled .nav-link.active::after {
  background-color: #000000;
}

/* Nav Action/CTA button */
.nav-actions {
  display: flex;
  align-items: center;
  opacity: 1;
}

.nav-cta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000000;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 100%; /* Starts below button */
  left: 50%;
  width: 150%;
  height: 350%;
  background-color: var(--accent-yellow, #f4d03f);
  border-radius: 50%;
  transform: translate(-50%, 0);
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.nav-cta:hover::before {
  transform: translate(-50%, -85%);
}

.nav-cta .btn-text {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 208, 63, 0.25);
}

.nav-cta:hover .btn-text {
  color: #000000;
}

/* Hamburger Button (hidden on desktop, visible on mobile) */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 105;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.3s ease;
  transform-origin: center center;
}

/* Active Hamburger Icon (Transforms into a perfect aligned X) */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--accent-yellow);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--accent-yellow);
}

/* 5. Hero Content Layout */
.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
}

/* Left Content: Giant Slogan */
.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}

.hero-title span {
  display: block;
  transform: translateY(30px);
  opacity: 0;
  animation: revealText 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .word-1 { animation-delay: 0.2s; }
.hero-title .word-2 { animation-delay: 0.35s; }
.hero-title .word-3 { animation-delay: 0.5s; }

@keyframes revealText {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: revealSub 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

@keyframes revealSub {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Right Content: Clean Yellow CTA Button */
.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: revealSub 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--accent-yellow, #f4d03f);
  color: #000000;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(244, 208, 63, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.hero-cta-btn .arrow-svg {
  width: 18px;
  height: 18px;
  color: #000000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta-btn:hover,
.hero-cta-btn:active {
  transform: translateY(-3px) scale(1.03);
  background-color: #ffdb4d;
  box-shadow: 0 14px 40px rgba(244, 208, 63, 0.5);
}

.hero-cta-btn:hover .arrow-svg,
.hero-cta-btn:active .arrow-svg {
  transform: translateX(4px);
}

.floating-card {
  width: 320px;
  background: var(--card-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: 
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
    border-color 0.4s ease, 
    box-shadow 0.4s ease;
  cursor: pointer;
  user-select: none;
}

.floating-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.05);
}

/* Mini Card Video Player */
.card-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
}

.card-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.6s var(--transition-bezier), opacity 0.3s ease;
}

.floating-card:hover .card-preview-video {
  transform: scale(1.08);
  opacity: 1;
}

.card-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s var(--transition-bezier);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.floating-card:hover .card-play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.play-svg {
  width: 20px;
  height: 20px;
  margin-left: 2px; /* Visual centering adjustment for triangle */
}

/* Card Body & Texts */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-yellow);
  background: rgba(244, 208, 63, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.card-duration {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
}

.card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
}

.card-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Card Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin-top: 4px;
  text-decoration: none;
  cursor: pointer;
}

.footer-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.footer-text-mobile {
  display: none;
}

.footer-text-desktop {
  display: inline;
}

@media (max-width: 767px) {
  .footer-text-desktop {
    display: none !important;
  }
  .footer-text-mobile {
    display: inline-block !important;
    font-weight: 800;
    color: #000000 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .card-footer {
    background: var(--accent-yellow) !important;
    color: #000000 !important;
    padding: 12px 20px !important;
    border-radius: 40px !important;
    border-top: none !important;
    margin-top: 10px !important;
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease !important;
  }
  .card-footer .arrow-svg {
    color: #000000 !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .card-footer:hover,
  .card-footer:active {
    transform: translateY(-2px) scale(1.02) !important;
    background: #ffdb4d !important;
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.5) !important;
  }
  .card-footer:hover .arrow-svg,
  .card-footer:active .arrow-svg {
    transform: translateX(4px) !important;
  }
}

.arrow-svg {
  width: 16px;
  height: 16px;
  color: var(--text-primary);
  transition: transform 0.3s var(--transition-bezier), color 0.3s ease;
}

.floating-card:hover .footer-link,
.card-footer:hover .footer-link {
  color: var(--accent-yellow);
}

.floating-card:hover .arrow-svg,
.card-footer:hover .arrow-svg {
  transform: translateX(4px);
  color: var(--accent-yellow);
}

/* 6. Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
  z-index: 10;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-primary), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent-yellow);
  animation: scrollDownAnim 2s infinite ease-in-out;
}

@keyframes scrollDownAnim {
  0% { transform: translateY(-100%); }
  80%, 100% { transform: translateY(200%); }
}

/* 7. Community Banner Section */
.roundy-community-section {
  width: 100%;
  height: 80vh; /* Reduced height from min-height: 100vh for a tight, editorial look */
  min-height: 500px;
  max-height: 750px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #070708; /* Fallback */
  color: #ffffff;
}

.roundy-community-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.roundy-community-bg {
  width: 100%;
  height: 130%; /* Extra height to accommodate scroll translation/parallax without clipping */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  transform: scale(1.15); /* Initial scale */
  filter: brightness(0.65); /* Slightly dimmed for readability */
}

/* Gradient overlay to ensure high contrast for typography */
.roundy-community-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 22, 0.8) 0%,
    rgba(7, 7, 8, 0.3) 40%,
    rgba(7, 7, 8, 0.3) 60%,
    rgba(7, 7, 8, 0.9) 100%
  );
  z-index: 2;
}

.roundy-community-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  padding-inline: 48px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.roundy-community-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem); /* Massive premium typography */
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: #ffffff;
  max-width: 900px;
}

.roundy-community-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin-bottom: 40px;
}

/* Premium Community Button with Wave Hover effect */
.roundy-community-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding-inline: 40px;
  background-color: #ffffff; /* Inicialmente blanco */
  color: #0A0A0A; /* Texto negro */
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.roundy-community-btn::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 150%;
  height: 350%;
  background-color: var(--accent-yellow, #f4d03f); /* Ola amarilla */
  border-radius: 50%;
  transform: translate(-50%, 0);
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.roundy-community-btn .btn-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: #0A0A0A;
  transition: color 0.3s ease;
}

.roundy-community-btn .arrow {
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Hover effects */
.roundy-community-btn:hover::before {
  transform: translate(-50%, -85%);
}

.roundy-community-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(244, 208, 63, 0.3);
  border-color: var(--accent-yellow, #f4d03f);
}

.roundy-community-btn:hover .btn-text {
  color: #0A0A0A;
}

.roundy-community-btn:hover .arrow {
  transform: translateX(4px);
}

.roundy-community-btn:focus-visible::before {
  transform: translate(-50%, -85%);
}

.roundy-community-btn:focus-visible {
  outline: 2px solid var(--accent-yellow, #f4d03f);
  outline-offset: 2px;
}

/* Community Email Box Popup / Form */
.community-email-box {
  display: none;
  margin-top: 24px;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  background: rgba(20, 20, 22, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  opacity: 0;
  transform: translateY(15px) scale(0.96);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.community-email-box.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.community-email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.community-input-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

.community-email-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 14px 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
}

.community-email-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.community-email-input:focus {
  border-color: #F9B233;
  background: rgba(255, 255, 255, 0.18);
}

.community-email-submit {
  background: #F9B233;
  color: #000000;
  border: none;
  border-radius: 100px;
  padding: 14px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.community-email-submit:hover {
  background: #ffdb4d;
  transform: translateY(-2px);
}

.community-box-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F9B233;
  color: #000000;
  border: none;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 12;
}

.community-box-close:hover {
  transform: scale(1.1);
  background: #ffffff;
}

.community-success-msg {
  display: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #F9B233;
  text-align: center;
  padding: 12px;
}

/* 8. Footer Styling */
.roundy-footer {
  width: 100%;
  padding: 60px 48px 30px 48px;
  background-color: #141416; /* Gris oscuro premium */
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
  box-sizing: border-box;
  color: #ffffff;
  transform: translateY(100px);
  opacity: 0;
  will-change: transform, opacity;
}

.roundy-footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}

/* Left Column: Newsletter & Info */
.roundy-footer-col-left {
  display: flex;
  flex-direction: column;
}

.roundy-footer-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
  max-width: 480px;
}

.roundy-footer-newsletter {
  display: flex;
  align-items: center;
  background-color: #242427;
  border-radius: 50px;
  padding: 6px 6px 6px 24px;
  margin: 24px 0 16px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
}

.roundy-footer-newsletter:focus-within {
  border-color: var(--accent-yellow, #f4d03f);
  box-shadow: 0 0 15px rgba(244, 208, 63, 0.15);
}

.roundy-footer-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  outline: none;
}

.roundy-footer-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.roundy-footer-submit {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-yellow, #f4d03f);
  color: #0A0A0A;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.roundy-footer-submit:hover {
  transform: scale(1.1);
  background-color: #ffffff;
}

.roundy-footer-submit .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.roundy-footer-submit:hover .arrow-icon {
  transform: translateX(2px);
}

.roundy-footer-disclaimer {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Info Grid (Ubicación, Soporte, Síguenos) under Newsletter */
.roundy-footer-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.roundy-footer-info-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 10px 0;
  letter-spacing: 0.1em;
}

.roundy-footer-info-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.roundy-footer-info-text a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.roundy-footer-info-text a:hover {
  color: var(--accent-yellow, #f4d03f);
}

.roundy-footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.roundy-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.roundy-footer-socials a i,
.roundy-footer-socials a svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
  fill: #ffffff;
  transition: transform 0.3s ease, color 0.3s ease, fill 0.3s ease;
}

.roundy-footer-socials a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.roundy-footer-socials a:hover {
  background-color: var(--accent-yellow, #f4d03f);
  color: #0A0A0A;
  transform: translateY(-2px);
}

.roundy-footer-socials a:hover i,
.roundy-footer-socials a:hover svg {
  color: #0A0A0A;
  fill: #0A0A0A;
  transform: scale(1.15);
}

.roundy-footer-socials a:hover img {
  filter: brightness(0);
  transform: scale(1.15);
}

/* Right Column: Links & Legal Links */
.roundy-footer-col-right {
  display: flex;
  flex-direction: column;
}

.roundy-footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.roundy-footer-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.roundy-footer-links a {
  display: block;
  padding: 14px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.roundy-footer-links a:hover {
  color: var(--accent-yellow, #f4d03f);
  padding-left: 8px;
}

/* Inline Legal Links under Main Links */
.roundy-footer-legal-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 12px;
}

.roundy-footer-legal-inline a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.25s ease;
}

.roundy-footer-legal-inline a:hover,
.roundy-footer-legal-inline a.active {
  color: var(--accent-yellow, #f4d03f);
}

/* Copyright Row */
.roundy-footer-copyright {
  max-width: 1440px;
  margin: 40px auto 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roundy-footer-logo {
  height: 26px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
  display: block;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.roundy-footer-logo:hover {
  opacity: 0.9;
}

.roundy-footer-copy-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* 9. Video Modal Overlay Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(4, 4, 5, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  z-index: 1010;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.video-modal.active .modal-content {
  transform: scale(1);
}

.modal-video-wrapper {
  width: 100%;
  height: 100%;
  background: #000000;
}

.modal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1020;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, transform 0.2s ease;
}

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

.modal-close svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   10. Responsive Design & Mobile Adaptability
   ========================================================================== */

/* Tablet (1024px and down) */
@media (max-width: 1024px) {
  .hero-section {
    height: 100vh;
    padding: 48px;
    border-radius: 0 0 48px 48px;
  }
  
  .navbar {
    padding: 24px 48px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: flex-end;
  }
  
  .hero-right {
    justify-content: flex-start;
  }
  
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Mobile Devices (768px and down) */
@media (max-width: 768px) {
  .hero-section {
    padding: 32px 24px 64px 24px;
    height: 100vh;
    min-height: 568px;
    border-radius: 0 0 32px 32px;
    justify-content: flex-end;
    display: flex;
    flex-direction: column;
  }
  
  .navbar {
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border-radius: 0 0 20px 20px;
    transition: 
      background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      padding 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .hamburger-btn {
    display: flex !important;
    position: relative !important;
    z-index: 1010 !important;
  }
  
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    padding-top: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: 
      max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      visibility 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      padding 0.35s ease;
    pointer-events: none;
  }
  
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-6px);
    transition: 
      max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      visibility 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
  }

  .nav-actions .nav-cta {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: 800;
    cursor: pointer !important;
    position: relative;
    z-index: 111 !important;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: background-color 0.25s ease, transform 0.2s ease !important;
  }
  
  /* SCROLLED STATIC MOBILE NAVBAR (YELLOW WITH ROUNDED BOTTOM CORNERS) */
  .navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 20px 20px;
    padding: 10px 20px;
    margin: 0;
    background-color: var(--accent-yellow);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 
      background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      padding 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .navbar.scrolled .nav-brand {
    min-width: auto;
    height: 28px;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .navbar.scrolled .brand-logo {
    display: block !important;
    height: 18px !important;
    position: relative !important;
    opacity: 1 !important;
    filter: brightness(0) !important;
    transform: none !important;
  }

  .navbar.scrolled .brand-icon {
    display: none !important;
  }

  .navbar.scrolled .hamburger-line {
    background-color: #000000 !important;
  }

  /* EXPANDED MOBILE MENU DRAWER */
  .navbar.expanded {
    overflow: visible !important;
    border-radius: 0 0 24px 24px !important;
    padding: 14px 20px 22px 20px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    background: var(--accent-yellow) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    transition: 
      background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      padding 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1),
      box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
  }

  /* Ocultar el botón flotante si el menú está abierto */
  body.menu-open .floating-buy-btn {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .navbar.expanded .nav-brand {
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
  }

  .navbar.expanded .brand-logo {
    filter: brightness(0) !important;
  }

  .navbar.expanded .hamburger-line {
    background-color: #000000 !important;
  }

  .navbar.expanded .nav-links {
    max-height: 240px !important;
    padding-top: 6px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    transition: 
      max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1),
      opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1) 0.05s,
      transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
      visibility 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
  }

  .navbar.expanded .nav-link {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #000000 !important;
    padding: 8px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    width: 100%;
    display: block;
  }

  .navbar.expanded .nav-link:hover,
  .navbar.expanded .nav-link.active {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.08) !important;
  }

  .navbar.expanded .nav-actions {
    max-height: 80px !important;
    margin-top: 2px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition: 
      max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1),
      opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1) 0.1s,
      transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
      visibility 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
  }

  .navbar.expanded .nav-cta:hover,
  .navbar.expanded .nav-cta:active {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

  .hero-left {
    margin-bottom: 8px;
  }
  
  .hero-title {
    font-size: clamp(2.6rem, 9vw, 3.8rem);
    line-height: 0.9;
  }
  
  .hero-tagline {
    margin-top: 12px;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
  }  .hero-right {
    justify-content: flex-start;
    margin-top: 12px;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-cta-btn {
    padding: 14px 28px;
    font-size: 13px;
    letter-spacing: 0.05em;
    width: auto;
  }
  
  .roundy-community-section {
    height: 70vh;
    padding-inline: 24px;
  }
  
  .roundy-footer {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: 10 !important;
    padding: 40px 24px 100px 24px !important;
    margin-bottom: 0 !important;
    background-color: #141416 !important;
  }

  .roundy-footer-col-left {
    display: flex !important;
    flex-direction: column !important;
  }

  .roundy-footer-container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .roundy-footer-info-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 28px !important;
    padding-top: 20px !important;
  }

  .roundy-footer-legal-inline {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    justify-content: flex-start !important;
  }

  .roundy-footer-copyright {
    margin-top: 36px !important;
    padding-top: 20px !important;
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
  }
}

/* Floating Buy Button with wave fill hover effect */
.floating-buy-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 95; /* High enough to hover over content, below overlays if needed */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background-color: #FFFFFF;
  color: #0A0A0A;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
  transition: 
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), /* Fast but smooth transform for mouse tracking */
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-buy-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Wave background element */
.floating-buy-btn::before {
  content: '';
  position: absolute;
  top: 100%; /* Starts below button */
  left: 50%;
  width: 150%;
  height: 350%;
  background-color: var(--accent-yellow, #f4d03f);
  border-radius: 50%;
  transform: translate(-50%, 0);
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1;
}

.floating-buy-btn:hover::before {
  transform: translate(-50%, -85%);
}

.floating-buy-btn .btn-text {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.floating-buy-btn:hover {
  color: #0A0A0A;
  box-shadow: 0 15px 35px rgba(244, 208, 63, 0.3);
}

.floating-buy-btn:hover .btn-text {
  color: #0A0A0A;
}

/* Adjust floating button position on mobile & add padding to footer to prevent overlap */
@media (max-width: 768px) {
  .floating-buy-btn {
    bottom: 20px;
    right: 20px;
    height: 46px;
    padding: 0 24px;
    font-size: 11px;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .roundy-footer,
  footer {
    padding-bottom: 110px !important;
  }
}

/* ==========================================================================
   ROUNDY PRODUCTS SECTION
   ========================================================================== */
.roundy-products-section {
  background-color: #141416; /* Gris oscuro premium, no negro puro */
  padding: 60px 0 0 0; /* Reduced top and bottom padding as requested */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.roundy-products-container {
  width: 100%;
  max-width: 100%;
}

.roundy-products-header {
  margin-bottom: 56px;
  text-align: left;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}

.roundy-products-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.roundy-products-title {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
}

.roundy-products-accent {
  color: #F9B233; /* Amarillo ROUNDY */
}

.roundy-products-header-desc {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
}

/* Grid Layout (Continuous clear surface - Full Bleed with rounded corners at top) */
.roundy-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background-color: #FFFFFF;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-bottom: none;
  border-radius: 64px 64px 0 0; /* Redondeado solo arriba contra el encabezado oscuro, plano abajo hacia la siguiente sección blanca */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.roundy-products-column {
  display: flex;
  flex-direction: column;
  padding: 56px 48px;
  background: transparent;
  border-right: 1px solid rgba(10, 10, 10, 0.12);
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.4s ease;
}

.roundy-products-column:last-child {
  border-right: none;
}

/* Item Image Container */
.roundy-products-item {
  position: relative;
  margin: 0 0 36px 0;
  padding: 0;
  aspect-ratio: 1 / 1;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}

.roundy-products-item-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Commercial Information */
.roundy-products-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.roundy-products-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.roundy-products-name {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0A0A0A;
  line-height: 1.1;
  margin: 0;
}

.roundy-products-price {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #FF5A00; /* Naranja de realce */
  white-space: nowrap;
}

.roundy-products-description {
  font-size: 15px;
  line-height: 1.6;
  color: #676767;
  margin: 16px 0 32px 0;
}

/* Buy Button - Wave hover effect on column hover */
.roundy-products-buy {
  display: flex;
  width: 100%;
  height: 50px;
  align-items: center;
  justify-content: center;
  background-color: #0A0A0A; /* Negro */
  color: #ffffff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  margin-top: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roundy-products-buy::before {
  content: '';
  position: absolute;
  top: 100%; /* Starts below */
  left: 50%;
  width: 150%;
  height: 350%;
  background-color: var(--accent-yellow, #f4d03f); /* Ola amarilla */
  border-radius: 50%;
  transform: translate(-50%, 0);
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.roundy-products-buy .btn-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: #ffffff;
}

.roundy-products-buy-arrow {
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Slide Out/In Text Animation Keyframes */
@keyframes btnTextSlideOutIn {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  35% {
    transform: translateX(120%);
    opacity: 0;
  }
  45% {
    transform: translateX(-120%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Hover effects activated on column hover */
.roundy-products-column:hover .roundy-products-buy::before {
  transform: translate(-50%, -85%);
}

.roundy-products-column:hover .roundy-products-buy .btn-text {
  color: #0A0A0A; /* Text changes to dark to stand out against yellow */
  animation: btnTextSlideOutIn 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.roundy-products-column:hover .roundy-products-buy {
  box-shadow: 0 10px 25px rgba(244, 208, 63, 0.25);
  transform: translateY(-2px);
}

.roundy-products-column:hover .roundy-products-item-image {
  transform: scale(1.05);
}

/* Accessibility for direct button keyboard focus */
.roundy-products-buy:focus-visible::before {
  transform: translate(-50%, -85%);
}

.roundy-products-buy:focus-visible .btn-text {
  color: #0A0A0A;
  animation: btnTextSlideOutIn 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.roundy-products-buy:focus-visible {
  outline: 2px solid var(--accent-yellow, #f4d03f);
  outline-offset: 2px;
}

/* Responsive Styles: Direct vertical rows on Tablet and Mobile */
@media (max-width: 1099px) {
  .roundy-products-section {
    padding: 50px 0 0 0;
  }
  
  .roundy-products-title {
    font-size: 38px;
  }
  
  .roundy-products-grid {
    grid-template-columns: 1fr;
    border-radius: 48px 48px 0 0; /* Matches top rounding */
    border-bottom: none;
  }
  
  .roundy-products-column {
    border-right: none;
    border-bottom: 1px solid rgba(10, 10, 10, 0.10);
    padding: 40px 24px;
  }
  
  .roundy-products-column:last-child {
    border-bottom: none;
  }
  
  .roundy-products-item {
    margin-bottom: 24px;
  }
  
  .roundy-products-description {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }

  .roundy-products-section {
    padding: 40px 0 20px 0;
    overflow: hidden;
  }
  
  .roundy-products-title {
    font-size: 32px;
  }
  
  .roundy-products-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 16px 20px 28px 20px !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    scrollbar-width: none !important;
  }

  .roundy-products-grid::-webkit-scrollbar {
    display: none !important;
  }
  
  .roundy-products-column {
    flex: 0 0 85% !important;
    width: 85% !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
    background: #FFFFFF !important;
    border-radius: 24px !important;
    border: 1px solid rgba(10, 10, 10, 0.1) !important;
    padding: 24px 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    margin: 0 !important;
  }
  
  .roundy-products-name,
  .roundy-products-price {
    font-size: 20px;
  }
  
  .roundy-products-description {
    font-size: 14px;
  }
  
  .roundy-footer {
    padding: 60px 24px 30px 24px;
  }
  
  .roundy-footer-headline {
    font-size: 22px;
  }
  
  .roundy-footer-newsletter {
    padding: 6px 6px 6px 16px;
  }
  
  .roundy-footer-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .roundy-footer-copyright {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    padding-inline: 0;
  }
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  .roundy-products-buy::before {
    transition: none !important;
  }
  
  .roundy-products-buy {
    transition: none !important;
  }
  
  .roundy-products-buy-arrow {
    transition: none !important;
  }

  .roundy-products-column:hover .roundy-products-item-image {
    transform: none !important;
  }

  .roundy-products-column:hover .roundy-products-buy {
    transform: none !important;
  }
  
  .roundy-products-column:hover .roundy-products-buy .btn-text {
    animation: none !important;
  }
}

/* 10. Scroll & Load Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.4s; }

.parallax-reveal {
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(120px);
}

/* Hero Entrance Animation */
.hero-left,
.hero-right {
  opacity: 0;
  transform: translateY(30px);
  animation: heroEntrance 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-right {
  animation-delay: 0.2s;
}

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   SECTION: SCENARIOS (1 SOLA RED. MIL ESCENARIOS)
   ========================================================================== */
.scenarios-section {
  width: 100%;
  background-color: #141416;
  padding: 100px 0 0 0; /* Sits right at the bottom next to the next section */
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.scenarios-section-content {
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(120px);
}

.scenarios-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
}

.scenarios-header {
  max-width: 800px;
  margin-bottom: 60px;
  text-align: left;
}

.scenarios-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #F9B233; /* Brand yellow color */
  display: block;
  margin-bottom: 12px;
}

.scenarios-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 20px 0;
}

.scenarios-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.65;
  color: #A0A0A5;
  margin: 0;
}

/* Continuous Marquee styles */
.scenarios-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  margin-top: 32px;
  position: relative;
  user-select: none;
}

/* Gradient overlays to fade out the marquee on left/right edges */
.scenarios-marquee-wrapper::before,
.scenarios-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 160px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.scenarios-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #141416 0%, transparent 100%);
}

.scenarios-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #141416 0%, transparent 100%);
}

.scenarios-marquee {
  display: flex;
  width: max-content;
  gap: 24px;
}

.marquee-track {
  display: flex;
  gap: 24px;
}

.marquee-card {
  width: 320px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Animations for Left and Right Marquees */
.marquee-left .marquee-track {
  animation: scroll-left 36s linear infinite;
}

.marquee-right .marquee-track {
  animation: scroll-right 36s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-100% - 24px), 0, 0);
  }
}

@keyframes scroll-right {
  0% {
    transform: translate3d(calc(-100% - 24px), 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Pause scroll animation on hover to allow detailed inspection */
.scenarios-marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* Yellow Ribbon Styling */
.scenarios-ribbon-wrapper {
  width: 100%;
  background-color: #F9B233; /* Roundy yellow */
  overflow: hidden;
  padding: 18px 0;
  margin-top: 56px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.scenarios-ribbon {
  display: flex;
  width: max-content;
}

.ribbon-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 24px;
  animation: ribbon-scroll 32s linear infinite;
  padding-right: 24px;
}

.ribbon-track span {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #0A0A0A; /* Black letters */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ribbon-track .ribbon-dot {
  color: #0A0A0A;
  opacity: 0.4;
  font-size: 20px;
}

@keyframes ribbon-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Responsive styles */
@media (max-width: 1024px) {
  .scenarios-container {
    padding: 0 48px;
  }
  .scenarios-marquee-wrapper::before,
  .scenarios-marquee-wrapper::after {
    width: 100px;
  }
  .scenarios-ribbon-wrapper {
    padding: 14px 0;
    margin-top: 40px;
  }
  .ribbon-track span {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .scenarios-section {
    padding: 80px 0 0 0;
  }
  
  .scenarios-container {
    padding: 0 24px;
  }
  
  .scenarios-header {
    margin-bottom: 40px;
  }
  
  .marquee-card {
    width: 260px;
    height: 180px;
    border-radius: 12px;
  }
  
  .scenarios-marquee-wrapper::before,
  .scenarios-marquee-wrapper::after {
    width: 60px;
  }
  .scenarios-ribbon-wrapper {
    padding: 12px 0;
    margin-top: 32px;
  }
  .ribbon-track span {
    font-size: 16px;
  }
}

/* ==========================================================================
   SECTION: ¿QUÉ ES ROUNDY? (EDITORIAL LIGHT SECTION)
   ========================================================================== */
.roundy-about-section {
  width: 100%;
  background-color: #FFFFFF;
  color: #0A0A0A;
  padding: 120px 0 100px 0;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  border-radius: 0 0 40px 40px; /* Esquinas redondeadas al final de la sección */
  overflow: hidden;
}

.roundy-about-section .roundy-about-container {
  max-width: 1440px;
  margin-inline: auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 64px;
  align-items: center;
  box-sizing: border-box;
}

.roundy-about-section .roundy-about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.roundy-about-section .roundy-about-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FF5A00;
  display: block;
  margin-bottom: 20px;
}

.roundy-about-section .roundy-about-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #0A0A0A;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 28px 0;
}

.roundy-about-section .roundy-about-accent {
  color: #FF5A00;
}

.roundy-about-section .roundy-about-description {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: #0A0A0A;
  font-weight: 500;
  margin: 0 0 16px 0;
}

.roundy-about-section .roundy-about-description-sub {
  color: #696969;
  font-weight: 400;
  margin-bottom: 40px;
}

/* Editorial Attributes List */
.roundy-about-section .roundy-about-features {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.roundy-about-section .roundy-about-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.10);
}

.roundy-about-section .roundy-about-feature:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.10);
}

.roundy-about-section .roundy-about-feature-num {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #FF5A00;
  letter-spacing: 0.05em;
  padding-top: 2px;
  flex-shrink: 0;
}

.roundy-about-section .roundy-about-feature-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roundy-about-section .roundy-about-feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0A0A0A;
  margin: 0;
}

.roundy-about-section .roundy-about-feature-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #696969;
  margin: 0;
}

/* Media Column & Slider */
.roundy-about-section .roundy-about-media-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.roundy-about-section .roundy-about-media-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  background-color: #F5F4EF;
}

.roundy-about-section .roundy-about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 32px;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease-in-out, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.roundy-about-section .roundy-about-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* CTA Button Under Image */
.roundy-about-section .roundy-about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 28px;
  background-color: #0A0A0A;
  color: #FFFFFF;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.roundy-about-section .roundy-about-cta-btn:hover {
  background-color: #FF5A00;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 90, 0, 0.35);
}

.roundy-about-section .roundy-about-cta-btn .cta-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.roundy-about-section .roundy-about-cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

/* Responsive Media Queries for roundy-about-section */
@media (max-width: 1024px) {
  .roundy-about-section {
    padding: 80px 0 60px 0;
  }
  .roundy-about-section .roundy-about-container {
    padding: 0 40px;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
  }
  .roundy-about-section .roundy-about-title {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  }
}

@media (max-width: 768px) {
  .roundy-about-section {
    padding: 64px 0 50px 0;
    border-radius: 0 0 28px 28px;
  }
  .roundy-about-section .roundy-about-container {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .roundy-about-section .roundy-about-copy {
    width: 100%;
  }
  .roundy-about-section .roundy-about-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
    margin-bottom: 20px;
  }
  .roundy-about-section .roundy-about-media-wrapper {
    order: 3;
  }
  .roundy-about-section .roundy-about-media-slider,
  .roundy-about-section .roundy-about-slide {
    border-radius: 20px;
  }
}

/* ==========================================================================
   SECTION: INSTAGRAM CAROUSEL
   ========================================================================== */
.roundy-instagram-section {
  width: 100%;
  background-color: #0A0A0C;
  padding: 120px 0 140px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* Ambient Roundy Background (Claramente visible, ambientada y cinematográfica) */
.roundy-instagram-section::before {
  content: '';
  position: absolute;
  inset: -15px;
  background-image: url('recursos/GALERIA DE ESCENARIOS/ChatGPT Image 16 jul 2026, 04_53_48 p.m. (2).webp');
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  filter: blur(6px) brightness(0.48) saturate(1.15);
  transform: scale(1.05);
  z-index: 0;
  pointer-events: none;
}

/* Degradado de fusión suave en bordes superior e inferior */
.roundy-instagram-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0A0A0C 0%, rgba(10, 10, 12, 0.12) 20%, rgba(10, 10, 12, 0.22) 75%, #0A0A0C 100%);
  z-index: 1;
  pointer-events: none;
}

.roundy-instagram-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.roundy-instagram-header {
  max-width: 840px;
  margin: 0 auto 60px auto;
  text-align: center;
  padding: 0 32px;
}

.instagram-handle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 22px;
  border-radius: 30px;
  margin-bottom: 22px;
  color: var(--accent-yellow);
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.instagram-handle-badge:hover {
  transform: translateY(-2px);
  background: rgba(244, 208, 63, 0.25);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

.instagram-handle-badge .ig-icon {
  width: 18px;
  height: 18px;
}

.roundy-instagram-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0 0 18px 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.95);
}

.roundy-instagram-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.9);
}

/* Carousel Track & Cards (Tarjetas más grandes y con mayor presencia) */
.roundy-instagram-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 24px 0 32px 0;
}

.roundy-instagram-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: igScroll 38s linear infinite;
  padding-left: 28px;
  will-change: transform;
}

.roundy-instagram-carousel-wrapper:hover .roundy-instagram-track {
  animation-play-state: paused;
}

@keyframes igScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-50% - 14px), 0, 0); }
}

.ig-post-card,
.ig-post-card:link,
.ig-post-card:visited,
.ig-post-card:hover,
.ig-post-card:focus,
.ig-post-card:active {
  width: 370px;
  background: rgba(18, 18, 22, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
}

.ig-post-card *,
.ig-post-card *:link,
.ig-post-card *:visited,
.ig-post-card *:hover,
.ig-post-card *:focus,
.ig-post-card *:active {
  text-decoration: none !important;
}

.ig-post-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(244, 208, 63, 0.65);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.8), 0 0 30px rgba(244, 208, 63, 0.18);
}

.ig-post-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.ig-post-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ig-post-card:hover .ig-post-image-wrapper img {
  transform: scale(1.07);
}

.ig-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #FFFFFF;
}

.ig-post-card:hover .ig-post-overlay {
  opacity: 1;
}

.ig-overlay-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-yellow);
}

.ig-overlay-text {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.ig-post-footer {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.ig-post-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ig-avatar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-yellow);
}

.ig-username {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none !important;
}

.ig-post-caption {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none !important;
}

.ig-post-meta {
  margin-top: auto;
  padding-top: 10px;
  text-decoration: none !important;
}

.ig-likes {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-yellow);
  text-decoration: none !important;
}

@media (max-width: 1024px) {
  .ig-post-card {
    width: 330px;
  }
}

@media (max-width: 768px) {
  .roundy-instagram-section {
    padding: 70px 0 90px 0;
  }
  .ig-post-card {
    width: 290px;
  }
}

/* ==========================================================================
   ACCESSIBILITY (a11y) & HIGH CONTRAST FOCUS STYLES (WCAG AA)
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--accent-yellow, #F4D03F) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 12px rgba(244, 208, 63, 0.5) !important;
}

/* Support for users with reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 60 FPS GPU Acceleration Utilities */
.gpu-accelerated {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ==========================================================================
   INFO & LEGAL PAGES LIGHT THEME & BLOCK FOOTER FLOW
   ========================================================================== */

body.info-page,
body.legal-page {
  background-color: #FFFFFF !important;
  color: #18181B !important;
}

body.info-page .legal-container,
body.legal-page .legal-container {
  background-color: #FFFFFF !important;
  color: #18181B !important;
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 32px 80px 32px;
}

body.info-page .legal-title,
body.legal-page .legal-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #09090B !important;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

body.info-page .legal-content h2,
body.legal-page .legal-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #09090B !important;
  margin-top: 40px;
  margin-bottom: 16px;
  border-bottom: 2px solid #F4D03F;
  padding-bottom: 6px;
  display: inline-block;
}

body.info-page .legal-content p,
body.info-page .legal-content li,
body.legal-page .legal-content p,
body.legal-page .legal-content li {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  color: #3F3F46 !important;
  line-height: 1.85;
  margin-bottom: 18px;
}

body.info-page .legal-content strong,
body.legal-page .legal-content strong {
  color: #09090B !important;
}

body.info-page .legal-content a,
body.legal-page .legal-content a {
  color: #D97706 !important;
  text-decoration: underline;
  font-weight: 600;
}

body.info-page .legal-content a:hover,
body.legal-page .legal-content a:hover {
  color: #B45309 !important;
}

/* Static Block Footer for Info & Legal Pages (No Fixed Overlap) */
body.info-page .roundy-footer,
body.legal-page .roundy-footer,
body.faq-page .roundy-footer,
body.rules-page .roundy-footer {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  opacity: 1 !important;
  z-index: 10 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  background-color: #141416 !important;
}

body.info-page .page-wrapper,
body.legal-page .page-wrapper,
body.faq-page .page-wrapper,
body.rules-page .page-wrapper {
  margin-bottom: 0 !important;
}

/* Header Navbar for Info & Legal Pages top state */
body.info-page .navbar:not(.scrolled),
body.legal-page .navbar:not(.scrolled) {
  background-color: #F4D03F !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.info-page .navbar:not(.scrolled) .nav-link,
body.legal-page .navbar:not(.scrolled) .nav-link {
  color: #000000 !important;
  font-weight: 700;
}

body.info-page .navbar:not(.scrolled) .brand-logo,
body.legal-page .navbar:not(.scrolled) .brand-logo {
  filter: brightness(0) !important;
}

body.info-page .navbar:not(.scrolled) .hamburger-line,
body.legal-page .navbar:not(.scrolled) .hamburger-line {
  background-color: #000000 !important;
}

body.info-page .navbar:not(.scrolled) .nav-cta,
body.legal-page .navbar:not(.scrolled) .nav-cta {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

