
/* =========================================
   ACERSMP STORE — COMPLETE STYLESHEET
   Dark Navy • Ice Blue • Premium Gaming UI
   ========================================= */

:root {
  color-scheme: dark;

  --bg: #07111f;
  --panel: #0d1b2e;
  --panel-light: #11253c;
  --border: #223a55;

  --text: #edf5ff;
  --muted: #92a8c2;

  --blue: #38bdf8;
  --blue-dark: #1479bd;
  --blue-light: #bae6fd;

  --radius: 16px;
  --ease: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);

  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(18, 50, 84, 0.8),
      transparent 48%
    ),
    var(--bg);

  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #07111f;
  background: var(--blue-light);
}

/* =========================================
   NAVBAR
   ========================================= */

.navbar {
  position: relative;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;

  padding: 19px 6%;

  border-bottom: 1px solid var(--border);
  background: rgba(7, 17, 31, 0.94);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 1px;

  transition: transform var(--ease);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand span,
.store-hero h1 span {
  color: var(--blue);
}

/* Navigation links */

.navbar nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.navbar nav a {
  position: relative;
  padding: 5px 0;

  color: var(--muted);
  font-size: 0.92rem;

  transition: color var(--ease);
}

.navbar nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -5px;

  width: 100%;
  height: 2px;

  border-radius: 10px;
  background: var(--blue);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform var(--ease);
}

.navbar nav a:hover,
.navbar nav a.active {
  color: var(--blue);
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
  transform: scaleX(1);
}

/* =========================================
   LOGIN BUTTON
   ========================================= */

.login-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 25px;

  border: 1px solid rgba(125, 211, 252, 0.7);
  border-radius: 10px;

  background: linear-gradient(
    135deg,
    #7dd3fc,
    #38bdf8
  );

  color: #071426;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;

  box-shadow:
    0 3px 12px rgba(56, 189, 248, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);

  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background var(--ease);
}

.login-link::before {
  content: "";

  position: absolute;
  z-index: -1;
  top: 0;
  left: -130%;

  width: 65%;
  height: 100%;

  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );

  transform: skewX(-22deg);
  transition: left 0.55s ease;
}

.login-link:hover {
  transform: translateY(-2px);

  background: linear-gradient(
    135deg,
    #bae6fd,
    #7dd3fc
  );

  box-shadow:
    0 5px 18px rgba(56, 189, 248, 0.22),
    0 0 22px rgba(56, 189, 248, 0.15);
}

.login-link:hover::before {
  left: 150%;
}

.login-link:active {
  transform: scale(0.97);
}

/* =========================================
   MAIN CONTAINER & HERO
   ========================================= */

.store-container {
  width: min(1180px, 92%);
  margin: auto;
}

.store-hero {
  padding: 70px 0 42px;
  text-align: center;

  animation: fadeUp 0.55s ease both;
}

.eyebrow {
  margin: 0 0 10px;

  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.store-hero h1 {
  margin: 0;

  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.2;
  letter-spacing: -1.4px;
}

.store-hero > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.notice {
  max-width: 690px;
  margin: 24px auto 0;
  padding: 13px 16px;

  border: 1px solid #35516e;
  border-radius: 10px;

  background: rgba(16, 35, 58, 0.85);

  font-size: 0.86rem;
  transition:
    border-color var(--ease),
    background var(--ease);
}

.notice:hover {
  border-color: rgba(56, 189, 248, 0.55);
  background: #122942;
}

.notice b {
  color: #d7eaff;
}

/* =========================================
   STORE SECTION
   ========================================= */

.store-section {
  padding: 18px 0 45px;

  animation: fadeUp 0.65s ease both;
  animation-delay: 0.08s;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;

  margin-bottom: 25px;
}

.section-title h2,
.store-info h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.3;
}

.product-count {
  color: var(--muted);
  font-size: 0.85rem;
}

/* =========================================
   PRODUCT GRID
   ========================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

/* =========================================
   RANK CARDS
   ========================================= */

.product-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  min-width: 0;
  padding: 25px;

  border: 1px solid var(--border);
  border-radius: 17px;

  background: linear-gradient(
    155deg,
    var(--panel-light),
    var(--panel)
  );

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Thin blue highlight across the card */

.product-card::before {
  content: "";

  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--blue),
    var(--blue-light),
    transparent
  );

  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);

  border-color: rgba(56, 189, 248, 0.65);

  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.22),
    0 0 22px rgba(56, 189, 248, 0.08);
}

.product-card:hover::before {
  opacity: 1;
}

/* Featured card */

.product-card.featured {
  border-color: #268bc5;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.16),
    0 0 22px rgba(56, 189, 248, 0.06);
}

.product-card.featured:hover {
  border-color: var(--blue);

  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(56, 189, 248, 0.14);
}

/* Popular badge */

.featured-label {
  position: absolute;
  top: 15px;
  right: 15px;

  padding: 6px 9px;
  border: 1px solid rgba(125, 211, 252, 0.15);
  border-radius: 999px;

  background: #123b5c;
  color: #7dd3fc;

  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.5px;

  transition:
    background var(--ease),
    box-shadow var(--ease);
}

.product-card:hover .featured-label {
  background: #164e75;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.12);
}

/* =========================================
   RANK ICONS
   ========================================= */

.rank-icon {
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;
  margin-bottom: 20px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: #102e4c;
  color: #bae6fd;

  font-size: 1.7rem;
  font-weight: 900;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.product-card:hover .rank-icon {
  transform: translateY(-3px) scale(1.04);

  border-color: rgba(125, 211, 252, 0.6);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.13);
}

.rank-mvp {
  background: #15375b;
  color: #93c5fd;
}

.rank-legend {
  background: #26315a;
  color: #c4b5fd;
}

/* =========================================
   RANK INFORMATION
   ========================================= */

.rank-label {
  margin: 0 0 7px;

  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.product-card h3 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.35;
}

.product-description {
  min-height: 50px;

  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.product-card ul {
  display: grid;
  gap: 13px;

  padding-left: 19px;

  color: #c5d5e7;
  font-size: 0.88rem;
  line-height: 1.5;
}

.product-card li::marker {
  color: var(--blue);
}

/* =========================================
   PRICE & BUY BUTTON
   ========================================= */

.product-bottom {
  margin-top: auto;
  padding-top: 22px;
}

.price {
  margin: 0 0 17px;

  color: var(--text);
  font-size: 1.7rem;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
}

/* Full-width package button */

.buy-button {
  width: 100%;
  padding: 13px 15px;

  border: 1px solid #2585bc;
  border-radius: 10px;

  background: linear-gradient(
    135deg,
    #12436b,
    #155681
  );

  color: #e0f2fe;

  font-size: 0.93rem;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.buy-button:hover {
  transform: translateY(-2px);

  border-color: #7dd3fc;

  background: linear-gradient(
    135deg,
    #176294,
    #1479bd
  );

  box-shadow: 0 5px 18px rgba(56, 189, 248, 0.16);
}

.buy-button:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* =========================================
   STORE INFORMATION
   ========================================= */

.store-info {
  margin: 15px 0 35px;
  padding: 24px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background: linear-gradient(
    145deg,
    var(--panel-light),
    var(--panel)
  );

  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}

.store-info:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

.store-info p {
  color: var(--muted);
  line-height: 1.8;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  padding: 24px;

  border-top: 1px solid var(--border);

  background: rgba(7, 17, 31, 0.55);
  color: var(--muted);

  font-size: 0.8rem;
  text-align: center;
}

.footer p {
  margin: 5px 0;
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   FOCUS & ACCESSIBILITY
   ========================================= */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 850px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navbar nav {
    order: 3;
    width: 100%;
  }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 560px) {
  .navbar {
    gap: 15px;
    padding: 16px 5%;
  }

  .brand {
    font-size: 1.15rem;
  }

  .navbar nav {
    gap: 15px;
  }

  .navbar nav a {
    font-size: 0.84rem;
  }

  .login-link {
    padding: 10px 17px;
  }

  .store-container {
    width: 90%;
  }

  .store-hero {
    padding: 45px 0 30px;
  }

  .store-hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    letter-spacing: -0.8px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .product-card {
    padding: 22px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-info {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

body {
  background-color: #07111f;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 17, 31, 0.55) 0%,
      rgba(7, 17, 31, 0.82) 35%,
      #07111f 85%
    ),
    url("/images/store-bg.jpg");

  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-attachment: fixed;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;

  filter: drop-shadow(
    0 0 9px rgba(56, 189, 248, 0.25)
  );

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.07);
  filter: drop-shadow(
    0 0 14px rgba(56, 189, 248, 0.6)
  );
}

.brand-name {
  color: #0660ce;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand-name > span {
  color: #38bdf8;
}

.store-hero {
  position: relative;
  padding-top: 90px;
  padding-bottom: 65px;
}

.store-hero h1 {
  text-shadow: 0 3px 25px rgba(0, 0, 0, 0.4);
}

.store-hero .notice {
  backdrop-filter: blur(12px);
  background: rgba(13, 27, 46, 0.78);
}

/* ===== GLASS EFFECT ON RANK CARDS ===== */

.product-card {
  background: linear-gradient(
    145deg,
    rgba(17, 37, 60, 0.94),
    rgba(13, 27, 46, 0.96)
  );

  backdrop-filter: blur(8px);
}

/* ===== MOBILE COMPATIBILITY ===== */

@media (max-width: 700px) {
  body {
    background-attachment: scroll;
    background-size: auto 600px;
  }

  .store-hero {
    padding-top: 55px;
    padding-bottom: 40px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.1rem;
  }
}
