:root {
  --bg: #0b0f14;
  --panel: #111926;
  --border: #1f2a38;
  --accent: #3ef7b5;
  --text: #cfd6dd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: white;
}

/* ===== NAV ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 28px;
  background: #0f1720;
  border-bottom: 1px solid var(--border);
}

nav a {
  color: #a8ffda;
  text-decoration: none;
  margin: 0 12px;
  transition: 0.2s;
}

nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

/* ===== LOGO ===== */
.logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.hero h1 {
  color: var(--accent);
  font-size: 46px;
  margin: 0;
  text-shadow: 0 0 12px var(--accent);
}

.hero p {
  color: var(--text);
  margin-top: 10px;
}

/* ===== CARD ===== */
.card {
  background: rgba(17, 25, 38, 0.72);

  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.06);

  border-radius: 22px;

  padding: 25px;
  margin: 20px auto;

  width: 85%;
  max-width: 850px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border 0.25s ease;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25);
}


.card:hover {
  transform: translateY(-6px);

  border: 1px solid rgba(62,247,181,0.20);

  box-shadow:
    0 0 30px rgba(62,247,181,0.10);
}

.card h2 {
  color: var(--accent);
  margin-top: 0;
}

.card p {
  color: var(--text);
  line-height: 1.7;
}

/* ===== LINKS ===== */
a {
  color: var(--accent);
}

/* ===== GRID ===== */
.grid {
  width: 90%;
  margin: auto;
  margin-top: 20px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* ===== GAME IMAGE ===== */
.game-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);

  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ===== STORE ===== */
.product {
  width: 90%;
  max-width: 1000px;
  margin: auto;

  display: flex;
  gap: 40px;
  flex-wrap: wrap;

  background: #111926;
  border: 1px solid #1f2a38;
  border-radius: 18px;

  padding: 25px;
}

/* LEFT SIDE */
.product-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main-img {
  width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  border-radius: 14px;
  border: 1px solid #1f2a38;

  cursor: pointer;
  transition: 0.2s;
}

.main-img:hover {
  transform: scale(1.02);
}

.thumbs {
  display: flex;
  gap: 8px;
}

.thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;

  border-radius: 10px;
  border: 1px solid #1f2a38;

  cursor: pointer;
  transition: 0.2s;
}

.thumbs img:hover {
  transform: scale(1.1);
  border-color: #3ef7b5;
}

/* RIGHT SIDE */
.product-info {
  flex: 1;
  min-width: 250px;
}

.product-info h2 {
  color: #3ef7b5;
  font-size: 28px;
}

.desc {
  color: #cfd6dd;
  line-height: 1.6;
}

.product-info ul {
  color: #a8ffda;
  padding-left: 18px;
}

.price {
  margin-top: 15px;
  font-size: 20px;
  color: #3ef7b5;
  font-weight: bold;
}

/* BUTTON */
.buy-btn,
.btn {
  position: relative;
  overflow: hidden;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.buy-btn:hover,
.btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 0 20px rgba(62,247,181,0.25);
}

/* MODAL FIX */
.modal {
  display: none;
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.9);

  justify-content: center;
  align-items: center;

  z-index: 999;
}

.modal img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
}
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0b0f14;
}

::-webkit-scrollbar-thumb {
  background: #1f2a38;
  border-radius: 10px;
  border: 2px solid #0b0f14;
}

::-webkit-scrollbar-thumb:hover {
  background: #3ef7b5;
  box-shadow: 0 0 10px #3ef7b5;
}
.logo {
  width: 50px;
  height: 50px;

  border-radius: 14px;

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.logo:hover {
  transform: scale(1.12) rotate(-3deg);

  filter:
    drop-shadow(0 0 12px rgba(62,247,181,0.35));
}
.modal {
  display: none;
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.85);

  justify-content: center;
  align-items: center;

  z-index: 999;
}

.modal-box {
  background: #111926;
  border: 1px solid #3ef7b5;

  padding: 30px;
  border-radius: 16px;

  text-align: center;

  box-shadow: 0 0 25px rgba(62,247,181,0.2);
}

.modal-box h2 {
  color: #3ef7b5;
}

.modal-box p {
  color: #cfd6dd;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;

  background:
    radial-gradient(circle at top left, rgba(62,247,181,0.10), transparent 25%),
    radial-gradient(circle at bottom right, rgba(62,247,181,0.08), transparent 25%),
    linear-gradient(to bottom, #0b0f14, #0f1720);

  background-attachment: fixed;

  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}

.hero,
.card,
.product,
.grid a {
  animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    gap: 14px;

    padding: 18px;
  }

  nav div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin: 6px 10px;
  }

  .hero {
    padding: 60px 20px 30px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .product {
    flex-direction: column;
    align-items: center;
  }

  .main-img {
    width: 100%;
    max-width: 320px;
  }

  .product-info {
    width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    width: 92%;
  }
}