/*
 * TITAN GYM - Kampanya & Özel Teklif Arayüzü
 */

:root {
  --rg-red: #e00016;
  --rg-red-dark: #a80011;
  --rg-black: #09090b;
  --rg-panel: #151519;
  --rg-white: #ffffff;
  --rg-muted: #b7b7be;
}

html:has(body.titan-campaign-page),
body.titan-campaign-page {
  margin: 0;
  background: var(--rg-black);
}

.rg-campaign,
.rg-campaign * { box-sizing: border-box; }

.rg-campaign {
  min-height: 100vh;
  margin: 0;
  color: var(--rg-white);
  background:
    linear-gradient(145deg, rgba(224, 0, 22, .18), transparent 34%),
    repeating-linear-gradient(120deg, transparent 0 52px, rgba(255, 255, 255, .025) 52px 54px),
    var(--rg-black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 24px 16px 38px;
}

.rg-shell { width: min(100%, 560px); margin: 0 auto; }

.rg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .08em;
}

.rg-brand small {
  margin-left: auto;
  color: var(--rg-muted);
  font-size: 12px;
  letter-spacing: .16em;
}

.rg-brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--rg-red);
  transform: skew(-8deg);
  font-size: 22px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(224, 0, 22, .4);
}

.rg-offer { padding: 48px 0 30px; text-align: center; }

.rg-pill {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.rg-offer h1 {
  margin: 16px 0 2px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(46px, 14vw, 76px);
  line-height: .95;
  letter-spacing: -.055em;
  color: #fff;
}

.rg-offer h1 strong { color: var(--rg-red); }

.rg-installment {
  margin: 15px 0 0;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .08em;
}

.rg-gift {
  max-width: 440px;
  margin: 16px auto 0;
  color: #d5d5da;
  font-size: 15px;
  line-height: 1.55;
}
.rg-gift b { color: #fff; }

.rg-promo {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: #0d0d10;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.rg-promo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.rg-promo-summary {
  display: none;
  padding: 17px 16px 19px;
  text-align: center;
  background: linear-gradient(145deg, #18181d, #0d0d10);
}
.rg-promo-summary strong { display: block; color: var(--rg-red); font-size: 13px; letter-spacing: .11em; }
.rg-promo-summary span { display: block; margin-top: 4px; color: #b9b9c0; font-size: 11px; font-weight: 800; }
.rg-promo-summary b { display: block; margin-top: 7px; color: #fff; font-size: 17px; line-height: 1.2; }

.rg-prices { margin-bottom: 22px; }
.rg-prices-heading { margin-bottom: 13px; text-align: center; }
.rg-prices-heading span { color: var(--rg-red); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.rg-prices-heading h2 { margin: 3px 0 0; color: #fff; font-size: 25px; line-height: 1.15; font-weight: 900; }
.rg-price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.rg-price-card {
  position: relative;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  background: linear-gradient(145deg, #19191e, #101014);
}
.rg-price-card > span { color: #b2b2ba; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.rg-old-price {
  margin-top: 7px;
  color: #777780;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration-color: var(--rg-red);
  text-decoration-thickness: 2px;
}
.rg-price-card > strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.04em;
}
.rg-price-card > strong small { font-size: 14px; letter-spacing: 0; }
.rg-discount-label { margin-top: 6px; color: #fff; font-size: 8px; font-weight: 900; letter-spacing: .08em; opacity: .75; }
.rg-price-card > b { margin-top: 10px; color: var(--rg-red); font-size: 10px; letter-spacing: .04em; }
.rg-price-card.has-gift { min-height: 160px; border-color: rgba(224, 0, 22, .42); }
.rg-price-card.is-best {
  grid-column: 1 / -1;
  min-height: 175px;
  align-items: center;
  text-align: center;
  border-color: var(--rg-red);
  background: linear-gradient(145deg, rgba(224, 0, 22, .25), #121217 60%);
}
.rg-price-card.is-best em {
  position: absolute;
  inset: 0 0 auto;
  padding: 5px;
  background: var(--rg-red);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .14em;
}
.rg-price-card.is-best > strong { font-size: 35px; }

.rg-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background: rgba(21, 21, 25, .94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

.rg-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--rg-red);
}

.rg-card h2 { margin: 0; color: #fff; font-size: 25px; line-height: 1.2; font-weight: 900; }
.rg-card > div > p { color: var(--rg-muted); line-height: 1.45; }

.rg-field { margin-top: 18px; }
.rg-field label { display: block; margin-bottom: 7px; color: #fff; font-size: 14px; font-weight: 700; }

.rg-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #3b3b42;
  border-radius: 10px;
  outline: none;
  background: #0d0d10;
  color: #fff;
  padding: 0 14px;
  font-size: 17px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.rg-field input:focus {
  border-color: var(--rg-red);
  box-shadow: 0 0 0 3px rgba(224, 0, 22, .18);
}

.rg-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  color: #bfc0c6;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.rg-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--rg-red);
  flex: 0 0 auto;
}

.rg-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f20b22, var(--rg-red-dark));
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .045em;
  box-shadow: 0 10px 30px rgba(224, 0, 22, .25);
  transition: filter .2s ease, transform .2s ease;
}

.rg-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.rg-button:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}
.rg-button-secondary {
  margin-top: 18px;
  border: 1px solid #484850;
  background: #202026;
  box-shadow: none;
}

.rg-error {
  margin: 0 0 14px;
  padding: 12px;
  border-left: 4px solid var(--rg-red);
  background: rgba(224, 0, 22, .12);
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
}

.rg-success { text-align: center; padding: 10px 0 2px; }
.rg-check {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #168a42;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.rg-code {
  margin-top: 22px;
  padding: 18px 10px;
  border: 2px dashed var(--rg-red);
  border-radius: 12px;
  background: #09090b;
  color: #fff;
  font-size: clamp(30px, 10vw, 44px);
  font-weight: 900;
  letter-spacing: .08em;
  user-select: all;
}

.rg-expiry {
  margin: 14px 0 0;
  padding: 13px 12px;
  border: 1px solid rgba(224, 0, 22, .55);
  border-radius: 10px;
  background: rgba(224, 0, 22, .10);
  color: #fff;
}
.rg-expiry strong {
  display: block;
  color: #ff3245;
  font-size: 13px;
  letter-spacing: .025em;
}
.rg-expiry span {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 800;
}
.rg-expiry small {
  display: block;
  margin-top: 8px;
  color: #b8b8bf;
  font-size: 11px;
  line-height: 1.4;
}

.rg-footnote {
  margin: 17px 4px 0;
  text-align: center;
  color: #8d8d94;
  font-size: 12px;
  line-height: 1.45;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rg-muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  transition: color .2s ease;
}
.back-home:hover { color: #fff; }

[hidden] { display: none !important; }

@media (max-width: 420px) {
  .rg-campaign { padding: 18px 12px 30px; }
  .rg-offer { padding: 38px 0 24px; }
  .rg-card { padding: 22px 18px; border-radius: 16px; }
  .rg-brand small { display: none; }
  .rg-promo img { aspect-ratio: 16 / 9; }
  .rg-promo-summary { display: block; }
  .rg-prices-heading h2 { font-size: 22px; }
  .rg-price-card { padding: 13px; }
  .rg-price-card > strong { font-size: 24px; }
}
