/* ================================== */
/*         ROOT VARIABLES             */
/* ================================== */
:root {
  --accent-start: #0019FF;
  --accent-end: #00FFFB;
  --bg: #070820;
  --card: #0f1320;
  --muted: rgba(255,255,255,0.75);
  --glass: rgba(255,255,255,0.03);
  --header-height: 0px;
}

/* ================================== */
/*          GLOBAL STYLES             */
/* ================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #EAF6FF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Gradient background for non-index pages */
body:not(.index) {
  background: linear-gradient(-45deg, var(--accent-start), var(--accent-end), var(--accent-start), var(--accent-end));
  background-size: 400% 400%;
  animation: moveGradient 12s ease infinite;
}

@keyframes moveGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================================== */
/*              HEADER                */
/* ================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
  z-index: 10000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 16px 16px;
}

header .logo img {
  width: 70px;
  height: 70px;
  cursor: pointer;
}

nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent-end);
}

.cart-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.cart-icon:hover {
  background: rgba(0,255,251,0.3);
}

.cart-icon img {
  width: 22px;
  height: 22px;
}

/* ================================== */
/*              CONTENT BOX           */
/* ================================== */
.content-box {
  width: 90%;
  max-width: 920px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 38px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  color: #fff;
}

.content-box h1 {
  margin: 0 0 14px;
  font-size: 2.25rem;
}

.content-box p,
.content-box ul {
  margin: 0 0 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.95);
}

.content-box ul {
  padding-left: 20px;
}

/* ================================== */
/*              STORE ITEMS           */
/* ================================== */
.store-container {
  max-width: 1200px;
  margin: calc(var(--header-height) + 60px) auto 60px auto;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border-radius: 20px;
}

.store-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
  text-align: center;
  cursor: pointer;
}

.store-item img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.store-item img:hover {
  transform: scale(1.05);
}

.store-item p {
  margin-top: 10px;
  font-weight: bold;
  color: #fff;
}

/* ================================== */
/*               FOOTER               */
/* ================================== */
footer {
  text-align: center;
  margin: 30px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

footer a {
  color: var(--accent-end);
  text-decoration: none;
}

/* ================================== */
/*             RESPONSIVE             */
/* ================================== */
@media (max-width: 900px) {
  .store-container { margin: 20px; }
  .store-item { width: 160px; }
  .store-item img { width: 160px; height: 160px; }
}

@media (max-width: 640px) {
  header { padding: 12px 18px; flex-direction: column; gap: 12px; }
  nav { gap: 12px; }
  .content-box { padding: 24px; }
  .content-box h1 { font-size: 1.6rem; }
}
