/* ============================================================
   CEZER — Game Hosting Pages Stylesheet
   Designed to match main site aesthetic (beige + dark)
   ============================================================ */

/* ── Game Hero ─────────────────────────────────────────────── */
.game-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
}

.game-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--dark);
  z-index: 1;
}

.game-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.60) 0%,
    rgba(20,20,20,.72) 50%,
    rgba(41,41,41,.88) 100%
  );
  z-index: 2;
}

.game-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp .8s ease .15s both;
}

.game-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px 7px 8px;
  background: rgba(228,226,221,.08);
  border: 1px solid rgba(228,226,221,.12);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(228,226,221,.65);
  margin-bottom: 32px;
}
.game-hero-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.game-hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--beige);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.game-hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(228,226,221,.5);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.game-hero-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.game-highlight {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(228,226,221,.7);
}
.game-highlight i {
  width: 16px;
  height: 16px;
  color: rgba(228,226,221,.45);
}

.game-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Features Bar ──────────────────────────────────────────── */
.game-features-bar {
  padding: 0;
  background: var(--dark);
  border-bottom: 1px solid rgba(228,226,221,.06);
}
.game-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.game-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;
  border-right: 1px solid rgba(228,226,221,.06);
  transition: background .3s ease;
}
.game-feature-item:last-child {
  border-right: none;
}
.game-feature-item:hover {
  background: rgba(228,226,221,.03);
}
.game-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(228,226,221,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beige);
  flex-shrink: 0;
}
.game-feature-icon i { width: 20px; height: 20px; }
.game-feature-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--beige);
}
.game-feature-info span {
  font-size: 11.5px;
  color: rgba(228,226,221,.4);
}

/* ── Pricing Section ───────────────────────────────────────── */
.game-pricing {
  padding: 100px 0;
  background: var(--beige);
}

.game-pricing-header {
  text-align: center;
  margin-bottom: 56px;
}
.game-pricing-header .section-desc {
  margin: 8px auto 0;
}

/* ── Pricing section — widen container based on plan count ── */
.game-pricing > .container {
  max-width: clamp(1000px, calc(220px + var(--plan-count, 4) * 210px), 1600px);
}

/* ── Pricing Table ─────────────────────────────────────────── */
.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.pricing-table {
  min-width: 700px;
  width: 100%;
  border-collapse: collapse;
}

.pt-row {
  display: grid;
  grid-template-columns: 200px repeat(var(--plan-count, 4), 1fr);
  border-bottom: 1px solid var(--border);
}
.pt-row:last-child {
  border-bottom: none;
}

.pt-cell {
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
}

/* Feature label (left column) */
.pt-feature-label {
  justify-content: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13px;
  background: rgba(228,226,221,.15);
  border-right: 1px solid var(--border);
}
.pt-feature-label i {
  width: 16px;
  height: 16px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* Header row */
.pt-header {
  border-bottom: 2px solid var(--border);
  background: var(--beige-light);
}
.pt-header .pt-feature-label {
  background: transparent;
}
.pt-plan-head {
  flex-direction: column;
  gap: 8px;
  padding: 28px 16px;
  position: relative;
}
.pt-plan-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.pt-plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.pt-price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}
.pt-price-period {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.pt-order-btn {
  margin-top: 6px;
  width: 100%;
  max-width: 160px;
}

/* Popular column */
.pt-popular {
  background: var(--dark) !important;
  border-radius: 0;
  position: relative;
}
.pt-popular .pt-plan-name,
.pt-popular .pt-price-amount {
  color: var(--beige);
}
.pt-popular .pt-price-period {
  color: rgba(228,226,221,.5);
}
.pt-popular .pt-order-btn {
  background: var(--beige);
  color: var(--dark);
  border-color: var(--beige);
}
.pt-popular .pt-order-btn:hover {
  background: var(--beige-light);
}
.pt-popular-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(228,226,221,.15);
  color: var(--beige);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pt-popular-col {
  background: rgba(41,41,41,.03);
}

/* Check / X icons */
.pt-check {
  width: 18px;
  height: 18px;
  color: #22c55e;
}
.pt-x {
  width: 18px;
  height: 18px;
  color: var(--text-light);
  opacity: .4;
}

/* Alternating row colors */
.pt-row:nth-child(even):not(.pt-header) {
  background: rgba(228,226,221,.06);
}
.pt-row:nth-child(even):not(.pt-header) .pt-feature-label {
  background: rgba(228,226,221,.2);
}
.pt-row:nth-child(even):not(.pt-header) .pt-popular-col {
  background: rgba(41,41,41,.05);
}

/* ── Mobile Pricing Cards (hidden on desktop) ──────────────── */
.pricing-cards-mobile {
  display: none;
}

.price-card-m {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all .4s ease;
}
.price-card-m:hover {
  border-color: var(--dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card-m-popular {
  background: var(--dark);
  border-color: var(--dark);
  position: relative;
}
.pcm-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(228,226,221,.12);
  color: var(--beige);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pcm-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.price-card-m-popular .pcm-name {
  color: var(--beige);
}
.pcm-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}
.pcm-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}
.price-card-m-popular .pcm-amount {
  color: var(--beige);
}
.pcm-period {
  font-size: 13px;
  color: var(--text-muted);
}
.price-card-m-popular .pcm-period {
  color: rgba(228,226,221,.45);
}
.pcm-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pcm-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.price-card-m-popular .pcm-specs li {
  color: rgba(228,226,221,.55);
}
.pcm-specs li i {
  width: 16px;
  height: 16px;
  color: var(--text-light);
  flex-shrink: 0;
}
.price-card-m-popular .pcm-specs li i {
  color: rgba(228,226,221,.4);
}
.pcm-specs li strong {
  color: var(--dark);
}
.price-card-m-popular .pcm-specs li strong {
  color: var(--beige);
}
.pcm-btn {
  width: 100%;
  justify-content: center;
}
.price-card-m-popular .pcm-btn {
  background: var(--beige);
  color: var(--dark);
  border-color: var(--beige);
}

/* ── Included Features ─────────────────────────────────────── */
.game-included {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.game-included::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.game-included-header {
  text-align: center;
  margin-bottom: 56px;
}

.game-included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.game-inc-card {
  padding: 32px 24px;
  background: var(--beige-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all .4s ease;
}
.game-inc-card:hover {
  border-color: var(--dark);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.game-inc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--dark);
  color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.game-inc-card:hover .game-inc-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 20px rgba(41,41,41,.2);
}
.game-inc-icon i { width: 22px; height: 22px; }
.game-inc-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.game-inc-card p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── Other Games Section ───────────────────────────────────── */
.game-others {
  padding: 80px 0;
  background: var(--dark);
}
.game-others-header {
  text-align: center;
  margin-bottom: 40px;
}
.game-others-header .section-label {
  color: rgba(255,255,255,.5);
}
.game-others-header .section-title {
  color: var(--beige);
}

.game-others-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.game-other-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--dark-light);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--beige);
  transition: all .3s ease;
  text-decoration: none;
}
.game-other-card:hover {
  border-color: var(--beige);
  background: var(--beige);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.game-other-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.game-other-card:hover .game-other-icon {
  transform: scale(1.1);
}
.game-other-arrow {
  width: 14px;
  height: 14px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: all .3s ease;
}
.game-other-card:hover .game-other-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .game-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-feature-item:nth-child(2) {
    border-right: none;
  }
  .game-feature-item:nth-child(1),
  .game-feature-item:nth-child(2) {
    border-bottom: 1px solid rgba(228,226,221,.06);
  }

  .game-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .game-hero {
    min-height: 70vh;
    padding: calc(var(--nav-height) + 24px) 20px 48px;
  }
  .game-hero-title {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }
  .game-hero-tagline {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .game-hero-highlights {
    gap: 12px;
    margin-bottom: 28px;
  }
  .game-highlight {
    font-size: 12px;
  }
  .game-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .game-hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .game-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .game-feature-item {
    padding: 20px 16px;
    gap: 12px;
  }
  .game-feature-icon {
    width: 38px;
    height: 38px;
  }
  .game-feature-icon i { width: 18px; height: 18px; }
  .game-feature-info strong { font-size: 12.5px; }
  .game-feature-info span { font-size: 10.5px; }

  /* Hide table, show cards on mobile */
  .pricing-table-wrap {
    display: none;
  }
  .pricing-cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .game-pricing {
    padding: 72px 0;
  }
  .game-pricing-header {
    margin-bottom: 36px;
  }

  .game-included {
    padding: 72px 0;
  }
  .game-included-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .game-inc-card {
    padding: 24px 20px;
  }

  .game-others {
    padding: 56px 0;
  }
  .game-others-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .game-other-card {
    padding: 12px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .game-hero {
    min-height: 65vh;
    padding: calc(var(--nav-height) + 16px) 16px 36px;
  }
  .game-hero-badge {
    font-size: 11px;
    padding: 5px 14px 5px 6px;
    margin-bottom: 20px;
  }
  .game-hero-icon {
    width: 24px;
    height: 24px;
  }
  .game-hero-title {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }
  .game-hero-tagline {
    font-size: 13px;
  }
  .game-hero-highlights {
    flex-direction: column;
    gap: 8px;
  }

  .game-features-grid {
    grid-template-columns: 1fr;
  }
  .game-feature-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(228,226,221,.06);
  }

  .game-others-grid {
    grid-template-columns: 1fr;
  }
}
