/* ========================================
   NASH THEME — Moderne & Minimaliste
   Couleur primaire: #FF6EF7 (Rose NASH)
   ======================================== */

/* 1. FONT IMPORT */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* 2. CSS VARIABLES */
:root {
  --color-primary: #FF6EF7;
  --color-primary-hover: #ff9efb;
  --color-primary-text: #0D0D0D;
  --color-primary-text-hover: #0D0D0D;
  --color-bg: #0a0a0a;
  --color-brighter-bg: #111111;
  --color-text: #f0f0f0;
  --color-text-darker: #d4d4d4;
  --color-text-secondary: #a0a0a0;
  --color-secondary: #333;
  --color-secondary-hover: #444;
  --color-secondary-text: var(--color-text);
  --color-secondary-text-hover: var(--color-text);
  --color-tertiary: transparent;
  --color-tertiary-hover: rgba(255, 255, 255, 0.08);
  --color-tertiary-text: var(--color-text);
  --color-tertiary-text-hover: var(--color-text);
  --color-sale-banner-bg: var(--color-primary);
  --color-sale-banner-text: var(--color-primary-text);
  --bg-image: none;

  /* Elargir le contenu — override shared.css 1280px */
  --content-inner-width: 1600px;

  /* NASH custom properties */
  --nash-pink: #FF6EF7;
  --nash-pink-glow: rgba(255, 110, 247, 0.15);
  --nash-pink-subtle: rgba(255, 110, 247, 0.08);
  --nash-border: rgba(255, 255, 255, 0.06);
  --nash-card-bg: #141414;
  --nash-card-hover: #1a1a1a;
  --nash-radius: 12px;
  --nash-radius-lg: 16px;
  --nash-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. BODY & BACKGROUND */
body {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60vh;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, var(--nash-pink-subtle) 0%, transparent 70%);
  pointer-events: none;
}

/* 4. BUTTONS */
.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--nash-transition);
}

.btn-primary:hover,
.btn-primary:focus {
  box-shadow: 0 0 20px var(--nash-pink-glow), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* 5. HEADER — full width within the .site grid */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent !important;
  border-bottom: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.site-header-inner {
  max-width: 1200px !important;
  width: calc(100% - 48px) !important;
  margin: 12px auto !important;
  padding: 0 32px !important;
  box-sizing: border-box !important;
  border-radius: 99px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-sale-banner {
  border-radius: var(--nash-radius);
}

/* Override shared.css header — MOBILE (<=960px) */
@media (width <= 960px) {
  .site-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    height: 48px !important;
    padding: 0 16px !important;
    gap: 0 !important;
    width: calc(100% - 24px) !important;
    margin: 8px auto !important;
    /* Remove backdrop-filter on mobile — it creates a containing block
       that traps position:fixed children (nav drawer) */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(12, 12, 12, 0.95) !important;
  }
  /* Hamburger menu — left */
  .site-header-inner .actions {
    position: static !important;
    display: flex !important;
    flex: none !important;
    order: 1 !important;
  }
  .site-header-inner .actions .toggle-navigation {
    width: 36px !important;
    height: 36px !important;
    min-width: 0 !important;
    padding: 0 !important;
  }
  /* Logo — center */
  .site-header-inner .site-title {
    position: static !important;
    width: auto !important;
    flex: 1 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: normal !important;
    text-align: center !important;
    order: 2 !important;
  }
  .site-header-inner .site-title img {
    margin: 0 auto !important;
    max-height: 28px !important;
    max-width: 120px !important;
  }
  /* Right cluster — Discord + Login/Basket */
  .site-header-inner .header-right {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: none !important;
    order: 3 !important;
  }
  /* Discord icon — compact */
  .site-header-inner .info {
    position: static !important;
    width: auto !important;
    flex: none !important;
    padding: 0 !important;
    line-height: normal !important;
  }
  .site-header-inner .info .image {
    position: static !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
  }
  .site-header-inner .info .title,
  .site-header-inner .info .action {
    display: none !important;
  }
  .site-header-inner .info.discord {
    padding: 0 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    opacity: 0.6;
  }
  /* Login button — compact */
  .site-header-inner .log-in,
  .site-header-inner .user-actions {
    position: static !important;
  }
  .log-in.btn-tertiary {
    padding: 5px 14px !important;
    font-size: 12px !important;
  }
  /* User actions (logged in) */
  .site-header-inner .user-actions {
    gap: 6px !important;
    align-items: center !important;
  }
  /* Username — compact pill, visible for logout */
  .site-header-inner .user-actions .user-name {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 5px 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    border-radius: 99px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    contain: none !important;
    flex-shrink: 0 !important;
    max-width: 100px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .site-header-inner .user-actions .user-name .text-inner {
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
  }
  .site-header-inner .user-actions .user-name .text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 11px !important;
    color: var(--color-text) !important;
  }
  /* Basket — compact icon button */
  .site-header-inner .user-actions .open-basket {
    height: 34px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 12px !important;
    font-size: 11px !important;
    border-radius: 99px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  .site-header-inner .user-actions .open-basket::before {
    margin-right: 4px !important;
    width: 14px !important;
    height: 14px !important;
  }
}

/* MOBILE NAV DRAWER — Glassmorphism Panel */
@media (width <= 960px) {
  /* Force fullscreen overlay regardless of parent constraints */
  .site-navigation {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow: visible !important;
  }

  /* Backdrop overlay — darkens content behind drawer */
  .site-navigation::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: -1 !important;
    pointer-events: auto !important;
  }
  body:not(.show-navigation) .site-navigation::before {
    display: none !important;
  }

  /* Panel — frosted glass, full height */
  .site-navigation .menu {
    position: absolute !important;
    inset: 0 60px 0 0 !important;
    height: 100% !important;
    background: rgba(10, 10, 10, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 80px 28px 32px !important;
    gap: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
  }

  /* Pink glow line at top of drawer */
  .site-navigation .menu::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 20% !important;
    width: 60% !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, var(--nash-pink), transparent) !important;
    box-shadow: 0 0 12px rgba(255, 110, 247, 0.4), 0 0 30px rgba(255, 110, 247, 0.15) !important;
    border-radius: 1px !important;
    pointer-events: none !important;
  }

  /* Close button — inside panel, top right */
  .site-navigation .close-navigation {
    position: absolute !important;
    top: 24px !important;
    right: 80px !important;
    left: auto !important;
    z-index: 100001 !important;
    opacity: 0.5;
    transition: all 0.25s ease !important;
  }
  .site-navigation .close-navigation:hover {
    opacity: 1;
    transform: scale(1.1);
  }

  /* Nav links — large, spaced, with separators */
  .site-navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }
  .site-navigation li:last-child {
    border-bottom: none !important;
  }
  .site-navigation a {
    padding: 18px 0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    color: rgba(255, 255, 255, 0.45) !important;
    transition: color 0.25s ease, transform 0.25s ease !important;
    display: block !important;
  }
  .site-navigation a:hover {
    color: rgba(255, 255, 255, 0.95) !important;
    transform: translateX(6px) !important;
  }
  /* Active link — pink with left glow */
  .site-navigation a.active {
    color: var(--nash-pink) !important;
    font-weight: 700 !important;
    position: relative !important;
    padding-left: 16px !important;
  }
  .site-navigation a.active::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 3px !important;
    height: 22px !important;
    background: var(--nash-pink) !important;
    border-radius: 3px !important;
    box-shadow: 0 0 10px rgba(255, 110, 247, 0.6), 0 0 25px rgba(255, 110, 247, 0.2) !important;
  }

  /* Sub-menus */
  .site-navigation ul ul {
    padding-left: 20px !important;
    font-size: 16px !important;
  }
  .site-navigation ul ul a {
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 12px 0 !important;
    color: rgba(255, 255, 255, 0.35) !important;
  }

  /* Log out link at bottom */
  .site-navigation .log-out {
    margin-top: auto !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .site-navigation .log-out a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.35) !important;
  }
  .site-navigation .log-out a:hover {
    color: var(--nash-pink) !important;
  }

  /* Drawer scrollbar indicator — hide default */
  .site-navigation.drawer .menu::after {
    display: none !important;
  }
}

/* Override shared.css header — desktop (960px+) */
@media (width > 960px) {
  .site-header-inner {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    height: 52px !important;
    padding: 0 24px !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }
  body.is-navigation-horizontal .site-header-inner {
    height: 52px !important;
  }
  .site-header-inner .actions {
    display: none !important;
  }
  /* Logo */
  .site-header-inner .site-title {
    position: static !important;
    inset: auto !important;
    flex: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    line-height: normal !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    text-align: left !important;
    letter-spacing: -0.03em;
  }
  .site-header-inner .site-title a {
    display: flex;
    align-items: center;
  }
  .site-header-inner .site-title img {
    margin: 0 !important;
    max-width: none !important;
    max-height: 34px !important;
  }
  .site-header-inner .log-in,
  .site-header-inner .user-actions {
    position: static !important;
  }
  .site-header-inner .user-actions {
    gap: 6px !important;
    align-items: center !important;
  }
  .site-header-inner .user-actions .user-name,
  .site-header-inner .user-actions .open-basket {
    height: auto !important;
    min-height: 0 !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 99px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    contain: none !important;
  }
  .site-header-inner .user-actions .user-name .text-inner {
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
  }
  .site-header-inner .user-actions .user-name .text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 12px !important;
    color: var(--color-text) !important;
  }
  .site-header-inner .user-actions .user-name .text-hover {
    display: none !important;
  }
  .site-header-inner .user-actions .user-name:hover .text-hover {
    display: block !important;
    position: absolute !important;
  }
  .site-header-inner .user-actions .open-basket {
    padding: 6px 16px !important;
    font-weight: 600 !important;
  }
  /* Info blocks: compact inline style */
  .site-header-inner .info {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
  }
  .site-header-inner .info .image {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    width: 22px !important;
    height: 22px !important;
  }
  .site-header-inner .info .title {
    font-size: 13px !important;
    line-height: normal !important;
    display: block;
  }
  .site-header-inner .info .action {
    display: none !important;
  }
  /* Discord link styling */
  .site-header-inner .info.discord {
    padding: 0 !important;
    text-align: left !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px;
    border-radius: 50%;
    transition: all var(--nash-transition);
    opacity: 0.5;
  }
  .site-header-inner .info.discord:hover {
    opacity: 1;
  }
  .site-header-inner .info.discord .image {
    width: 20px !important;
    height: 20px !important;
    opacity: 1;
    transition: opacity var(--nash-transition);
  }
  .site-header-inner .info.discord:hover .image {
    opacity: 1;
  }
  /* Server info compact button */
  .site-header-inner .info.server {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 6px 14px !important;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--nash-border);
    transition: all var(--nash-transition);
  }
  .site-header-inner .info.server:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .site-header-inner .info.server .image {
    width: 18px !important;
    height: 18px !important;
  }
  .site-header-inner .info.server .title {
    font-weight: 500;
    color: var(--color-text-secondary);
    font-size: 13px !important;
  }
  /* Navigation centered — pill container */
  .site-header .navigation-horizontal {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
  }
  /* Right actions cluster */
  .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex: none;
  }
}

/* 6. HORIZONTAL NAV — links inside the header pill */
@media (width > 960px) {
  .navigation-horizontal .menu {
    justify-content: center !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    gap: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    width: auto !important;
    display: inline-flex !important;
  }
  .navigation-horizontal .menu > li > a {
    padding: 6px 16px !important;
    border-radius: 99px;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 400 !important;
    font-size: 13px !important;
  }
  .navigation-horizontal .menu > li > a:hover {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }
  .navigation-horizontal a.link-active {
    color: #fff !important;
    font-weight: 500 !important;
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: var(--nash-radius);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--nash-border);
}

/* Override .site grid gap on homepage — sections manage their own spacing */
.page-index .site {
  gap: 0 !important;
}

/* 7. HERO SECTION — Full-screen centered (landing page style) */
.nash-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: visible;
}
.nash-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.nash-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  text-align: center;
}
.nash-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: var(--nash-pink-subtle);
  color: var(--nash-pink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.nash-hero-title {
  font-size: clamp(44px, 6.5vw, 90px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 32px;
  text-transform: none;
  font-style: normal;
}
.nash-hero-accent {
  color: var(--nash-pink);
  -webkit-text-fill-color: var(--nash-pink);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.nash-hero-subtitle {
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
/* Blur-to-focus text animation */
@keyframes nashBlurIn {
  0% {
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    filter: blur(0px);
    opacity: 1;
  }
}
.nash-blur-word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0;
  filter: blur(12px);
  animation: nashBlurIn 0.6s ease-out forwards;
  animation-delay: calc(0.3s + var(--i) * 0.1s);
  will-change: filter, opacity;
}

/* CTA buttons row */
.nash-hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nash-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 48px;
  height: 56px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  min-width: 220px;
}
.nash-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 48px;
  height: 56px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}
.nash-hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text);
}
/* Hero bottom glow */
.nash-hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 110, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
/* Hero visual (hidden) */
.nash-hero-visual {
  display: none;
}

@media (width <= 960px) {
  .nash-hero-inner {
    min-height: 80vh;
    padding: 120px 24px 60px;
  }
  .nash-hero-visual {
    display: none;
  }
  .nash-hero-subtitle {
    font-size: 14px;
    margin-bottom: 28px;
  }
}
@media (width <= 600px) {
  .nash-hero-inner {
    min-height: 220px;
    padding: 32px 20px;
  }
}

/* 8. POPULAR SCRIPTS SECTION */
.nash-popular-section {
  width: 100%;
  padding: 0 var(--content-padding);
  max-width: var(--content-inner-width);
  margin: 0 auto 48px;
  text-align: center;
}
.nash-section-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-align: center;
}
.nash-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
}
@media (max-width: 960px) {
  .nash-popular-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .nash-popular-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.nash-popular-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--nash-radius-lg);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nash-popular-card:hover {
  border-color: rgba(255, 110, 247, 0.3);
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(255, 110, 247, 0.08);
}
.nash-popular-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}
.nash-popular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nash-popular-card:hover .nash-popular-image img {
  transform: scale(1.08);
}
.nash-popular-image .image-default {
  width: 100%;
  height: 100%;
}
.nash-popular-info {
  padding: 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nash-popular-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-text);
}
.nash-popular-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--nash-pink);
  white-space: nowrap;
}
.nash-popular-viewall {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  font-size: 15px;
  border-radius: 99px;
  margin-top: 8px;
}

/* RECENT PAYMENTS SECTION */
.nash-payments-section {
  width: 100%;
  padding: 0 var(--content-padding);
  max-width: var(--content-inner-width);
  margin: 0 auto 48px;
}
.nash-payments-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.nash-payments-row .widget {
  flex: 1;
  min-width: 280px;
  border-radius: var(--nash-radius-lg) !important;
  background: var(--nash-card-bg) !important;
  border: 1px solid var(--nash-border) !important;
  overflow: hidden;
  padding: 24px !important;
}
.nash-payments-row .widget .widget-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  margin-bottom: 16px !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--nash-border);
  padding-bottom: 12px !important;
}
.nash-payments-row .widget table {
  width: 100%;
  border-collapse: collapse;
  padding: 0 !important;
}
.nash-payments-row .widget table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--nash-border);
  font-size: 14px;
}
.nash-payments-row .widget table td:last-child {
  text-align: right;
  color: var(--nash-pink);
  font-weight: 600;
}
.nash-payments-row .widget table tr:last-child td {
  border-bottom: none;
}
/* Top customer widget */
.nash-top-customer {
  text-align: center;
  padding-top: 8px;
}
.nash-top-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--nash-pink-subtle);
  border: 2px solid rgba(255, 110, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--nash-pink);
}
.nash-top-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}
.nash-top-amount {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}
@media (max-width: 600px) {
  .nash-payments-row {
    flex-direction: column;
  }
}

/* Keep old categories styling for backward compat */
.nash-categories-section {
  width: 100%;
  padding: 0 var(--content-padding);
  max-width: var(--content-width);
  margin: 0 auto 48px;
  text-align: center;
}
.site-home-categories .category {
  border-radius: var(--nash-radius);
  padding: 24px var(--widget-padding);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-home-categories .category:hover {
  color: var(--nash-pink);
  border-color: rgba(255, 110, 247, 0.25);
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 110, 247, 0.1),
    inset 0 0 30px rgba(255, 110, 247, 0.03);
}
.site-home-categories .category .image {
  border-radius: 8px;
  transition: transform 0.35s ease;
}
.site-home-categories .category:hover .image {
  transform: scale(1.08);
}

/* 9. PRODUCT CARDS */
.store-products-list .store-product,
.store-products-images .store-product {
  position: relative;
  border-radius: var(--nash-radius);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.store-products-images .store-product {
  text-align: center;
}
.store-products-images .store-product:hover,
.store-products-list .store-product:hover {
  background: var(--nash-card-hover);
  border-color: rgba(255, 110, 247, 0.3);
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 110, 247, 0.12),
    0 0 80px rgba(255, 110, 247, 0.06);
}

/* Neon glow line on hover — bord superieur */
.store-products-images .store-product::after,
.store-products-list .store-product::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nash-pink), transparent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
}
.store-products-images .store-product:hover::after,
.store-products-list .store-product:hover::after {
  width: 80%;
}

/* Promo badge */
.nash-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}
.nash-badge-sale {
  background: var(--nash-pink);
  color: var(--color-primary-text);
  box-shadow: 0 0 12px rgba(255, 110, 247, 0.4);
}

/* Quick view overlay */
.nash-quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  text-shadow: 0 0 10px rgba(255, 110, 247, 0.5);
}
.store-product .image-link {
  position: relative;
  display: block;
  overflow: hidden;
}
.store-product .image-link:hover .nash-quick-view {
  opacity: 1;
  transform: translateY(0);
}

/* Image zoom on hover */
.store-product .image-link img.image {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}
.store-product:hover .image-link img.image {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Price styling — neon glow */
.store-product .price strong {
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.store-product:hover .price strong {
  color: var(--nash-pink);
  text-shadow: 0 0 8px rgba(255, 110, 247, 0.4);
}

/* Button glow on card hover */
.store-product:hover .btn-primary {
  box-shadow: 0 0 20px rgba(255, 110, 247, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 10. PRODUCT DETAIL PAGE — Quasar-style layout */
.nash-product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}
.nash-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  min-width: 0;
}
.nash-product-layout > * {
  min-width: 0;
}
@media (max-width: 860px) {
  .nash-product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Left — Media */
.nash-product-media {
  position: sticky;
  top: 24px;
  min-width: 0;
  overflow: hidden;
}
.nash-product-main-image {
  border-radius: var(--nash-radius-lg);
  overflow: hidden;
  background: #111;
  border: 1px solid var(--nash-border);
}
.nash-product-main-image .image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}
.nash-product-media .media-slider {
  border-radius: var(--nash-radius-lg);
  border: 1px solid var(--nash-border);
  overflow: visible;
  width: 100%;
}
.nash-product-media .media-slider .slider {
  border-radius: var(--nash-radius-lg) var(--nash-radius-lg) 0 0;
  min-height: 300px;
  width: 100%;
}
.nash-product-media .media-slider .thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
}
.nash-product-media .media-slider .thumb {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  width: 100px !important;
  height: 70px !important;
  flex-shrink: 0;
}
.nash-product-media .media-slider .thumb-image,
.nash-product-media .media-slider .thumb-youtube {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.nash-product-media .media-slider .thumb.active {
  border-color: var(--nash-pink);
}
.nash-product-media .media-slider .thumb:not(.active) {
  opacity: 0.6;
}
.nash-product-media .media-slider .thumb:hover {
  opacity: 1;
}

/* Right — Info */
.nash-product-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nash-product-info .store-product {
  padding: 0;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nash-product-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 6px;
}
.nash-product-title .countdown {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #C12E2E;
}

/* Price — own block */
.nash-product-price {
  margin-bottom: 10px;
}
.nash-price-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--nash-pink);
}
.nash-price-value strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--nash-pink);
}
.nash-price-discount {
  font-size: 16px;
  color: #888;
  text-decoration: line-through;
  margin-right: 10px;
}
.nash-price-text {
  font-size: 16px;
  color: var(--color-text-darker);
}

/* Buttons — own block below price */
.nash-product-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.nash-product-buttons .price {
  display: none !important;
}
.nash-btn-cart {
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.nash-btn-gift {
  border-radius: 8px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: transparent !important;
  color: var(--color-text) !important;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.nash-btn-gift:hover {
  border-color: var(--nash-pink) !important;
  background: rgba(255, 110, 247, 0.08) !important;
}
.nash-btn-half {
  flex: 0 1 calc(50% - 5px);
}

/* Hide old price/actions styling in product info */
.nash-product-info .store-product .actions {
  display: none;
}

/* Description — full width below layout */
.nash-product-description-full {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--nash-border);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.nash-product-description {
  color: var(--color-text-darker);
  font-size: 13px;
  line-height: 1.6;
}
.nash-product-description p {
  margin-bottom: 6px;
  font-size: 13px;
}
.nash-product-description h1,
.nash-product-description h2,
.nash-product-description h3,
.nash-product-description h4,
.nash-product-description h5,
.nash-product-description h6 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 10px;
  color: var(--color-text);
}
.nash-product-description strong {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
}
.nash-product-description ul,
.nash-product-description ol {
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 13px;
}
.nash-product-description li {
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 1.5;
}
.nash-product-description a {
  color: var(--nash-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nash-product-description img {
  max-width: 100%;
  border-radius: 8px;
  margin: 8px 0;
}
.nash-product-description a:hover {
  color: var(--color-primary-hover);
}

/* Legacy fallback */
.store-product-full {
  border-radius: var(--nash-radius-lg);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
}
.store-product-full .product-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.store-product-full .image {
  border-radius: var(--nash-radius);
}
.store-product-full .descr {
  color: var(--color-text-darker);
  font-size: 15px;
  line-height: 1.7;
}

.nash-category-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.category-description {
  border-radius: var(--nash-radius);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
}

/* 11. STORE TEXT */
.store-text {
  border-radius: var(--nash-radius);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}

/* 12. SIDEBAR & WIDGETS */
.widget {
  border-radius: var(--nash-radius);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
    border: none;
  }
}
.widget-title {
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.widget .store-product {
  text-align: center;
}
.widget-gift-card .gift-card-input {
  border-radius: 8px;
}
.widget-top-donator .avatar {
  border-radius: 50%;
}
.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 6px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 6px;
}

/* 13. CUSTOMER REVIEWS — Vertical Marquee */
.nash-reviews-section {
  width: 100%;
  max-width: calc(1800px + var(--content-padding) * 2);
  margin: 64px auto 48px;
  text-align: center;
  padding: 0 var(--content-padding);
}

/* Reusable section badge (pill with pink top glow) */
.nash-section-badge,
.nash-reviews-badge {
  display: inline-block;
  position: relative;
  padding: 6px 24px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.nash-section-badge::before,
.nash-reviews-badge::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -1px;
  margin: 0 auto;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nash-pink), transparent);
  border-radius: 2px;
}
.nash-section-badge:hover,
.nash-reviews-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 110, 247, 0.1);
}

/* Reusable section heading (large, tight tracking) */
.nash-section-heading,
.nash-reviews-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.nash-reviews-subtitle {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.nash-reviews-subtitle strong {
  color: var(--color-text);
}

/* 3-column marquee container with fade mask */
.nash-reviews-columns {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-height: 700px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

/* Each marquee column */
.nash-marquee-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 340px;
  flex-shrink: 0;
}
.nash-marquee-col:hover .nash-marquee-inner {
  animation-play-state: paused;
}

/* Inner wrapper that animates */
.nash-marquee-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

/* Scroll UP animation */
.nash-marquee-up .nash-marquee-inner {
  animation: marqueeUp var(--marquee-duration, 22s) linear infinite;
}

/* Scroll DOWN animation (reverse) */
.nash-marquee-down .nash-marquee-inner {
  animation: marqueeDown var(--marquee-duration, 26s) linear infinite;
}

@keyframes marqueeUp {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-100% - 20px)); }
}
@keyframes marqueeDown {
  from { transform: translateY(calc(-100% - 20px)); }
  to { transform: translateY(0); }
}

/* Review card — SaaS premium style */
.nash-review-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 28px;
  text-align: left;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nash-review-card::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(255, 110, 247, 0.08), transparent);
  filter: blur(15px);
  z-index: 0;
  pointer-events: none;
}
.nash-review-card:hover {
  border-color: rgba(255, 110, 247, 0.15);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
    0 8px 30px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 110, 247, 0.05);
}

.nash-review-text {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Footer: avatar + name at bottom */
.nash-review-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.nash-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nash-pink), #b060ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #0D0D0D;
  flex-shrink: 0;
}
.nash-review-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.2;
}

/* Responsive: hide col 3 on tablet, show 1 col on mobile */
@media (width <= 960px) {
  .nash-marquee-col:nth-child(3) {
    display: none;
  }
  .nash-reviews-columns {
    max-height: 600px;
  }
}
@media (width <= 600px) {
  .nash-marquee-col:nth-child(2) {
    display: none;
  }
  .nash-marquee-col {
    width: 100%;
    max-width: 340px;
  }
  .nash-reviews-columns {
    max-height: 500px;
    justify-content: center;
  }
}

/* 14. TRUST SECTION */
.nash-trust-section {
  width: 100%;
  padding: 0 var(--content-padding);
  max-width: calc(1800px + var(--content-padding) * 2);
  margin: 64px auto 48px;
}
.nash-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (width <= 960px) {
  .nash-trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}
.nash-trust-card {
  padding: 32px 24px;
  border-radius: var(--nash-radius);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
  text-align: center;
  transition: all var(--nash-transition);
}
.nash-trust-card:hover {
  border-color: rgba(255, 110, 247, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.nash-trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--nash-pink-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.nash-trust-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.nash-trust-card p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

/* 14. FOOTER */
.site-footer {
  border-top: 1px solid var(--nash-border);
}
.nash-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--nash-border);
}
@media (width <= 600px) {
  .nash-footer-top {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
.nash-footer-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nash-footer-logo img {
  max-height: 32px;
}
.nash-footer-tagline {
  color: var(--color-text-secondary);
  font-size: 13px;
  margin-top: 4px;
}
.nash-footer-links {
  display: flex;
  gap: 20px;
}
.nash-footer-links a {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--nash-transition);
}
.nash-footer-links a:hover {
  color: var(--nash-pink);
}
.nash-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
@media (width <= 600px) {
  .nash-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* 15. POPUPS & BASKET */
.popup-content {
  border-radius: var(--nash-radius);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
}
.popup-close {
  border-radius: 0 var(--nash-radius) 0 var(--nash-radius);
}
.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}
.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}
.basket-item {
  border-radius: var(--nash-radius);
}
.basket-item .quantity {
  border-radius: 6px;
}

/* 16. TOAST */
.toast {
  border-radius: var(--nash-radius);
}
.toast-close {
  border-radius: 6px;
}

/* 17. QUANTITY & FORMS */
.quantity-field {
  border-radius: 8px;
}
.store-product .quantity-field {
  border-radius: 8px;
  background: var(--color-brighter-bg);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

/* 18. NO PRODUCTS */
.no-products {
  color: var(--color-text-secondary);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
  border-radius: var(--nash-radius);
}

/* 19. TIERED CATEGORIES */
.store-category-tiered {
  border-radius: var(--nash-radius);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
}
.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
}
.store-product-tiered {
  border-radius: var(--nash-radius);
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid var(--nash-border);
}

/* 20. MEDIA SLIDER */
.media-slider .slider,
.media-slider .thumb {
  border-radius: var(--nash-radius);
}
.media-slider .open-lightbox {
  border-radius: 8px;
}
.popup.popup-media-slider .thumb {
  border-radius: var(--nash-radius);
}
.popup.popup-media-slider .popup-close {
  border-radius: var(--nash-radius);
}

/* 21. ANIMATIONS */
@keyframes heroGlowPulse {
  0%, 100% {
    transform: translate(0, -50%) scale(1);
    opacity: 0.12;
  }
  50% {
    transform: translate(0, -50%) scale(1.15);
    opacity: 0.18;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 110, 247, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 110, 247, 0.7), 0 0 40px rgba(255, 110, 247, 0.3);
  }
}

@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.8; }
  94% { opacity: 1; }
  96% { opacity: 0.9; }
  97% { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glowRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Subtle page load animation */
.nash-hero-content {
  animation: fadeInUp 0.6s ease-out;
}
.nash-trust-card {
  animation: fadeInUp 0.6s ease-out backwards;
}
.nash-trust-card:nth-child(1) { animation-delay: 0.1s; }
.nash-trust-card:nth-child(2) { animation-delay: 0.2s; }
.nash-trust-card:nth-child(3) { animation-delay: 0.3s; }

/* 22. ENHANCED MICRO-INTERACTIONS */

/* --- Hero CTA pulsing glow --- */
.nash-hero-cta {
  position: relative;
  overflow: hidden;
}
.nash-hero-cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nash-pink), #b060ff, var(--nash-pink));
  background-size: 200% 200%;
  animation: shimmer 3s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nash-hero-cta:hover::before {
  opacity: 1;
}
.nash-hero-cta:hover {
  box-shadow:
    0 0 30px rgba(255, 110, 247, 0.4),
    0 0 60px rgba(255, 110, 247, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px) scale(1.03);
}

/* --- Hero badge floating --- */
.nash-hero-badge {
  animation: floatY 3s ease-in-out infinite;
}

/* --- Hero glow neon flicker --- */
.nash-hero-glow {
  animation: heroGlowPulse 4s ease-in-out infinite, neonFlicker 8s ease-in-out infinite;
}

/* --- Nav links: neon underline on hover --- */
@media (width > 960px) {
  .navigation-horizontal .menu > li > a {
    position: relative;
    overflow: hidden;
  }
  .navigation-horizontal .menu > li > a::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--nash-pink);
    box-shadow: 0 0 8px rgba(255, 110, 247, 0.6);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .navigation-horizontal .menu > li > a:hover::after,
  .navigation-horizontal a.link-active::after {
    width: 60%;
  }
}

/* --- Trust cards: neon glow hover --- */
.nash-trust-card {
  position: relative;
  overflow: hidden;
}
.nash-trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nash-pink), transparent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nash-trust-card:hover::before {
  width: 70%;
}
.nash-trust-card:hover {
  border-color: rgba(255, 110, 247, 0.2);
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 110, 247, 0.08);
}

/* Trust icon glow on card hover */
.nash-trust-card:hover .nash-trust-icon {
  background: rgba(255, 110, 247, 0.15);
  box-shadow: 0 0 20px rgba(255, 110, 247, 0.2);
  transform: scale(1.1);
}
.nash-trust-icon {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Category cards: neon glow line --- */
.site-home-categories .category {
  position: relative;
  overflow: hidden;
}
.site-home-categories .category::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nash-pink), transparent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-home-categories .category:hover::after {
  width: 80%;
}

/* --- All buttons: glow on hover --- */
.btn-primary {
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  box-shadow:
    0 0 25px rgba(255, 110, 247, 0.35),
    0 0 50px rgba(255, 110, 247, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* --- Footer links neon hover --- */
.nash-footer-links a:hover {
  text-shadow: 0 0 10px rgba(255, 110, 247, 0.4);
}

/* --- Product card: staggered entrance animation --- */
.store-products-images .store-product,
.store-products-list .store-product {
  animation: scaleIn 0.5s ease-out backwards;
}
.store-products-images .store-product:nth-child(1),
.store-products-list .store-product:nth-child(1) { animation-delay: 0.05s; }
.store-products-images .store-product:nth-child(2),
.store-products-list .store-product:nth-child(2) { animation-delay: 0.10s; }
.store-products-images .store-product:nth-child(3),
.store-products-list .store-product:nth-child(3) { animation-delay: 0.15s; }
.store-products-images .store-product:nth-child(4),
.store-products-list .store-product:nth-child(4) { animation-delay: 0.20s; }
.store-products-images .store-product:nth-child(5),
.store-products-list .store-product:nth-child(5) { animation-delay: 0.25s; }
.store-products-images .store-product:nth-child(6),
.store-products-list .store-product:nth-child(6) { animation-delay: 0.30s; }

/* --- Header logo: subtle glow on hover --- */
.site-title a:hover {
  text-shadow: 0 0 15px rgba(255, 110, 247, 0.3);
}

/* --- Login button — pink pill (like Sign Up) --- */
.log-in.btn-tertiary {
  position: relative;
  background: var(--nash-pink) !important;
  color: #0D0D0D !important;
  border: none !important;
  border-radius: 99px !important;
  padding: 6px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  height: auto !important;
  min-height: 0 !important;
  transition: all 0.25s ease;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.log-in.btn-tertiary:hover {
  background: var(--color-primary-hover) !important;
  color: #0D0D0D !important;
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 110, 247, 0.3);
}

/* --- Smooth scroll --- */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* 23. WIDGETS HORIZONTAL SECTION (Recent Payments, etc.) */
.nash-widgets-section {
  width: 100%;
  padding: 0 var(--content-padding);
  max-width: calc(1800px + var(--content-padding) * 2);
  margin: 48px auto 32px;
}
.nash-widgets-section .widget {
  border-radius: var(--nash-radius);
  background: var(--nash-card-bg);
  border: 1px solid var(--nash-border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nash-widgets-section .widget:hover {
  border-color: rgba(255, 110, 247, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Make modules render as horizontal row — override shared.css column/width */
.nash-widgets-section > div,
.nash-widgets-section > section {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
}
.nash-widgets-section > div > .widget,
.nash-widgets-section > section > .widget,
.nash-widgets-section > .widget {
  flex: 1 1 300px !important;
  max-width: 400px;
  width: auto !important;
}

/* Recent payments table styling */
.nash-widgets-section .widget-recent-payments .widget-title {
  font-size: 16px;
  text-align: left;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nash-border);
  margin-bottom: 12px;
}
.nash-widgets-section .widget-recent-payments table {
  width: 100%;
}
.nash-widgets-section .widget-recent-payments td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

/* Top donator avatar glow */
.nash-widgets-section .widget-top-donator .avatar {
  box-shadow: 0 0 15px rgba(255, 110, 247, 0.2);
  transition: box-shadow 0.3s ease;
}
.nash-widgets-section .widget-top-donator .avatar:hover {
  box-shadow: 0 0 25px rgba(255, 110, 247, 0.4);
}

@media (width <= 768px) {
  .nash-widgets-section > div,
  .nash-widgets-section > section {
    flex-direction: column;
  }
  .nash-widgets-section > div > .widget,
  .nash-widgets-section > section > .widget,
  .nash-widgets-section > .widget {
    max-width: 100%;
  }
}

/* 24. SALE BANNER GLOW */
.site-sale-banner {
  position: relative;
  overflow: hidden;
}
.site-sale-banner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 110, 247, 0.15), transparent 60%);
  animation: glowRotate 6s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.site-sale-banner > * {
  position: relative;
  z-index: 1;
}

/* 25. SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 110, 247, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 110, 247, 0.4);
}
