   *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --gold: #c9a84c;
      --gold-light: #e2c47a;
      --gold-dim: #8a6e2e;
      --bg-dark: #0a0a0c;
      --bg-card: #111114;
      --bg-nav: rgba(8, 8, 10, 0.97);
      --text-primary: #e8e2d4;
      --text-secondary: #8a8278;
      --text-muted: #5a5650;
      --border-subtle: rgba(201, 168, 76, 0.12);
      --border-card: rgba(255, 255, 255, 0.06);
      --shadow-card: 0 8px 40px rgba(0,0,0,0.7);
      --shadow-gold: 0 0 20px rgba(201, 168, 76, 0.15);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Raleway', sans-serif;
      background-color: var(--bg-dark);
      color: var(--text-primary);
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
    }


    .page-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(25,15,5,0.9) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(80,40,10,0.06) 0%, transparent 60%),
        linear-gradient(180deg, #06050a 0%, #0c0b0f 30%, #0a0a0c 60%, #070709 100%);
    }



    .ember {
      position: fixed;
      width: 2px;
      height: 2px;
      border-radius: 60%;
      background: var(--gold);
      box-shadow: 0 0 6px 2px rgba(255, 102, 0, 0.9);
      pointer-events: none;
      pointer-events: none;
      z-index: 1;
      animation: floatEmber linear infinite;
      opacity: 0;
    }


    @keyframes floatEmber {
      0%   { transform: translateY(100vh) translateX(0) scale(0.5); opacity: 0; }
      10%  { opacity: 0.8; }
      50%  { opacity: 0.4; }
      90%  { opacity: 0.1; }
      100% { transform: translateY(-10vh) translateX(var(--drift)) scale(1.5); opacity: 0; }
    }


.navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      height: 62px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
      background: rgba(6,6,8,0.88);
      backdrop-filter: blur(18px) saturate(160%);
      -webkit-backdrop-filter: blur(18px) saturate(160%);
      border-bottom: 1px solid var(--border-gold);
      box-shadow: 0 1px 40px rgba(0,0,0,0.7), 0 0 0 0.5px var(--border-dim);
    }


    .navbar::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold), var(--gold-dim), transparent);
      opacity: 0.6;
    }


    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      font-family: 'Cinzel', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--gold-light);
      letter-spacing: 0.04em;
      text-shadow: 0 0 18px var(--gold-glow);
      transition: var(--transition);
    }

    .nav-logo:hover { text-shadow: 0 0 30px var(--gold-glow), 0 0 60px var(--gold-glow); }

    .nav-logo-icon {
      width: 32px; height: 32px;
      border: 1.5px solid var(--gold-dim);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 0 12px var(--gold-glow-sm), inset 0 0 8px rgba(201,168,76,0.08);
      position: relative;
      overflow: hidden;
    }
    .nav-logo-icon::before {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: 50%;
      background: conic-gradient(from 0deg, transparent 60%, var(--gold-dim) 100%);
      animation: spin 8s linear infinite;
      opacity: 0.4;
    }
    .nav-logo-icon svg { position: relative; z-index: 1; }

    @keyframes spin { to { transform: rotate(360deg); } }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 5px;
      list-style: none;
    }

    .nav-links a {
      display: block;
      padding: 6px 14px;
      font-size: 17PX;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      border-radius: var(--radius-sm);
      transition: var(--transition);
      letter-spacing: 0.02em;
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 2px; left: 50%; right: 50%;
      height: 1px;
      background: var(--gold);
      transition: var(--transition);
      box-shadow: 0 0 6px var(--gold-glow);
    }
    .nav-links a:hover { color: var(--gold); }
    .nav-links a:hover::after { left: 14px; right: 14px; }


    .main {
      position: relative;
      z-index: 2;
      padding-top: 56px;
    }

  

    .hero {
      text-align: center;
      padding: 64px 24px 48px;
      position: relative;
    }

    .hero-title {
      font-family: 'Cinzel Decorative', serif;
      font-size: clamp(38px, 6vw, 76px);
      font-weight: 900;
      color: var(--text-primary);
      letter-spacing: 0.08em;
      line-height: 1;
      text-shadow:
        0 0 40px rgba(201,168,76,0.15),
        0 2px 0 rgba(0,0,0,0.8);
      margin-bottom: 16px;
    }

    .hero-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .hero-divider-line {
      height: 1px;
      width: 120px;
      background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
    }

    .hero-divider-diamond {
      width: 6px;
      height: 6px;
      background: var(--gold);
      transform: rotate(45deg);
      box-shadow: 0 0 8px rgba(201,168,76,0.6);
    }

    .hero-subtitle {
      font-family: 'Raleway', sans-serif;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.25em;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    

    .grid-section {
      padding: 0 24px 60px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .game-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

    

.game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-card);
  transition: var(--transition);
  background: #0e0e12;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: auto;
}

.card-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.card-game-img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  transition: transform 0.4s ease;
  background: #0e0e12; 
}

.game-card:hover .card-game-img {
  transform: scale(1.03);
}



.card-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
  pointer-events: none;
}


.card-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  pointer-events: none;
}


.card-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

.card-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.08) 2px, rgba(0,0,0,0.08) 4px);
  pointer-events: none;
  opacity: 0.4;
}
    



    .card-footer {
  position: relative;
  width: 100%;
  min-height: 58px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  padding: 8px 14px;
  gap: 0;
  margin-top: auto; }

  .card-bg, .card-overlay-hover, .card-top-glow, .elden-ring-art {
  display: none;
}

    .stat-item {
      display: flex;
      align-items: center;
      gap: 6px;
      flex: 1;
    }

    .stat-item:not(:last-child) {
      padding-right: 10px;
    }

    .stat-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .stat-icon svg {
      width: 14px;
      height: 14px;
    }

    .stat-info {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
    }

    .stat-value {
      font-family: 'Raleway', sans-serif;
      font-size: 11px;
      font-weight: 600;
      color: var(--text-primary);
      line-height: 1;
      white-space: nowrap;
    }

    .stat-label {
      font-family: 'Raleway', sans-serif;
      font-size: 9px;
      font-weight: 400;
      color: var(--text-muted);
      line-height: 1;
      white-space: nowrap;
    }

    .popular-name {
      font-size: 10px;
      font-weight: 600;
      color: var(--text-primary);
      line-height: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .card-arrow {
      margin-left: auto;
      width: 22px;
      height: 22px;
      border: 1px solid rgba(201,168,76,0.25);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      opacity: 0.5;
      transform: translateX(-4px);
      transition: var(--transition);
    }

    .card-arrow svg {
      width: 10px;
      height: 10px;
      stroke: var(--gold-light);
      stroke-width: 2;
      fill: none;
    }


    .star-icon { fill: var(--gold); }
    .mod-icon { fill: none; stroke: rgba(255,255,255,0.45); stroke-width: 1.5; }
    .cal-icon { fill: none; stroke: rgba(255,255,255,0.45); stroke-width: 1.5; }

  

    .page-footer {
      text-align: center;
      padding: 16px 24px 40px;
      position: relative;
      z-index: 2;
    }

    .footer-tagline {
      font-family: 'Raleway', sans-serif;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.28em;
      color: var(--text-muted);
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .footer-diamond {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .footer-diamond-line {
      height: 1px;
      width: 60px;
      background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3));
    }

    .footer-diamond-line.right {
      background: linear-gradient(90deg, rgba(201,168,76,0.3), transparent);
    }

    .footer-diamond-shape {
      width: 8px;
      height: 8px;
      border: 1px solid rgba(201,168,76,0.5);
      transform: rotate(45deg);
      position: relative;
    }

    .footer-diamond-shape::after {
      content: '';
      position: absolute;
      inset: 2px;
      background: var(--gold-dim);
      transform: rotate(0deg);
    }



    

 

    body::after {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
      opacity: 0.4;
    }

    
    .card-scanlines {
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
      );
      pointer-events: none;
      opacity: 0.5;
    }

  

    .card-vignette {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.6) 100%);
      pointer-events: none;
    }

    


    .card-top-glow {
      position: absolute;
      top: 0;
      left: 10%;
      right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
      opacity: 0;
      transition: var(--transition);
    }

    
    .game-card:hover .card-top-glow {
      opacity: 1;
    }
    
     
    @media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 16px;
    gap: 8px;
  }
  .nav-logo {
    order: 1;
    margin: 0;
  }
  .nav-links {
    order: 2;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    gap: 4px;
    padding: 4px 0 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    direction: rtl;
  }
  .nav-links a {
    display: inline-block;
    font-size: 13px;
    padding: 6px 12px;
  }
  .nav-links a::after {
    bottom: 0;
  }
  .nav-links a:hover::after {
    left: 12px;
    right: 12px;
  }
  .nav-links a:active {
    color: var(--gold);
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 6px 12px;
  }
  .nav-logo {
    font-size: 0.9rem;
  }
  .nav-logo-icon {
    width: 28px;
    height: 28px;
  }
  .nav-links a {
    font-size: 11px;
    padding: 4px 10px;
  }
}





@media (max-width: 768px) {


  .hero {
    margin-top: 30px;
    padding: 40px 20px 30px;
    text-align: center;
  }
  .hero-title {
    font-size: 36px;
    letter-spacing: 0.1em;
  }
  .hero-divider {
    gap: 8px;
    margin: 12px auto;
  }
  .hero-divider-line {
    width: 60px;
  }

 

  .grid-section {
    padding: 0 16px 40px;
  }
  .game-grid {
    gap: 20px;
  }

  
  .game-card {
    aspect-ratio: auto;
    min-height: 0;
  }
  .card-footer {
    padding: 10px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .stat-item {
    min-width: 90px;
    gap: 6px;
  }
  .stat-value, .popular-name {
    font-size: 12px;
  }
  .stat-label {
    font-size: 9px;
  }
  .card-arrow {
    width: 26px;
    height: 26px;
  }
  .stat-icon svg {
    width: 14px;
    height: 14px;
  }

  
  .page-footer {
    text-align: center;
    margin-top: 20px;
    padding: 16px 20px 30px;
  }
  .footer-tagline {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .footer-diamond-line {
    width: 40px;
  }
}



@media (max-width: 600px) {
  .hero {
    margin-top: 30px;
    padding: 30px 16px 24px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-divider-line {
    width: 40px;
  }

  .game-grid {
    grid-template-columns: 1fr; 
    gap: 24px;
  }

  .card-image-container {
    aspect-ratio: 16 / 9;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .stat-item {
    min-width: auto;
    justify-content: space-between;
    gap: 10px;
  }
  .stat-value, .popular-name {
    font-size: 13px;
  }
  .stat-label {
    font-size: 10px;
  }
  .card-arrow {
    align-self: flex-end;
    margin-top: 4px;
  }

  .page-footer {
    margin-top: 16px;
    padding: 12px 16px 24px;
  }
  .footer-tagline {
    font-size: 9px;
  }
}




@media (max-width: 480px) {
  .hero {
    margin-top: 30px;
    padding: 20px 12px;
  }
  .hero-title {
    font-size: 24px;
  }

  .game-grid {
    gap: 20px;
  }
  .card-footer {
    padding: 12px;
    gap: 10px;
  }
  .stat-value, .popular-name {
    font-size: 10px;
    text-align: center;
  }
  .stat-label {
    font-size: 10px;
    text-align: center;
    margin-top: 8px;
  }
  .stat-icon svg {
    width: 13px;
    height: 13px;
  }

  .page-footer {
    padding: 10px 12px 20px;
  }
  .footer-tagline {
    font-size: 8px;
    letter-spacing: 0.15em;
  }
  .footer-diamond-line {
    width: 30px;
  }
}