/* ─── L33t Pro Games Portal — portal.css (additions) ─────────────────────── */

/* ── HERO CTA ─────────────────────────────────────────────────────────────── */
.hero-cta { margin-top: 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.btn-cta {
  background: linear-gradient(135deg, #00ff88, #00ccff);
  color: #000; font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: 1rem; padding: 14px 32px; border: none; cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  letter-spacing: 0.1em; transition: transform 0.15s, box-shadow 0.15s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgba(0,255,136,0.5); }
.cta-sub { color: #888; font-size: 0.8rem; letter-spacing: 0.05em; }

/* ── BADGES ───────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block; font-size: 0.65rem; font-family: 'Orbitron', sans-serif;
  padding: 3px 8px; border-radius: 2px; font-weight: 700;
  position: absolute; top: 10px; right: 10px; z-index: 2;
}
.badge--live   { background: rgba(0,255,136,0.15); color: #00ff88; border: 1px solid #00ff88; }
.badge--beta   { background: rgba(255,200,0,0.15); color: #ffc800; border: 1px solid #ffc800; }
.badge--soon   { background: rgba(255,100,100,0.15); color: #ff6464; border: 1px solid #ff6464; }
.game-thumb    { position: relative; }

/* ── STEP INDICATOR ───────────────────────────────────────────────────────── */
.step-indicator {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 1.5rem;
}
.step {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif; font-size: 0.75rem; font-weight: 700;
  background: #1a1a2e; border: 2px solid #333; color: #555;
  transition: all 0.3s;
}
.step.active { border-color: #00ff88; color: #00ff88; }
.step.done   { background: #00ff88; border-color: #00ff88; color: #000; }
.step-line   { flex: 1; height: 2px; background: #333; max-width: 40px; }
.step-line.active { background: #00ff88; }

/* ── TERMS BOX ────────────────────────────────────────────────────────────── */
.terms-box {
  background: rgba(255,255,255,0.04); border: 1px solid #333;
  border-radius: 4px; padding: 16px; margin-bottom: 16px;
  font-size: 0.82rem; color: #aaa; line-height: 1.6; max-height: 160px; overflow-y: auto;
}
.terms-checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.check-label {
  display: flex; align-items: flex-start; gap: 10px;
  color: #ccc; font-size: 0.85rem; cursor: pointer;
}
.check-label input[type=checkbox] { margin-top: 3px; accent-color: #00ff88; }

/* ── PAYMENT PANEL ────────────────────────────────────────────────────────── */
.payment-sub  { color: #888; font-size: 0.85rem; margin-bottom: 1.5rem; text-align: center; }
.payment-price {
  font-family: 'Orbitron', sans-serif; font-size: 2.5rem; font-weight: 900;
  color: #00ff88; text-align: center; margin: 1rem 0;
}
.payment-price span { font-size: 1rem; color: #888; vertical-align: super; }
.pay-pending-icon { font-size: 3rem; text-align: center; margin-bottom: 1rem; }
.payment-note { text-align: center; }

/* ── GAME CARDS v2 ────────────────────────────────────────────────────────── */
.game-card { transition: transform 0.2s, box-shadow 0.2s; }
.game-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,255,136,0.15); }
.game-card--soon { opacity: 0.6; pointer-events: none; }

/* ── MODAL LARGE (game detail) ────────────────────────────────────────────── */
.modal-overlay--large { align-items: flex-start; padding-top: 40px; }
.modal-box--game {
  max-width: 780px; width: 95%; padding: 0; overflow: hidden;
  background: #0d0d1a; border: 1px solid #333; max-height: 90vh; overflow-y: auto;
}

/* ── CAROUSEL ─────────────────────────────────────────────────────────────── */
.carousel { position: relative; width: 100%; background: #000; }
.carousel-track { display: flex; overflow: hidden; }
.carousel-slide { min-width: 100%; transition: transform 0.35s ease; }
.carousel-slide img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.carousel-slide:not(.active) { display: none; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.6); border: 1px solid #444; color: #fff;
  font-size: 1.8rem; padding: 6px 14px; cursor: pointer; z-index: 3;
  transition: background 0.2s;
}
.carousel-arrow:hover { background: rgba(0,255,136,0.3); }
.carousel-arrow--left  { left: 8px; }
.carousel-arrow--right { right: 8px; }
.carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #555; border: none; cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active { background: #00ff88; }

/* ── GAME DETAIL BODY ─────────────────────────────────────────────────────── */
.game-detail-body  { padding: 24px 28px 28px; }
.game-detail-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.game-detail-title { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; font-weight: 900; color: #fff; margin: 4px 0 0; }
.game-status-badge { font-family: 'Orbitron', sans-serif; font-size: 0.65rem; padding: 3px 8px; border-radius: 2px; font-weight: 700; }
.game-detail-desc  { color: #ccc; font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.game-detail-tags  { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(255,255,255,0.05); border: 1px solid #333;
  border-radius: 2px; padding: 3px 10px; font-size: 0.72rem; color: #888;
  font-family: 'Orbitron', sans-serif; letter-spacing: 0.05em;
}

/* ── PLAY BUTTON LARGE ────────────────────────────────────────────────────── */
.btn-play-large {
  background: linear-gradient(135deg, #00ff88, #00ccff); color: #000;
  font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 0.85rem;
  padding: 12px 24px; border: none; cursor: pointer; white-space: nowrap;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: transform 0.15s; min-width: 180px;
}
.btn-play-large:hover { transform: scale(1.04); }
.btn-play-large--disabled { background: #333; color: #555; cursor: default; }
.btn-play-large--disabled:hover { transform: none; }
.btn-play-large--locked { background: linear-gradient(135deg, #ff4444, #ff8800); }

/* ── SUBSCRIPTION BADGES (nav) ────────────────────────────────────────────── */
.sub-badge {
  font-family: 'Orbitron', sans-serif; font-size: 0.65rem; padding: 4px 10px;
  border-radius: 2px; font-weight: 700;
}
.sub-badge--active  { background: rgba(0,255,136,0.15); color: #00ff88; border: 1px solid #00ff88; }
.sub-badge--pending { background: rgba(255,200,0,0.15); color: #ffc800; border: 1px solid #ffc800; }
.sub-badge--free    { background: rgba(100,100,255,0.15); color: #8888ff; border: 1px solid #8888ff; }

/* ── FORM ERROR ───────────────────────────────────────────────────────────── */
.form-error { color: #ff6464; font-size: 0.82rem; padding: 8px; background: rgba(255,100,100,0.1); border-radius: 4px; margin-bottom: 10px; }

/* ── TOAST ────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a1a2e; border: 1px solid #333; color: #fff;
  padding: 12px 24px; border-radius: 4px; font-size: 0.9rem; z-index: 9999;
  opacity: 0; transition: all 0.3s; max-width: 90vw; text-align: center;
}
.toast--show    { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--success { border-color: #00ff88; color: #00ff88; }
.toast--error   { border-color: #ff6464; color: #ff6464; }

/* ── USER BADGE ───────────────────────────────────────────────────────────── */
.user-badge { color: #ccc; font-size: 0.85rem; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .game-detail-header { flex-direction: column; }
  .btn-play-large { width: 100%; }
  .carousel-slide img { max-height: 220px; }
  .modal-overlay--large { padding-top: 0; align-items: flex-end; }
  .modal-box--game { border-radius: 12px 12px 0 0; max-height: 95vh; }
}

/* ── SECTION DIVIDERS ─────────────────────────────────────────────────────── */
.section-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 32px 0 8px; padding: 0 4px;
}
.section-divider::before, .section-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(0,255,136,0.2);
}
.section-divider span {
  font-family: 'Orbitron', sans-serif; font-size: 0.72rem; font-weight: 700;
  color: #00ff88; letter-spacing: 0.15em; white-space: nowrap; padding: 0 8px;
}
.section-divider--beta::before, .section-divider--beta::after { background: rgba(255,200,0,0.2); }
.section-divider--beta span { color: #ffc800; }
.section-divider--soon::before, .section-divider--soon::after { background: rgba(150,150,150,0.15); }
.section-divider--soon span { color: #666; }

/* --- Modal compact fix --- */
.modal-box .step-indicator { margin: 12px 0 20px; }
.modal-box h3 { font-size: 15px; margin-bottom: 12px; }
.modal-box .auth-form, .modal-box > div { gap: 12px; }
.modal-box .terms-checks { gap: 10px; }
.payment-price { font-size: 2.2rem; margin: 10px 0; }
.modal-box .btn-primary, .modal-box .btn-cta { padding: 12px; font-size: 13px; }

/* --- Platform links --- */
.game-platforms { margin-top: 14px; }
.platforms-label { font-size: 0.7rem; letter-spacing: 0.1em; color: #666; text-transform: uppercase; margin-bottom: 8px; font-family: 'Orbitron', sans-serif; }
.platform-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,255,136,0.07);
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: #ccc;
  text-decoration: none;
  margin: 0 6px 6px 0;
  transition: all 0.2s;
}
.platform-badge:hover { background: rgba(0,255,136,0.18); color: white; border-color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   AUTH MODAL — Sales landing layout
══════════════════════════════════════════════════════════════ */
.modal-box--auth {
  max-width: 900px;
  width: 95vw;
  padding: 0;
  overflow: hidden;
  max-height: 92vh;
  overflow-y: auto;
}

/* Sales panel: two-column */
.sales-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.sales-left {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-lighter);
}
.sales-right {
  background: #050a0a;
  overflow: hidden;
}

.sales-eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 12px;
}
.sales-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 0 0 20px var(--accent-glow);
}
.sales-accent { color: var(--accent); }
.sales-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.5;
}
.sales-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sales-benefits li {
  font-size: 0.82rem;
  color: #ccc;
  padding: 6px 10px;
  background: rgba(0,255,136,0.04);
  border-left: 2px solid var(--accent);
  border-radius: 0 4px 4px 0;
}
.sales-price-block { margin-bottom: 20px; }
.sales-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
  line-height: 1;
}
.sales-price-note {
  font-size: 0.72rem;
  color: #666;
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.sales-cta {
  width: 100%;
  padding: 14px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.sales-login {
  font-size: 0.78rem;
  color: #555;
}
.sales-login a {
  color: var(--accent);
  cursor: pointer;
  margin-left: 4px;
}
.sales-login a:hover { text-decoration: underline; }

/* Game montage grid */
.game-montage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  height: 100%;
  min-height: 540px;
  gap: 2px;
}
.montage-item {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}
.montage-item--tall {
  grid-row: span 2;
}
.montage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  opacity: 0.85;
}
.montage-item:hover img { transform: scale(1.06); opacity: 1; }
.montage-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #ccc;
  font-size: 0.62rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
  padding: 8px 6px 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.montage-item:hover .montage-label { opacity: 1; }

/* Form panels inside modal */
.form-panel {
  padding: 36px 40px;
  max-width: 400px;
  margin: 0 auto;
}
.form-back {
  display: block;
  margin-top: 16px;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  text-decoration: none;
}
.form-back:hover { color: var(--accent); }

/* Mobile: stack */
@media (max-width: 680px) {
  .sales-layout { grid-template-columns: 1fr; }
  .sales-right { display: none; }
  .sales-left { padding: 32px 24px; }
  .form-panel { padding: 28px 24px; }
  .modal-box--auth { max-width: 100%; border-radius: 12px 12px 0 0; }
}
