:root {
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --brand: #7c3aed;
  --brand-2: #22c55e;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(80vw 50vh at 20% 0%, rgba(124, 58, 237, 0.25), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.65);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.site-brand__name {
  font-weight: 800;
  letter-spacing: 0.3px;
}

.site-nav__menu {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.site-nav__menu a {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}

.site-nav__menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.separator {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--muted);
  margin: 0 5px;
}

.site-main {
  padding: 32px 0 60px;
}

.page-header {
  margin: 26px 0 24px;
}

.page-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.page-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
}

.post-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 0 0 16px;
  box-shadow: var(--shadow);
}

.post-card__title {
  margin: 0;
  font-size: 22px;
}

.post-card__title a:hover {
  text-decoration: underline;
}

.post-card__meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  opacity: 0.5;
}

.post-card__content {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.post-card__footer {
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #2563eb);
  color: white;
  font-weight: 650;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.button:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.pagination {
  margin-top: 26px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.65);
}

.site-footer__inner {
  padding: 18px 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info a {
  color: var(--brand);
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.empty {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

/* --- Homepage blocks --- */

.hero {
  margin: 18px 0 22px;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
}

.hero__title {
  margin: 12px 0 0;
  font-size: clamp(45px, 7.5vw, 78px);
  line-height: 1.05;
}

.hero__subtitle {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 19px;
  padding-bottom: 15px;
}

.hero__divider {
  width: 400px;
  height: 2px;
  background: var(--border);
  margin: 10px auto;
}

.hero__perks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
}

.hero__perks li {
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.hero__perks li:before {
  content: "✓ ";
  color: var(--brand);
  font-weight: bold;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 0 0 16px;
  box-shadow: var(--shadow);
}

.panel__header {
  margin-bottom: 14px;
}

#vip-products .panel__header {
  text-align: center;
}

#vip-products .panel__title {
  font-size: 28px;
}

#vip-products .panel__desc {
  font-size: 14px;
}

.panel__title {
  margin: 0;
  font-size: 20px;
}

.panel__desc {
  margin: 8px 0 0;
  color: var(--muted);
  padding-bottom: 8px;
}

.bullets {
  margin: 10px 0 0;
  padding: 0 0 5px;
  color: rgba(255, 255, 255, 0.85);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.bullets li {
  position: relative;
  padding-left: 14px;
  flex: 0 0 auto;
  font-size: clamp(14px, 3vw, 17px);
  word-break: break-word;
}

.bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 18px;
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.product:hover {
  text-decoration: none;
  border-color: rgba(124, 58, 237, 0.45);
  transform: translateY(-1px);
}

.product__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid var(--border);
}

.product__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 16px 6px 16px;
}

.product__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product__title {
  margin: 0;
  font-size: 18px;
  white-space: nowrap;
}

@media (max-width: 500px) {
  .product__title {
    font-size: 13px;
  }
  .price {
    font-size: 11px;
  }
}

.price {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  font-size: 16px;
}

.checkout {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1000px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 545px) {
  .container {
    width: 100%;
  }
  .cf7 input[type="submit"],
  .cf7 button,
  .cf7 .wpcf7-submit {
    transform: none;
  }
}

/* --- Contact Form 7 --- */

.cf7 {
  text-align: center;
}

.cf7 :where(input, select, textarea) {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  text-align: center;
}

.cf7 :where(input, select, textarea)::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.cf7 :where(input, select, textarea):focus {
  border-color: rgba(124, 58, 237, 0.65);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.cf7 .wpcf7-form p {
  margin: 0 0 12px;
}

.cf7 input[type="submit"],
.cf7 button,
.cf7 .wpcf7-submit {
  width: auto;
  cursor: pointer;
  border: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #2563eb);
  color: #fff;
  font-weight: 700;
}

.cf7 input[type="submit"][value="OK"],
.cf7 input[type="submit"][value="Ok"],
.cf7 input[type="submit"][value="ok"] {
  margin-top: 13px;
}

.cf7 .tasutavip {
  margin-top: 12px;
}

.cf7 .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.cf7 .wpcf7-response-output:empty {
  display: none;
}

.screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-fields-container {
  display: none;
}

.content {
  color: rgba(255, 255, 255, 0.88);
}

.content :where(h1,h2,h3) {
  margin: 0 0 10px;
}

.steam-links {
  text-align: center;
  color: var(--text);
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  align-content: flex-start;
}

.steam-links span {
  font-size: clamp(12px, 2.5vw, 14px);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .steam-links {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .steam-links span {
    text-align: center;
    width: 100%;
  }
}

.content p {
  margin: 0 0 12px;
}

.content a {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav__menu {
    flex-wrap: wrap;
  }
}
