@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Barlow:wght@400;500;600&display=swap);


/* =============================================
   base.css — shared layout & tokens
   ============================================= */
/* ── CSS Variables ── */
:root {
  --yr-ink: #0a0a0f;
  --yr-graphite: #1a1a24;
  --yr-steel: #2a2a38;
  --yr-silver: #c0c8d8;
  --yr-chrome: #e8ecf4;
  --yr-white: #f4f6fa;
  --yr-electric: #4fc3f7;
  --yr-neon: #ff2d95;
  --yr-chrome-yellow: #f0c040;
  --yr-sage: #00e5a0;
  --yr-glass-bg: rgba(255, 255, 255, 0.06);
  --yr-glass-border: rgba(255, 255, 255, 0.12);
  --yr-glass-hover: rgba(255, 255, 255, 0.10);
  --yr-ad-bg: rgba(20, 20, 30, 0.95);
  --yr-font-title: 'Orbitron', sans-serif;
  --yr-font-body: 'Barlow', sans-serif;
  --yr-accent-active: var(--yr-electric);
  --yr-radius-card: 14px;
  --yr-radius-btn: 12px;
  --yr-nav-height: 64px;
}
/* ── Reset ── */
*, *::before, *::after {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: var(--yr-font-body);
  background-color: var(--yr-ink);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.025) 79px,
      rgba(255, 255, 255, 0.025) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.025) 79px,
      rgba(255, 255, 255, 0.025) 80px
    ),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79, 195, 247, 0.08) 0%, transparent 60%),
    -webkit-gradient(linear, left top, left bottom, from(#0a0a0f), color-stop(50%, #12121a), to(#0a0a0f));
  background-image:
    -webkit-repeating-linear-gradient(
      left,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.025) 79px,
      rgba(255, 255, 255, 0.025) 80px
    ),
    -webkit-repeating-linear-gradient(
      bottom,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.025) 79px,
      rgba(255, 255, 255, 0.025) 80px
    ),
    -webkit-radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79, 195, 247, 0.08) 0%, transparent 60%),
    -webkit-linear-gradient(top, #0a0a0f 0%, #12121a 50%, #0a0a0f 100%);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.025) 79px,
      rgba(255, 255, 255, 0.025) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.025) 79px,
      rgba(255, 255, 255, 0.025) 80px
    ),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79, 195, 247, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0f 0%, #12121a 50%, #0a0a0f 100%);
  min-height: 100vh;
  color: var(--yr-silver);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--yr-font-title);
  color: var(--yr-chrome);
  line-height: 1.2;
}
a {
  color: var(--yr-electric);
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
a:hover {
  color: var(--yr-neon);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--yr-graphite);
}
::-webkit-scrollbar-thumb {
  background: var(--yr-steel);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 195, 247, 0.4);
}
/* ── Focus ── */
:focus-visible {
  outline: 2px solid var(--yr-electric);
  outline-offset: 3px;
}
/* ── Ad Slots ── */
.yr-ad-frame {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  margin: 16px auto;
  max-width: 300px;
}
.yr-ad-slot {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  min-height: 250px;
  max-width: 300px;
  width: 100%;
  margin: auto;
}
.yr-ad-tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 4px;
  font-family: var(--yr-font-body);
}
/* ── Selection ── */
::-moz-selection {
  background: rgba(79, 195, 247, 0.3);
  color: var(--yr-white);
}
::selection {
  background: rgba(79, 195, 247, 0.3);
  color: var(--yr-white);
}
/* ── Utilities ── */
.yr-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
  }
}

/* =============================================
   index.css — home page
   ============================================= */

/* ── Page Layout ── */

.yr-page {
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
}

.yr-main {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
     -moz-box-flex: 1;
          flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Navigation ── */

.yr-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--yr-glass-border);
}

.yr-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 20px;
  height: var(--yr-nav-height);
}

.yr-brand {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 10px;
  text-decoration: none;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}

.yr-brand-mark {
  width: 36px;
  height: 36px;
  background: -webkit-linear-gradient(315deg, #4fc3f7 0%, #ff2d95 50%, #f0c040 100%);
  background: linear-gradient(135deg, #4fc3f7 0%, #ff2d95 50%, #f0c040 100%);
  border-radius: 8px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  font-family: var(--yr-font-title);
  font-weight: 900;
  font-size: 14px;
  color: var(--yr-ink);
  letter-spacing: 0.05em;
}

.yr-brand-name {
  font-family: var(--yr-font-title);
  font-weight: 700;
  font-size: 18px;
  background: -webkit-gradient(linear, left top, right top, from(#e8ecf4), color-stop(50%, #4fc3f7), to(#e8ecf4));
  background: -webkit-linear-gradient(left, #e8ecf4 0%, #4fc3f7 50%, #e8ecf4 100%);
  background: linear-gradient(90deg, #e8ecf4 0%, #4fc3f7 50%, #e8ecf4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
  display: inline-block;
  max-width: 12ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .yr-brand-name { font-size: 14px; max-width: 8ch; }
}

.yr-brand-est {
  font-size: 10px;
  color: var(--yr-silver);
  opacity: 0.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--yr-font-body);
  font-weight: 500;
}

.yr-search {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
     -moz-box-flex: 1;
          flex: 1;
  max-width: 480px;
  position: relative;
}

.yr-search-input {
  width: 100%;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--yr-glass-border);
  border-radius: 20px;
  padding: 0 44px 0 18px;
  font-family: var(--yr-font-body);
  font-size: 14px;
  color: var(--yr-chrome);
  outline: none;
  -webkit-transition: border-color 0.2s, background 0.2s;
  transition: border-color 0.2s, background 0.2s;
}

.yr-search-input::-webkit-input-placeholder {
  color: rgba(192, 200, 216, 0.4);
}

.yr-search-input::-moz-placeholder {
  color: rgba(192, 200, 216, 0.4);
}

.yr-search-input::placeholder {
  color: rgba(192, 200, 216, 0.4);
}

.yr-search-input:focus {
  border-color: var(--yr-electric);
  background: rgba(79, 195, 247, 0.06);
}

.yr-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: var(--yr-silver);
  opacity: 0.5;
  pointer-events: none;
}

.yr-nav-links {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 4px;
  list-style: none;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}

.yr-nav-links li a {
  display: block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--yr-silver);
  text-decoration: none;
  border-radius: 8px;
  -webkit-transition: background 0.2s, color 0.2s;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.03em;
}

.yr-nav-links li a:hover {
  background: rgba(79, 195, 247, 0.1);
  color: var(--yr-electric);
}

/* ── Hero ── */

.yr-hero {
  padding: 60px 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.yr-hero-eyebrow {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yr-electric);
  margin-bottom: 16px;
  opacity: 0.8;
}

.yr-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yr-electric);
}

.yr-hero-title {
  font-family: var(--yr-font-title);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  background: -webkit-linear-gradient(315deg, #f4f6fa 0%, #c0c8d8 30%, #4fc3f7 60%, #e8ecf4 100%);
  background: linear-gradient(135deg, #f4f6fa 0%, #c0c8d8 30%, #4fc3f7 60%, #e8ecf4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.yr-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--yr-silver);
  opacity: 0.8;
  max-width: 480px;
  margin-bottom: 32px;
}

.yr-hero-ctas {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 12px;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.yr-btn-primary {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: -webkit-linear-gradient(315deg, #4fc3f7, #2d9cd9);
  background: linear-gradient(135deg, #4fc3f7, #2d9cd9);
  border: none;
  border-radius: var(--yr-radius-btn);
  font-family: var(--yr-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--yr-ink);
  cursor: pointer;
  -webkit-transition: box-shadow 0.2s, -webkit-transform 0.2s;
  transition: box-shadow 0.2s, -webkit-transform 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s;
  text-decoration: none;
}

.yr-btn-primary:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 195, 247, 0.35);
  color: var(--yr-ink);
}

.yr-btn-secondary {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid var(--yr-glass-border);
  border-radius: var(--yr-radius-btn);
  font-family: var(--yr-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--yr-silver);
  cursor: pointer;
  -webkit-transition: border-color 0.2s, color 0.2s, background 0.2s;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}

.yr-btn-secondary:hover {
  border-color: var(--yr-electric);
  color: var(--yr-electric);
  background: rgba(79, 195, 247, 0.06);
}

.yr-hero-visual {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.yr-hero-card {
  width: 260px;
  height: 340px;
  background: -webkit-linear-gradient(290deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--yr-glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  -webkit-transition: box-shadow 0.25s, -webkit-transform 0.25s;
  transition: box-shadow 0.25s, -webkit-transform 0.25s;
  transition: transform 0.25s, box-shadow 0.25s;
  transition: transform 0.25s, box-shadow 0.25s, -webkit-transform 0.25s;
}

.yr-hero-card:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--yr-electric), 0 0 30px rgba(79, 195, 247, 0.15);
}

.yr-hero-card-img {
  width: 100%;
  height: 200px;
  background: -webkit-linear-gradient(315deg, #1e1e28, #2a2a38);
  background: linear-gradient(135deg, #1e1e28, #2a2a38);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  font-size: 48px;
  position: relative;
}

.yr-hero-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(10, 10, 15, 0.4)), color-stop(50%, transparent));
  background: -webkit-linear-gradient(bottom, rgba(10, 10, 15, 0.4) 0%, transparent 50%);
  background: linear-gradient(0deg, rgba(10, 10, 15, 0.4) 0%, transparent 50%);
}

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

.yr-hero-card-body {
  padding: 16px;
}

.yr-hero-card-title {
  font-family: var(--yr-font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--yr-chrome);
  margin-bottom: 8px;
}

.yr-hero-card-meta {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 8px;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.yr-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(79, 195, 247, 0.12);
  border: 1px solid rgba(79, 195, 247, 0.25);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--yr-electric);
  letter-spacing: 0.05em;
}

.yr-tag-hot {
  background: rgba(255, 45, 149, 0.12);
  border-color: rgba(255, 45, 149, 0.25);
  color: var(--yr-neon);
}

/* ── Section ── */

.yr-section {
  padding-bottom: 56px;
}

.yr-section-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yr-section-title {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 12px;
}

.yr-section-title h2 {
  font-family: var(--yr-font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--yr-chrome);
  letter-spacing: 0.05em;
}

.yr-section-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yr-electric);
  box-shadow: 0 0 8px var(--yr-electric);
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}

.yr-view-all {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--yr-silver);
  text-decoration: none;
  opacity: 0.7;
  -webkit-transition: opacity 0.2s, color 0.2s, background 0.2s;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
  padding: 6px 12px;
  border-radius: 8px;
}

.yr-view-all:hover {
  opacity: 1;
  color: var(--yr-electric);
  background: rgba(79, 195, 247, 0.06);
}

.yr-view-all::after {
  content: "→";
  font-size: 12px;
}

/* ── Game Grid ── */

.yr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.yr-card {
  position: relative;
  background: -webkit-linear-gradient(290deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--yr-glass-border);
  border-radius: var(--yr-radius-card);
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: box-shadow 0.25s, border-color 0.25s, -webkit-transform 0.25s;
  transition: box-shadow 0.25s, border-color 0.25s, -webkit-transform 0.25s;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, -webkit-transform 0.25s;
}

.yr-card:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--yr-electric), 0 0 20px rgba(79, 195, 247, 0.15);
  border-color: rgba(79, 195, 247, 0.4);
}

.yr-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: -webkit-linear-gradient(315deg, #1e1e28, #2a2a38);
  background: linear-gradient(135deg, #1e1e28, #2a2a38);
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  font-size: 28px;
}

.yr-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(10, 10, 15, 0.5)), color-stop(50%, transparent));
  background: -webkit-linear-gradient(bottom, rgba(10, 10, 15, 0.5) 0%, transparent 50%);
  background: linear-gradient(0deg, rgba(10, 10, 15, 0.5) 0%, transparent 50%);
}

.yr-lazy-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yr-lazy-image.yr-img-loaded {
  /* loaded state */
}

.yr-lazy-image.yr-img-failed {
  opacity: 0.3;
}

.yr-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(0.8);
          transform: translate(-50%, -50%) scale(0.8);
  width: 36px;
  height: 36px;
  background: rgba(79, 195, 247, 0.9);
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  opacity: 0;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, transform 0.2s;
  transition: opacity 0.2s, transform 0.2s, -webkit-transform 0.2s;
  z-index: 2;
  color: var(--yr-ink);
}

.yr-card:hover .yr-card-play {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
}

.yr-card-num {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--yr-font-body);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.yr-card-body {
  padding: 10px 12px 12px;
}

.yr-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--yr-chrome);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.yr-card-meta {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
}

.yr-card-genre {
  font-size: 11px;
  color: var(--yr-silver);
  opacity: 0.6;
}

.yr-card-hint {
  font-size: 10px;
  color: var(--yr-electric);
  opacity: 0;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.yr-card:hover .yr-card-hint {
  opacity: 1;
}

/* ── Discover Grid ── */

.yr-discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* ── Ad ── */

.yr-ad-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 24px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
}

.yr-ad-box {
  width: 100%;
  max-width: 728px;
  height: 90px;
  background: var(--yr-ad-bg);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

/* ── Footer ── */

.yr-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 16px;
}

.yr-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 16px;
}

.yr-footer-brand {
  font-family: var(--yr-font-title);
  font-size: 14px;
  font-weight: 700;
  background: -webkit-gradient(linear, left top, right top, from(#c0c8d8), to(#4fc3f7));
  background: -webkit-linear-gradient(left, #c0c8d8, #4fc3f7);
  background: linear-gradient(90deg, #c0c8d8, #4fc3f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.yr-footer-brand-link {
  display: inline-block;
  text-decoration: none;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.yr-footer-links {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 16px;
  list-style: none;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.yr-footer-links li a {
  font-size: 12px;
  color: var(--yr-silver);
  opacity: 0.5;
  text-decoration: none;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.yr-footer-links li a:hover {
  opacity: 1;
  color: var(--yr-electric);
}

.yr-footer-copy {
  font-size: 11px;
  color: var(--yr-silver);
  opacity: 0.3;
  width: 100%;
  text-align: center;
  margin-top: 16px;
}

/* ── Responsive ── */

@media (max-width: 1050px) {
  .yr-hero {
    padding: 40px 0 32px;
    gap: 24px;
  }

  .yr-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .yr-discover-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .yr-nav-links {
    display: none;
  }

  .yr-hero {
    grid-template-columns: 1fr;
    padding: 24px 0 24px;
    gap: 20px;
  }

  .yr-hero-visual {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
       -moz-box-ordinal-group: 0;
            order: -1;
  }

  .yr-hero-text {
    text-align: center;
  }

  .yr-hero-title {
    font-size: 26px;
  }

  .yr-hero-desc {
    font-size: 14px;
    max-width: 100%;
  }

  .yr-hero-ctas {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
  }

  .yr-hero-card {
    width: 180px;
    height: 240px;
  }

  .yr-hero-card-img {
    height: 160px;
  }

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

  .yr-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }

  .yr-discover-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  /* Mobile: limit visible cards per row band (2 trending, 6 casual, 8 puzzle, 12 discover) */
  #yrTrendingGrid > .yr-card:nth-child(n + 3),
  #yrCasualGrid > .yr-card:nth-child(n + 7),
  #yrPuzzleGrid > .yr-card:nth-child(n + 9),
  #yrDiscoverGrid > .yr-discover-card:nth-child(n + 13) {
    display: none;
  }

  .yr-section {
    padding-bottom: 40px;
  }

  .yr-section-header {
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    gap: 8px;
  }

  .yr-footer-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    text-align: center;
  }
}

