/* Deals & Official Partners Room — Theatre Obsidian Crimson & Gold */
html, body[data-room="deals"] {
  height: auto;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #0d0809;
  color: #f4ebd8;
}

body[data-room="deals"], body[data-room="deals"] *, body[data-room="deals"] *::before, body[data-room="deals"] *::after {
  box-sizing: border-box;
}

body[data-room="deals"] .room-world {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  overflow-y: visible;
}

body[data-room="deals"] .room-shade {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 14%, rgba(62, 20, 22, .48), rgba(11, 7, 8, .94) 70%);
  pointer-events: none;
  z-index: 0;
}

body[data-room="deals"] .room-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(13, 8, 9, .95), rgba(13, 8, 9, .72) 72%, transparent);
  backdrop-filter: blur(8px);
}

.deals-main {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  width: min(1280px, calc(100% - clamp(24px, 5vw, 88px)));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 8px 0 72px;
}

.deals-title-banner {
  position: relative;
  height: clamp(128px, 15vw, 184px);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deals-title-banner .title-wrap {
  position: relative;
  width: min(760px, 100%);
  height: 100%;
}

.deals-title-banner .title-art-fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 1;
}

/* Hero Overview */
.deals-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(214, 188, 146, .3);
  background:
    radial-gradient(circle at 84% 20%, rgba(161, 41, 34, .28), transparent 46%),
    linear-gradient(135deg, rgba(29, 16, 17, .94), rgba(14, 9, 10, .96));
  padding: clamp(22px, 3.6vw, 40px);
  margin-bottom: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}

.deals-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 24px;
  align-items: end;
}

.deals-eyebrow {
  display: inline-block;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #e8cfa4;
  padding: 5px 12px;
  border-radius: 14px;
  border: 1px solid rgba(232, 207, 164, .34);
  background: rgba(48, 20, 21, .68);
  margin-bottom: 12px;
}

.deals-heading {
  margin: 0 0 10px;
  font: 600 clamp(22px, 2.5vw, 31px)/1.28 DM, serif;
  letter-spacing: .04em;
  color: #fff2da;
}

.deals-summary-zh {
  margin: 0 0 10px;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 232, 210, .9);
}

.deals-summary-en {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: 12.5px;
  line-height: 1.72;
  color: rgba(214, 194, 162, .76);
}

.deals-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.deals-stat-pill {
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(16, 11, 13, .76);
  border: 1px solid rgba(214, 188, 146, .24);
  color: #f0dbb5;
}

.deals-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.deals-cta-primary,
.deals-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.deals-cta-primary {
  background: linear-gradient(125deg, #98241f, #5c1614);
  border: 1px solid rgba(235, 198, 151, .56);
  color: #fff2da;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .42);
}

.deals-cta-primary:hover {
  background: linear-gradient(125deg, #b32b24, #711b19);
  transform: translateY(-1px);
}

.deals-cta-secondary {
  background: rgba(255, 240, 214, .06);
  border: 1px solid rgba(214, 188, 146, .28);
  color: #e8d2ac;
}

.deals-cta-secondary:hover {
  background: rgba(255, 240, 214, .12);
  border-color: rgba(240, 215, 174, .55);
  transform: translateY(-1px);
}

/* Section Headers */
.deals-section {
  margin-bottom: 34px;
}

.deals-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(214, 188, 146, .16);
}

.deals-section-head h2 {
  margin: 0;
  font: 600 20px/1.3 DM, serif;
  color: #f8e7c7;
  letter-spacing: .04em;
}

.deals-section-head span {
  font-size: 12px;
  color: rgba(214, 190, 154, .75);
}

/* Storefront & Accelerator Grids */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(214, 188, 146, .22);
  background: linear-gradient(160deg, rgba(28, 17, 18, .88), rgba(15, 10, 11, .94));
  transition: border-color .2s ease, transform .2s ease;
}

.partner-card:hover {
  border-color: rgba(235, 206, 155, .5);
  transform: translateY(-2px);
}

.partner-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.partner-card h3 {
  margin: 0;
  font-size: 16px;
  color: #fff1d6;
}

.partner-badge {
  font-size: 10px;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(131, 27, 24, .46);
  border: 1px solid rgba(226, 166, 134, .34);
  color: #f6d5b2;
  white-space: nowrap;
}

.partner-region {
  font-size: 11px;
  color: #c8ad85;
}

.partner-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.68;
  color: rgba(235, 220, 194, .82);
}

.partner-desc-en {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(196, 174, 140, .68);
}

.partner-card-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.partner-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 9px;
  background: linear-gradient(135deg, #edd8b1, #cca56e);
  color: #21110e;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .16s ease;
}

.partner-link-btn:hover {
  transform: translateY(-1px);
  color: #160a08;
}

.promo-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(214, 188, 146, .32);
  background: rgba(10, 7, 8, .66);
  font-size: 11.5px;
  color: #dcc29a;
}

.promo-code-btn {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(152, 36, 31, .75);
  border: 1px solid rgba(235, 198, 151, .42);
  color: #fff0d8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

/* Featured Accelerator Showcase & Demoted Backup Strip */
.accel-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}
.accel-card--ak {
  border-color: rgba(235, 198, 151, .48);
  background: radial-gradient(circle at 86% 12%, rgba(161, 41, 34, .22), transparent 52%), linear-gradient(160deg, rgba(34, 18, 19, .92), rgba(15, 10, 11, .96));
}
.accel-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.accel-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: contain;
  background: rgba(10, 7, 8, .7);
  padding: 4px;
  border: 1px solid rgba(214, 188, 146, .24);
}
.accel-sub-tag {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #d7be96;
}
.partner-badge--gold {
  background: linear-gradient(135deg, rgba(226, 179, 98, .28), rgba(152, 36, 31, .52));
  border-color: rgba(238, 206, 150, .58);
  color: #fff0d2;
}
.promo-box--highlight {
  border-color: rgba(238, 206, 150, .55);
  background: rgba(54, 21, 20, .48);
}
.accel-showcase {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(214, 188, 146, .18);
  background: rgba(9, 6, 7, .74);
}
.accel-showcase-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.accel-nav-pill {
  border: 1px solid rgba(214, 188, 146, .2);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 240, 214, .04);
  color: #c9b08a;
  font-size: 11px;
  cursor: pointer;
}
.accel-nav-pill.is-active {
  background: linear-gradient(135deg, #98241f, #5c1614);
  border-color: rgba(238, 206, 150, .55);
  color: #fff3da;
  font-weight: 600;
}
.accel-showcase-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 12px;
  align-items: center;
  min-height: 110px;
}
.accel-showcase-copy h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #fff2da;
}
.accel-showcase-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(230, 211, 182, .8);
}
.accel-showcase-img {
  width: 156px;
  height: 108px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(214, 188, 146, .22);
  background: #120b0c;
}
.accel-backup-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(214, 188, 146, .2);
  background: rgba(16, 11, 12, .72);
}
.accel-backup-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(214, 194, 162, .76);
}
.accel-backup-info strong {
  color: #e6d1ae;
  margin-right: 8px;
}
.accel-backup-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

/* Carrier SIM Cards Grid */
.sim-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sim-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid rgba(214, 188, 146, .22);
  background: linear-gradient(155deg, rgba(28, 16, 18, .9), rgba(14, 9, 10, .95));
}
.sim-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sim-card-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(214, 188, 146, .22);
  background: #170e10;
}
.sim-card-meta { min-width: 0; flex: 1; }
.sim-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 5px;
}
.sim-price-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(183, 42, 34, .85);
  color: #fff3dc;
}
.sim-data-pill {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(237, 216, 177, .14);
  border: 1px solid rgba(237, 216, 177, .28);
  color: #f4dfbd;
}
.sim-card h3 {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.38;
  color: #fff1d8;
}
.sim-expand-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

/* Game Deals Filter Toolbar & Cards */
.deals-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(214, 188, 146, .2);
  background: rgba(18, 11, 13, .84);
  margin-bottom: 16px;
}

.deals-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deals-pill {
  appearance: none;
  border: 1px solid rgba(214, 188, 146, .24);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(255, 240, 214, .05);
  color: #d6be9a;
  font-size: 12px;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.deals-pill[aria-pressed="true"] {
  background: linear-gradient(135deg, #792924, #451517);
  border-color: rgba(235, 206, 155, .64);
  color: #fff3dc;
}

.deals-search {
  min-width: 220px;
  flex: 0 1 280px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid rgba(214, 188, 146, .26);
  background: rgba(10, 7, 8, .85);
  color: #f4ebd8;
  font-size: 12.5px;
}

.deals-search::placeholder {
  color: rgba(206, 182, 146, .52);
}

.game-deals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.game-deal-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(214, 188, 146, .24);
  background: linear-gradient(155deg, rgba(28, 16, 18, .9), rgba(14, 9, 10, .95));
}

.game-deal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.game-deal-head h3 {
  margin: 0;
  font-size: 16px;
  color: #fff1d8;
}

.game-deal-en {
  font-size: 11.5px;
  color: rgba(212, 186, 146, .74);
  margin-top: 2px;
}

.game-appid {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 240, 214, .07);
  border: 1px solid rgba(214, 188, 146, .2);
  color: #e6caa0;
  white-space: nowrap;
}

.game-mod-eco {
  margin: 0;
  font-size: 12px;
  line-height: 1.62;
  color: rgba(235, 220, 196, .84);
}

.game-dlc-box {
  padding: 8px 11px;
  border-radius: 10px;
  border-left: 3px solid #c14232;
  background: rgba(131, 27, 24, .16);
  font-size: 11.5px;
  line-height: 1.55;
  color: #f3d7ba;
}

.game-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.game-tag {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 240, 214, .06);
  border: 1px solid rgba(214, 188, 146, .18);
  color: #d6bc92;
}

.game-offer-links {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-offer-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(255, 240, 214, .08);
  border: 1px solid rgba(214, 188, 146, .28);
  color: #f4dfbd;
  font-size: 11.5px;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease;
}

.game-offer-btn:hover {
  background: rgba(152, 36, 31, .55);
  border-color: rgba(235, 198, 151, .56);
  color: #fff6e5;
}

.game-offer-btn--itad {
  background: linear-gradient(135deg, rgba(152, 36, 31, .7), rgba(92, 22, 20, .85));
  border-color: rgba(235, 198, 151, .45);
}

.game-live-pricing {
  display: grid;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(214, 188, 146, .2);
  background: rgba(10, 7, 8, .72);
}

.deal-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  color: #f3e2c2;
}

.deal-region-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 240, 214, .1);
  color: #d6bc92;
}

.deal-cut-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
  background: #b72a22;
  color: #fff3dc;
}

.deal-shop-hint {
  font-size: 11px;
  color: rgba(212, 186, 146, .75);
}

.deal-low {
  margin-left: auto;
  font-size: 11px;
  color: #d3b27d;
}

.deal-dlc-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px dashed rgba(214, 188, 146, .14);
}

.deal-dlc-chip {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(131, 27, 24, .22);
  border: 1px solid rgba(214, 188, 146, .2);
  color: #f0d7b5;
  text-decoration: none;
}

.deal-dlc-chip:hover {
  border-color: rgba(240, 215, 174, .55);
  color: #fff3da;
}

/* Compliance Disclosure & Contact Panel */
.disclosure-panel {
  border-radius: 18px;
  border: 1px solid rgba(214, 188, 146, .24);
  background: rgba(17, 11, 12, .9);
  padding: 22px 24px;
  display: grid;
  gap: 14px;
}

.disclosure-panel h2 {
  margin: 0;
  font-size: 17px;
  color: #f8e6c6;
}

.disclosure-panel p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(226, 208, 178, .82);
}

.disclosure-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(214, 188, 146, .14);
  font-size: 12.5px;
  color: #eadbc2;
}

.disclosure-contact-row a,
.disclosure-contact-row button {
  color: #f4d6a8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Footer matching /mods/ */
body[data-room="deals"] .room-footer {
  position: relative;
  z-index: 2;
  padding: 20px clamp(20px, 4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(214, 188, 146, .16);
  background: rgba(12, 8, 9, .88);
  font-size: 11px;
  color: #b79c7b;
}

body[data-room="deals"] .room-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

body[data-room="deals"] .room-nav a,
body[data-room="deals"] .room-footer > a {
  color: #d6bc92;
  text-decoration: none;
}

body[data-room="deals"] .room-nav a[aria-current="page"] {
  color: #fff3da;
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 980px) {
  .accel-featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .partner-grid,
  .sim-cards-grid,
  .game-deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .deals-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  body[data-room="deals"] .room-header {
    padding: 12px 14px;
    min-height: 60px;
    gap: 6px;
  }
  body[data-room="deals"] .room-header .room-wordmark {
    font-size: 13px;
    letter-spacing: .08em;
  }
  body[data-room="deals"] .room-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 18px 14px;
  }
  body[data-room="deals"] .room-footer .room-nav {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: space-between;
    gap: 8px 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(214, 188, 146, .12);
  }
  .deals-main {
    width: calc(100% - 24px);
  }
  .partner-grid,
  .sim-cards-grid,
  .game-deals-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .accel-showcase-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .accel-showcase-img {
    width: 100%;
    height: 150px;
  }
}
