/* =========================
   ROOT VARIABLES
========================= */
:root {
    --purple: #a855f7;
    --pink: #ec4899;
    --cyan: #22d3ee;
    --dark: #020617;
    --card: #0b0f1a;
}

/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #020617, #000);
    color: #ffffff;
    overflow-x: hidden;
}

/* =========================
   HEADER (GLASS)
========================= */
.header {
    max-width: 1200px;
    margin: 16px auto;
    padding: 16px 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: linear-gradient(
        135deg,
        rgba(20,10,40,0.85),
        rgba(10,5,25,0.92),
        rgba(2,6,23,0.97)
    );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 20px;
    border: 1px solid rgba(168,85,247,0.25);

    box-shadow:
        0 0 35px rgba(168,85,247,0.45),
        inset 0 0 20px rgba(0,0,0,0.6);

    position: sticky;
    top: 12px;
    z-index: 100;
}

/* =========================
   LOGO (FINAL – NO BUG)
========================= */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 26px;
    font-weight: 700;
}

/* ROUND LOGO – IMAGE FILLS FULL */
.logo-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;

    background-image: url("logo.png"); /* logo.png must be beside styles.css */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow:
        0 0 20px rgba(236,72,153,0.9),
        0 0 40px rgba(168,85,247,0.7);

    flex-shrink: 0;
}


/* =========================
   NAVIGATION
========================= */
.nav {
    display: flex;
    gap: 22px;
}

.nav a {
    text-decoration: none;
    color: var(--purple);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.nav a:hover {
    color: #fff;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    box-shadow:
        0 0 14px rgba(236,72,153,0.9),
        0 0 30px rgba(168,85,247,0.7);
    transform: translateY(-2px);
}

/* =========================
   HERO
========================= */
.hero {
    text-align: center;
    padding: 80px 20px 20px; /* 🔥 bottom padding reduced */
}


.hero h1 {
    font-size: clamp(28px, 5vw, 44px);
}

.hero p {
    margin-top: 10px;
    color: var(--cyan);
}

/* =========================
   PRODUCTS SECTION
========================= */
.products-section {
    padding: 60px 20px;
    text-align: center;
}

.products-section h2 {
    margin-bottom: 40px;
}


.product-link {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.product-link.hide {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}


/* PRODUCT CARD */
.product-card {
    background: linear-gradient(
        180deg,
        rgba(15,23,42,0.95),
        rgba(2,6,23,1)
    );

    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(168,85,247,0.25);

    box-shadow: 0 0 22px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* IMAGE */
.product-card img {
    border-radius: 14px;
}

/* GLOW OVERLAY */
.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top,
        rgba(168,85,247,0.25),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 32px rgba(168,85,247,0.7),
        0 0 60px rgba(236,72,153,0.35);
}

.product-card:hover::before {
    opacity: 1;
}

/* PRODUCT TEXT */
.product-text {
    margin-top: 14px;
    text-align: left;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
}

.product-price {
    font-size: 14px;
    font-weight: 600;

    background: linear-gradient(90deg, var(--purple), var(--pink));
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 8px rgba(168,85,247,0.6);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 14px;
        padding: 16px 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .logo {
        font-size: 22px;
    }

    .logo-circle {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .logo-circle {
        width: 42px;
        height: 42px;
    }

    .nav a {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* LOGO CONTAINER */
.logo {
    display: flex;
    align-items: center;          /* 🔥 vertical perfect align */
    gap: 10px;                    /* clean spacing */
    font-weight: 700;
    font-size: 24px;              /* base text size */
}

/* LOGO IMAGE — MATCH TEXT HEIGHT */
.logo-img {
    height: 2em;                /* 🔥 KEY: scales with text */
    width: auto;                  /* keeps ratio */
    display: block;

    /* soft neon glow */
    filter:
        drop-shadow(0 0 6px rgba(236,72,153,0.6))
        drop-shadow(0 0 12px rgba(168,85,247,0.5));
}

/* LOGO TEXT */
.logo span {
    color: #ffffff;          /* ✅ white text */
    font-weight: 700;
    line-height: 1;
}



/* TABLET */
@media (max-width: 768px) {
    .logo {
        font-size: 22px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .logo {
        font-size: 20px;
        gap: 8px;
    }
}


/* =========================
   SOCIAL MEDIA ICONS
========================= */
.social-links {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social {
    width: 52px;
    height: 52px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    color: #fff;
    text-decoration: none;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
}

/* ICON HOVER EFFECT */
.social:hover {
    transform: translateY(-6px) scale(1.08);
}

/* INSTAGRAM */
.social.instagram {
    color: #e1306c;
}
.social.instagram:hover {
    background: linear-gradient(45deg, #f77737, #e1306c, #833ab4);
    box-shadow: 0 0 25px rgba(225,48,108,0.9);
}

/* TELEGRAM */
.social.telegram {
    color: #229ED9;
}
.social.telegram:hover {
    background: #229ED9;
    box-shadow: 0 0 25px rgba(34,158,217,0.9);
}

/* YOUTUBE */
.social.youtube {
    color: #ff0000;
}
.social.youtube:hover {
    background: #ff0000;
    box-shadow: 0 0 25px rgba(255,0,0,0.9);
}

/* TWITTER (X) */
.social.twitter {
    color: #ffffff;
}
.social.twitter:hover {
    background: #000;
    box-shadow: 0 0 25px rgba(255,255,255,0.6);
}

/* DISCORD */
.social.discord {
    color: #5865F2;
}
.social.discord:hover {
    background: #5865F2;
    box-shadow: 0 0 25px rgba(88,101,242,0.9);
}

/* MOBILE */
@media (max-width: 480px) {
    .social {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}

/* =========================
   TRUST BAR (EXACT MATCH)
========================= */
.trust-bar {
    margin-top: 34px;

    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* PILL */
.trust-pill {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;
    border-radius: 14px;

    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    );

    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);

    box-shadow: inset 0 0 0 rgba(0,0,0,0);
}

/* ICON */
.trust-pill .icon {
    font-size: 14px;
}

/* COLOR DOT FEEL */
.trust-pill.pink .icon { color: #ff2fd3; }
.trust-pill.purple .icon { color: #a855f7; }
.trust-pill.yellow .icon { color: #facc15; }
.trust-pill.blue .icon { color: #60a5fa; }

/* MOBILE */
@media (max-width: 480px) {
    .hero {
        padding: 70px 16px 40px;
    }

    .trust-pill {
        font-size: 13px;
        padding: 9px 14px;
    }
} 

/* =========================
   TRUST PILLS – PRO EFFECT
========================= */

/* subtle inner shine */
.trust-pill {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* glass highlight line */
.trust-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.08),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* hover behavior (professional) */
.trust-pill:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 22px rgba(0,0,0,0.45);
    border-color: rgba(255,255,255,0.25);
}

.trust-pill:hover::before {
    opacity: 1;
}

/* icon micro pop */
.trust-pill:hover .icon {
    transform: scale(1.08);
}

/* smooth icon motion */
.trust-pill .icon {
    transition: transform 0.25s ease;
}

/* =========================
   TRUST PILLS – PREMIUM GLOW
========================= */

.trust-pill {
    position: relative;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* base hover lift */
.trust-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.25);
}

/* COLOR GLOWS */
.trust-pill.pink:hover {
    box-shadow:
        0 0 0 1px rgba(255,47,211,0.35),
        0 10px 30px rgba(255,47,211,0.35);
}

.trust-pill.purple:hover {
    box-shadow:
        0 0 0 1px rgba(168,85,247,0.35),
        0 10px 30px rgba(168,85,247,0.35);
}

.trust-pill.yellow:hover {
    box-shadow:
        0 0 0 1px rgba(250,204,21,0.35),
        0 10px 30px rgba(250,204,21,0.35);
}

.trust-pill.blue:hover {
    box-shadow:
        0 0 0 1px rgba(96,165,250,0.35),
        0 10px 30px rgba(96,165,250,0.35);
}


/* =========================
   SLIDING REVIEWS
========================= */

.reviews-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: 60px;

    text-align: center;        /* ✅ centers text */
    width: 100%;               /* ✅ ensures full width */
}


/* CARD */
.review-card {
    min-width: 300px;
    padding: 22px;
    border-radius: 18px;
    text-align: left;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    );

    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);

    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* STARS */
.review-stars {
    color: #facc15;
    font-size: 15px;
}

/* TEXT */
.review-text {
    margin: 12px 0;
    color: #d1d5db;
    font-size: 14.5px;
    line-height: 1.6;
}

.review-name {
    font-size: 13px;
    color: #9ca3af;
}

/* COLOR GLOWS */
.review-card.pink:hover {
    box-shadow: 0 10px 30px rgba(255,47,211,0.35);
}
.review-card.purple:hover {
    box-shadow: 0 10px 30px rgba(168,85,247,0.35);
}
.review-card.blue:hover {
    box-shadow: 0 10px 30px rgba(96,165,250,0.35);
}
.review-card.yellow:hover {
    box-shadow: 0 10px 30px rgba(250,204,21,0.35);
}

/* BUTTONS */
.review-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.4);
    color: #fff;

    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.review-btn:hover {
    background: rgba(255,255,255,0.12);
}

.review-btn.prev { left: 10px; }
.review-btn.next { right: 10px; }


/* =========================
   LOOPING SLIDER
========================= */


.reviews-viewport {
    overflow: hidden;
    padding: 0 20px; /* 🔥 prevents edge cut */
}


/* auto scroll */
@keyframes reviewScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* MOBILE */
@media (max-width: 480px) {
    .review-card {
        min-width: 260px;
    }
}

@media (max-width: 480px) {
    .review-btn {
        display: none;
    }
}

/* =========================
   FOOTER (EXACT STYLE)
========================= */
.site-footer {
    margin: 0;                 /* ❌ no gap outside */
    padding: 20px 20px;        /* ✅ inside spacing only */

    background: linear-gradient(
        180deg,
        rgba(10,10,15,0.85),
        rgba(0,0,0,0.95)
    );

    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -10px 30px rgba(255,255,255,0.03);
}



.footer-inner {
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* LEFT SIDE */
.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
    color: #9ca3af;
}

.footer-brand {
    font-weight: 600;
    color: #ffffff;
}

.footer-sep {
    opacity: 0.6;
}

.footer-copy {
    white-space: nowrap;
}

/* RIGHT SIDE */
.footer-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-link {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* ICONS */
.footer-icons {
    display: flex;
    gap: 10px;
}

.footer-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    color: #ffffff;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);

    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

/* HOVER EFFECT (SUBTLE GLOW) */
.footer-icon.discord:hover {
    box-shadow: 0 0 12px rgba(88,101,242,0.6);
    border-color: rgba(88,101,242,0.6);
}

.footer-icon.telegram:hover {
    box-shadow: 0 0 12px rgba(34,158,217,0.6);
    border-color: rgba(34,158,217,0.6);
}

/* MOBILE */
@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.reviews-section {
    padding: 70px 20px 140px; /* space before footer */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reviews-slider {
    max-width: 1100px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 20px;
    width: fit-content;
    animation: reviewScroll 35s linear infinite;
    will-change: transform;
}


@keyframes reviewScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


.footer-right a {
    text-decoration: none !important;
    border-bottom: none !important;
}


/* =========================
   SEARCH BAR – SAME TO SAME
========================= */

.product-search-wrapper {
    max-width: 1200px;
    margin: 32px auto 48px;
    padding: 0 20px;
}

.product-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 64px;
    padding: 8px;
    border-radius: 22px;
    cursor: text;

    background: linear-gradient(
        180deg,
        rgba(25,25,30,0.95),
        rgba(15,15,18,0.98)
    );

    border: 1px solid rgba(168, 85, 247, 0.35);

    transition:
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* Hover glow */
.product-search:hover {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 0 32px rgba(168, 85, 247, 0.25);
}

/* Focus glow */
.product-search:focus-within {
    border-color: #a855f7;
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.45),
        0 0 40px rgba(168, 85, 247, 0.35);
}

/* Icon container (left rounded box) */
.search-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        180deg,
        rgba(40,40,45,0.9),
        rgba(25,25,28,0.95)
    );

    color: #c084fc;
    font-size: 16px;

    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);

    transition: transform 0.3s ease, color 0.3s ease;
}

/* Icon animation */
.product-search:focus-within .search-icon-box {
    transform: scale(1.08);
    color: #e879f9;
}

/* Input */
.product-search input {
    flex: 1;
    height: 100%;
    margin-left: 14px;

    background: transparent;
    border: none;
    outline: none;

    color: #e5e7eb;
    font-size: 16px;
    font-weight: 500;
}

/* Placeholder */
.product-search input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* FIX input white background */
.product-search input {
    background: transparent !important;
    color: #e5e7eb !important;
}

/* Chrome autofill fix */
.product-search input:-webkit-autofill,
.product-search input:-webkit-autofill:hover,
.product-search input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #e5e7eb !important;
    transition: background-color 5000s ease-in-out 0s;
}


/* LOCK product size */
.product-card {
    max-width: 280px;
    width: 100%;
}

/* =========================
   PREMIUM SEARCH HIGHLIGHT
========================= */

.product-title mark {
    position: relative;
    padding: 3px 8px;
    border-radius: 8px;

    background: linear-gradient(
        90deg,
        #a855f7,
        #ec4899,
        #a855f7
    );

    background-size: 200% 100%;
    color: #ffffff;
    font-weight: 600;

    box-shadow:
        0 0 10px rgba(168, 85, 247, 0.45),
        0 0 20px rgba(236, 72, 153, 0.35);

    animation: highlightGlow 2.5s ease infinite;
}

/* subtle shimmer animation */
@keyframes highlightGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.product-title mark::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: rgba(255,255,255,0.12);
    pointer-events: none;
}

/* LINK RESET */
.product-link {
    text-decoration: none;
    color: inherit;
}

.product-link {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.product-link.hide {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}


/* =========================
   SEARCH MODE – PERFECT CENTERING
========================= */


/* Ensure hidden cards don't occupy space */
.products-grid.searching .product-link.hide {
    display: none;
}

/* =========================
   MOBILE HOME PAGE FIX
========================= */
@media (max-width: 600px) {

    /* Header compact */
    .header {
        margin: 10px 12px;
        padding: 14px 16px;
        border-radius: 18px;
    }

    .nav {
        gap: 14px;
    }

    .nav a {
        font-size: 14px;
        padding: 6px 10px;
    }

    /* Search bar closer to header */
    .product-search-wrapper {
        margin: 16px auto 24px;
        padding: 0 12px;
    }

    .product-search {
        height: 54px;
        border-radius: 18px;
    }

    .search-icon-box {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .product-search input {
        font-size: 15px;
    }

    /* Products section tighter */
    .products-section {
        padding: 40px 12px;
    }

    .products-grid {
        gap: 16px;
    }

    /* Product cards feel grounded */
    .product-card {
        border-radius: 16px;
        box-shadow: 0 0 16px rgba(168,85,247,0.35);
    }

    .product-text {
        margin-top: 12px;
    }

    .product-title {
        font-size: 16px;
    }

    .product-price {
        font-size: 13px;
    }
}


/* =========================
   FIX MOBILE HEADER OVERLAP
========================= */
@media (max-width: 768px) {

    /* Disable sticky header on mobile */
    .header {
        position: relative;
        top: auto;
    }

    /* Ensure content starts below header */
    .hero,
    .products-section {
        margin-top: 20px;
    }

    /* Reduce glass height feeling */
    .header {
        padding-bottom: 14px;
    }
}
/* =========================
   MOBILE GLOBAL FIX
========================= */
body {
  padding-top: 24px; /* fixes top cut */
}

/* =========================
   FEATURE BADGES (High Quality etc.)
========================= */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px;
}

.feature {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 14px;
  text-align: center;
  backdrop-filter: blur(10px);
}

/* =========================
   SOCIAL ICONS FIX
========================= */
.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}

.socials a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

/* =========================
   SEARCH BAR FIX
========================= */
.search-box {
  padding: 0 16px;
}

.search-box input {
  width: 100%;
  height: 52px;
  border-radius: 16px;
  font-size: 15px;
}

/* =========================
   PRODUCT GRID FIX
========================= */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 16px;
}

/* =========================
   PRODUCT CARD FIX
========================= */
.product-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(20,20,40,0.9);
  box-shadow: 0 0 24px rgba(168,85,247,0.25);
}

.product-card img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.product-card h3 {
  font-size: 16px;
  margin: 10px 0 4px;
}

.product-card p {
  font-size: 14px;
  opacity: 0.85;
}
.products-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    justify-content: center;
}


/* =========================
   PRODUCTS CENTER FIX
========================= */

.products-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;              /* center container */
  padding: 0 16px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;

  justify-items: center;       /* center cards inside grid */
}

.product-card {
  width: 100%;
  max-width: 360px;            /* keeps card centered */
  margin: 0 auto;

  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.95),
    rgba(2, 6, 23, 1)
  );
  border-radius: 16px;
  padding: 16px;

  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

/* MOBILE PERFECT CENTER */
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* =========================
   PRODUCT GRID (RESPONSIVE)
========================= */

.products-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  gap: 20px;

  /* DEFAULT (MOBILE) */
  grid-template-columns: 1fr;
  justify-items: center;
}

.product-card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;

  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.95),
    rgba(2, 6, 23, 1)
  );
  border-radius: 16px;
  padding: 16px;

  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

/* TABLET (2 PRODUCTS) */
@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* LAPTOP (3 PRODUCTS) */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* DESKTOP (4 PRODUCTS IN ONE LINE) */
@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
