:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5e6a72;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dfe3e5;
  --teal: #147a78;
  --red: #d6463a;
  --gold: #d69a22;
  --green: #2d8b57;
  --blue: #2d62b7;
  --shadow: 0 20px 50px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(23, 32, 38, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover {
  color: var(--ink);
}

.header-action,
.button,
form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.header-action,
.button.primary,
form button {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(32px, 6vw, 78px) clamp(18px, 4vw, 56px) clamp(24px, 5vw, 56px);
}

.hero-copy {
  max-width: 650px;
}

.hero-logo {
  width: clamp(132px, 19vw, 220px);
  height: clamp(132px, 19vw, 220px);
  margin-bottom: 22px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: #e9eeed;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  padding: 22px;
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section,
.deals,
.contact {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: none;
}

.product-grid,
.hosting-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.hosting-grid article,
.deal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card {
  min-height: 260px;
  padding: 22px;
}

.product-card.hot {
  border-color: rgba(214, 70, 58, 0.35);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(20, 122, 120, 0.1);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  display: block;
  margin-top: 24px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
  background: #eef5f2;
}

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

.category-card {
  min-height: 188px;
  padding: 22px;
  border: 1px solid rgba(23, 32, 38, 0.12);
  border-radius: 8px;
  background: #fff;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(23, 32, 38, 0.1);
}

.category-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.pokemon span {
  background: var(--gold);
}

.onepiece span {
  background: var(--red);
}

.league span {
  background: var(--blue);
}

.magic span {
  background: var(--ink);
}

.yugioh span {
  background: #8b2d62;
}

.accessories span {
  background: var(--green);
}

.deals {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--ink);
}

.deals h2,
.deals h3 {
  color: #fff;
}

.deals p,
.deals li {
  color: rgba(255, 255, 255, 0.76);
}

.deal-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.deal-panel ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

.hosting-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hosting-grid article {
  padding: 24px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: #fff;
}

form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--ink);
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split,
  .deals,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .product-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    max-width: 150px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-media {
    aspect-ratio: 1 / 1;
  }

  .trust-strip,
  .product-grid,
  .category-grid,
  .hosting-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  footer {
    display: block;
  }

  footer p + p {
    margin-top: 8px;
  }
}
