/* ================================================================
   CulinEire — Sponsors Puzzle Page
   ================================================================ */

/* Hide "Buy Me a Coffee" bar on the sponsorship page —
   a commercial partnership page should not show a donations prompt. */
.page--sponsors .bmc-bar {
  display: none;
}

/* ── Hero image position ────────────────────── */

.hero--sponsors .hero__background img {
  object-fit: cover;
  object-position: center 66%;
}

.sponsors-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

/* ---- Admin notice ---- */
.sponsors-admin-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff8ec;
  border: 1.5px solid #f0c060;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: #7a5010;
  margin-bottom: 1.5rem;
}
.sponsors-admin-notice__icon {
  color: #e8a020;
  font-size: 0.6rem;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ---- Contract note strip (below hero) ---- */
.sponsors-contract-note {
  margin-bottom: 2rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.6rem;
  font-size: 0.82rem;
  color: #7a6e5c;
  background: #f4f1ec;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  border: 1px solid #e0dbd0;
}

.contract-badge {
  background: #3a3028;
  color: #fff;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contract-sep { color: #c5c0b5; }

/* ---- Progress bar ---- */
.sponsors-progress-wrap {
  margin-bottom: 2.5rem;
}

.sponsors-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #7a6e5c;
  margin-bottom: 0.5rem;
}

.sponsors-progress-bar {
  height: 8px;
  background: #e8e4dc;
  border-radius: 99px;
  overflow: hidden;
}

.sponsors-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3a3028, #8a7a68);
  border-radius: 99px;
  transition: width 0.8s ease;
  min-width: 3px;
}

.sponsors-progress-note {
  text-align: center;
  font-size: 0.78rem;
  color: #9a9080;
  margin-top: 0.5rem;
}

/* ---- Pricing tiers ---- */
.sponsors-tiers-wrap {
  margin-bottom: 2rem;
}

.sponsors-tiers-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9a9080;
  margin-bottom: 0.75rem;
}

.sponsors-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.sponsors-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  min-width: 92px;
  border: 1px solid #ddd6c8;
  cursor: default;
  background: #faf8f4;
  color: #28221e;
  box-shadow: 0 1px 3px rgba(40,34,30,0.06), 0 2px 10px rgba(40,34,30,0.04);
  transition: transform 0.18s, box-shadow 0.18s;
}

/* Top accent stripe — warm charcoal deepens ring 6→1 */
.sponsors-tier--6 { border-top: 3px solid #c8c0b4; }
.sponsors-tier--5 { border-top: 3px solid #b0a898; }
.sponsors-tier--4 { border-top: 3px solid #948878; }
.sponsors-tier--3 { border-top: 3px solid #786858; }
.sponsors-tier--2 { border-top: 3px solid #5c4c3e; }
.sponsors-tier--1 { border-top: 3px solid #3a3028; }

/* Hover: gentle editorial lift */
.sponsors-tier--6:hover,
.sponsors-tier--5:hover,
.sponsors-tier--4:hover,
.sponsors-tier--3:hover,
.sponsors-tier--2:hover,
.sponsors-tier--1:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40,34,30,0.10);
}

/* Central founding partner — warm stone, distinguished */
.sponsors-tier--0 {
  background: linear-gradient(160deg, #6c6054 0%, #5c5248 100%);
  border: 1.5px solid #4e4438;
  border-top: 1.5px solid #7e7264;
  color: #f0ebe0;
  min-width: 130px;
  box-shadow: 0 4px 20px rgba(40,34,30,0.20);
}
.sponsors-tier--0:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(40,34,30,0.28);
}

/* Tier labels */
.tier-ring  {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.50;
  margin-bottom: 2px;
  text-align: center;
}
.tier-count { font-size: 0.75rem; font-weight: 600; margin-bottom: 4px; opacity: 0.70; }
.tier-price { font-size: 1.05rem; font-weight: 700; font-family: 'Playfair Display', Georgia, serif; color: #28221e; }
.tier-mo    { font-size: 0.6rem; font-weight: 400; opacity: 0.50; font-family: sans-serif; }

.sponsors-tier--0 .tier-ring {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.74rem;
  color: rgba(240,235,224,0.80);
  opacity: 1;
}
.sponsors-tier--0 .tier-count {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(240,235,224,0.72);
  opacity: 1;
}
.sponsors-tier--0 .tier-price { color: #d4a84a; font-size: 1.15rem; letter-spacing: -0.01em; }
.sponsors-tier--0 .tier-mo    { color: rgba(212,168,74,0.55); }

/* ---- Puzzle ---- */
.sponsors-puzzle-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 3rem;
  background: #f7f4ee;
  border-radius: 20px;
  padding: 0.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #ede9e0;
}

.sponsors-puzzle-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9a9080;
  margin-bottom: 1rem;
}

#sponsor-puzzle {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}

.puzzle-cell {
  transition: opacity 0.12s;
}
.puzzle-cell--available:hover,
.puzzle-cell--reserved:hover,
.puzzle-cell--sold:hover {
  opacity: 0.80 !important;
}
.puzzle-cell--sold { cursor: pointer !important; }

/* ---- SVG cell ripple ---- */
@keyframes puzzle-ripple-expand {
  from { r: 0;    opacity: 0.42; }
  to   { r: 85px; opacity: 0;    }
}
.puzzle-ripple {
  animation: puzzle-ripple-expand 0.45s ease-out forwards;
  pointer-events: none;
}

/* ---- Tooltip ---- */
.sponsor-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  width: 248px;
  background: #fff;
  border: 1px solid #e5e0d5;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  z-index: 20;
}

.sponsor-tooltip-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #bbb;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.sponsor-tooltip-close:hover { color: #555; }

.tt-ring {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #3a3028;
  margin-bottom: 0.5rem;
}
.tt-ring--reserved { color: #a06820; }
.tt-ring--sold     { color: #3a3028; }
.tt-ring--centre   { color: #8b6914; }

.tt-desc {
  font-size: 0.8rem;
  color: #7a6e5c;
  line-height: 1.5;
  margin: 0 0 0.6rem;
}

.tt-price {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', Georgia, serif;
  color: #28221e;
  margin: 0 0 0.75rem;
  line-height: 1;
}

.tt-price--secret {
  font-size: 0.9rem;
  font-family: sans-serif;
  font-style: italic;
  color: #8b7a3a;
}

.tt-contact-btn {
  display: block;
  text-align: center;
  background: #3a3028;
  color: #f0ebe0;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
  position: relative;
  overflow: hidden;
}
.tt-contact-btn:hover { background: #28201a; color: #f0ebe0; transform: translateY(-1px); }

.tt-logo-wrap { text-align: center; margin-bottom: 0.5rem; }
.tt-logo { max-height: 52px; max-width: 100%; object-fit: contain; border-radius: 4px; }
.tt-sponsor-name { font-weight: 700; font-size: 0.92rem; color: #28221e; margin: 0 0 0.2rem; text-align: center; }
.tt-tagline { font-size: 0.78rem; color: #7a6e5c; text-align: center; margin: 0 0 0.5rem; }
.tt-visit { display: block; text-align: center; font-size: 0.8rem; color: #3a3028; font-weight: 600; text-decoration: none; }
.tt-visit:hover { text-decoration: underline; }

/* ---- How it works ---- */
.sponsors-how {
  background: linear-gradient(135deg, #f2efe8 0%, #eceae2 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid #e5e2d8;
}

.sponsors-how-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: #28221e;
  margin: 0 0 0.4rem;
}

.sponsors-how-subtitle {
  font-size: 0.88rem;
  color: #7a6e5c;
  margin: 0 0 1.75rem;
}

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

.sponsors-how-step {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid #ede9e0;
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #3a3028;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.sponsors-how-step p {
  font-size: 0.85rem;
  color: #7a6e5c;
  line-height: 1.6;
  margin: 0;
}

.sponsors-cta { margin-top: 0; }

.sponsors-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 2.5rem;
  background: #3a3028;
  color: #f0ebe0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 14px rgba(40,34,30,0.20);
  position: relative;
  overflow: hidden;
}
.sponsors-contact-btn:hover {
  background: #28201a;
  color: #f0ebe0;
  transform: translateY(-1px);
}

.sponsors-cta-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #9a9080;
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .sponsors-tiers   { gap: 0.35rem; }
  .sponsors-tier    { min-width: 72px; padding: 0.5rem 0.6rem; }
  .tier-price       { font-size: 0.9rem; }
  .sponsors-tier--0 { min-width: 110px; }
  .sponsor-tooltip  { width: 200px; }
  .sponsors-puzzle-container { padding: 0.75rem; border-radius: 12px; }
  .sponsors-how     { padding: 1.75rem 1rem; }
}
