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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

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

/* Nav */
header {
  background: #8b0000;
  color: #fff;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFD700;
}

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

/* Hamburger button only exists for the mobile layout (shown via the
   max-width:700px media query further down); hidden by default here so
   it never shows on desktop regardless of viewport-independent overrides
   later in the cascade. */
.nav-hamburger { display: none; }

.nav-left a, .nav-right a {
  color: #ddd;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-left a:hover, .nav-right a:hover { color: #FFD700; }

/* Buttons */
.btn {
  display: inline-block;
  background: #FFD700;
  color: #8b0000;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 700;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover { background: #e6c200; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

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

/* Hero */
.hero {
  background: #8b0000;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,215,0,0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Bingo ball decorations */
.bingo-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bingo-ball {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,215,0,0.22);
  background: radial-gradient(circle at 36% 32%, rgba(255,255,255,0.08) 0%, transparent 65%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  user-select: none;
  overflow: hidden;
  animation: bingo-float 5s ease-in-out infinite;
}

.bingo-ball::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 34%;
  border-top: 1px solid rgba(255,215,0,0.15);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  background: rgba(255,215,0,0.03);
}

.bb-letter {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255,215,0,0.38);
  position: relative;
  z-index: 1;
  line-height: 1;
}

.bb-num {
  font-size: 1rem;
  font-weight: 900;
  color: rgba(255,255,255,0.28);
  position: relative;
  z-index: 1;
  line-height: 1;
}

.bingo-ball.bb-lg { width: 74px; height: 74px; }
.bingo-ball.bb-lg .bb-num { font-size: 1.2rem; }
.bingo-ball.bb-sm { width: 44px; height: 44px; }
.bingo-ball.bb-sm .bb-letter { font-size: 0.5rem; }
.bingo-ball.bb-sm .bb-num { font-size: 0.8rem; }

.bingo-ball:nth-child(1) { animation-duration: 5.5s; }
.bingo-ball:nth-child(2) { animation-duration: 4.5s; animation-delay: 0.6s; }
.bingo-ball:nth-child(3) { animation-duration: 6.2s; animation-delay: 1.2s; }
.bingo-ball:nth-child(4) { animation-duration: 4.8s; animation-delay: 0.3s; }
.bingo-ball:nth-child(5) { animation-duration: 5s;   animation-delay: 0.9s; }
.bingo-ball:nth-child(6) { animation-duration: 6.5s; animation-delay: 1.8s; }
.bingo-ball:nth-child(7) { animation-duration: 4.2s; animation-delay: 2.2s; }
.bingo-ball:nth-child(8) { animation-duration: 5.8s; animation-delay: 0.5s; }

@keyframes bingo-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-11px) rotate(5deg); }
}

@media (max-width: 700px) {
  .bb-hide-mobile { display: none; }
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFD700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 2rem;
  color: #bbb;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-social a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.hero-social a:hover { color: #FFD700; }

.family-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #FFD700;
  color: #FFD700;
  padding: 0.4rem 1.25rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.family-badge svg { width: 14px; height: 14px; fill: currentColor; }

/* Team */
.team-section {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team-section h2 {
  font-size: 2rem;
  color: #8b0000;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: #777;
  margin-bottom: 3rem;
}

.team-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services */
.services-section {
  background: #f4f4f8;
  padding: 5rem 2rem;
  text-align: center;
}

.services-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFD700;
  margin-bottom: 0.75rem;
}

.services-section h2 {
  font-size: 1.9rem;
  color: #8b0000;
  margin-bottom: 0.5rem;
}

.services-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 2rem 0.5rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  scrollbar-width: none;
}

.services-scroll::-webkit-scrollbar { display: none; }

.services-scroll::-webkit-scrollbar { height: 6px; }
.services-scroll::-webkit-scrollbar-track { background: #e0e0e0; border-radius: 3px; }
.services-scroll::-webkit-scrollbar-thumb { background: #FFD700; border-radius: 3px; }

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  min-width: 200px;
  flex-shrink: 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff3c0;
  margin: 0 auto 1rem;
}

.service-card h3 {
  font-size: 1rem;
  color: #8b0000;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

/* CTA */
.cta-section {
  background: #8b0000;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: #aaa;
  margin-bottom: 2rem;
}

.cta-smiley {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0.5rem auto 1rem;
}

/* Footer */
footer {
  background: #5a0000;
  color: #888;
  font-size: 0.875rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.footer-brand .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-brand p { color: #666; }

.footer-links h4,
.footer-social h4 {
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-social a {
  color: #888;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-social a:hover { color: #FFD700; }

.footer-copy {
  text-align: center;
  padding: 1.25rem 2rem;
  border-top: 1px solid #222;
  color: #555;
}

/* Page header (for inner pages) */
.page-header {
  background: #8b0000;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.page-header h1 { color: #FFD700; font-size: 2rem; margin-bottom: 0.5rem; }
.page-header p { color: #ccc; }

.page-header-textured {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,215,0,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255,215,0,0.08) 0%, transparent 55%),
    #8b0000;
}

.page-header-textured::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,215,0,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-header-textured > * { position: relative; z-index: 1; }

.page-header-pulltabs,
.page-header-raffles {
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-header-pulltabs::before,
.page-header-raffles::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,0,0,0.75) 0%, rgba(60,0,0,0.65) 100%);
}

.page-header-pulltabs h1,
.page-header-pulltabs p,
.page-header-raffles h1,
.page-header-raffles p {
  position: relative;
  z-index: 1;
}

.page-header-pulltabs {
  background-image: url('../images/pulltabs-header.jpg');
}

.page-header-raffles {
  background-image: url('../images/raffles-header.jpg');
}

/* Catalog search */
.catalog-search {
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 0 2rem;
}

.catalog-search input {
  width: 100%;
  padding: 0.6rem 0.1rem;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  font-size: 0.95rem;
  font-family: inherit;
  background: none;
  transition: border-color 0.2s;
}

.catalog-search input:focus {
  outline: none;
  border-bottom-color: #8b0000;
}

.no-results {
  text-align: center;
  color: #777;
  padding: 3rem;
  font-size: 1.1rem;
}

/* Products — clean, whitespace-driven grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem 2rem;
  max-width: 1200px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
}

@keyframes card-swoosh-in {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

#productGrid .product-card {
  animation: card-swoosh-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  #productGrid .product-card { animation: none; }
}

.product-card {
  display: flex;
  flex-direction: column;
}

/* Product image banners */
.product-img {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.order-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}

.order-item-thumb-placeholder { opacity: 0.85; }

.order-item-thumb-doc {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #999;
}

.order-item-thumb-doc svg { width: 22px; height: 22px; }

.kb-img   { background: linear-gradient(135deg, #1a1a1a, #f5c400); }
.rd-img   { background: linear-gradient(135deg, #0077cc, #ffe066); }
.tb-img   { background: linear-gradient(135deg, #cc6600, #ffd700); }
.ba-img   { background: linear-gradient(135deg, #00838f, #43e97b); }
.cat-img  { background: linear-gradient(135deg, #c2185b, #ff6ec7); }
.dill-img { background: linear-gradient(135deg, #2e7d32, #a5d6a7); }

.product-label {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  text-align: center;
  padding: 0 1rem;
}

.product-info {
  padding: 1.25rem 0.25rem 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.form-badge {
  color: #999;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price {
  color: #8b0000;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

/* Payout rows — plain, no boxed container */
.payout-box {
  margin-bottom: 1.25rem;
  flex: 1;
}

.payout-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 0.4rem 0;
  color: #777;
  border-bottom: 1px solid #f0f0f0;
}

.payout-row:last-child { border-bottom: none; }

.payout-row.highlight strong { color: #8b0000; font-size: 0.95rem; }

.payout-row.gross {
  margin-top: 0.25rem;
  padding-top: 0.6rem;
  border-top: 1px solid #1a1a1a;
  border-bottom: none;
  font-weight: 700;
}

.flyer-preview {
  height: 260px;
  overflow: hidden;
  cursor: pointer;
  background: #f4f4f4;
  position: relative;
  transition: opacity 0.25s;
}

.flyer-preview:hover { opacity: 0.85; }

.flyer-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flyer-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.payout-row.gross span,
.payout-row.gross strong { color: #1a1a1a; font-size: 0.9rem; }

/* Card buttons — understated text-link style */
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f0f0;
}

.card-actions .btn-sm {
  background: none;
  border: none;
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0;
  flex: none;
  text-align: left;
  transition: color 0.15s;
}

.card-actions .btn-sm:hover { color: #8b0000; }

.card-actions .btn-outline-dark {
  background: none;
  border: none;
  color: #1a1a1a;
}

.card-actions .btn-outline-dark:hover { color: #8b0000; background: none; }

.card-actions .btn-order {
  display: inline-block;
  background: #8b0000;
  color: #fff;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.15s;
}

.card-actions .btn-order:hover { background: #6b0000; color: #fff; }

.order-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.qty-stepper,
.order-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.qty-stepper button,
.order-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0;
}

.qty-stepper button:hover,
.order-item-qty button:hover { border-color: #8b0000; color: #8b0000; }

.qty-stepper span,
.order-item-qty span {
  min-width: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.product-img.placeholder {
  width: 100%;
  height: 180px;
  background: #eee;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.product-card p { color: #555; margin-bottom: 1rem; font-size: 0.95rem; }

/* About */
.about-content {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.about-content p { margin-bottom: 1rem; font-size: 1.05rem; }
.about-content a { color: #FFD700; font-weight: 600; }

.about-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.about-row:last-child { margin-bottom: 0; }

.about-row-reverse {
  flex-direction: row-reverse;
}

.about-row-media {
  flex: 0 0 42%;
}

.about-row-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  display: block;
}

.about-row-text { flex: 1; }
.about-row-text p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .about-row, .about-row-reverse {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .about-row-media { flex: none; width: 100%; }
}

/* Contact */
.page-header-icon {
  width: 30px;
  height: 30px;
  color: #FFD700;
  margin-bottom: 0.75rem;
}

.contact-layout {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.contact-info {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fdf1f1;
  color: #8b0000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-item h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.contact-info-item p { font-size: 0.85rem; color: #666; line-height: 1.55; }

.contact-form-wrap {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  padding: 2rem;
}

.contact-form-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #999;
  justify-content: center;
}

.contact-form-note svg { width: 14px; height: 14px; flex-shrink: 0; }

.field-icon-wrap-textarea svg { top: 1.1rem; transform: none; }
.field-icon-wrap-textarea textarea { padding-left: 2.4rem; width: 100%; }

@media (max-width: 700px) {
  .contact-layout { flex-direction: column; gap: 2.5rem; }
  .contact-info { flex: none; }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label { font-weight: 600; font-size: 0.9rem; }

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #FFD700;
  border-color: transparent;
}

#order-summary {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f2f2f2;
}

.order-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.order-item-name { font-weight: 600; }
.order-item-form { font-size: 0.8rem; color: #888; }

.order-item-remove {
  background: none;
  border: none;
  color: #bbb;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.order-item-remove:hover { color: #8b0000; }
.order-item-remove svg { width: 17px; height: 17px; }

/* Responsive */
@media (max-width: 700px) {
  .hero h1 { font-size: 2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  nav { flex-wrap: wrap; gap: 0.75rem 1.25rem; height: auto; padding: 0.75rem 0; }
  .nav-left, .nav-right { gap: 1rem; }
}

/* Login page */
.login-section {
  min-height: calc(100vh - 94px);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(90,0,55,0.45) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 40%, rgba(55,0,80,0.38) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 100%, rgba(130,0,40,0.25) 0%, transparent 50%),
    linear-gradient(180deg, #050009 0%, #0e0018 55%, #050009 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Mini B·I·N·G·O badge row */
.login-bingo-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.login-bingo-row span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  color: rgba(255,255,255,0.9);
}

.login-bingo-row em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 900;
}

.lbr-b { background: linear-gradient(145deg, #3b82f6, #1d4ed8); }
.lbr-i { background: linear-gradient(145deg, #f43f5e, #be123c); }
.lbr-n { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.lbr-g { background: linear-gradient(145deg, #4ade80, #15803d); }
.lbr-o { background: linear-gradient(145deg, #fb923c, #c2410c); }

.login-card {
  background: linear-gradient(160deg, #1a0f2a 0%, #0e0819 100%);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 18px;
  padding: 2.5rem 2.25rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,215,0,0.06);
  position: relative;
  z-index: 1;
}

.login-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d4a017 0%, #fff8dc 45%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 0.3rem;
}

.login-tagline {
  text-align: center;
  color: rgba(255,215,0,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.login-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,215,0,0.12);
  margin-bottom: 1.75rem;
}

.login-tab {
  flex: 1;
  padding: 0.75rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s, border-color 0.2s;
}

.login-tab.active { color: #FFD700; border-bottom-color: #FFD700; }

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: background 0.15s, border-color 0.15s;
  margin-bottom: 1.25rem;
}

.google-btn:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); }

.auth-divider {
  text-align: center;
  position: relative;
  margin-bottom: 1.25rem;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,215,0,0.1);
}

.auth-divider span {
  background: #160d24;
  padding: 0 0.75rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  position: relative;
  letter-spacing: 0.06em;
}

.auth-error {
  color: #f87171;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  min-height: 1.2em;
}

.auth-notice {
  color: #d8cbe8;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e7e34;
  background: #e6f6ea;
  border: 1px solid #a3d9b1;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
}

.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,215,0,0.6);
}

.form-group input,
.form-group select {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: border-color 0.2s, background 0.2s;
}

.form-group select option { background: #1a0f2a; color: #fff; }

.form-group input::placeholder { color: rgba(255,255,255,0.22); }

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255,215,0,0.5);
  background: rgba(255,255,255,0.08);
}

.form-check {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
  gap: 0.5rem;
}

.form-check label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }

.forgot-link { color: rgba(255,215,0,0.6); font-weight: 600; }
.forgot-link:hover { color: #FFD700; text-decoration: underline; }

.auth-submit { width: 100%; margin-bottom: 1rem; }

.auth-switch { text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.38); }
.auth-switch a { color: #FFD700; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* Google sign-in overlay */
.google-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.google-picker {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  width: 320px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.google-picker-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.google-picker-header h3 { font-size: 1rem; color: #333; margin: 0; }

.google-picker > p { font-size: 0.85rem; color: #888; margin-bottom: 1.25rem; }

.google-picker input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}

.google-picker input:focus { outline: none; border-color: #4285F4; }

.google-picker-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }

.btn-google-cancel {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  background: none;
  color: #555;
}

.btn-google-cancel:hover { background: #f5f5f5; }

.btn-google-confirm {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  background: #4285F4;
  color: #fff;
}

.btn-google-confirm:hover { background: #3367d6; }

/* Account / favorites page */
.account-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.account-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  padding: 1.75rem 2rem;
}

.account-welcome h2 { font-size: 1.6rem; color: #8b0000; margin-bottom: 0.2rem; }
.account-welcome p { color: #999; font-size: 0.9rem; }

.account-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
}

.account-section-heading .account-section-label {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.account-section-count {
  font-size: 0.8rem;
  color: #bbb;
  font-weight: 600;
}

.avatar-upload-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.account-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #8b0000;
}

.account-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  color: #b0b0b0;
}

.account-avatar-placeholder svg { width: 38px; height: 38px; }

.avatar-upload-label {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #8b0000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #fff;
  transition: background 0.2s;
}

.avatar-upload-label:hover { background: #6b0000; }
.avatar-upload-label svg { width: 16px; height: 16px; stroke: #fff; }

.account-avatar-preset {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  line-height: 1;
}

.avatar-edit-label {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #8b0000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #8b0000;
  transition: background 0.2s;
}

.avatar-edit-label:hover { background: #f4f4f4; }
.avatar-edit-label svg { width: 15px; height: 15px; stroke: #8b0000; }

.avatar-picker {
  position: absolute;
  top: 100px;
  left: 0;
  z-index: 20;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  border: 1px solid #eee;
  padding: 1rem;
  width: 240px;
}

.avatar-picker-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.avatar-swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.avatar-swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.avatar-swatch:hover { transform: scale(1.1); }

.avatar-picker-remove {
  width: 100%;
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #8b0000;
  cursor: pointer;
  font-weight: 600;
}

.avatar-picker-remove:hover { background: #f9f4f4; }

.nav-avatar-preset {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}

.admin-dashboard-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(160deg, #1a0f2a 0%, #0e0819 100%);
  color: #FFD700 !important;
  border: 1px solid rgba(255,215,0,0.35);
  padding: 0.6rem 1.15rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.admin-dashboard-btn:hover {
  border-color: rgba(255,215,0,0.7);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

.admin-dashboard-btn svg {
  width: 16px;
  height: 16px;
  stroke: #FFD700;
}

.account-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}

.saved-date { font-size: 0.8rem; color: #bbb; margin-bottom: 0.75rem; }

.favorites-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #aaa;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 0.975rem;
  line-height: 1.8;
}

.favorites-empty svg {
  width: 32px;
  height: 32px;
  color: #ddd;
  margin-bottom: 1rem;
}

.favorites-empty a { color: #8b0000; font-weight: 600; }
.favorites-empty a:hover { text-decoration: underline; }

/* Favorite button on product cards */
.btn-fav {
  background: none;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
  color: #999;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-fav svg { width: 18px; height: 18px; }

.btn-fav-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-fav:hover { color: #8b0000; }
.btn-fav.favorited { color: #8b0000; }
.btn-fav.favorited svg { fill: currentColor; }

/* Admin dashboard */
.admin-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.admin-section h2 { color: #8b0000; font-size: 1.5rem; margin-bottom: 0.4rem; }
.admin-section > p { color: #888; margin-bottom: 2rem; }

.admin-login {
  max-width: 360px;
  margin: 5rem auto;
  text-align: center;
  padding: 0 2rem;
}

.admin-login h2 { color: #8b0000; margin-bottom: 0.5rem; }
.admin-login p { color: #888; margin-bottom: 1.5rem; font-size: 0.9rem; }

.admin-login input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}

.admin-login input:focus { outline: none; border-color: #8b0000; }

.admin-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.admin-stat h4 { font-size: 2rem; color: #8b0000; margin-bottom: 0.25rem; }
.admin-stat p { font-size: 0.8rem; color: #888; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }

.admin-table th {
  background: #8b0000;
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.admin-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #eee;
  color: #444;
}

.admin-table tr:hover td { background: #fafafa; }

.admin-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-badge.saved { background: #e8f5e9; color: #2e7d32; }
.admin-badge.removed { background: #fce4ec; color: #c62828; }

.btn-danger {
  background: #fff;
  color: #c0392b !important;
  border: 1px solid #c0392b;
}

.btn-danger:hover { background: #c0392b; color: #fff !important; }

/* ================================================================
   LUXURY REDESIGN — Homepage
   ================================================================ */

/* Nav - dark refined */
header {
  background: #07000d;
  border-top: 2px solid #FFD700;
  border-bottom: 1px solid rgba(255,215,0,0.18);
  box-shadow: 0 4px 28px rgba(0,0,0,0.7);
}

nav {
  height: 94px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.1;
  cursor: default;
}

.logo-smiley {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-top: 4px;
}

.logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #FFD700;
  letter-spacing: 0.03em;
}

.logo-est {
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: rgba(255,215,0,0.48);
  font-weight: 600;
  text-transform: uppercase;
}

.nav-left a, .nav-right a {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.72);
  padding-bottom: 3px;
}

.nav-left a::after, .nav-right a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #FFD700;
  transition: width 0.25s ease;
}

.nav-left a:hover, .nav-right a:hover {
  color: #FFD700 !important;
}

.nav-left a:hover::after, .nav-right a:hover::after {
  width: 100%;
}

.nav-user-link {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}

.nav-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2.5px solid #FFD700;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
  flex-shrink: 0;
}

.nav-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s;
}

.nav-cart-link:hover { color: #FFD700; }
.nav-cart-link svg { width: 20px; height: 20px; }

.nav-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #FFD700;
  color: #07000d;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

.nav-logout-corner {
  position: absolute;
  top: 10px;
  right: 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.nav-logout-corner:hover {
  color: #FFD700;
}

/* Homepage-only: nav floats transparent over the hero photo */
body.home header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 10;
}

/* Hero - deep velvet */
.hero {
  background:
    radial-gradient(ellipse at 15% 55%, rgba(90,0,55,0.55) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 45%, rgba(55,0,75,0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(130,0,40,0.3) 0%, transparent 46%),
    linear-gradient(180deg, #050009 0%, #110020 50%, #050009 100%);
  padding: 9rem 2rem 8rem;
}

body.home .hero {
  background:
    linear-gradient(180deg, rgba(2,0,4,0.62) 0%, rgba(4,0,7,0.55) 45%, rgba(2,0,4,0.72) 100%),
    url('../images/hero-bg.jpg') center / cover no-repeat;
  padding-top: 11rem;
}

.hero::before {
  background-image: radial-gradient(circle, rgba(255,215,0,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #FFD700;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-tagline::before,
.hero-tagline::after {
  content: '';
  flex: 1;
  max-width: 55px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,215,0,0.55));
}

.hero-tagline::after {
  background: linear-gradient(to left, transparent, rgba(255,215,0,0.55));
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #d4a017 0%, #fff8dc 40%, #FFD700 65%, #d4a017 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  color: #b8a8cc;
  line-height: 1.85;
}

.hero-social a { color: rgba(255,255,255,0.8); }
.hero-social a:hover { color: #FFD700; }

.family-badge {
  border: 1px solid rgba(255,215,0,0.42);
  color: #FFD700;
  background: rgba(255,215,0,0.06);
  box-shadow: 0 0 28px rgba(255,215,0,0.1), inset 0 0 18px rgba(255,215,0,0.03);
  letter-spacing: 0.12em;
  padding: 0.55rem 1.75rem;
  border-radius: 30px;
}

/* ================================================================
   BINGO BALLS — Full color redesign
   ================================================================ */

.bingo-ball {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  border: none;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.75),
    0 0 40px var(--glow, rgba(255,215,0,0.25));
  animation: bingo-float 5s ease-in-out infinite;
  overflow: visible;
}

.bingo-ball::before { display: none; }

.bingo-ball::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 26%, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.1) 32%, transparent 62%);
  pointer-events: none;
}

.ball-inner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.18);
}

.bb-letter {
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ball-text, #222);
  -webkit-text-fill-color: var(--ball-text, #222);
  line-height: 1;
}

.bb-num {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--ball-text, #222);
  -webkit-text-fill-color: var(--ball-text, #222);
  line-height: 1;
}

.ball-b { background: linear-gradient(145deg, #3b82f6, #1d4ed8); --ball-text: #1e3a8a; --glow: rgba(59,130,246,0.4); }
.ball-i { background: linear-gradient(145deg, #f43f5e, #be123c); --ball-text: #881337; --glow: rgba(244,63,94,0.4); }
.ball-n { background: linear-gradient(145deg, #a78bfa, #7c3aed); --ball-text: #4c1d95; --glow: rgba(167,139,250,0.4); }
.ball-g { background: linear-gradient(145deg, #4ade80, #15803d); --ball-text: #14532d; --glow: rgba(74,222,128,0.35); }
.ball-o { background: linear-gradient(145deg, #fb923c, #c2410c); --ball-text: #7c2d12; --glow: rgba(251,146,60,0.4); }

.bingo-ball.bb-lg { width: 84px; height: 84px; }
.bingo-ball.bb-lg .ball-inner { width: 52px; height: 52px; }
.bingo-ball.bb-lg .bb-letter { font-size: 0.62rem; }
.bingo-ball.bb-lg .bb-num { font-size: 1.12rem; }

.bingo-ball.bb-sm { width: 52px; height: 52px; }
.bingo-ball.bb-sm .ball-inner { width: 32px; height: 32px; }
.bingo-ball.bb-sm .bb-letter { font-size: 0.45rem; }
.bingo-ball.bb-sm .bb-num { font-size: 0.74rem; }

.bingo-ball:nth-child(1) { animation-duration: 5.5s; }
.bingo-ball:nth-child(2) { animation-duration: 4.3s; animation-delay: 0.7s; }
.bingo-ball:nth-child(3) { animation-duration: 6.1s; animation-delay: 1.4s; }
.bingo-ball:nth-child(4) { animation-duration: 4.8s; animation-delay: 0.3s; }
.bingo-ball:nth-child(5) { animation-duration: 5.2s; animation-delay: 1.0s; }
.bingo-ball:nth-child(6) { animation-duration: 6.7s; animation-delay: 2.0s; }
.bingo-ball:nth-child(7) { animation-duration: 4.1s; animation-delay: 2.5s; }
.bingo-ball:nth-child(8) { animation-duration: 5.9s; animation-delay: 0.5s; }

/* ================================================================
   STATS BAR — Dark luxury
   ================================================================ */

.stats-section {
  background: #06000c;
  padding: 3.5rem 2rem;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1150px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d4a017 0%, #fff8dc 45%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat-label {
  margin-top: 0.4rem;
  color: #9b8aaa;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(255,215,0,0.3), transparent);
}

@media (max-width: 700px) {
  .stats-row { gap: 2rem; }
  .stat-divider { display: none; }
  .stat-number { font-size: 2rem; }
}

/* ================================================================
   TEAM SECTION — Dark luxury cards
   ================================================================ */

.team-section {
  background: #06000c;
  max-width: none;
  margin: 0;
  padding: 6rem 2rem;
  text-align: center;
}

.team-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  background: linear-gradient(135deg, #d4a017 0%, #fff8dc 45%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.section-sub { color: #9b8aaa; font-size: 0.95rem; letter-spacing: 0.04em; }

.team-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem auto 2.75rem;
  max-width: 260px;
}

.team-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.4), transparent);
}

.team-divider i {
  color: rgba(255,215,0,0.55);
  width: 14px;
  height: 14px;
}

/* Zigzag layout */
.team-zigzag {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.team-row-reverse { flex-direction: row-reverse; }

.team-row-media { flex: 0 0 38%; }

.team-row-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 1px solid rgba(255,215,0,0.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  display: block;
}

.team-row-text { flex: 1; }

.team-row-text h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: #FFD700;
  margin-bottom: 0.3rem;
}

.team-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,215,0,0.5);
}

.team-hr {
  border: none;
  border-top: 1px solid rgba(255,215,0,0.12);
  margin: 1rem 0;
}

.team-bio {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .team-zigzag { gap: 3rem; }
  .team-row, .team-row-reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .team-row-media { flex: none; width: 100%; }
}

/* ================================================================
   SERVICES SECTION — Dark luxury
   ================================================================ */

.services-section {
  background: #050010;
  padding: 6rem 2rem;
}

.services-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  background: linear-gradient(135deg, #d4a017 0%, #fff8dc 45%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.services-label { color: rgba(255,215,0,0.6); }

.service-card {
  background: linear-gradient(145deg, #1c1430, #100d1e);
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(0,0,0,0.5);
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: rgba(255,215,0,0.32);
  transform: translateY(-5px);
}

.service-icon {
  background: radial-gradient(circle, rgba(255,215,0,0.14) 0%, rgba(255,215,0,0.03) 100%);
  border: 1px solid rgba(255,215,0,0.2);
}

.service-card h3 { color: #FFD700; }
.service-card p { color: #6a5a7a; }
.services-scroll { scrollbar-color: rgba(255,215,0,0.4) #1a1030; }
.services-scroll::-webkit-scrollbar-track { background: #1a1030; }

/* ================================================================
   CTA SECTION — Deep luxury
   ================================================================ */

.cta-section {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(110,0,35,0.45) 0%, transparent 65%),
    linear-gradient(160deg, #040009 0%, #160025 50%, #040009 100%);
  padding: 8rem 2rem;
}

.cta-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  color: #FFD700;
}

.cta-section p { color: #8070a0; }

/* Responsive overrides */
@media (max-width: 700px) {
  .hero h1 { font-size: 2.4rem; -webkit-text-fill-color: transparent; }
  .hero { padding: 6rem 2rem 5rem; }
  .cta-section h2 { font-size: 2rem; }
  .team-section h2, .services-section h2 { font-size: 1.9rem; }
  /* Mobile nav: a real hamburger menu. The compact bar shows just the
     hamburger button and the logo; tapping it reveals every link (Home,
     Premium Pull Tabs, Raffles, basket, account/login) as a full-width,
     easy-to-tap dropdown list, instead of cramming everything into one
     tiny row or stacking each group on its own centered line. */
  /* Grid instead of flex for the compact row: a 1fr/auto/1fr split makes
     the logo (column 2) truly centered on the full row width, with the
     hamburger sitting in column 1 — the empty, equal-width column 3
     balances it out, rather than the logo just being centered in
     whatever space is left after the hamburger (which reads as off-center
     and pushed toward the right). */
  nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    height: auto;
    align-items: center;
    gap: 0;
    padding: 0.75rem 0.25rem;
  }
  /* The base header{position:sticky} rule keeps the nav pinned while
     scrolling on every page — on mobile, let it scroll away with the page
     instead across the whole site. header's own 2rem side padding also
     eats into a phone's already-tight width, so trim it down here too. */
  header { position: static; padding: 0 0.75rem; }

  .nav-hamburger {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,215,0,0.08);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    color: #FFD700;
    cursor: pointer;
  }
  .nav-hamburger:active { background: rgba(255,215,0,0.16); }
  .nav-hamburger svg { width: 26px; height: 26px; }

  .logo { grid-column: 2; grid-row: 1; justify-self: center; gap: 0; }
  /* Full desktop size (2rem name + smiley + est line) is too wide to sit
     comfortably between the hamburger's matching side columns on an
     actual phone screen — shrink it down for mobile specifically. */
  .logo-name { font-size: 1.4rem; }
  .logo-est { font-size: 0.68rem; letter-spacing: 0.14em; }
  .logo-smiley { width: 24px; height: 24px; margin-top: 2px; }

  /* Explicit rows (rather than relying on grid auto-placement, which
     follows DOM order and shoved the logo down between nav-left and
     nav-right) — hamburger+logo always occupy row 1, links stack below. */
  .nav-left { grid-row: 2; }
  .nav-right { grid-row: 3; }
  .nav-left, .nav-right {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  nav.mobile-open .nav-left,
  nav.mobile-open .nav-right {
    display: flex;
  }

  .nav-left a, .nav-right a {
    display: block;
    padding: 0.9rem 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.92);
    text-align: center;
    white-space: normal;
  }
  .nav-user-link, .nav-cart-link {
    justify-content: center;
    padding: 0.9rem 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-right .nav-cart-link::after { content: "Basket"; margin-left: 0.4rem; position: static; width: auto; height: auto; background: none; }
  .nav-cart-count { position: static; margin-left: 0.4rem; }

  /* On the homepage the nav floats transparently over the hero photo and
     bingo-ball decorations — fine on desktop, but on a small screen those
     bright balls sit right behind the nav text and make it hard to read.
     Give it a solid backdrop on mobile instead. */
  body.home header {
    position: static;
    background: #07000d;
    border-top: 2px solid #FFD700;
    border-bottom: 1px solid rgba(255,215,0,0.18);
  }
  /* The hero's 11rem top padding exists to leave room under the floating
     transparent nav (desktop only) — now that the mobile nav takes up real
     space above it instead of overlaying, that extra padding just leaves a
     big gap. */
  body.home .hero { padding-top: 6rem; }
}

/* ================================================================
   LUCIDE ICONS
   ================================================================ */

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

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: #FFD700;
  stroke-width: 1.5;
}

.hero-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-social svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.footer-social li a,
.footer-links li a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-social svg,
.footer-links svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-icon-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Login field icons */
.field-icon-wrap {
  position: relative;
}

.field-icon-wrap input {
  padding-left: 2.4rem;
  width: 100%;
}

.field-icon-wrap svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  stroke: #bbb;
  pointer-events: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 0.3rem;
  flex-shrink: 0;
}

/* Flyer lightbox modal */
.flyer-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5,0,9,0.88);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.flyer-modal.open { display: flex; }

.flyer-modal-inner {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  background: #0e000b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,160,23,0.2);
  display: flex;
  flex-direction: column;
}

.flyer-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.flyer-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #FFD700;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.flyer-modal-close {
  background: none;
  border: none;
  color: #aaa;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
}

.flyer-modal-close svg { width: 20px; height: 20px; }
.flyer-modal-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

.flyer-modal-body {
  flex: 1;
  overflow: hidden;
}

.flyer-modal-body iframe {
  display: block;
  width: 100%;
  height: 75vh;
  border: none;
}

@media (max-width: 600px) {
  .flyer-modal-body iframe { height: 60vh; }
}

.btn-outline svg { stroke: #fff; }

/* ================================================================
   ADMIN DASHBOARD — Light, sidebar layout (TailAdmin-inspired)
   ================================================================ */

#admin-gate, #admin-dashboard {
  min-height: calc(100vh - 94px);
  background: #f4f5f7;
}

#admin-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.admin-layout {
  display: flex;
  min-height: calc(100vh - 94px);
}

/* Sidebar */
.admin-sidebar {
  flex: 0 0 240px;
  background: #fff;
  border-right: 1px solid #eef0f2;
  padding: 2rem 1rem;
}

.admin-sidebar-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b0b4ba;
  padding: 0 0.75rem;
  margin-bottom: 0.75rem;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: none;
  border: none;
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.admin-nav-item svg { width: 18px; height: 18px; stroke-width: 2; }

.admin-nav-item:hover { background: #f9f2ec; color: #8b0000; }

.admin-nav-item.active {
  background: #fdf1e7;
  color: #8b0000;
}

.admin-nav-item.active svg { stroke: #8b0000; }

/* Main content */
.admin-main {
  flex: 1;
  min-width: 0;
}

#admin-dashboard .admin-section {
  margin: 0;
  padding: 2rem 2.5rem 4rem;
  max-width: none;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

#admin-dashboard .admin-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: #1f2430;
}

#admin-dashboard .admin-section p { color: #9096a2; font-size: 0.9rem; }

/* Stat cards */
#admin-dashboard .admin-summary {
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

#admin-dashboard .admin-stat {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 1px 3px rgba(16,24,40,0.05);
}

.admin-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fdf1e7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.admin-stat-icon svg { width: 20px; height: 20px; stroke: #8b0000; }

#admin-dashboard .admin-stat-label {
  font-size: 0.8rem;
  color: #9096a2;
  margin-bottom: 0.3rem;
}

#admin-dashboard .admin-stat h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  color: #1f2430;
  background: none;
  -webkit-text-fill-color: unset;
}

#admin-dashboard .admin-stat-sub { font-size: 0.78rem; color: #b0b4ba; margin-top: 0.15rem; }

#admin-dashboard .account-section-label { color: #6b7280; }

/* Tables */
#admin-dashboard .admin-table {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(16,24,40,0.05);
}

#admin-dashboard .admin-table th {
  background: #fafbfc;
  color: #6b7280;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #eef0f2;
}

#admin-dashboard .admin-table td {
  border-bottom: 1px solid #f2f3f5;
  color: #374151;
}

#admin-dashboard .admin-table tr:hover td { background: #fafbfc; }

#admin-dashboard .admin-badge.saved { background: #e8f5e9; color: #2e7d32; }
#admin-dashboard .admin-badge.removed { background: #fce4ec; color: #c62828; }
#admin-dashboard .admin-badge.approved { background: #e8f5e9; color: #2e7d32; }
#admin-dashboard .admin-badge.pending { background: #fff4e0; color: #b8860b; }
#admin-dashboard .admin-badge.rejected { background: #fce4ec; color: #c62828; }

#admin-dashboard #product-form-wrap {
  border-top: 1px solid #eef0f2 !important;
}

#admin-dashboard #product-form-wrap h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1f2430;
}

.payout-row-editor-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: center;
}

.payout-row-editor-row input,
.payout-row-editor-row select {
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
  color: #1f2430;
}

.payout-row-editor-row input { flex: 2; }
.payout-row-editor-row select { flex: 1; }

#admin-dashboard .form-group label { color: #6b7280; }

#admin-dashboard .form-group input,
#admin-dashboard .form-group select {
  background: #fff;
  color: #1f2430;
  border: 1px solid #ddd;
}

#admin-dashboard .form-group select option { background: #fff; color: #1f2430; }

#admin-dashboard .form-group input:focus,
#admin-dashboard .form-group select:focus {
  border-color: #8b0000;
  background: #fff;
}

#admin-dashboard #pf-flyer-status { color: #9096a2; }
#admin-dashboard #pf-flyer-link { color: #8b0000; }

@media (max-width: 800px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eef0f2;
    padding: 1rem;
  }
  .admin-sidebar-nav { flex-direction: row; overflow-x: auto; gap: 0.4rem; }
  .admin-sidebar-label { display: none; }
  #admin-dashboard .admin-section { padding: 1.5rem 1.25rem 3rem; }
}
