/* ===== MAGADH BANNERS & RULES PAGE ===== */
.rp-nav-link { display: inline-block; text-decoration: none; }
.rp-wrap { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 130px 24px 90px; }
.rp-view { animation: rpIn 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.rp-view[hidden] { display: none; }
@keyframes rpIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.rp-head { text-align: center; margin-bottom: 44px; }
.rp-head .section-label { display: block; margin-bottom: 10px; }
.rp-title {
  margin: 0 0 12px; font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 500;
  color: #f3e9d2; text-shadow: 0 0 24px rgba(224, 190, 130, 0.3);
}
.rp-sub { max-width: 540px; margin: 0 auto; font: 300 0.95rem/1.8 Inter, sans-serif; color: #a89d84; }

.rp-back {
  display: inline-flex; align-items: center; margin-bottom: 22px; padding: 7px 18px; border-radius: 999px;
  border: 1px solid rgba(212, 172, 110, 0.4); background: rgba(14, 12, 9, 0.6);
  color: #d4ac6e; font: 500 0.74rem Inter, sans-serif; letter-spacing: 0.1em; text-decoration: none;
  transition: all 0.3s ease;
}
.rp-back:hover { background: #d4ac6e; color: #0a0a0a; }

/* ---- do bade option ---- */
.rp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 0 auto; }
.rp-choice {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 34px 30px 28px; border-radius: 22px; text-decoration: none;
  background: rgba(14, 12, 9, 0.78); border: 1px solid rgba(212, 172, 110, 0.35);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.rp-choice::before {
  content: ''; position: absolute; inset: 6px; border-radius: 17px; pointer-events: none;
  border: 1px solid rgba(212, 172, 110, 0.14);
}
.rp-choice:hover { transform: translateY(-8px); border-color: #d4ac6e; box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5), 0 0 34px rgba(212, 172, 110, 0.25); }
.rp-choice-icon {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212, 172, 110, 0.45); background: rgba(212, 172, 110, 0.1); color: #d4ac6e;
}
.rp-choice-icon svg { width: 24px; height: 24px; }
.rp-choice-name { font: 500 1.7rem 'Cormorant Garamond', serif; color: #f3e9d2; }
.rp-choice-desc { font: 300 0.85rem/1.65 Inter, sans-serif; color: #a89d84; }
.rp-choice-go { margin-top: 6px; font: 500 0.7rem Inter, sans-serif; letter-spacing: 0.18em; color: #d4ac6e; transition: letter-spacing 0.3s ease; }
.rp-choice:hover .rp-choice-go { letter-spacing: 0.28em; }

/* ---- banners ---- */
.rp-group {
  margin: 38px 0 18px; text-align: center;
  font: 500 0.72rem Inter, sans-serif; letter-spacing: 0.26em; color: #d4ac6e; text-transform: uppercase;
}
.bn-row { display: grid; gap: 28px; margin: 0 auto; justify-content: center; }
.bn-row.land { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; }
.bn-row.port { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 600px; }

.bn-card { margin: 0; }
.bn-frame {
  position: relative; padding: 9px; border-radius: 16px;
  background: linear-gradient(145deg, #1b1610, #0d0b08);
  border: 1px solid rgba(212, 172, 110, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 172, 110, 0.12);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.bn-frame::after {                                  /* sunehre kone */
  content: ''; position: absolute; inset: 4px; border-radius: 12px; pointer-events: none; z-index: 4;
  background:
    linear-gradient(#d4ac6e, #d4ac6e) top left / 22px 2px no-repeat,
    linear-gradient(#d4ac6e, #d4ac6e) top left / 2px 22px no-repeat,
    linear-gradient(#d4ac6e, #d4ac6e) top right / 22px 2px no-repeat,
    linear-gradient(#d4ac6e, #d4ac6e) top right / 2px 22px no-repeat,
    linear-gradient(#d4ac6e, #d4ac6e) bottom left / 22px 2px no-repeat,
    linear-gradient(#d4ac6e, #d4ac6e) bottom left / 2px 22px no-repeat,
    linear-gradient(#d4ac6e, #d4ac6e) bottom right / 22px 2px no-repeat,
    linear-gradient(#d4ac6e, #d4ac6e) bottom right / 2px 22px no-repeat;
}
.bn-card:hover .bn-frame, .bn-card:focus-within .bn-frame {
  transform: translateY(-8px) scale(1.012); border-color: #f3e0b8;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 36px rgba(212, 172, 110, 0.35);
}
.bn-media { position: relative; overflow: hidden; border-radius: 9px; background: #0a0a0a; aspect-ratio: 16 / 9; }
.bn-row.port .bn-media { aspect-ratio: 9 / 16; }
.bn-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.bn-card:hover .bn-media img { transform: scale(1.05); }

.bn-shine {                                         /* chamak ki ek lakeer */
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 200, 0.22), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.bn-card:hover .bn-shine { animation: bnShine 1s ease forwards; }
@keyframes bnShine { 0% { left: -60%; opacity: 0; } 20% { opacity: 1; } 100% { left: 130%; opacity: 0; } }

.bn-dl {
  position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translate(-50%, 14px);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 999px;
  background: #d4ac6e; color: #0a0a0a; text-decoration: none;
  font: 600 0.72rem Inter, sans-serif; letter-spacing: 0.12em; white-space: nowrap;
  opacity: 0; transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}
.bn-dl svg { width: 14px; height: 14px; }
.bn-dl:hover { background: #f3e0b8; }
.bn-media::before {                                 /* neeche halka gehra tint, button saaf dikhe */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.72));
  transition: opacity 0.35s ease;
}
.bn-card:hover .bn-media::before, .bn-card:focus-within .bn-media::before { opacity: 1; }
.bn-card:hover .bn-dl, .bn-card:focus-within .bn-dl { opacity: 1; transform: translate(-50%, 0); }
.bn-cap { margin-top: 12px; text-align: center; font: 400 0.74rem Inter, sans-serif; letter-spacing: 0.06em; color: #8f846f; }

.bn-card.missing .bn-media { display: flex; align-items: center; justify-content: center; }
.bn-card.missing .bn-media img, .bn-card.missing .bn-dl, .bn-card.missing .bn-shine { display: none; }
.bn-card.missing .bn-media::after {
  content: 'Banner coming soon'; font: italic 500 1.05rem 'Cormorant Garamond', serif; color: rgba(212, 172, 110, 0.6);
}

/* ---- rules ---- */
.rule-notice {
  max-width: 980px; margin: 0 auto 28px; padding: 26px 30px; border-radius: 20px;
  background: rgba(14, 12, 9, 0.82); border: 1px solid rgba(255, 122, 92, 0.4);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
}
.rule-notice h3 { margin: 0 0 16px; font: 600 0.82rem Inter, sans-serif; letter-spacing: 0.14em; color: #ff9c85; }
.rule-notice ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rule-notice li { position: relative; padding-left: 20px; font: 300 0.88rem/1.7 Inter, sans-serif; color: #c2b89f; }
.rule-notice li::before { content: '▸'; position: absolute; left: 0; color: #ff7a5c; }
.rule-notice strong { color: #f3e9d2; font-weight: 600; }

.rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.rule-card {
  padding: 28px 28px 14px; border-radius: 22px;
  background: rgba(14, 12, 9, 0.82); border: 1px solid rgba(212, 172, 110, 0.28);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
}
.rule-card h3 { margin: 0 0 20px; font: 500 1.35rem 'Cormorant Garamond', serif; letter-spacing: 0.06em; color: #d4ac6e; text-transform: uppercase; }
.rule-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(212, 172, 110, 0.14); }
.rule-item:first-of-type { border-top: none; padding-top: 0; }
.rule-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212, 172, 110, 0.45); background: rgba(212, 172, 110, 0.08);
  font: 600 0.74rem Inter, sans-serif; color: #d4ac6e;
}
.rule-item h4 { margin: 2px 0 4px; font: 600 0.92rem Inter, sans-serif; color: #f3e9d2; }
.rule-item p { margin: 0; font: 300 0.82rem/1.7 Inter, sans-serif; color: #a89d84; }
.rule-foot { max-width: 620px; margin: 34px auto 0; text-align: center; font: italic 400 1rem/1.7 'Cormorant Garamond', serif; color: #a89d84; }

/* ---- touch / mobile ---- */
@media (hover: none) {
  .bn-dl { opacity: 1; transform: translate(-50%, 0); }
  .bn-media::before { opacity: 1; }
}
@media (max-width: 800px) {
  .rp-wrap { padding: 110px 16px 80px; }
  .rp-title { font-size: 2.2rem; }
  .rp-choices, .rule-grid { grid-template-columns: 1fr; }
  .bn-row.land { grid-template-columns: 1fr; }
  .rule-notice, .rule-card { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
  .bn-row.port { gap: 14px; }
  .bn-dl { padding: 7px 12px; font-size: 0.62rem; bottom: 8px; }
  .bn-dl span { display: none; }                    /* chhoti screen par sirf icon */
}
html.perf-lite .bn-frame, html.perf-lite .rp-choice { box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .rp-view, .bn-card:hover .bn-shine { animation: none; }
  .bn-frame, .bn-media img, .rp-choice { transition: none; }
}