/**
 * /assets/css/pages/games.css
 *
 * Games-page-specific styles only.
 * Shared tokens, sections, typography, buttons and the complete standard hero
 * (including lines, grid and RS mark) live in core.css/components.css.
 */

.page-games {
  --hero-min-height: 82vh;
  --hero-image-position: center 35%;
  --hero-image-brightness: .48;
  --hero-image-saturation: .72;
  --hero-accent-x: 74%;
  --hero-accent-y: 33%;
  --hero-accent-alpha: .22;
}

/* =====================================================
       HOSTED GAMES
    ====================================================== */

    .hosted-intro {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(300px, .45fr);
      gap: 60px;
      align-items: end;
    }

    .hosted-note {
      color: rgba(255,255,255,.38);
      font-size: .82rem;
      line-height: 1.75;
    }

    .hosted-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 18px;
      margin-top: 52px;
    }

    .hosted-card {
      position: relative;
      min-height: 390px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      overflow: hidden;
      border: 1px solid var(--border);
      background: #101010;
      transition:
        transform .25s ease,
        border-color .25s ease;
    }

    .hosted-card.large {
      grid-column: span 3;
      min-height: 470px;
    }

    .hosted-card.medium {
      grid-column: span 2;
    }

    .hosted-card:hover {
      transform: translateY(-4px);
      border-color: rgba(189,0,0,.52);
    }

    .hosted-card::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      z-index: 4;
      width: 0;
      height: 2px;
      background: var(--red-bright);
      transition: width .3s ease;
    }

    .hosted-card:hover::after {
      width: 100%;
    }

    .hosted-image {
      position: absolute;
      inset: 0;
    }

    .hosted-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter:
        brightness(.62)
        saturate(.82)
        contrast(1.04);
      transition:
        transform .6s ease,
        filter .6s ease;
    }

    .hosted-card:hover .hosted-image img {
      transform: scale(1.045);
      filter:
        brightness(.69)
        saturate(.98)
        contrast(1.04);
    }

    .hosted-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        linear-gradient(
          to bottom,
          rgba(0,0,0,.12) 0%,
          rgba(0,0,0,.17) 28%,
          rgba(0,0,0,.85) 73%,
          rgba(0,0,0,.98) 100%
        );
    }

    .hosted-content {
      position: relative;
      z-index: 2;
      padding: 27px;
    }

    .hosted-status {
      position: absolute;
      top: 22px;
      left: 22px;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 29px;
      padding: 0 10px;
      border: 1px solid rgba(189,0,0,.53);
      color: #fff;
      background: rgba(0,0,0,.55);
      backdrop-filter: blur(8px);
      font-size: .51rem;
      font-weight: 800;
      letter-spacing: .10em;
      text-transform: uppercase;
    }

    .hosted-status::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--red-bright);
      box-shadow: 0 0 9px rgba(224,0,0,.62);
    }

    .hosted-arrow {
      position: absolute;
      top: 22px;
      right: 22px;
      z-index: 3;
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,.16);
      color: rgba(255,255,255,.70);
      background: rgba(0,0,0,.42);
      transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease;
    }

    .hosted-card:hover .hosted-arrow {
      transform: translate(2px,-2px);
      border-color: var(--red);
      color: #fff;
      background: var(--red);
    }

    .hosted-category {
      margin-bottom: 9px;
      color: var(--red-bright);
      font-size: .54rem;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .hosted-title {
      margin: 0;
      color: #fff;
      font-size: clamp(1.75rem, 2.6vw, 2.75rem);
      font-weight: 900;
      line-height: .96;
      letter-spacing: -.04em;
      text-transform: uppercase;
    }

    .hosted-copy {
      max-width: 470px;
      margin-top: 13px;
      color: rgba(255,255,255,.47);
      font-size: .76rem;
      line-height: 1.67;
    }


    /* =====================================================
       COMMUNITY FOCUS
    ====================================================== */

    .focus-layout {
      display: grid;
      grid-template-columns: .75fr 1.25fr;
      gap: 70px;
      align-items: start;
    }

    .focus-list {
      border-top: 1px solid var(--border);
    }

    .focus-game {
      position: relative;
      display: grid;
      grid-template-columns: 110px minmax(0,1fr) auto;
      gap: 24px;
      align-items: center;
      min-height: 138px;
      padding: 17px 0;
      border-bottom: 1px solid var(--border);
    }

    .focus-thumb {
      width: 110px;
      height: 90px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: #111;
    }

    .focus-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(.67) saturate(.80);
      transition: transform .3s ease, filter .3s ease;
    }

    .focus-game:hover .focus-thumb img {
      transform: scale(1.05);
      filter: brightness(.78) saturate(.98);
    }

    .focus-status {
      color: var(--red-bright);
      font-size: .53rem;
      font-weight: 800;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .focus-title {
      margin-top: 7px;
      color: #fff;
      font-size: 1.05rem;
      font-weight: 800;
    }

    .focus-copy {
      max-width: 600px;
      margin-top: 6px;
      color: rgba(255,255,255,.35);
      font-size: .72rem;
      line-height: 1.6;
    }

    .focus-link {
      width: 39px;
      height: 39px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border);
      color: rgba(255,255,255,.55);
      transition:
        border-color .18s ease,
        background .18s ease,
        color .18s ease;
    }

    .focus-game:hover .focus-link {
      border-color: var(--red-border);
      background: var(--red-soft);
      color: #fff;
    }


    /* =====================================================
       SUPPORT
    ====================================================== */

    .support-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0,1fr));
      gap: 1px;
      margin-top: 48px;
      border: 1px solid var(--border-soft);
      background: var(--border-soft);
    }

    .support-item {
      min-height: 220px;
      padding: 29px;
      background: #0d0d0d;
    }

    .support-icon {
      color: var(--red-bright);
      font-size: 1rem;
    }

    .support-title {
      margin-top: 22px;
      color: #fff;
      font-size: .92rem;
      font-weight: 800;
    }

    .support-copy {
      margin-top: 9px;
      color: rgba(255,255,255,.34);
      font-size: .74rem;
      line-height: 1.65;
    }


    /* =====================================================
       VIP / COMMUNITY SUPPORT
    ====================================================== */

    .vip-section {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(
          circle at 78% 28%,
          rgba(189,0,0,.15),
          transparent 31%
        ),
        #0a0a0a;
    }

    .vip-layout {
      display: grid;
      grid-template-columns: minmax(0,1fr) minmax(360px,.85fr);
      gap: 70px;
      align-items: center;
    }

    .vip-panel {
      border: 1px solid var(--border);
      background: rgba(255,255,255,.018);
    }

    .vip-item {
      display: grid;
      grid-template-columns: 42px minmax(0,1fr);
      gap: 15px;
      padding: 23px 25px;
      border-bottom: 1px solid var(--border-soft);
    }

    .vip-item:last-child {
      border-bottom: 0;
    }

    .vip-icon {
      width: 37px;
      height: 37px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--red-border);
      color: var(--red-bright);
      background: var(--red-soft);
    }

    .vip-title {
      color: #fff;
      font-size: .87rem;
      font-weight: 800;
    }

    .vip-copy {
      margin-top: 5px;
      color: rgba(255,255,255,.35);
      font-size: .74rem;
      line-height: 1.62;
    }

    .vip-disclaimer {
      max-width: 720px;
      margin-top: 18px;
      color: rgba(255,255,255,.27);
      font-size: .68rem;
      line-height: 1.65;
    }


    /* =====================================================
       STATUS CTA
    ====================================================== */

    .status-section {
      position: relative;
      overflow: hidden;
      padding: 80px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background:
        radial-gradient(
          circle at 78% 45%,
          rgba(189,0,0,.15),
          transparent 32%
        ),
        #090909;
    }

    .status-grid {
      display: grid;
      grid-template-columns: minmax(0,1fr) auto;
      gap: 50px;
      align-items: center;
    }

    .status-label {
      color: var(--red-bright);
      font-size: .58rem;
      font-weight: 800;
      letter-spacing: .17em;
      text-transform: uppercase;
    }

    .status-title {
      margin: 10px 0 0;
      color: #fff;
      font-size: clamp(2.1rem, 4vw, 4.2rem);
      font-weight: 900;
      line-height: .95;
      letter-spacing: -.045em;
      text-transform: uppercase;
    }

    .status-copy {
      max-width: 700px;
      margin-top: 15px;
      color: rgba(255,255,255,.39);
      font-size: .79rem;
      line-height: 1.7;
    }


    /* =====================================================
       JOIN CTA
    ====================================================== */

    .join-section {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(120deg, #080808, #111 60%, #080808);
    }

    .join-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(
          circle at 77% 49%,
          rgba(189,0,0,.17),
          transparent 35%
        );
      pointer-events: none;
    }

    .join-layout {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0,1.1fr) minmax(330px,.9fr);
      gap: 70px;
      align-items: center;
    }

    .join-panel {
      border: 1px solid var(--border);
      background: rgba(8,8,8,.68);
    }

    .join-item {
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 15px;
      padding: 23px 25px;
      border-bottom: 1px solid var(--border-soft);
    }

    .join-item:last-child {
      border-bottom: 0;
    }

    .join-icon {
      width: 37px;
      height: 37px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--red-border);
      color: var(--red-bright);
      background: var(--red-soft);
    }

    .join-title {
      color: #fff;
      font-size: .87rem;
      font-weight: 700;
    }

    .join-copy {
      margin-top: 5px;
      color: rgba(255,255,255,.35);
      font-size: .74rem;
      line-height: 1.62;
    }


    /* =====================================================
       RESPONSIVE
    ====================================================== */

    @media (max-width: 1199.98px) {

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

      .hosted-card.large,
      .hosted-card.medium {
        grid-column: span 1;
        min-height: 420px;
      }

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

    }

    @media (max-width: 991.98px) {

      .focus-layout,
      .vip-layout,
      .join-layout {
        grid-template-columns: 1fr;
      }

      .hosted-intro {
        grid-template-columns: 1fr;
        gap: 24px;
      }


      .status-grid {
        grid-template-columns: 1fr;
      }

    }

    @media (max-width: 767.98px) {
.hosted-grid {
        grid-template-columns: 1fr;
      }

      .hosted-card.large,
      .hosted-card.medium {
        min-height: 420px;
      }

      .focus-game {
        grid-template-columns: 88px minmax(0,1fr) auto;
        gap: 15px;
      }

      .focus-thumb {
        width: 88px;
        height: 78px;
      }

      .support-grid {
        grid-template-columns: 1fr;
      }

    }

    @media (max-width: 480px) {


      .hosted-content {
        padding: 23px;
      }

      .hosted-status {
        top: 18px;
        left: 18px;
      }

      .hosted-arrow {
        top: 18px;
        right: 18px;
      }

      .focus-game {
        grid-template-columns: 72px minmax(0,1fr) auto;
      }

      .focus-thumb {
        width: 72px;
        height: 68px;
      }

      .focus-copy {
        display: none;
      }

    }
