:root {
  --bg: #07080a;
  --surface: #07080a;
  --surface2: #07080a;
  --border: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --blue: #ffffff;
  --blueHover: #ffffff;
  --radius: 12px;
}

body {
  background: #07080a;
  color: #fff;
  caret-color: transparent;
}

::selection {
  background: #fff;
  color: #07080a;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.header {
  background: rgba(7, 8, 10, 0.96);
  border-color: var(--border);
}

.game-art {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.game-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.brand-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(4.8);
}

input,
textarea {
  caret-color: auto;
}

.questions details p + p {
  margin-top: 12px;
}

.questions details a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.questions details a:hover {
  opacity: 0.65;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.6px;
}

.brand-dot,
.accent,
.text-link,
.feature-icon,
.card-arrow,
.questions summary span {
  color: #fff;
}

.button-primary {
  background: #fff;
  color: #07080a;
}

.button-primary:hover {
  background: #fff;
}

.button-secondary {
  color: #fff;
  background: transparent;
  border-color: var(--border);
}

.button-secondary:hover {
  background: transparent;
  border-color: #fff;
}

.hero {
  padding: 108px 0 96px;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -2.4px;
}

.hero p {
  max-width: 480px;
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
}

.section {
  padding: 72px 0;
  border-color: var(--border);
}

.catalog-section {
  padding-top: 88px;
  border-top: 0;
}

.games-hero {
  max-width: 680px;
  padding: 16px 0 96px;
}

.games-hero h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -2.4px;
}

.games-hero p {
  max-width: 480px;
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.section-title {
  font-size: 30px;
  margin-bottom: 32px;
}

.feature {
  padding: 0 24px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.feature:hover {
  transform: none;
  border-color: transparent;
}

.feature-icon {
  height: auto;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.feature h3 {
  margin-bottom: 7px;
}

.detail-box,
.product-card {
  background: transparent;
  border-color: var(--border);
  box-shadow: none;
}

.detail-box:hover {
  transform: none;
  border-color: #fff;
}

.filter {
  color: var(--muted);
  background: transparent;
  border-color: var(--border);
}

.filter:hover {
  color: #fff;
  border-color: #fff;
}

.filter.active {
  color: #07080a;
  background: #fff;
  border-color: #fff;
}

#searchInput {
  color: #fff;
  background: transparent;
  border-color: var(--border);
}

#searchInput:focus {
  border-color: #fff;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: #fff;
}

.card-information h3 {
  margin-top: 0;
}

.account-label {
  margin-top: 6px;
}

.game-art,
.game-art.shadow,
.game-art.drift,
.game-art.nova,
.game-art.ember,
.game-art.terra,
.game-art.pixel,
.game-art.rally,
.game-art.void {
  background: #07080a;
  border-bottom: 1px solid var(--border);
}

.art-mark {
  color: rgba(255, 255, 255, 0.1);
}

.art-badge {
  color: #fff;
  background: #07080a;
  border-color: var(--border);
}

.empty-result,
.toast {
  color: #fff;
  background: #07080a;
  border-color: var(--border);
  box-shadow: none;
}

.detail-art {
  border-color: var(--border);
  box-shadow: none;
}

.footer,
.related-section {
  background: #07080a;
  border-color: var(--border);
}

.footer-simple {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

/* Product page artwork */
.detail-art.game-art {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #111214;
  height: 470px;
}

.game-art .game-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.detail-art .detail-cover {
  object-fit: contain;
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(7,8,10,.04),
    rgba(7,8,10,.12) 50%,
    rgba(7,8,10,.48)
  );
}

.product-card:hover .game-cover {
  transform: scale(1.04);
}

@media(max-width:800px) {
  .detail-art.game-art {
    height: 350px;
  }
}

.footer-nav {
  flex-direction: row;
  gap: 22px;
}

.footer-links a:hover,
.breadcrumbs a:hover {
  color: #fff;
}

.faq-page {
  min-height: calc(100vh - 72px);
  padding-top: 88px;
  padding-bottom: 96px;
}

.faq-page .section-title {
  margin-bottom: 36px;
}

.faq-link {
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-left: 4px;
  transition: opacity 0.2s ease;
}

.faq-link:hover {
  opacity: 0.65;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}

/* Minimal footer */

.footer {
  background: #07080a;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  margin-top: auto;
}

.footer-bottom.payment-footer {
  border-top: none;
  padding-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-copyright {
  font-size: 12px;
  color: #85888f;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 14px;
}

.payment-label {
  font-size: 12px;
  color: #85888f;
}

.payment-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  background: #141517;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}





@media (max-width: 650px) {
  .footer-bottom.payment-footer,
  .payment-methods {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 650px) {
  .hero {
    padding: 84px 0 76px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .features-grid {
    gap: 34px;
  }

  .catalog-section {
    padding-top: 64px;
  }

  .games-hero {
    padding: 8px 0 76px;
  }

  .games-hero h1 {
    font-size: 40px;
  }

  .feature {
    padding-right: 0;
  }

  .footer-simple {
    flex-direction: column;
  }

  .faq-page {
    padding-top: 64px;
    padding-bottom: 72px;
  }
}

/* Keep the existing product image frame */
.detail-art {
  position: relative;
  overflow: hidden !important;
  min-width: 0;
}

/* Crop the image inside the frame */
.detail-art img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: cover !important;
  object-position: center;
}


/* Catalogue pagination */

.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  background: transparent;
  color: #91949b;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s ease;
}

.page-btn:hover:not(:disabled) {
  color: #fff;
  border-color: #fff;
}

.page-btn.active {
  background: #fff;
  color: #07080a;
  border-color: #fff;
  font-weight: 600;
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 650px) {
  .catalog-pagination {
    margin-top: 28px;
  }

  .page-btn {
    padding: 0 10px;
    font-size: 12px;
  }
}


/* LOONERA GAME REQUEST SECTION */

.request-section {
  padding: 85px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.request-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: start;
}

.request-info {
  padding-top: 15px;
}

.request-info h2 {
  color: #ffffff;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -1.7px;
  line-height: 1.15;
  margin: 15px 0 20px;
}

.request-info > p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
  line-height: 1.8;
  max-width: 440px;
}

.request-note {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  line-height: 1.7;
}

/* Form */

.request-form {
  background: #101114;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 30px;
}

.request-field {
  margin-bottom: 22px;
}

.request-field label {
  display: block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}

.request-field label span {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 400;
}

/* Inputs */

.request-form input:not([type="hidden"]),
.request-form textarea {
  display: block;
  width: 100%;
  padding: 14px 15px;
  background: #090a0c;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  caret-color: auto;
  transition: border-color 0.2s;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.request-form textarea {
  resize: vertical;
  min-height: 95px;
}

/* Submit button */

.request-submit {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.request-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.request-status {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.request-status:empty {
  display: none;
}

.request-status.success {
  color: #34d399;
}

.request-status.error {
  color: #fb7185;
}

.request-disclaimer {
  color: rgba(255, 255, 255, 0.36);
  font-size: 11px;
  line-height: 1.7;
  margin: 15px 0 0;
}

.request-honey {
  display: none !important;
}

/* Mobile */

@media (max-width: 800px) {
  .request-section {
    padding: 65px 0;
  }

  .request-wrapper {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .request-form {
    padding: 22px;
  }

  .request-info h2 {
    font-size: 34px;
  }
}



/* Fix spacing between catalogue and game requests */

/* Space between pagination and divider */
.catalog-pagination {
  margin-bottom: 60px;
}

/* Space between divider and request section */
.request-section {
  padding-top: 60px;
  padding-bottom: 90px;
}

/* Mobile spacing */
@media (max-width: 800px) {
  .catalog-pagination {
    margin-bottom: 40px;
  }

  .request-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }
}
