/* =========================================
🎮 PG.shop 2.0
CYAN + BLACK NEON THEME
SHOP + SEPARATE ADMIN PANEL
========================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #070707;
  color: #ffffff;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

/* =========================================
SITE
========================================= */

.site {
  min-height: 100vh;
  overflow-x: hidden;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;

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

  padding: 18px 35px;

  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid #00e5ff;

  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.25);

  backdrop-filter: blur(10px);
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
}

.logo span {
  color: #00e5ff;

  text-shadow:
    0 0 10px #00e5ff;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #bbbbbb;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #00e5ff;

  text-shadow:
    0 0 10px #00e5ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.cart-btn {
  border: 1px solid #00e5ff;

  background: #111111;
  color: #ffffff;

  padding: 9px 14px;

  border-radius: 8px;

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

.icon-btn:hover,
.cart-btn:hover {
  background: #00e5ff;
  color: #050505;

  transform: translateY(-2px);

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.6);
}

.icon-btn:active,
.cart-btn:active {
  transform: scale(0.94);
}

/* =========================================
HERO
========================================= */

.hero {
  min-height: 430px;

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

  text-align: center;

  padding: 60px 20px;

  background:
    radial-gradient(
      circle at center,
      rgba(0, 229, 255, 0.22),
      transparent 45%
    ),
    linear-gradient(#080808, #061215);
}

.hero-content {
  max-width: 750px;
}

.eyebrow {
  color: #00e5ff;

  font-size: 12px;
  font-weight: bold;

  letter-spacing: 3px;

  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);

  margin-bottom: 15px;

  text-shadow:
    0 0 25px rgba(0, 229, 255, 0.5);
}

.hero h1 span {
  color: #00e5ff;
}

.hero-text {
  color: #bbbbbb;

  font-size: 18px;

  margin-bottom: 25px;
}

/* =========================================
GENERAL BUTTONS
========================================= */

.primary-btn,
.secondary-btn {
  display: inline-block;

  border-radius: 8px;

  padding: 11px 18px;

  font-weight: bold;

  border: 1px solid #00e5ff;

  transition:
    transform 0.15s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.primary-btn {
  background: #00e5ff;
  color: #050505;

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.35);
}

.primary-btn:hover {
  transform: translateY(-2px);

  filter: brightness(1.08);

  box-shadow:
    0 0 25px rgba(0, 229, 255, 0.7);
}

.primary-btn:active {
  transform: scale(0.95);
}

.secondary-btn {
  background: #111111;
  color: #ffffff;
}

.secondary-btn:hover {
  background: #1d1d1d;

  transform: translateY(-2px);

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.35);
}

.secondary-btn:active {
  transform: scale(0.95);
}

/* =========================================
SHOP
========================================= */

.shop-section {
  max-width: 1200px;

  margin: auto;

  padding: 70px 25px;
}

.section-title {
  display: flex;

  justify-content: space-between;
  align-items: end;

  gap: 20px;

  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 34px;
}

#searchInput {
  width: 260px;

  padding: 12px 15px;

  background: #111111;
  color: #ffffff;

  border: 1px solid #333333;

  border-radius: 8px;

  outline: none;

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

#searchInput:focus {
  border-color: #00e5ff;

  box-shadow:
    0 0 12px rgba(0, 229, 255, 0.35);
}

/* =========================================
PRODUCTS
========================================= */

.product-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.product {
  background: #101010;

  border: 1px solid #292929;

  border-radius: 14px;

  overflow: hidden;

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

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

  border-color: #00e5ff;

  box-shadow:
    0 0 25px rgba(0, 229, 255, 0.2);
}

/* =========================================
PRODUCT IMAGE
========================================= */

.product-image {
  position: relative;

  min-height: 190px;

  overflow: hidden;

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

  background:
    radial-gradient(
      circle,
      rgba(0, 229, 255, 0.16),
      transparent 60%
    ),
    #090909;

  font-size: 75px;
}

.product-image img {
  display: block;

  width: 100%;
  height: 190px;

  object-fit: contain;
}

/* =========================================
PRODUCT INFO
========================================= */

.product-info {
  position: relative;

  padding: 20px;
}

.category {
  color: #00e5ff;

  font-size: 11px;
  font-weight: bold;

  letter-spacing: 2px;
}

.product h3 {
  margin: 8px 0;

  font-size: 21px;
}

.description {
  color: #999999;

  font-size: 14px;

  line-height: 1.5;

  margin-bottom: 18px;
}

.product-bottom {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 10px;
}

.product-bottom strong {
  color: #ffffff;

  font-size: 18px;
}

/* =========================================
🛒 ADD TO CART
========================================= */

.add-cart-btn {
  border: 1px solid #00e5ff;

  background: #00e5ff;

  color: #050505;

  padding: 10px 15px;

  border-radius: 9px;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background 0.2s ease;
}

.add-cart-btn:hover {
  transform: translateY(-2px);

  filter: brightness(1.12);

  box-shadow:
    0 0 12px rgba(0, 229, 255, 0.8),
    0 0 25px rgba(0, 229, 255, 0.35);
}

.add-cart-btn:active {
  transform: scale(0.94);

  box-shadow:
    0 0 8px rgba(0, 229, 255, 0.5);
}

/* =========================================
❤️ WISHLIST HEART
========================================= */

.wishlist-heart {
  position: absolute;

  top: 12px;
  right: 12px;

  z-index: 5;

  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid #333333;

  background: #171717;

  color: #ffffff;

  border-radius: 50%;

  font-size: 20px;

  cursor: pointer;

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

.wishlist-heart:hover {
  transform: scale(1.1);

  background: #06191d;

  border-color: #00e5ff;

  color: #00e5ff;

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.6);
}

.wishlist-heart:active {
  transform: scale(0.88);
}

.wishlist-heart.active {
  color: #00e5ff;

  border-color: #00e5ff;

  box-shadow:
    0 0 12px rgba(0, 229, 255, 0.5);
}

/* =========================================
PROFILE
========================================= */

.profile-section {
  max-width: 1200px;

  margin: auto;

  padding: 50px 25px;
}

.profile-card {
  display: flex;

  align-items: center;

  gap: 25px;

  padding: 25px;

  background: #101010;

  border: 1px solid #292929;

  border-radius: 14px;
}

.avatar {
  width: 90px;
  height: 90px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #151515;

  border: 2px solid #00e5ff;

  border-radius: 50%;

  font-size: 45px;

  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.3);
}

.profile-info {
  flex: 1;
}

.profile-info h2 {
  margin-bottom: 5px;
}

.profile-info > p {
  color: #999999;
}

.profile-stats {
  display: flex;

  gap: 20px;

  margin-top: 15px;

  color: #bbbbbb;
}

.profile-stats strong {
  color: #00e5ff;
}

/* =========================================
AVATAR PANEL
========================================= */

.avatar-panel {
  margin-top: 15px;

  padding: 20px;

  background: #101010;

  border: 1px solid #00e5ff;

  border-radius: 12px;
}

.avatar-panel-header,
.admin-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;
}

.panel-close {
  border: 1px solid #333333;

  background: #151515;

  color: #ffffff;

  width: 35px;
  height: 35px;

  border-radius: 7px;

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

.panel-close:hover {
  transform: rotate(3deg);

  border-color: #00e5ff;

  color: #00e5ff;

  box-shadow:
    0 0 10px rgba(0, 229, 255, 0.35);
}

.panel-close:active {
  transform: scale(0.9);
}

.avatar-grid {
  display: grid;

  grid-template-columns: repeat(6, 1fr);

  gap: 12px;

  margin-top: 20px;
}

.avatar-option {
  padding: 15px;

  font-size: 30px;

  background: #151515;

  border: 1px solid #333333;

  border-radius: 10px;

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

.avatar-option:hover {
  transform: translateY(-3px) scale(1.03);

  border-color: #00e5ff;

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.3);
}

.avatar-option:active {
  transform: scale(0.94);
}

/* =========================================
🃏 CARD FLIP
========================================= */

.game-section {
  max-width: 1200px;

  margin: auto;

  padding: 50px 25px 80px;
}

.game-card {
  text-align: center;

  background: #101010;

  border: 1px solid #292929;

  border-radius: 15px;

  padding: 30px;
}

.game-card > p:not(.eyebrow) {
  color: #999999;

  margin-bottom: 20px;
}

.game-controls {
  display: flex;

  justify-content: center;

  gap: 10px;

  margin-bottom: 25px;
}

.game-board {
  max-width: 520px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 10px;

  perspective: 1000px;
}

/* =========================================
CARD BUTTON
========================================= */

.game-card-btn {
  position: relative;

  width: 100%;

  aspect-ratio: 1;

  padding: 0;

  border: none;

  background: transparent;

  cursor: pointer;

  perspective: 1000px;

  transform: none !important;
}

/* =========================================
CARD FRONT
========================================= */

.game-card-btn::before {
  content: "❓";

  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #171717;

  color: #00e5ff;

  border: 2px solid #333333;

  border-radius: 10px;

  font-size: 35px;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  transform: rotateY(0deg);

  transition:
    transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1),
    border-color 0.2s,
    box-shadow 0.2s;
}

/* =========================================
CARD BACK
========================================= */

.game-card-btn::after {
  content: attr(data-symbol);

  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at center,
      rgba(0, 229, 255, 0.22),
      transparent 65%
    ),
    #06191d;

  color: #ffffff;

  border: 2px solid #00e5ff;

  border-radius: 10px;

  font-size: 40px;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  transform: rotateY(180deg);

  transition:
    transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1),
    border-color 0.2s,
    box-shadow 0.2s;
}

/* =========================================
FLIPPED STATE
========================================= */

.game-card-btn.flipped::before,
.game-card-btn.matched::before {
  transform: rotateY(180deg);
}

.game-card-btn.flipped::after,
.game-card-btn.matched::after {
  transform: rotateY(0deg);
}

/* =========================================
CARD HOVER
========================================= */

.game-card-btn:hover:not(:disabled)::before {
  border-color: #00e5ff;

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.45);
}

/* =========================================
MATCHED CARD
========================================= */

.game-card-btn.matched::after {
  border-color: #00e5ff;

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.5),
    inset 0 0 15px rgba(0, 229, 255, 0.1);
}

.game-card-btn.matched {
  cursor: default;
}

/* =========================================
GAME STATS
========================================= */

.game-stats {
  display: flex;

  justify-content: center;

  gap: 30px;

  margin-top: 20px;

  color: #aaaaaa;
}

.game-stats strong {
  color: #00e5ff;
}

/* =========================================
🛒 CART
========================================= */

.cart-panel {
  position: fixed;

  top: 0;
  right: -420px;

  z-index: 300;

  width: 400px;

  max-width: 90vw;

  height: 100vh;

  padding: 25px;

  background: #0b0b0b;

  border-left: 1px solid #00e5ff;

  box-shadow:
    -10px 0 35px rgba(0, 229, 255, 0.25);

  transition: right 0.3s ease;
}

.cart-panel.open {
  right: 0;
}

.cart-header {
  display: flex;

  justify-content: space-between;
  align-items: center;

  padding-bottom: 20px;

  border-bottom: 1px solid #292929;
}

.cart-header button {
  border: none;

  background: transparent;

  color: #ffffff;

  font-size: 20px;

  transition:
    transform 0.15s ease,
    color 0.2s ease;
}

.cart-header button:hover {
  color: #00e5ff;

  transform: scale(1.1);
}

.cart-header button:active {
  transform: scale(0.88);
}

#cartItems {
  padding: 20px 0;

  max-height: calc(100vh - 210px);

  overflow-y: auto;
}

.cart-row {
  display: grid;

  grid-template-columns: 1fr auto auto;

  align-items: center;

  gap: 10px;

  padding: 12px 0;

  border-bottom: 1px solid #222222;
}

.cart-row span:nth-child(2) {
  color: #00e5ff;
}

/* =========================================
🗑️ CART REMOVE BUTTON
========================================= */

.remove-cart-btn {
  width: 34px;
  height: 34px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid #333333;

  background: #111111;

  color: #999999;

  border-radius: 8px;

  font-size: 15px;

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

.remove-cart-btn:hover {
  transform: translateY(-1px);

  background: #170808;

  color: #ff4d4d;

  border-color: #ff4d4d;

  box-shadow:
    0 0 12px rgba(255, 77, 77, 0.35);
}

.remove-cart-btn:active {
  transform: scale(0.88);
}

.cart-footer {
  position: absolute;

  left: 25px;
  right: 25px;

  bottom: 25px;

  border-top: 1px solid #292929;

  padding-top: 20px;
}

.cart-footer h3 {
  margin-bottom: 15px;
}

/* =========================================
⚙️ ADMIN PANEL
========================================= */

.admin-panel {
  position: fixed;

  inset: 0;

  z-index: 500;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 25px;

  background: rgba(0, 0, 0, 0.82);

  backdrop-filter: blur(7px);
}

.admin-panel.hidden {
  display: none !important;
}

.admin-panel-box {
  width: 900px;

  max-width: 100%;

  max-height: 90vh;

  overflow-y: auto;

  background: #0c0c0c;

  border: 1px solid #00e5ff;

  border-radius: 16px;

  padding: 28px;

  box-shadow:
    0 0 25px rgba(0, 229, 255, 0.25),
    0 0 70px rgba(0, 229, 255, 0.08);
}

.admin-header {
  padding-bottom: 22px;

  margin-bottom: 25px;

  border-bottom: 1px solid #292929;
}

.admin-header h2 {
  font-size: 28px;
}

/* =========================================
ADMIN SECTIONS
========================================= */

.admin-section {
  padding: 20px;

  margin-bottom: 18px;

  background: #111111;

  border: 1px solid #252525;

  border-radius: 12px;
}

.admin-section h3 {
  margin-bottom: 16px;

  color: #ffffff;
}

.admin-section h3::first-letter {
  color: #00e5ff;
}

/* =========================================
ADD PRODUCT FORM
========================================= */

.admin-form {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.admin-form input {
  width: 100%;

  padding: 12px;

  background: #080808;

  color: #ffffff;

  border: 1px solid #333333;

  border-radius: 7px;

  outline: none;

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

.admin-form input:focus {
  border-color: #00e5ff;

  box-shadow:
    0 0 10px rgba(0, 229, 255, 0.25);
}

.admin-form input::placeholder {
  color: #666666;
}

.admin-form button {
  grid-column: 1 / -1;
}

/* =========================================
ADMIN PRODUCT LIST
========================================= */

.admin-product-list {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.admin-product-item {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 14px;

  background: #090909;

  border: 1px solid #292929;

  border-radius: 9px;

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

.admin-product-item:hover {
  border-color: #00e5ff;

  box-shadow:
    0 0 12px rgba(0, 229, 255, 0.08);
}

.admin-product-edit {
  flex: 1;
}

.admin-product-edit input {
  width: 100%;

  margin: 4px 0;

  padding: 9px;

  background: #111111;

  color: #ffffff;

  border: 1px solid #333333;

  border-radius: 6px;

  outline: none;
}

.admin-product-edit input:focus {
  border-color: #00e5ff;
}

/* =========================================
✏️ ADMIN EDIT BUTTON
========================================= */

.admin-edit-btn {
  border: 1px solid #00e5ff;

  background: #06191d;

  color: #00e5ff;

  padding: 9px 13px;

  border-radius: 8px;

  font-size: 13px;

  font-weight: 700;

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

.admin-edit-btn:hover {
  transform: translateY(-2px);

  background: #00e5ff;

  color: #050505;

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.55);
}

.admin-edit-btn:active {
  transform: scale(0.92);
}

/* =========================================
🗑️ ADMIN DELETE BUTTON
========================================= */

.admin-delete-btn {
  border: 1px solid #ff4d4d;

  background: #170808;

  color: #ff6b6b;

  padding: 9px 12px;

  border-radius: 8px;

  font-size: 13px;

  font-weight: 700;

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

.admin-delete-btn:hover {
  transform: translateY(-2px);

  background: #ff4d4d;

  color: #050505;

  box-shadow:
    0 0 15px rgba(255, 77, 77, 0.55);
}

.admin-delete-btn:active {
  transform: scale(0.92);
}

/* =========================================
ADMIN BOTTOM CONTROLS
========================================= */

.admin-footer {
  display: flex;

  justify-content: flex-end;

  gap: 10px;

  padding-top: 10px;
}

.admin-footer button {
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.admin-footer button:hover {
  transform: translateY(-2px);
}

.admin-footer button:active {
  transform: scale(0.94);
}

/* =========================================
ADMIN BUTTONS
========================================= */

.admin-trigger {
  position: fixed;

  right: 20px;
  bottom: 20px;

  z-index: 150;

  border: 1px solid #00e5ff;

  background: #101010;

  color: #ffffff;

  padding: 11px 15px;

  border-radius: 8px;

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.25);

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

.admin-trigger:hover {
  transform: translateY(-2px);

  background: #00e5ff;

  color: #050505;

  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.6);
}

.admin-trigger:active {
  transform: scale(0.94);
}

.footer-admin-btn {
  border: 1px solid #333333;

  background: #111111;

  color: #aaaaaa;

  padding: 8px 12px;

  border-radius: 7px;

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

.footer-admin-btn:hover {
  transform: translateY(-1px);

  border-color: #00e5ff;

  color: #00e5ff;

  box-shadow:
    0 0 10px rgba(0, 229, 255, 0.25);
}

.footer-admin-btn:active {
  transform: scale(0.94);
}

/* =========================================
LEVEL
========================================= */

.level-display {
  position: fixed;

  left: 20px;
  bottom: 20px;

  z-index: 150;

  padding: 10px 14px;

  background: #101010;

  border: 1px solid #00e5ff;

  border-radius: 8px;

  color: #ffffff;

  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.2);
}

.level-display span {
  color: #00e5ff;

  font-weight: bold;
}

/* =========================================
TOAST
========================================= */

.toast {
  position: fixed;

  left: 50%;
  bottom: 35px;

  z-index: 700;

  transform: translate(-50%, 20px);

  opacity: 0;

  pointer-events: none;

  padding: 12px 18px;

  background: #111111;

  border: 1px solid #00e5ff;

  border-radius: 8px;

  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.35);

  transition: 0.25s;
}

.toast.show {
  opacity: 1;

  transform: translate(-50%, 0);
}

/* =========================================
LEVEL UP
========================================= */

.level-up-popup {
  position: fixed;

  left: 50%;
  top: 50%;

  z-index: 1000;

  transform:
    translate(-50%, -50%)
    scale(0.8);

  opacity: 0;

  padding: 35px 45px;

  text-align: center;

  background: #0d0d0d;

  border: 2px solid #00e5ff;

  border-radius: 15px;

  box-shadow:
    0 0 40px rgba(0, 229, 255, 0.6);

  transition: 0.3s;
}

.level-up-popup.show {
  transform:
    translate(-50%, -50%)
    scale(1);

  opacity: 1;
}

.level-up-popup h2 {
  color: #00e5ff;

  margin-bottom: 10px;
}

/* =========================================
CONFETTI
========================================= */

.confetti {
  position: fixed;

  top: -15px;

  z-index: 999;

  width: 8px;
  height: 15px;

  animation:
    fall 3.5s linear forwards;
}

@keyframes fall {
  to {
    transform:
      translateY(110vh)
      rotate(720deg);
  }
}

/* =========================================
HIDDEN
========================================= */

.hidden {
  display: none !important;
}

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

footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 30px 35px;

  background: #050505;

  border-top: 1px solid #222222;

  color: #777777;
}

footer strong {
  color: #ffffff;
}

footer p {
  font-size: 13px;
}

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

@media (max-width: 800px) {

  .navbar {
    flex-wrap: wrap;

    padding: 15px 20px;
  }

  .nav-links {
    order: 3;

    width: 100%;

    justify-content: center;
  }

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

  .section-title {
    align-items: stretch;

    flex-direction: column;
  }

  #searchInput {
    width: 100%;
  }

  .profile-card {
    flex-wrap: wrap;
  }

  .admin-panel-box {
    padding: 18px;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-product-item {
    flex-direction: column;

    align-items: stretch;
  }

  .admin-footer {
    flex-direction: column;
  }

  .admin-footer button {
    width: 100%;
  }
}

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

@media (max-width: 520px) {

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

  .avatar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .game-board {
    gap: 6px;
  }

  .game-card {
    padding: 20px 12px;
  }

  .game-card-btn::before {
    font-size: 25px;
  }

  .game-card-btn::after {
    font-size: 30px;
  }

  .profile-stats {
    flex-direction: column;

    gap: 8px;
  }

  footer {
    flex-direction: column;

    text-align: center;
  }

  .admin-trigger {
    right: 10px;
    bottom: 10px;
  }

  .level-display {
    left: 10px;
    bottom: 10px;
  }
}