/* =========================================================
   template5 rewards.css - shared extra styling for Gift Center,
   Benefits (7-day check-in) and Point Store pages. Same palette as
   template1 (see main.css), so this is intentionally near-identical to
   template1/css/rewards.css, plus the .benefit-day-card/.reward-card
   selectors template1 keeps in main.css instead - collected here since
   they're only used on these three pages.
   ========================================================= */

/* Page-level background (not the cards) for Pay/Gift Center/Benefits/Point
   Store - one step lighter than the site-wide body (--tc-navy-950), these
   are utility/form pages, not the landing page, so the near-black default
   read as too heavy (user feedback: "arka planı çok fazla koyu kalıyor"). */
.page-bg-soft{ background: var(--tc-navy-900); }

.rewards-hero{
  background:
    radial-gradient(circle at 10% 10%, rgba(31,209,201,.25), transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(255,179,0,.18), transparent 40%),
    linear-gradient(180deg, var(--tc-navy-900), var(--tc-navy-950));
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.code-input-shell{
  background: var(--tc-navy-800); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--tc-radius-lg); padding: 2rem; box-shadow: var(--tc-shadow-card);
}
.code-input{
  font-size: 1.2rem; letter-spacing: .05em; text-transform: none;
  padding: .9rem 1rem; border-radius: 12px;
}

.reward-modal.modal-content,
.reward-modal .modal-content{
  background: linear-gradient(180deg, var(--tc-navy-800), var(--tc-navy-900));
  color: var(--tc-text); border-radius: var(--tc-radius-lg); border: 1px solid rgba(255,255,255,.12);
}
.reward-modal.modal-content .modal-header,
.reward-modal .modal-content .modal-header,
.reward-modal.modal-content .modal-footer,
.reward-modal .modal-content .modal-footer{
  border-color: rgba(255,255,255,.12);
}
.reward-pill-list{ display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1rem; }
.reward-pill{
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: .6rem 1rem; font-weight: 700; min-width: 96px;
}

.points-balance-badge{
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,179,0,.14);
  border: 1px solid rgba(255,179,0,.4); color: var(--tc-gold-300); font-weight: 800;
  border-radius: 999px; padding: .5rem 1.1rem;
}

/* Calendar week (Monday..Sunday, see benefits/index.php) shown as a
   vertical list of day rows - every day looks the same "weight" now, there
   is no day-7 jackpot row anymore. ".is-today" marks whichever row matches
   the real current weekday, not a fixed day number. */
.benefit-row-list{ display: flex; flex-direction: column; gap: .75rem; }

.benefit-day-card{
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  border-radius: var(--tc-radius-md); border: 1px solid rgba(255,255,255,.1); background: var(--tc-navy-800);
  padding: .9rem 1.1rem; position: relative; text-align: left; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
/* Flat bar, no border-radius of its own - `overflow: hidden` on the card
   clips it to follow the card's real rounded corner instead of drawing its
   own (mismatched) curve on top of it. */
.benefit-day-card.is-claimed{ border-color: rgba(31,209,201,.5); }
.benefit-day-card.is-claimed::before{
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--tc-turquoise);
}
.benefit-day-card.is-available{ border-color: var(--tc-gold-500); box-shadow: 0 0 0 3px rgba(255,179,0,.25); animation: t5BenefitPulse 1.8s ease-in-out infinite; }
.benefit-day-card.is-locked{ opacity: .55; }
.benefit-day-card.is-missed{ opacity:.7; border-color: rgba(239,68,68,.45); background: linear-gradient(90deg, rgba(239,68,68,.1), var(--tc-navy-800)); }
.benefit-day-card.is-today{ border-color: var(--tc-gold-500); background: linear-gradient(90deg, rgba(255,179,0,.14), var(--tc-navy-800)); }
@keyframes t5BenefitPulse{ 0%, 100% { box-shadow: 0 0 0 3px rgba(255,179,0,.25); } 50% { box-shadow: 0 0 0 7px rgba(255,179,0,.12); } }

.benefit-badge{ font-size: 1.1rem; line-height: 1; flex: 0 0 auto; }
.benefit-today-tag{
  display: inline-block; margin-top: .25rem;
  background: linear-gradient(180deg, var(--tc-gold-300), var(--tc-gold-500)); color: #241800;
  font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .18rem .5rem; border-radius: 999px; white-space: nowrap;
}
.benefit-day-icon{ width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; display: block; }

/* Purple item "slot" behind every reward icon - this is the game's own
   item-rarity chrome, not a template accent, so it's the same purple
   across all 5 templates. Speed-up cards additionally get a "5m" badge. */
.benefit-row-icon-slot{ position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.benefit-row-icon-clip{
  width: 100%; height: 100%; border-radius: 8px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.benefit-icon-bg-purple{ background: linear-gradient(160deg, #9b6bf0, #5b21b6); }
.benefit-icon-bg-orange{ background: linear-gradient(160deg, #ffb84d, #c15c00); }
.benefit-icon-bg-blue{ background: linear-gradient(160deg, #4fa8f0, #1a5fb4); }
.benefit-row-icon-clip .benefit-day-icon{ width: 34px; height: 34px; }
.benefit-speedup-badge{
  position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  background: rgba(0,0,0,.55); color: #fff; font-size: .56rem; font-weight: 800;
  text-align: center; padding: .12rem 0; letter-spacing: .02em; line-height: 1;
}
.benefit-qty-badge{
  position: absolute; bottom: 2px; right: 4px; z-index: 1;
  color: #fff; font-size: .72rem; font-weight: 800; line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.85);
}

.benefit-row-day{ flex: 0 0 62px; text-align: center; }
.benefit-row-day-label{ display: block; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tc-text-muted); }
.benefit-row-day-num{ display: block; font-size: 1.4rem; font-weight: 900; color: var(--tc-gold-300); line-height: 1.1; }

.benefit-row-reward{ flex: 1 1 170px; min-width: 170px; display: flex; align-items: center; gap: .65rem; }
.benefit-row-reward-info{ min-width: 0; }
.benefit-row-reward-name{ font-weight: 700; font-size: .9rem; }
.benefit-row-reward-amount{ color: var(--tc-text-muted); font-size: .8rem; }

.benefit-row-points{
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255,179,0,.12); border: 1px solid rgba(255,179,0,.3); color: var(--tc-gold-300);
  font-weight: 800; font-size: .82rem; border-radius: 999px; padding: .3rem .75rem; white-space: nowrap;
}

.benefit-row-action{ flex: 0 0 auto; margin-left: auto; }

@media (max-width: 575.98px){
  .benefit-row-action{ flex-basis: 100%; margin-left: 0; order: 5; }
  .benefit-row-action .btn{ width: 100%; }
}

.benefit-countdown{
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: .45rem 1rem; font-weight: 700; font-size: .82rem; color: var(--tc-text);
}
.benefit-countdown-value{ color: var(--tc-gold-300); font-variant-numeric: tabular-nums; }

.reward-card{
  border-radius: var(--tc-radius-md); border: 1px solid rgba(255,255,255,.1); background: var(--tc-navy-800);
  padding: 1.2rem; text-align: center; height: 100%;
}
.reward-card-icon-slot{ position:relative; width:72px; height:72px; margin:0 auto .75rem; }
.reward-card-icon-clip{
  width:100%; height:100%; border-radius:10px; overflow:hidden; position:relative;
  display:flex; align-items:center; justify-content:center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.reward-card-icon-clip .reward-card-icon{ width:52px; height:52px; object-fit:contain; }
.reward-cost{ color: var(--tc-gold-300); font-weight: 800; }

/* ---------- Gift Center: logged-out notice + Gold Bar Store promo ---------- */
.gift-login-notice{
  background: rgba(255,179,0,.1); border: 1px solid rgba(255,179,0,.3);
  border-radius: 12px; padding: .9rem 1.1rem; flex-wrap: wrap;
}
.points-mail-notice{
  background: rgba(255,179,0,.1); border: 1px solid rgba(255,179,0,.3);
  border-radius: 12px; padding: .8rem 1.1rem;
}
.gift-store-banner{
  background: linear-gradient(135deg, rgba(255,179,0,.14), var(--tc-navy-800));
  border: 1px solid rgba(255,179,0,.3); border-radius: var(--tc-radius-lg);
  padding: 1.25rem 1.5rem; box-shadow: var(--tc-shadow-card);
}
.gift-store-banner-icon{
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(180deg, var(--tc-gold-300), var(--tc-gold-500));
  display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
}
.gift-store-banner-kicker{ display: block; color: var(--tc-gold-300); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.gift-store-banner-title{ font-size: 1.05rem; font-weight: 800; margin: .15rem 0 .3rem; }
.gift-store-banner-body{ color: var(--tc-text-muted); font-size: .88rem; }
.gift-store-banner-cta{ flex-shrink: 0; }
@media (max-width: 575.98px){
  .gift-store-banner{ text-align: center; }
}
