:root {
  --bg-dark: #05051a;
  --bg-card: #0f0f3d;
  --purple: #6c3fe5;
  --purple-light: #8b5cf6;
  --teal: #00e5c8;
  --white: #ffffff;
  --gray: #9ca3af;
  --text: #e2e8f0;
  --border: rgba(108,63,229,0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top, #0a0a2e, #05051a 70%);
  font-family: 'Rajdhani', sans-serif;
  color: var(--text);
}

/* BACK BUTTON */
.back-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Share Tech Mono';
  cursor: pointer;
  z-index: 1000;
  transition: 0.3s;
}

.back-btn:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.hero h1 {
  font-family: 'Orbitron';
  font-size: 2.5rem;
  color: var(--white);
}

.hero p {
  color: var(--gray);
}

/* SECTION */
.shop-section {
  padding: 40px;
}

/* GRID (more premium spacing) */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* CARD */
.shop-card {
  background: rgba(15, 15, 61, 0.6);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(108,63,229,0.25);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  position: relative;
  /* overflow: hidden; */
}


/* Glow border */
.shop-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(108,63,229,0.6), transparent);
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* Hover */
.shop-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 40px rgba(108,63,229,0.4);
}

/* REMOVE OLD IMAGE */
.card-img {
  display: none;
}

/* CARD TOP */
.card-bg {
  height: 180px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;      /* ← stack icon above text */
  align-items: center;
  justify-content: center;
  gap: 12px;                   /* ← gap between icon and span */
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
}

.card-btns {
  position: relative;
  z-index: 10;
}

/* Glow animation */
.card-bg::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,229,200,0.15), transparent 70%);
  animation: floatGlow 8s linear infinite;
}

@keyframes floatGlow {
  0% { transform: translate(0,0); }
  50% { transform: translate(30%,30%); }
  100% { transform: translate(0,0); }
}

/* LOGO */
.card-logo {
  font-family: 'Orbitron';
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 3px;
  z-index: 2;
  text-shadow: 0 0 10px rgba(0,229,200,0.8);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

/* BACKGROUND VARIANTS */
.portfolio-bg {
  background: linear-gradient(135deg, #0a0a2e, #1a1a5a);
}

.business-bg {
  background: linear-gradient(135deg, #0d0d3a, #2a0f5e);
}

.ai-bg {
  background: linear-gradient(135deg, #001f2e, #003b5e);
}

.ecommerce-bg {
  background: linear-gradient(135deg, #1a0a2e, #3b0f5e);
}

.agency-bg {
  background: linear-gradient(135deg, #0a2e2a, #0f5e50);
}

/* TITLE */
.shop-card h3 {
  margin: 15px 0;
  color: var(--white);
}

/* BUTTONS */
.card-btns {
  display: flex;
  gap: 10px;
}

.card-logo span {
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.card-logo i {
  font-size: 2rem;
  color: var(--teal);
  text-shadow: 0 0 15px rgba(0,229,200,0.8);
}

.btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Share Tech Mono';
  transition: 0.3s;
}

/* VIEW */
.view {
  background: rgba(255,255,255,0.05);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.view:hover {
  background: rgba(255,255,255,0.1);
}

/* BUY */
.buy {
  background: linear-gradient(135deg, #6c3fe5, #8b5cf6);
  color: white;
  box-shadow: 0 0 15px rgba(108,63,229,0.5);
}

.buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(108,63,229,0.8);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}