@import url('language-toggle.css');

/* Multi-language nav text: hide all by default, show only active language */
.nav-text {
  display: none;
}
html.lang-en .nav-text-en {
  display: inline;
}
html.lang-es .nav-text-es {
  display: inline;
}
html.lang-pt .nav-text-pt {
  display: inline;
}

/* Footer link style for Team Access */
.footer-link {
  color: inherit;
  text-decoration: none;
  font-size: 1em;
  margin-top: 0.5em;
  display: inline-block;
  transition: color 0.2s;
}
.footer-link:hover, .footer-link:focus {
  color: var(--pink, #ff1b7b);
  text-decoration: none;
}
/* D9 Comics Main Stylesheet */

/* ====== RESET ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ====== VARIABLES ====== */
:root {
  --pink: #E72786;
  --white: #fff;
  --bg: #1C1C1C;
  --font: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1200px;
  --radius: 12px;
  --shadow: 0 20px 40px rgba(231,39,134,0.3);
}

html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ====== SECTION TITLES WITH FLAGS ====== */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.section-flag {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.1);
}

/* ====== HEADER ====== */
/* ====== HEADER ====== */
.header {
  background: var(--pink);
  position: relative;      /* make header the anchor box */
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
}

/* NAV CONTAINER */
.nav-container {
  position: relative;       /* makes the lang button stay inside */
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
}

/* LOGO */
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* MENU */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: transform 0.3s;
  cursor: pointer;
  background: transparent;
  border: none;
}
.nav-link:hover {
  transform: translateY(-2px);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* WEBCOMICS SELECTOR - EXPANDING INLINE DESIGN */
.nav-item.webcomics-selector {
  display: flex;
  align-items: center;
  gap: 0;
  background: transparent;
  border-radius: 25px;
  padding: 0;
  transition: all 0.8s ease;
}
.nav-item.webcomics-selector:hover,
.nav-item.webcomics-selector:focus-within {
  background: rgba(0, 0, 0, 0.08);
  gap: 0.55rem;
  padding: 0 0.65rem 0 0.85rem;
}
.webcomics-label {
  color: var(--white);
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  white-space: nowrap;
  transition: all 0.7s ease;
}
.webcomics-label:hover {
  transform: translateY(-2px);
}
.nav-item.webcomics-selector:hover .webcomics-label,
.nav-item.webcomics-selector:focus-within .webcomics-label {
  padding: 0.5rem 0.45rem 0.5rem 0;
  transform: translateY(0);
}
.lang-pills {
  display: flex;
  gap: 0.5rem;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.8s ease;
  pointer-events: none;
  white-space: nowrap;
}
.nav-item.webcomics-selector:hover .lang-pills,
.nav-item.webcomics-selector:focus-within .lang-pills {
  max-width: 400px;
  opacity: 1;
  pointer-events: all;
}

/* Webcomics pages: lock in expanded state, disable all transitions and hover effects */
body.webcomics-page .nav-item.webcomics-selector {
  background: rgba(0, 0, 0, 0.08);
  gap: 0.55rem;
  padding: 0 0.65rem 0 0.85rem;
  transition: none !important;
}
body.webcomics-page .nav-item.webcomics-selector:hover,
body.webcomics-page .nav-item.webcomics-selector:focus-within {
  background: rgba(0, 0, 0, 0.08);
  gap: 0.55rem;
  padding: 0 0.65rem 0 0.85rem;
}
body.webcomics-page .webcomics-label {
  padding: 0.5rem 0.45rem 0.5rem 0;
  transform: translateY(0);
  transition: none !important;
}
body.webcomics-page .webcomics-label:hover {
  transform: translateY(0);
}
body.webcomics-page .nav-item.webcomics-selector:hover .webcomics-label,
body.webcomics-page .nav-item.webcomics-selector:focus-within .webcomics-label {
  padding: 0.5rem 0.45rem 0.5rem 0;
  transform: translateY(0);
}
body.webcomics-page .lang-pills {
  max-width: 400px;
  opacity: 1;
  pointer-events: all;
  transition: none !important;
}
body.webcomics-page .nav-item.webcomics-selector:hover .lang-pills,
body.webcomics-page .nav-item.webcomics-selector:focus-within .lang-pills {
  max-width: 400px;
  opacity: 1;
  pointer-events: all;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.95rem;
  background: #fff;
  color: var(--pink);
  text-decoration: none;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.35s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--pink);
  white-space: nowrap;
}
.lang-pill:hover {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}
.lang-pill:active {
  background: #5b21b6;
  color: #fff;
  border-color: #5b21b6;
}
/* Active pill styling - just purple background and white text */
.lang-pill.active,
.lang-pill.active:hover {
  background: #7c3aed !important;
  color: #fff !important;
  border-color: #7c3aed !important;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3) !important;
}

/* MOBILE MENU */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .nav-container {
    padding: 0 1rem;
    max-width: 100%;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pink);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 1rem;
    width: calc(100% - 2rem);
    max-width: calc(100vw - 2rem);
    animation: slideDown 0.3s ease-out;
    box-sizing: border-box;
  }

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

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0.75rem;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-menu-toggle:active {
    transform: scale(0.95);
  }

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

  .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .nav-link:active {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0.98);
  }

  /* Webcomics selector mobile styles */
  .nav-item.webcomics-selector {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    border-radius: 12px;
    width: 100%;
  }

  .webcomics-label {
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
  }

  .lang-pills {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: none;
    opacity: 1;
    pointer-events: all;
    width: 100%;
  }

  .lang-pill {
    width: 100%;
    padding: 0.85rem 1rem;
    min-height: 48px;
    font-size: 0.95rem;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .lang-pill:active {
    transform: scale(0.98);
  }

  /* Language dropdown mobile adjustments */
  .language-dropdown {
    width: 100%;
  }

  .lang-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    min-height: 48px;
  }
}

/* ====== LANGUAGE TOGGLE - 2025 SEGMENTED CONTROL ====== */
@media (min-width: 769px) {
  .language-dropdown {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
  }
}



/* ====== MAIN ====== */
.main-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem 2rem 3rem;
}
.home-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.page-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg,var(--pink),#f06292);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  text-align: center;
}

.page-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  line-height: 1.3;
  max-width: 600px;
  margin: 0 auto 0.35rem;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.75rem;
  }

  .page-subtitle {
    font-size: 0.85rem;
    padding: 0 1rem;
  }
}

/* ====== LANGUAGE NAVIGATION (HORIZONTAL ANCHORS) ====== */
.language-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  /* padding: 0.35rem 0 0.5rem; */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.lang-nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

/* Flag at the start */
.lang-nav-flag-tiny {
  width: 20px;
  height: auto;
  margin-right: 0.5rem;
  opacity: 0.8;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.lang-nav-link span {
  color: var(--white);
}

.lang-nav-link:hover {
  color: var(--pink);
  background: rgba(231, 39, 134, 0.1);
  transform: translateY(1px);
}

.lang-nav-link:hover .lang-nav-flag-tiny {
  opacity: 1;
  transform: scale(1.1);
}

.lang-nav-flag {
  width: 24px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-nav-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .language-nav {
    gap: 0.5rem;
    padding: 0.75rem 0;
  }

  .lang-nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }

  .lang-nav-flag {
    width: 20px;
  }
}

/* ====== LANGUAGE SECTIONS ====== */
.language-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  scroll-margin-top: 100px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

.section-header {
  margin-bottom: 0.65rem;
}

.section-title-main {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  line-height: 1.1;
}

/* SIMPLE ARTISTIC PURPLE BADGE (45° rotated) */
.new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.58rem;
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 3px;
  text-transform: uppercase;
  transform: rotate(-8deg) translateY(-0.15rem);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
  margin-left: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  vertical-align: middle;
}

.section-flag {
  width: 34px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  margin-left: 0;
  line-height: 1.2;
  padding-left: 0.1rem;
}

@media (max-width: 768px) {
  .section-title-main {
    font-size: 1.4rem;
    gap: 0.5rem;
  }

  .new-badge {
    padding: 0.21rem 0.58rem;
    font-size: 0.63rem;
  }

  .section-flag {
    width: 30px;
  }

  .section-subtitle {
    font-size: 0.75rem;
  }
}

/* Legacy support */
.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--pink);
  font-weight: 700;
}

/* ====== GRID / CARDS ====== */
.comics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.comics-grid.coming-soon-pt {
  display: flex;
  justify-content: center;
}

.coming-soon-container {
  text-align: center;
  padding: 3rem 1rem;
  background: rgba(231, 39, 134, 0.06);
  border: 1px solid rgba(231, 39, 134, 0.25);
  border-radius: 16px;
  margin: 2rem auto 3rem;
  max-width: 620px;
  color: #f5f5f5;
  box-shadow: 0 12px 40px rgba(231, 39, 134, 0.08);
}

.coming-soon-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: var(--pink);
}

.coming-soon-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 auto;
}

.coming-soon-text strong {
  color: #fff;
}
@media (max-width:768px) {
  .comics-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.comic-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.comic-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}
.comic-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ====== PRIVATE/PREMIUM COMIC EFFECTS ====== */
.comic-card.private-comic {
  position: relative;
  overflow: visible;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Beautiful static glow effect on hover */
.comic-card.private-comic:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(168, 85, 247, 0.3),
    0 0 30px rgba(168, 85, 247, 0.6),
    0 0 60px rgba(168, 85, 247, 0.4),
    0 0 90px rgba(139, 47, 201, 0.3);
}

/* Exclusive badge */
.comic-card.private-comic::after {
  content: '⭐ EXCLUSIVE';
  position: absolute;
  top: 1.2rem;
  right: -0.5rem;
  padding: 0.68rem 1.8rem 0.68rem 1.45rem;
  background: linear-gradient(135deg,
    #8B2FC9 0%,
    #A855F7 50%,
    #FFD700 100%);
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateX(20px) rotate(3deg) scale(0.9);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 3;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    1px 1px 0 rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-right: none;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

.comic-card.private-comic:hover::after {
  opacity: 1;
  transform: translateX(0) rotate(3deg) scale(1);
}

/* ====== PILLS (TAGS & AUTHORS) ====== */
.pill-container {
  padding: 0.75rem 1rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
  overflow: hidden;
  min-width: 0;
}

.pill-group-authors {
  display: flex;
  flex-wrap: nowrap !important;
  gap: 0.4rem;
  align-items: center;
  overflow: hidden;
  padding-right: 2px;
  flex: 0 1 auto;
  min-width: 0;
}

.pill-group-authors.expanded {
  flex-wrap: wrap !important;
  overflow: visible;
}

.pill-group-tags {
  display: flex;
  flex-wrap: nowrap !important;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding-right: 2px;
  flex: 0 1 auto;
  min-width: 0;
}

.pill-group-tags.expanded {
  flex-wrap: wrap !important;
  overflow: visible;
}

.pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.pill-tag {
  background: rgba(231, 39, 134, 0.15);
  color: #ff5fa8;
  border: 1px solid rgba(231, 39, 134, 0.3);
}

.pill-tag:hover {
  background: rgba(231, 39, 134, 0.25);
  border-color: rgba(231, 39, 134, 0.5);
}

.pill-author {
  background: rgba(100, 181, 246, 0.15);
  color: #64b5f6;
  border: 1px solid rgba(100, 181, 246, 0.3);
}

.pill-author:hover {
  background: rgba(100, 181, 246, 0.25);
  border-color: rgba(100, 181, 246, 0.5);
}

/* +N more pill styling */
.pill-more {
  padding: 0.35rem 0.65rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.pill-more:hover {
  opacity: 1;
}

/* Mobile: Stack authors and tags on separate lines */
@media (max-width: 768px) {
  .pill-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .pill-group-authors,
  .pill-group-tags {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Filter Pills Container */
.filter-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding: 0.5rem 0;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(231, 39, 134, 0.2);
  color: #fff;
  border: 1px solid rgba(231, 39, 134, 0.4);
}

.filter-pill-remove {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.filter-pill-remove:hover {
  opacity: 1;
}

/* Filter Controls Row */
.filter-controls-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin: 2rem 0 1.5rem;
  flex-wrap: wrap;
}

/* Search Input Inline */
.search-input-inline {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(231, 39, 134, 0.3);
  background: rgba(28, 28, 28, 0.95);
  color: #e0e0e0;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-input-inline::placeholder {
  color: rgba(224, 224, 224, 0.5);
}

.search-input-inline:focus {
  border-color: rgba(231, 39, 134, 0.7);
  box-shadow: 0 0 0 3px rgba(231, 39, 134, 0.15);
}

/* Filter Selector Dropdowns (Public Pages) */
.filter-selector {
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: rgba(28, 28, 28, 0.95);
  border: 1px solid rgba(231, 39, 134, 0.3);
  color: #e0e0e0;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  min-width: 140px;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e72786' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.filter-selector:hover {
  border-color: rgba(231, 39, 134, 0.5);
  background-color: rgba(28, 28, 28, 1);
}

.filter-selector:focus {
  outline: none;
  border-color: rgba(231, 39, 134, 0.7);
  box-shadow: 0 0 0 3px rgba(231, 39, 134, 0.15);
}

.filter-selector option {
  background: #1C1C1C;
  color: #e0e0e0;
  padding: 0.5rem;
}

/* Clear Filters Button */
.clear-filters-btn {
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid rgba(244, 67, 54, 0.4);
  color: #f44336;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.clear-filters-btn:hover {
  background: rgba(244, 67, 54, 0.25);
  border-color: rgba(244, 67, 54, 0.6);
}

.clear-filters-btn:active {
  transform: scale(0.98);
}

.section-cta {
  margin-top: 1.4rem;
  margin-bottom: 1.8rem;
  text-align: center;
}

.see-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(231, 39, 134, 0.92), rgba(255, 99, 166, 0.92));
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  font-size: 0.85rem;
  box-shadow: none;
}

.see-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(231, 39, 134, 0.35);
}

.see-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(231, 39, 134, 0.28);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .filter-controls-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-inline {
    max-width: 100%;
  }

  .filter-selector {
    min-width: 100%;
  }

  /* Mobile-optimized pills layout */
  .pill-container {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 0.75rem 0.5rem;
    align-items: stretch;
  }

  .pill-group-authors {
    justify-content: flex-start;
    width: 100%;
    gap: 0.35rem;
    flex-wrap: nowrap !important;
  }

  .pill-group-tags {
    justify-content: flex-start;
    width: 100%;
    margin-left: 0;
    gap: 0.35rem;
    flex-wrap: nowrap !important;
  }

  .pill {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  color: #aaa;
  padding: 2rem 0;
  font-size: 0.8rem;
}
footer a {
  color: #aaa;
}

/* ====== NEW FOOTER SECTION ====== */
.footer-extended {
  background: #1A1A1A;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 2rem 2rem;
  margin-top: 2rem;
}
.footer-content {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-section h3 {
  color: var(--pink);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.footer-section p,
.footer-section a {
  color: #B5B5B5;
  text-decoration: none;
  line-height: 2;
  transition: all 0.3s;
  display: block;
  font-size: 0.9rem;
}
.footer-section a:hover {
  color: var(--pink);
  padding-left: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #888;
  font-size: 0.85rem;
}
@media(max-width:768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.promo-divider {
  max-width: var(--maxw);
  margin: 1rem auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  opacity: 0.6;
  box-shadow: none;
  animation: none;
}

@keyframes pinkGlow {
  0% {
    opacity: 0.6;
    box-shadow: 0 2px 12px rgba(231,39,134,0.5);
  }
  100% {
    opacity: 0.8;
    box-shadow: 0 4px 20px rgba(231,39,134,0.7);
  }
}

/* ====== PROMOTIONAL BANNER (HOME PAGE) ====== */
.promo-banner-container {
  max-width: var(--maxw);
  margin: 2rem auto;
  padding: 0 2rem;
  perspective: 1000px;
}

.promo-banner-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.promo-banner-link:hover {
  border-radius: var(--radius);
  transform: translateY(-8px) scale(1.02) rotateX(2deg);
  box-shadow:
    0 30px 70px rgba(231,39,134,0.5),
    0 0 100px rgba(231,39,134,0.3),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Ambient glow layer - DISABLED to prevent flicker */
.promo-banner-link::before {
  display: none;
}

/* Shimmer overlay - DISABLED to prevent flicker */
.promo-banner-link::after {
  display: none;
}

.promo-banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  filter: brightness(1);
}

.promo-banner-link:hover .promo-banner-image {
  transform: scale(1.025);
  filter: brightness(1.05) contrast(1.05);
}

/* Floating animation */
@keyframes bannerFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.005);
  }
}

/* Ambient glow pulse */
@keyframes ambientGlow {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Shimmer effect */
@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* ====== SNOW OVERLAY ====== */
.snow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.snowflake {
  position: absolute;
  top: -10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
  user-select: none;
  pointer-events: none;
}

.snowflake::before {
  content: '❄';
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

/* Generate random snowflakes - simple falling, mouse interaction via JS */
.snowflake:nth-child(1) { left: 5%; top: -15%; animation: snowfall 8s linear infinite; animation-delay: -2s; font-size: 0.8em; }
.snowflake:nth-child(2) { left: 15%; top: -45%; animation: snowfall 10s linear infinite; animation-delay: -5s; font-size: 1.2em; }
.snowflake:nth-child(3) { left: 25%; top: -25%; animation: snowfall 12s linear infinite; animation-delay: -3s; font-size: 0.9em; }
.snowflake:nth-child(4) { left: 35%; top: -60%; animation: snowfall 9s linear infinite; animation-delay: -7s; font-size: 1.1em; }
.snowflake:nth-child(5) { left: 45%; top: -10%; animation: snowfall 11s linear infinite; animation-delay: -1s; font-size: 0.7em; }
.snowflake:nth-child(6) { left: 55%; top: -50%; animation: snowfall 13s linear infinite; animation-delay: -6s; font-size: 1em; }
.snowflake:nth-child(7) { left: 65%; top: -30%; animation: snowfall 8.5s linear infinite; animation-delay: -4s; font-size: 0.85em; }
.snowflake:nth-child(8) { left: 75%; top: -70%; animation: snowfall 10.5s linear infinite; animation-delay: -8s; font-size: 1.15em; }
.snowflake:nth-child(9) { left: 85%; top: -20%; animation: snowfall 9.5s linear infinite; animation-delay: -2.5s; font-size: 0.95em; }
.snowflake:nth-child(10) { left: 95%; top: -55%; animation: snowfall 11.5s linear infinite; animation-delay: -6.5s; font-size: 1.05em; }
.snowflake:nth-child(11) { left: 10%; top: -40%; animation: snowfall 12.5s linear infinite; animation-delay: -5.5s; font-size: 0.75em; }
.snowflake:nth-child(12) { left: 20%; top: -65%; animation: snowfall 8.8s linear infinite; animation-delay: -7.5s; font-size: 1.25em; }
.snowflake:nth-child(13) { left: 30%; top: -35%; animation: snowfall 10.8s linear infinite; animation-delay: -4.5s; font-size: 0.88em; }
.snowflake:nth-child(14) { left: 40%; top: -12%; animation: snowfall 9.8s linear infinite; animation-delay: -1.5s; font-size: 1.08em; }
.snowflake:nth-child(15) { left: 50%; top: -48%; animation: snowfall 11.8s linear infinite; animation-delay: -5.8s; font-size: 0.92em; }
.snowflake:nth-child(16) { left: 60%; top: -22%; animation: snowfall 13.5s linear infinite; animation-delay: -3.5s; font-size: 1.12em; }
.snowflake:nth-child(17) { left: 70%; top: -58%; animation: snowfall 9.2s linear infinite; animation-delay: -6.8s; font-size: 0.82em; }
.snowflake:nth-child(18) { left: 80%; top: -28%; animation: snowfall 10.2s linear infinite; animation-delay: -3.8s; font-size: 1.18em; }
.snowflake:nth-child(19) { left: 90%; top: -42%; animation: snowfall 8.2s linear infinite; animation-delay: -5.2s; font-size: 0.78em; }
.snowflake:nth-child(20) { left: 3%; top: -52%; animation: snowfall 12.2s linear infinite; animation-delay: -6.2s; font-size: 1.22em; }

/* Simple straight falling */
@keyframes snowfall {
  0% {
    top: -10%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

/* ====== PROMO PAGE ====== */
.promo-page {
  padding: 2rem 0;
}

.promo-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
}

.promo-image-container {
  flex: 0 0 58%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 966px;
}

.promo-image-container picture {
  display: block;
  height: 100%;
}

.promo-page-image {
  width: 100%;
  height: 100%;
  min-height: 966px;
  display: block;
  object-fit: cover;
}

.promo-side-panel {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.promo-panel-inner {
  background: rgba(28, 28, 28, 0.95);
  border-radius: var(--radius);
  padding: 1.65rem 1.8rem 1.85rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.promo-panel-inner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: rgba(52, 131, 250, 0.02);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.promo-panel-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,230,0,0.3), transparent);
  opacity: 0.4;
}

.promo-ornament-top,
.promo-ornament-bottom {
  display: none;
}

.promo-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: auto;
  padding-top: 1rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
}

.promo-description {
  margin: 0.25rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  color: #f5f5f5;
}

.promo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(231, 39, 134, 0.35);
  color: var(--pink);
  background: rgba(231, 39, 134, 0.12);
  text-decoration: none;
}

.promo-pill-season {
  color: #ffb347;
  border-color: rgba(255, 179, 71, 0.6);
  background: rgba(255, 179, 71, 0.15);
  box-shadow: 0 0 8px rgba(255, 179, 71, 0.25);
}

.promo-description p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  text-align: justify;
  color: inherit;
}

.promo-meta {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cbd5f5;
}

.promo-extra {
  font-weight: 600;
  color: #fde68a;
}

.promo-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 1rem auto 0.2rem;
  justify-content: center;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
  min-width: 120px;
  justify-content: center;
}

.promo-em {
  color: var(--pink);
  font-weight: 700;
}

.promo-features {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(231,39,134,0.2);
  position: relative;
  z-index: 1;
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: #e0e0e0;
  font-size: 0.9rem;
}

.feature-item:not(:last-child) {
  border-bottom: 1px solid rgba(231,39,134,0.1);
}

.feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--pink);
}

.promo-price {
  text-align: center;
  margin-bottom: 0;
  padding: 2.5rem 2rem;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
  border-radius: 12px;
  border: 2px solid rgba(231, 39, 134, 0.3);
  position: relative;
  z-index: 1;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.promo-price::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  opacity: 0.5;
}

.price-label {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.price-original {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  padding-left: 0.75rem;
  text-transform: none;
}

.price-original::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.price-amount {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.promo-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.promo-purchase-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
  background: var(--pink);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-purchase-btn::before {
  display: none;
}

.promo-purchase-btn::after {
  display: none;
}

.promo-purchase-btn:hover {
  transform: translateY(-2px);
  background: #ff1b7b;
}

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

/* New Promo Page Styles */
.promo-badges-row {
  display: none;
}

.promo-badge {
  background: rgba(52, 131, 250, 0.1);
  border: 2px solid rgba(52, 131, 250, 0.4);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3483FA;
  width: 100%;
  text-align: center;
  display: block;
}

.inline-tag {
  display: inline;
  padding: 0.2rem 0.6rem;
  background: rgba(231, 39, 134, 0.2);
  color: var(--pink);
  border: 1px solid rgba(231, 39, 134, 0.4);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.inline-tag:hover {
  background: rgba(231, 39, 134, 0.3);
  border-color: var(--pink);
}

.promo-main-title {
  font-size: 2.35rem;
  font-weight: 900;
  text-align: center;
  color: var(--pink);
  position: relative;
  z-index: 1;
  line-height: 1.15;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0;
}

.promo-main-title::after {
  content: '';
  display: block;
  margin: 0.35rem auto 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), transparent);
  opacity: 0.75;
}

.promo-price-section {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 1.9rem 1.5rem 1.7rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
}

.price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-direction: column;
  gap: 0.4rem;
}

.price-row-main {
  padding: 1rem 0;
  border-top: 1px solid rgba(231, 39, 134, 0.2);
  border-bottom: 1px solid rgba(231, 39, 134, 0.2);
  margin: 0.75rem 0;
}

.price-label {
  display: block;
  color: var(--pink);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pink);
}

.price-original {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: #888;
  text-decoration: line-through;
  opacity: 0.6;
  position: relative;
}

.price-original::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  right: -10%;
  height: 2px;
  background: var(--pink);
  transform: translateY(-50%) rotate(-5deg);
  opacity: 0.7;
}

.price-savings {
  text-align: center;
  color: #4ade80;
  font-weight: 600;
  font-size: 0.9rem;
}

.promo-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.42rem 1.3rem;
  min-height: auto;
  background: #F8D000;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.promo-cta-btn .ml-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  display: block;
  margin-left: 0.75rem;
}

.promo-cta-text {
  font-size: 1rem;
  font-weight: 700;
  color: #243288;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.promo-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  background: #FFE600;
}

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

/* Mobile button - hidden by default, shown on mobile */
.promo-cta-mobile {
  display: none;
}

/* Desktop button - shown by default */
.promo-cta-desktop {
  display: flex;
}

.promo-trust {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.trust-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--pink);
}

.promo-availability {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem;
  background: rgba(117, 170, 219, 0.08);
  border: 1px solid rgba(117, 170, 219, 0.25);
  border-radius: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: auto;
}

.availability-text {
  flex: 1;
  text-align: center;
}

.availability-flag {
  width: 60px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ====== THANK YOU PAGE ====== */
.thank-you-page {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 966px;
}

.thank-you-link {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.thank-you-link:hover {
  transform: translateY(-2px);
}

.thank-you-page-image {
  width: auto;
  height: 966px;
  display: block;
  object-fit: contain;
}

.thank-you-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  padding: 3rem 2rem 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.thank-you-link:hover .thank-you-overlay {
  opacity: 1;
}

.overlay-text {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.thank-you-container {
  position: relative;
}

.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ====== MULTI-LANGUAGE TEXT ====== */
.btn-text,
.title-text,
.promo-text,
.feature-text,
.price-label,
.overlay-text {
  display: none;
}

html.lang-en .btn-text-en,
html.lang-en .title-text-en,
html.lang-en .promo-text-en,
html.lang-en .feature-text-en,
html.lang-en .price-label-en,
html.lang-en .overlay-text-en {
  display: inline;
}

html.lang-es .btn-text-es,
html.lang-es .title-text-es,
html.lang-es .promo-text-es,
html.lang-es .feature-text-es,
html.lang-es .price-label-es,
html.lang-es .overlay-text-es {
  display: inline;
}

html.lang-pt .btn-text-pt,
html.lang-pt .title-text-pt,
html.lang-pt .promo-text-pt,
html.lang-pt .feature-text-pt,
html.lang-pt .price-label-pt,
html.lang-pt .overlay-text-pt {
  display: inline;
}

html.lang-en .promo-text-en,
html.lang-es .promo-text-es,
html.lang-pt .promo-text-pt {
  display: block;
}

/* ====== RESPONSIVE (PROMO) ====== */
@media (max-width: 1024px) {
  .promo-content {
    flex-direction: column;
    align-items: center;
  }

  .promo-image-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: 600px;
    min-height: auto;
  }

  .promo-page-image {
    width: 100%;
    min-height: auto;
    height: auto;
  }

  /* Show mobile button, hide desktop button */
  .promo-cta-mobile {
    display: flex;
    margin: 1.5rem auto 0;
    max-width: 600px;
    width: calc(100% - 4rem);
    padding: 0.6rem 1.5rem;
    min-height: 60px;
  }

  .promo-cta-mobile .promo-cta-text {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .promo-cta-mobile .ml-logo {
    height: 48px;
    margin-left: 0.6rem;
    flex-shrink: 1;
  }

  .promo-cta-desktop {
    display: none;
  }

  .promo-side-panel {
    width: 100%;
    min-height: auto;
  }

  .thank-you-page {
    min-height: auto;
    padding: 1.5rem 0;
  }

  .thank-you-link {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }

  .thank-you-page-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .promo-banner-container {
    max-width: none;
    width: 100%;
    margin: 1.5rem auto;
    padding: 0;
  }

  .promo-content,
  .thank-you-content {
    padding: 0 1rem;
    gap: 2rem;
  }

  .promo-panel-inner {
    padding: 2rem 1.5rem;
  }

  .promo-title {
    font-size: 1.5rem;
  }

  .price-amount {
    font-size: 2rem;
  }

  .promo-purchase-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .thank-you-home-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .thank-you-link {
    max-width: 100%;
  }

  .thank-you-overlay {
    padding: 2rem 1.5rem 1.5rem;
  }

  .overlay-text {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .promo-panel-inner {
    padding: 1.5rem 1rem;
  }

  .promo-title {
    font-size: 1.3rem;
  }

  .promo-description {
    gap: 0.75rem;
  }

  .promo-description p {
    font-size: 0.95rem;
  }

  .promo-pill,
  .spec-pill {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.65rem;
  }

  .spec-pill {
    min-width: auto;
  }

  .promo-spec-pills {
    gap: 0.3rem;
    margin-top: 0.6rem;
  }

  .promo-meta {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
  }

  .price-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .price-row:first-child {
    width: 100%;
    text-align: center;
  }

  .price-row-main {
    align-items: center;
    text-align: center;
  }

  .price-savings {
    text-align: center;
  }

  .feature-item {
    font-size: 0.9rem;
  }

  .price-amount {
    font-size: 1.8rem;
  }

  .promo-purchase-btn {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }

  .promo-main-title {
    font-size: 1.75rem;
  }

  .price-current {
    font-size: 1.5rem;
  }

  .promo-cta-btn {
    padding: 0.42rem 1.2rem;
    font-size: 1.1rem;
    min-height: auto;
  }

  .promo-cta-mobile {
    padding: 0.55rem 1rem;
    min-height: 56px;
  }

  .promo-cta-mobile .promo-cta-text {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
  }

  .promo-cta-mobile .ml-logo {
    height: 44px;
    margin-left: 0.5rem;
  }

  .promo-trust {
    flex-direction: column;
    gap: 0.75rem;
  }

  .availability-flag {
    width: 50px;
    height: 33px;
  }

  .thank-you-home-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
  }

  .promo-actions,
  .thank-you-actions {
    max-width: 100%;
  }

  .thank-you-page {
    padding: 1rem 0;
  }

  .thank-you-link {
    border-radius: 16px;
  }

  .thank-you-overlay {
    padding: 1.5rem 1rem 1rem;
  }

  .overlay-text {
    font-size: 1.1rem;
  }
}

