/**
 * DurmaPlay — Premium Gift Card pilot
 * Scope: Steam Cüzdan Kodu main category only.
 * Reversible: remove/disable the external stylesheet link.
 * No theme file, template or JavaScript dependency.
 */

@supports selector(body:has(*)) {
  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"]) {
    --gc-accent: #66c0f4;
    --gc-accent-deep: #1a9fff;
    --gc-gold: #c9a14d;
    --gc-panel: #121417;
    --gc-panel-soft: #191c21;
    --gc-border: rgba(201, 161, 77, 0.3);
    --gc-text: #f7f8fa;
    --gc-muted: #aeb5bf;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .p-g-mod-body {
    display: flex;
    flex-direction: column;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .p-g-mod-body > h1:first-child {
    display: none;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .category-short-description,
  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xbg-global-cat {
    display: contents;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-hero {
    order: 1;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0 0 26px;
    padding: 44px 38px;
    min-height: 250px;
    border: 1px solid var(--gc-border);
    border-radius: 22px;
    background:
      radial-gradient(circle at 84% 18%, rgba(102, 192, 244, 0.2), transparent 36%),
      linear-gradient(135deg, #0d1218 0%, #152431 54%, #101418 100%);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-hero::before {
    content: "STEAM GIFT CARD";
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid rgba(102, 192, 244, 0.38);
    border-radius: 999px;
    color: #d9f2ff;
    background: rgba(102, 192, 244, 0.1);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -90px;
    right: -75px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(102, 192, 244, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(102, 192, 244, 0.035),
      0 0 0 84px rgba(102, 192, 244, 0.025);
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-hero h1 {
    max-width: 760px;
    margin: 0 auto 13px;
    color: var(--gc-text);
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 850;
    letter-spacing: -0.035em;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-hero p {
    max-width: 780px;
    margin: 0 auto 22px;
    color: #cbd5df;
    font-size: 16px;
    line-height: 1.75;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-hero .xg-chips {
    gap: 10px;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-hero .xg-chip {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #eef7fc;
    background: rgba(255, 255, 255, 0.065);
    backdrop-filter: blur(8px);
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .category-pg-inner {
    order: 2;
    margin: 0 0 28px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(24, 27, 32, 0.96), rgba(13, 15, 18, 0.96));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .category-pg-inner::before {
    content: "Para Birimini Seçin\A Hesabınızın mağaza bölgesiyle uyumlu Steam Wallet seçeneğini açın.";
    display: block;
    margin: 0 0 22px;
    color: var(--gc-muted);
    font-size: 14px;
    line-height: 1.65;
    white-space: pre-line;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .category-pg-inner::first-line {
    color: var(--gc-text);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.025em;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .category-pg-inner > .row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .category-pg-inner > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category {
    position: relative;
    display: flex;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 16px !important;
    background: var(--gc-panel) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
    transition: transform 180ms ease, border-color 180ms ease,
      box-shadow 180ms ease, background-color 180ms ease;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category::before {
    content: "DİJİTAL KOD";
    position: absolute;
    z-index: 2;
    top: 11px;
    left: 11px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    background: rgba(8, 12, 17, 0.76);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.1em;
    backdrop-filter: blur(8px);
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category .image {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #0c1118;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category .image > a,
  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category .image img {
    display: block;
    width: 100%;
    height: 100%;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category .image img {
    object-fit: cover;
    transition: transform 260ms ease, filter 260ms ease;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category .title {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 66px;
    padding: 13px 14px;
    color: var(--gc-text);
    background: linear-gradient(180deg, #1b1e23, #15171b);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    text-align: left;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category .title::after {
    content: "→";
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(201, 161, 77, 0.45);
    border-radius: 50%;
    color: #efd07e;
    background: rgba(201, 161, 77, 0.08);
    font-size: 15px;
    transition: transform 180ms ease, background-color 180ms ease;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category:hover,
  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category:focus-within {
    z-index: 2;
    border-color: rgba(201, 161, 77, 0.72) !important;
    background: var(--gc-panel-soft) !important;
    box-shadow: 0 17px 38px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(201, 161, 77, 0.18);
    transform: translateY(-5px);
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category:hover .image img,
  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category:focus-within .image img {
    filter: brightness(1.07) saturate(1.06);
    transform: scale(1.035);
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category:hover .title::after,
  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category:focus-within .title::after {
    background: rgba(201, 161, 77, 0.18);
    transform: translateX(2px);
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .card-category a:focus-visible {
    outline: 2px solid #efd07e;
    outline-offset: -3px;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-global-box {
    order: 3;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-grid {
    order: 4;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-box:not(.xg-global-box):not(.xg-faq) {
    order: 5;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-faq {
    order: 6;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    .xg-cta {
    order: 7;
  }

  body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
    :is(.xg-global-box, .xg-grid, .xg-box, .xg-cta) {
    border-color: rgba(201, 161, 77, 0.2);
  }

  @media (max-width: 1199.98px) {
    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .category-pg-inner > .row {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  @media (max-width: 767.98px) {
    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .xg-hero {
      min-height: 0;
      margin-bottom: 18px;
      padding: 28px 20px;
      border-radius: 18px;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .xg-hero h1 {
      font-size: 28px;
      line-height: 1.12;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .xg-hero p {
      font-size: 14px;
      line-height: 1.65;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .category-pg-inner {
      margin-bottom: 20px;
      padding: 16px;
      border-radius: 18px;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .category-pg-inner::before {
      margin-bottom: 17px;
      font-size: 12px;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .category-pg-inner::first-line {
      font-size: 22px;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .category-pg-inner > .row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .card-category {
      border-radius: 13px !important;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .card-category::before {
      top: 8px;
      left: 8px;
      padding: 5px 7px;
      font-size: 7px;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .card-category .title {
      min-height: 58px;
      padding: 10px;
      font-size: 11.5px;
    }

    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .card-category .title::after {
      width: 24px;
      height: 24px;
      font-size: 13px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .card-category,
    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .card-category img,
    body:has(.category-pg-inner .card-category a[href*="/steam-wallet-usd"])
      .card-category .title::after {
      transition: none;
    }
  }
}