@font-face {
  font-family: 'WhitRabt';
  src: url('../fonts/whitrabt.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  background-color: #d9d9d9;
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 64px;
  animation: fadeIn 0.6s ease forwards;
}

header {
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
}

.site-title {
  font-family: 'WhitRabt', sans-serif;
  font-size: 3rem;
  color: #000000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 680px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 240px;
  max-width: 280px;
  transition: transform 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.card:hover,
.card:focus {
  transform: scale(1.08);
}

.image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
}

.image-placeholder.first {
  opacity: 1;
  background-color: transparent;
  border: none;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.label {
  margin-top: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: #000000;
  text-align: center;
}

.back-link {
  text-decoration: none;
  color: #000000;
}

.back-link:hover {
  opacity: 0.6;
}

@media (max-width: 480px) {
  .card {
    flex: 1 1 100%;
    max-width: 90%;
  }
  .label {
    font-size: 1.4rem;
  }
}

/* ── Product page ── */

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  color: #000000;
  text-align: center;
  margin-bottom: 8px;
}

.product-page {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

.product-image-wrap {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 2 / 3;
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-footer {
  margin-top: 48px;
  text-align: center;
}

.home-btn {
  font-family: 'WhitRabt', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #000000;
  text-decoration: none;
  border: 1px solid #000000;
  padding: 8px 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

.product-text {
  max-width: 400px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333333;
  margin-top: 12px;
}

/* ── PS4 page ── */

.ps4-page {
  background-color: #ddeeff;
}

.ps4-image-wrap {
  width: 900px !important;
  max-width: 90vw !important;
  height: auto !important;
  aspect-ratio: unset !important;
  background-color: transparent !important;
  border: none !important;
  overflow: visible !important;
  align-self: center !important;
}

.ps4-image-wrap .product-image {
  width: 100% !important;
  height: auto !important;
  object-fit: unset !important;
}

/* ── PS5 page ── */

.ps5-page {
  background-color: #1a1a2e;
  color: #ffffff;
}

.ps5-page .page-title,
.ps5-page .label,
.ps5-page .faq-heading {
  color: #ffffff;
}

.ps5-page .product-text,
.ps5-page .faq-text,
.ps5-page .faq-list {
  color: #cccccc;
}

.ps5-page .home-btn {
  color: #ffffff;
  border-color: #ffffff;
}

.ps5-page .home-btn:hover {
  background-color: #ffffff;
  color: #1a1a2e;
}

/* ── Buttons ── */

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 600px;
  margin-top: 16px;
}

.btn {
  font-family: 'WhitRabt', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 12px 28px;
  display: inline-block;
  text-align: center;
  min-width: 140px;
  border: 2px solid #000000;
  color: #ffffff;
  background-color: #000000;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-default {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

.btn-default:hover {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
}

.btn-red {
  background-color: #cc0000;
  border-color: #cc0000;
  color: #ffffff;
}

.btn-red:hover {
  background-color: #aa0000;
  border-color: #aa0000;
  color: #ffffff;
}

.btn-blue {
  background-color: #0055cc;
  border-color: #0055cc;
  color: #ffffff;
}

.btn-blue:hover {
  background-color: #0044aa;
  border-color: #0044aa;
  color: #ffffff;
}

.btn-green {
  background-color: #06c926;
  border-color: #06c926;
  color: #ffffff;
}

.btn-green:hover {
  background-color: #5fb06c;
  border-color: #5fb06c;
  color: #ffffff;
}

.btn-pink {
  background-color: #f4a7b9;
  border-color: #f4a7b9;
  color: #ffffff;
}

.btn-pink:hover {
  background-color: #e0829a;
  border-color: #e0829a;
  color: #ffffff;
}

/* ── FAQ page ── */

.faq-content {
  width: 100%;
  max-width: 680px;
  margin-top: 32px;
}

.faq-block {
  margin-bottom: 28px;
}

.faq-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: #000000;
  margin-bottom: 8px;
}

.faq-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 8px;
}

.faq-list {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333333;
  padding-left: 20px;
}

.faq-list li {
  margin-bottom: 6px;
}

.faq-link {
  color: #0055cc;
  text-decoration: underline;
}

.faq-link:hover {
  color: #003399;
}

.highlight-red {
  color: #cc0000;
  font-weight: 500;
}

/* ── Mobile ── */

@media (max-width: 600px) {
  .faq-content {
    max-width: 100%;
    padding: 0 4px;
  }

  .faq-heading {
    font-size: 1.15rem;
  }

  .faq-text,
  .faq-list {
    font-size: 0.9rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .ps4-image-wrap {
    width: 100%;
  }
}

/* ── Contact form ── */

.contact-wrap {
  width: 100%;
  max-width: 500px;
  margin-top: 16px;
}

.contact-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333333;
  text-align: center;
  margin-bottom: 20px;
}

.contact-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #cc0000;
  text-align: center;
  margin-bottom: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #aaaaaa;
  background-color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #333333;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-input:focus {
  border-color: #000000;
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.captcha-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.captcha-img {
  border: 1px solid #aaaaaa;
  display: block;
}

.captcha-reload {
  font-size: 0.8rem;
  padding: 8px 16px;
  min-width: unset;
}

.contact-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

/* ── Thank You page ── */

.thankyou-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 16px;
}

.thankyou-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333333;
  text-align: center;
  max-width: 420px;
}

/* ── Guides page ── */

.guides-wrap {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Purchase page ── */

.purchase-wrap {
  width: 100%;
  max-width: 680px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.purchase-block {
  width: 100%;
  border-top: 1px solid #bbbbbb;
  padding-top: 24px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ebay-logo img {
  max-width: 140px;
  height: auto;
}

.stripe-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

/* ── Discord invite ── */

.discord-wrap {
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #bbbbbb;
  width: 100%;
}

.discord-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.discord-logo-link:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.discord-logo {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.discord-invite {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #333333;
  margin: 0;
}
