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

a {
  text-decoration: none;
  color: inherit;
}

a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
  outline: none;
}

:root {
  --bg: black;
  --panel: black;
  --muted: black;
  --text: #f1f4f8;
  --accent: #FF4757;
  --accent-2: #FF4757;
  --border: #252a33;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(0,212,255,0.05), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(124,243,255,0.05), transparent 35%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
  min-height: 100vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: black;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid #FF4757;
}

.logo-text {
  white-space: nowrap;
}

.search-container {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

#search-input {
  width: 100%;
  padding: 0.8rem 3.1rem 0.8rem 2.8rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

#search-input:focus {
  border-color: var(--accent);
  transform: translateY(-1px);
}

#search-input::placeholder {
  color: white;
}

.search-icon,
.clear-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1rem;
  pointer-events: none;
}

.search-icon {
  left: 0.95rem;
}

.clear-icon {
  right: 1rem;
  font-weight: 700;
}

/* =========================
   CLEAN OFFICIAL CTA BUTTON
   SOLID RED • NO ANIMATION
========================= */

.header-cta {
  background: #FF4757;              /* 🔴 Solid red */
  color: #000;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  border: 1px solid #FF4757;

  box-shadow: 0 6px 18px rgba(255, 71, 87, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta {
  display: flex;
  align-items: center;     /* 🔥 vertical center */
  justify-content: center; /* 🔥 horizontal center */
  gap: 6px;                /* text ↔ arrow spacing */
  text-align: center;
}


/* REMOVE gradient layers */
.header-cta::before,
.header-cta::after {
  display: none;
}

/* Hover effect (simple & official) */
.header-cta:hover,
.header-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 71, 87, 0.35);
}

/* Click feedback */
.header-cta:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(255, 71, 87, 0.3);
}

/* Arrow – no animation */
.cta-arrow {
  transition: transform 0.2s ease;
}

.header-cta:hover .cta-arrow {
  transform: translateX(3px);
}


@keyframes premiumFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.header-cta:hover,
.header-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 71, 87, 0.3);
  outline: none;
}

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

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.header-cta:hover .cta-arrow,
.header-cta:focus .cta-arrow {
  transform: translateX(4px);
}

.genre-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0.25rem 0.25rem;
  scrollbar-width: none;
}

.genre-nav::-webkit-scrollbar {
  display: none;
}

.genre-chip {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.genre-chip:hover,
.genre-chip:focus {
  color: var(--accent);
  border-color: var(--accent);
}

.genre-chip:active {
  transform: scale(0.98);
}

.movie {
  padding: 1.25rem 1rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  max-width: 100%;
}

/* ================================
   CARD – SAME HEIGHT FIX
================================ */

.card {
  background: #0a0a0a;
  border: 1px solid #252a33;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.2), 0 4px 8px rgba(0,0,0,0.4);
  border-color: #FF4757;
}

/* ================================
   IMAGE – FIXED HEIGHT
================================ */

.card img {
  width: 100%;
  height: 150px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
  background: #1a1a1a;
}

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

/* ================================
   TITLE – SAME SPACE
================================ */

.card h3 {
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
  min-height: 42px;
  max-height: 52px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #ffffff;
  margin-top: 8px;
  margin-bottom: 4px;
  word-break: break-word;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ================================
   RATING
================================ */

.card-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 4px;
}


.stars {
  display: inline-flex;
  gap: 0.1rem;
  font-size: 0.85rem;
}

.star {
  color: var(--muted);
}

.star.filled {
  color: #ffd166;
}

.star.half {
  color: #ffd166;
}

.star.empty {
  color: var(--muted);
}

.rating-text {
  font-size: 0.75rem;
  color:white;
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  background: rgba(15, 17, 21, 0.9);
}

footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

footer nav a:hover,
footer nav a:focus {
  color: var(--accent);
}

footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer {
  background: black;
  color: #ccc;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-logo {
  color: #ff4757;
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  color: white;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-section ul li a:hover {
  color: #ff4757;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.social-links a:hover {
  color: #ff4757;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #777;
}




/* Mobile - Small (up to 480px) */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  header {
    padding: 0.75rem;
  }

  .header-container {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .logo {
    justify-content: center;
  }

  .logo img {
    height: 34px;
    max-width: 110px;
  }

  .search-container {
    width: 100%;
    order: 2;
  }

  #search-input {
    padding: 0.65rem 2.5rem 0.65rem 2.3rem;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .search-icon {
    left: 0.85rem;
    font-size: 0.9rem;
  }

  .clear-icon {
    right: 0.9rem;
    font-size: 0.9rem;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
    order: 3;
    padding: 0.7rem 1.1rem;
    font-size: 0.82rem;
  }

  .genre-nav {
    padding: 0.65rem 0.25rem 0.25rem;
    gap: 0.4rem;
  }

  .genre-chip {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }

  .movie {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.9rem 0.65rem 1.75rem;
  }

  .card {
    padding: 6px;
    gap: 0.35rem;
  }

  .card img {
    height: 130px;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 6px;
  }

  .card h3 {
    font-size: 0.78rem;
    min-height: 38px;
    max-height: 48px;
    line-height: 1.35;
    word-break: break-word;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-top: 5px;
    margin-bottom: 2px;
  }

  .card-rating {
    gap: 0.08rem;
    margin-top: 0.05rem;
    margin-bottom: 2px;
  }

  .stars {
    font-size: 0.68rem;
    gap: 0.04rem;
  }

  .rating-text {
    font-size: 0.62rem;
    line-height: 1.2;
  }
}

/* Mobile - Medium (481px to 640px) */
@media (min-width: 481px) and (max-width: 640px) {
  body {
    font-size: 13.5px;
  }

  .header-container {
    gap: 0.85rem;
  }

  .logo img {
    height: 36px;
    max-width: 125px;
  }

  #search-input {
    padding: 0.7rem 2.9rem 0.7rem 2.6rem;
    font-size: 0.92rem;
  }

  .header-cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.86rem;
  }

  .genre-chip {
    padding: 0.52rem 0.95rem;
    font-size: 0.87rem;
  }

  .movie {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    padding: 1rem 0.85rem 2rem;
  }

  .card {
    padding: 7px;
    gap: 0.4rem;
  }

  .card img {
    height: 150px;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 7px;
  }

  .card h3 {
    font-size: 0.83rem;
    min-height: 40px;
    max-height: 50px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-top: 6px;
    margin-bottom: 3px;
  }

  .stars {
    font-size: 0.72rem;
  }

  .rating-text {
    font-size: 0.68rem;
  }

  .stars {
    font-size: 0.75rem;
    gap: 0.08rem;
  }

  .rating-text {
    font-size: 0.7rem;
  }
}

/* Tablet - Small (641px to 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  header {
    padding: 1.1rem 1.25rem;
  }

  .header-container {
    gap: 1.1rem;
    grid-template-columns: auto 1fr auto;
  }

  .logo img {
    height: 40px;
    max-width: 140px;
  }

  .search-container {
    max-width: 500px;
  }

  #search-input {
    padding: 0.8rem 3.1rem 0.8rem 2.8rem;
    font-size: 0.98rem;
  }

  .header-cta {
    padding: 0.85rem 1.35rem;
    font-size: 0.9rem;
  }

  .movie {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 1.5rem 1.25rem 2.5rem;
  }

  .card {
    padding: 8px;
    gap: 0.5rem;
  }

  .card img {
    height: 160px;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 8px;
  }

  .card h3 {
    font-size: 0.92rem;
    min-height: 44px;
    max-height: 54px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-top: 8px;
  }

  .stars {
    font-size: 0.82rem;
    gap: 0.1rem;
  }

  .rating-text {
    font-size: 0.74rem;
  }
}

/* Tablet - Medium (769px to 899px) */
@media (min-width: 769px) and (max-width: 899px) {
  header {
    padding: 1.15rem 1.5rem;
  }

  .header-container {
    gap: 1.2rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .logo img {
    height: 42px;
    max-width: 150px;
  }

  .search-container {
    max-width: 550px;
  }

  #search-input {
    padding: 0.85rem 3.2rem 0.85rem 2.9rem;
    font-size: 1rem;
  }

  .header-cta {
    padding: 0.9rem 1.4rem;
    font-size: 0.92rem;
  }

  .movie {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.05rem;
    padding: 1.75rem 1.5rem 2.75rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .card {
    padding: 0.65rem;
    gap: 0.55rem;
  }

  .card img {
    height: 180px;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 8px;
  }

  .card h3 {
    font-size: 0.95rem;
    min-height: 46px;
    max-height: 56px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-top: 8px;
  }

  .stars {
    font-size: 0.85rem;
    gap: 0.12rem;
  }

  .rating-text {
    font-size: 0.76rem;
  }
}

/* Laptop - Small (900px to 1023px) */
@media (min-width: 900px) and (max-width: 1023px) {
  header {
    padding: 1.2rem 2rem;
  }

  .header-container {
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .logo img {
    height: 44px;
    max-width: 160px;
  }

  .search-container {
    max-width: 600px;
  }

  #search-input {
    padding: 0.9rem 3.3rem 0.9rem 3rem;
    font-size: 1.05rem;
  }

  .header-cta {
    padding: 1.1rem 1.8rem;
    font-size: 1rem;
  }

  .movie {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem;
    padding: 2rem 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .card {
    padding: 0.7rem;
    gap: 0.6rem;
  }

  .card img {
    height: 200px;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
  }

  .card h3 {
    font-size: 1rem;
    min-height: 48px;
    max-height: 58px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-top: 10px;
  }

  .stars {
    font-size: 0.88rem;
    gap: 0.12rem;
  }

  .rating-text {
    font-size: 0.78rem;
  }
}

/* Laptop - Medium (1024px to 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  body {
    font-size: 14.5px;
  }

  header {
    padding: 1.25rem 2.25rem;
  }

  .header-container {
    max-width: 1400px;
    margin: 0 auto;
    gap: 1.75rem;
  }

  .logo img {
    height: 46px;
    max-width: 170px;
  }

  .search-container {
    max-width: 650px;
  }

  #search-input {
    padding: 0.95rem 3.4rem 0.95rem 3.1rem;
    font-size: 1.08rem;
  }

  .header-cta {
    padding: 1.15rem 2rem;
    font-size: 1.1rem;
  }

  .movie {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 2.25rem 2.25rem 3.5rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .card {
    padding: 0.75rem;
    gap: 0.65rem;
  }

  .card img {
    height: 220px;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
  }

  .card h3 {
    font-size: 1.05rem;
    min-height: 50px;
    max-height: 60px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-top: 10px;
  }

  .stars {
    font-size: 0.9rem;
    gap: 0.12rem;
  }

  .rating-text {
    font-size: 0.8rem;
  }
}

/* Desktop - Large (1200px and above) */
@media (min-width: 1200px) {
  body {
    font-size: 15px;
  }

  header {
    padding: 1.5rem 3rem;
  }

  .header-container {
    max-width: 1600px;
    margin: 0 auto;
    gap: 2rem;
  }

  .logo img {
    height: 48px;
    max-width: 180px;
  }

  .search-container {
    max-width: 700px;
  }

  #search-input {
    padding: 1rem 3.5rem 1rem 3.2rem;
    font-size: 1.1rem;
    border-radius: 14px;
  }

  .search-icon {
    left: 1.1rem;
    font-size: 1.1rem;
  }

  .clear-icon {
    right: 1.15rem;
    font-size: 1.1rem;
  }

  .header-cta {
    padding: 1.2rem 2.2rem;
    font-size: 1.15rem;
    border-radius: 999px;
  }

  .movie {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 2.5rem 3rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
  }

  .card {
    padding: 0.85rem;
    gap: 0.7rem;
    border-radius: 14px;
  }

  .card img {
    height: 240px;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
  }

  .card h3 {
    font-size: 1.1rem;
    min-height: 52px;
    max-height: 62px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-top: 12px;
  }

  .stars {
    font-size: 0.95rem;
    gap: 0.15rem;
  }

  .rating-text {
    font-size: 0.82rem;
  }
}


#intro {
  position: fixed;
  inset: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px; /* mobile safe padding */
}

.intro-text {
  font-size: clamp(28px, 8vw, 60px); /* responsive font */
  font-weight: bold;
  letter-spacing: clamp(2px, 0.5vw, 4px);
  color: white;
  position: relative;
  text-align: center;
  animation: zoomIn 2s ease forwards;
}

.intro-text span {
  color: #FF4757;
}

/* Red glow sweep */
.intro-text::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 71, 87, 0.8),
    transparent
  );
  animation: sweep 2s ease forwards;
  pointer-events: none;
}

/* Animations */
@keyframes zoomIn {
  0% {
    transform: scale(1.3);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes sweep {
  0% {
    left: -120%;
  }
  100% {
    left: 120%;
  }
}

/* 📱 Extra mobile optimization */
@media (max-width: 480px) {
  .intro-text {
    line-height: 1.2;
  }
}

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

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .footer {
    padding: 40px 15px 15px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer-logo {
    font-size: 22px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p,
  .footer-section ul li a,
  .social-links a {
    font-size: 13px;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .footer {
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .social-links {
    margin-top: 10px;
  }

  .social-links a {
    margin: 0 8px;
  }

  .footer-bottom {
    font-size: 12px;
    padding-top: 12px;
  }
}

/* =========================
   MOBILE HORIZONTAL FOOTER
========================= */

@media (max-width: 600px) {
  .footer {
    padding: 25px 10px 15px;
    text-align: left;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr); /* 👈 horizontal */
    gap: 15px;
  }

  .footer-section {
    align-items: flex-start;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer-section h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer-section p {
    font-size: 12px;
    line-height: 1.4;
  }

  .footer-section ul li {
    margin-bottom: 4px;
  }

  .footer-section ul li a {
    font-size: 12px;
  }

  .social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .footer-bottom {
    font-size: 11px;
    margin-top: 15px;
    text-align: center;
  }
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}



/* =========================
   FOOTER BASE
========================= */

.footer {
  background: #000;
  color: #ccc;
  padding: 45px 20px 20px;
  border-top: 1px solid #222;
}

/* =========================
   TOP ROW (LOGO + TEXT)
========================= */

.footer-top {
  max-width: 1000px;
  margin: 0 auto 35px;
  text-align: center;
}

.footer-logo {
  color: #ff4757;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

/* =========================
   BOTTOM ROW (LINKS)
========================= */

.footer-links {
  max-width: 800px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 🔥 one row */
  gap: 40px;
  text-align: center;
}

.footer-section h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 10px;
  position: relative;
}

.footer-section h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: #ff4757;
  margin: 6px auto 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 6px;
}

.footer-section ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ff4757;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
  margin-top: 35px;
  padding-top: 12px;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 12px;
  color: #777;
}

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

@media (max-width: 600px) {
  .footer-links {
    grid-template-columns: 1fr; /* 📱 stacked */
    gap: 25px;
  }

  .footer-desc {
    font-size: 13px;
  }
}
/* =========================
   MOBILE FOOTER FIX ONLY
========================= */

@media (max-width: 600px) {

  /* top text already fine, just spacing */
  .footer-top {
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* 🔥 Quick Links + Legal in COLUMN */
  .footer-links {
    display: flex;
    flex-direction: column;   /* 👈 column */
    gap: 26px;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 14px;
  }

  .footer-section ul li a {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 11px;
    margin-top: 30px;
  }
}


/* =========================
   FOOTER LINKS – ALWAYS COLUMNS
   (INCLUDING MOBILE)
========================= */

.footer-links {
  max-width: 700px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 🔥 2 columns */
  gap: 30px;
  text-align: center;
}

/* =========================
   MOBILE TUNING
========================= */

@media (max-width: 600px) {

  .footer-links {
    gap: 20px;                 /* tighter gap for mobile */
    padding: 0 10px;
  }

  .footer-section h3 {
    font-size: 14px;
  }

  .footer-section ul li a {
    font-size: 12px;
  }
}


/* =========================
   MOBILE HEADER GAP FIX
========================= */

@media (max-width: 600px) {

  .header-container {
    grid-template-columns: 1fr;   /* stack */
    row-gap: 14px;                /* 🔥 gap between items */
  }

  .search-container {
    margin-bottom: 6px;           /* search → button gap */
  }

  .header-cta {
    width: 100%;
    justify-content: center;
    margin-top: 6px;              /* 🔥 clean spacing */
  }
}
/* =====================================
   PREMIUM CTA BUTTON (MOBILE)
   COMPACT • PROFESSIONAL • SHINE
===================================== */

@media (max-width: 600px) {

  .header-cta {
    position: relative;
    width: 100%;
    padding: 12px 18px;
    border-radius: 22px;

    background: linear-gradient(
      135deg,
      #ff2f45,
      #ff5f73,
      #ff2f45
    );
    background-size: 300% 300%;

    color: #000;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    justify-content: center;
    text-decoration: none;
    border: none;

    box-shadow: none;
    overflow: hidden;

    animation: premiumFlow 6s ease infinite;
  }

  /* ===== STATIC GLOSS (TOP REFLECTION) ===== */
  .header-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.55),
      rgba(255,255,255,0.15),
      transparent 65%
    );
    pointer-events: none;
  }

  /* ===== MOVING SHINE (REAL ATTENTION GRABBER) ===== */
  .header-cta::after {
    content: "";
    position: absolute;
    top: -25%;
    left: -130%;
    width: 60%;
    height: 150%;
    border-radius: inherit;

    background: linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,0.75),
      transparent
    );

    animation: premiumShine 3.8s cubic-bezier(.4,0,.2,1) infinite;
    pointer-events: none;
  }

  /* Subtle tap feedback */
  .header-cta:active {
    transform: translateY(-1px);
  }

  .cta-arrow {
    margin-left: 6px;
    font-size: 18px;
  }
}

/* ================= SHINE ANIMATION ================= */

@keyframes premiumShine {
  0%   { left: -130%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.header-cta:hover .cta-arrow,
.header-cta:focus .cta-arrow {
  animation: arrowPulse 2s ease-in-out infinite;
}

