/* ===== SHARED STYLES — Cheddar's Deals (v5) ===== */

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

:root {
  /* Brand colors */
  --navy: #000825;
  --navy-deep: #00061a;
  --yellow: #F7B500;
  --yellow-hover: #ffc930;
  --white: #FFFFFF;

  /* Text colors — brighter for readability on the navy */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.94);
  --text-tertiary: rgba(255,255,255,0.82);
  --text-muted: rgba(255,255,255,0.55);

  /* Surfaces */
  --surface-1: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --surface-3: rgba(255,255,255,0.1);
  --border-soft: rgba(255,255,255,0.1);
  --border-medium: rgba(255,255,255,0.14);
  --border-yellow: rgba(247,181,0,0.35);

  --card-radius: 18px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --max-width: 1280px;
  --shadow-card: 0 4px 14px rgba(0,0,0,0.25);
  --shadow-card-hover: 0 14px 38px rgba(0,5,30,0.55);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--navy);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== NAV ===== */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,8,37,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(247,181,0,0.18);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-logo-text-img {
  height: 38px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 9px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--yellow); background: var(--surface-2); }
.nav-links a.active { color: var(--yellow); }

.nav-coming-soon {
  background: var(--surface-2);
  border: 1.5px solid rgba(247,181,0,0.35);
  color: var(--yellow) !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 24px;
  margin-left: 8px;
  cursor: default;
}
.nav-coming-soon:hover {
  background: var(--surface-3) !important;
  color: var(--yellow) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,8,37,0.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 1.5px;
}
.mobile-drawer a:hover { color: var(--yellow); }
.mobile-drawer .mobile-coming-soon {
  background: var(--surface-2);
  border: 1.5px solid rgba(247,181,0,0.4);
  color: var(--yellow);
  font-size: 22px;
  padding: 10px 28px;
  border-radius: 24px;
  letter-spacing: 2px;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 72px 24px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(247,181,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-header-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid var(--border-yellow);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: 1.5px;
  line-height: 1;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.page-header h1 span { color: var(--yellow); }
.page-header p {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 40px 24px 72px;
  max-width: 820px;
  margin: 0 auto;
}
.content-section h2 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 1px;
  color: var(--yellow);
  margin: 40px 0 16px;
}
.content-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 28px 0 10px;
  letter-spacing: 0.2px;
}
.content-section p {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}
.content-section ul, .content-section ol {
  color: var(--text-primary);
  margin: 0 0 20px 24px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}
.content-section li { margin-bottom: 7px; }
.content-section a {
  color: var(--yellow);
  border-bottom: 1px solid rgba(247,181,0,0.4);
  transition: border-color 0.2s;
  font-weight: 600;
}
.content-section a:hover { border-bottom-color: var(--yellow); }
.content-section strong { color: var(--white); font-weight: 800; }
.content-section .meta {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.content-section hr {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 40px 0;
}

/* Fix: buttons inside content-section should NOT pick up the link styles */
.content-section a.btn,
.content-section a.btn-primary,
.content-section a.btn-ghost {
  border-bottom: none !important;
}
.content-section a.btn-primary {
  color: var(--navy) !important;
  font-weight: 800;
}
.content-section a.btn-primary:hover {
  color: var(--navy) !important;
  border-bottom: none !important;
}
.content-section a.btn-ghost {
  color: var(--white) !important;
}
.content-section a.btn-ghost:hover {
  color: var(--white) !important;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(247,181,0,0.18);
}
.btn-primary:hover {
  background: var(--yellow-hover);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(247,181,0,0.3);
}
.btn-ghost {
  background: var(--surface-2);
  border: 1.5px solid var(--border-medium);
  color: var(--white);
}
.btn-ghost:hover { background: var(--surface-3); border-color: rgba(247,181,0,0.4); color: var(--white); }

/* ===== APP STORE COMING SOON BADGES ===== */
.store-btn-wrap {
  position: relative;
  display: inline-block;
}
.coming-soon-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(247,181,0,0.4);
  z-index: 2;
  pointer-events: none;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1.5px solid var(--border-medium);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  cursor: not-allowed;
  opacity: 0.92;
}
.btn-store:hover {
  background: var(--surface-3);
  border-color: var(--border-yellow);
  transform: translateY(-2px);
}
.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-store-label { line-height: 1; text-align: left; }
.btn-store-label small {
  display: block;
  font-size: 10px;
  opacity: 0.7;
  font-weight: 500;
  margin-bottom: 1px;
}
.btn-store-label strong { font-size: 15px; font-weight: 800; }

/* ===== FOOTER ===== */
footer.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border-soft);
  padding: 60px 24px 32px;
  margin-top: 72px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-brand-col .footer-brand-logo {
  height: 36px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}
.footer-tagline {
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}
.footer-tagline .dots {
  color: var(--text-tertiary);
}
.footer-tagline .cheddar {
  color: var(--yellow);
  font-weight: 800;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.footer-coming-soon::after {
  content: "Coming Soon";
  background: rgba(247,181,0,0.15);
  color: var(--yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  border-radius: 8px;
  text-transform: uppercase;
}

/* Footer ICON-only socials (NEW) */
.footer-socials-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.footer-social-icon:hover {
  background: rgba(247,181,0,0.15);
  border-color: var(--border-yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}
.footer-social-icon svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 28px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  line-height: 1.8;
}
.footer-bottom p { margin-bottom: 2px; }

/* ===== HOMEPAGE SOCIAL STRIP ===== */
.home-social-strip {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4px 24px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.home-social-strip-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-right: 8px;
}
.social-pill-lg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 20px;
  transition: all 0.2s;
}
.social-pill-lg:hover {
  background: rgba(247,181,0,0.1);
  border-color: var(--border-yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}
.social-pill-lg svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== CONTACT PAGE SOCIALS (vertical list) ===== */
.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-socials a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  color: var(--white);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.contact-socials a:hover {
  background: rgba(247,181,0,0.1);
  border-color: var(--border-yellow);
  color: var(--yellow);
  transform: translateX(4px);
}
.contact-socials a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,83,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0,200,83,0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav.site-nav { padding: 0 18px; height: 68px; }
  .nav-logo-text-img { height: 30px; }
  .nav-logo-mark { width: 38px; height: 38px; }
  .page-header { padding: 56px 20px 32px; }
  .content-section { padding: 32px 20px 60px; }
  .content-section p, .content-section ul, .content-section ol { font-size: 16px; }
  footer.site-footer { padding: 48px 20px 28px; margin-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-social-strip { padding: 4px 16px 36px; gap: 8px; }
  .social-pill-lg { font-size: 12px; padding: 7px 13px; }
  .home-social-strip-label { width: 100%; text-align: center; margin-right: 0; margin-bottom: 6px; }
}
