/* ========== ROOT & THEME ========== */
:root {
  --font: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --primary: rgba(220, 38, 38, 0.85);
  --primary-dark: rgba(185, 28, 28, 0.88);
  --primary-light: rgba(220, 38, 38, 0.15);
  --primary-border: rgba(220, 38, 38, 0.18);
  --primary-glow: rgba(220, 38, 38, 0.6);
  --bg-grad-start: rgba(185, 28, 28, 0.28);
  --bg-grad-mid: rgba(220, 38, 38, 0.24);
  --bg-grad-end: rgba(153, 27, 27, 0.18);
  --text: rgba(236, 238, 255, 0.94);
  --text-secondary: rgba(215, 221, 255, 0.82);
  --text-muted: rgba(206, 209, 255, 0.66);
  --surface: rgba(16, 17, 41, 0.88);
  --surface-dark: rgba(14, 14, 34, 0.86);
  --surface-card: rgba(13, 12, 31, 0.9);
  --border-subtle: rgba(110, 132, 255, 0.16);
  --border-accent: rgba(99, 102, 241, 0.3);
  --tab-active-bg: linear-gradient(to right, var(--primary), var(--primary-dark));
  --tab-active-text: #fff;
  --card-from: rgba(185, 28, 28, 0.12);
  --card-border: rgba(220, 38, 38, 0.12);
  --card-hover-border: rgba(220, 38, 38, 0.4);
  --card-hover-shadow: 0 34px 96px -62px rgba(220, 38, 38, 0.6);
}

[data-theme="dark"] {
  --primary: rgba(255, 255, 255, 0.9);
  --primary-dark: rgba(200, 200, 200, 0.95);
  --primary-light: rgba(255, 255, 255, 0.1);
  --primary-border: rgba(255, 255, 255, 0.15);
  --primary-glow: rgba(255, 255, 255, 0.4);
  --bg-grad-start: rgba(50, 50, 50, 0.3);
  --bg-grad-mid: rgba(70, 70, 70, 0.25);
  --bg-grad-end: rgba(40, 40, 40, 0.2);
  --tab-active-bg: linear-gradient(to right, rgba(255, 255, 255, 0.85), rgba(200, 200, 200, 0.88));
  --tab-active-text: #000;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  font-size: 16px;
  color: #d8dcff;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, var(--bg-grad-start), transparent 50%),
    radial-gradient(circle at 88% 6%, var(--bg-grad-mid), transparent 48%),
    radial-gradient(circle at 20% 82%, var(--bg-grad-end), transparent 52%),
    linear-gradient(180deg, #05040f 0%, #090621 55%, #03010f 100%);
  transition: background 0.3s ease;
}

body.modal-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

section[id] {
  scroll-margin-top: 100px;
}

a,
button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/* ========== GLOW EFFECTS ========== */
.glow-effect {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}

.glow-effect--topleft {
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.45), transparent 70%);
}

.glow-effect--topright {
  top: 120px;
  right: -180px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.38), transparent 76%);
}

/* ========== LAYOUT ========== */
.page-wrapper {
  width: 100%;
  position: relative;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

@media (min-width: 640px) {
  .container {
    padding: 32px 24px 80px;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 48px 32px 96px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 48px 60px 128px;
  }
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-dark);
  padding: 12px 16px;
  border-radius: 9999px;
  border: 1px solid var(--primary-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 100;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .navbar {
    padding: 16px 20px;
    margin-bottom: 32px;
    top: 16px;
  }
}

@media (min-width: 768px) {
  .navbar {
    padding: 18px 28px;
    margin-bottom: 48px;
    top: 24px;
  }
}

@media (min-width: 1024px) {
  .navbar {
    margin-bottom: 64px;
  }
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 640px) {
  .navbar__brand {
    gap: 10px;
    font-size: 0.82rem;
  }
}

.navbar__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #dc2626 0%, rgba(220, 38, 38, 0) 65%);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.6);
}

[data-theme="dark"] .navbar__dot {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 65%);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
}

@media (min-width: 640px) {
  .navbar__dot {
    width: 14px;
    height: 14px;
  }
}

.navbar__name--full {
  display: none;
}

.navbar__name--short {
  display: inline;
}

@media (min-width: 640px) {
  .navbar__name--full {
    display: inline;
  }

  .navbar__name--short {
    display: none;
  }
}

@media (min-width: 768px) {
  .navbar__name--full {
    display: none;
  }

  .navbar__name--short {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .navbar__name--full {
    display: inline;
  }

  .navbar__name--short {
    display: none;
  }
}

.navbar__links {
  display: none;
  gap: 22px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .navbar__links {
    display: flex;
  }
}

.navbar__links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar__links a:hover {
  color: #fff;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 640px) {
  .navbar__actions {
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .navbar__actions {
    gap: 12px;
  }
}

.navbar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: #fff;
  transition: background 0.2s;
  touch-action: manipulation;
}

.navbar__btn:hover {
  background: rgba(220, 38, 38, 0.25);
}

[data-theme="dark"] .navbar__btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.navbar__hamburger {
  display: flex;
}

@media (min-width: 1024px) {
  .navbar__hamburger {
    display: none;
  }
}

.navbar__lang-label {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.navbar__logo-wrap {
  display: flex;
  justify-content: flex-end;
}

.navbar__logo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .navbar__logo {
    height: 32px;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  touch-action: none;
  animation: fadeIn 0.2s ease;
}

.mobile-menu__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: rgba(14, 14, 34, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(220, 38, 38, 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  padding: 8px;
  animation: slideDown 0.2s ease;
}

.mobile-menu__list li a {
  display: block;
  padding: 12px 16px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.2s;
  touch-action: manipulation;
}

.mobile-menu__list li a:hover,
.mobile-menu__list li a:active {
  color: #fff;
  background: rgba(220, 38, 38, 0.1);
}

/* ========== HERO ========== */
.hero {
  margin-top: 32px;
  margin-bottom: 48px;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(185, 28, 28, 0.18), transparent 60%),
    radial-gradient(circle at 82% 28%, rgba(220, 38, 38, 0.15), transparent 60%),
    rgba(16, 16, 42, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.15);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 38px 120px -64px rgba(0, 0, 0, 0.8);
  align-items: center;
}

@media (min-width: 640px) {
  .hero {
    padding: 40px;
    margin-top: 48px;
    margin-bottom: 64px;
    border-radius: 32px;
    gap: 40px;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 56px;
    margin-top: 64px;
    margin-bottom: 80px;
    border-radius: 40px;
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22, 19, 47, 0.2), rgba(20, 24, 45, 0.55));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 10;
}

.hero__studio {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(164, 178, 255, 0.72);
  margin-bottom: 12px;
  font-size: 0.7rem;
  animation: fadeInUp 0.6s ease 0.3s both;
}

@media (min-width: 640px) {
  .hero__studio {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }
}

.hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 20px;
  color: rgba(250, 250, 255, 0.96);
  animation: fadeInUp 0.6s ease 0.4s both;
}

@media (min-width: 640px) {
  .hero__title {
    margin-bottom: 28px;
  }
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.5s both;
  touch-action: manipulation;
}

[data-theme="dark"] .hero__cta {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.85), rgba(200, 200, 200, 0.88));
  color: #000;
}

@media (min-width: 640px) {
  .hero__cta {
    padding: 16px 32px;
    font-size: 1rem;
    gap: 12px;
    margin-bottom: 28px;
  }
}

.hero__cta:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}

.hero__cta:active {
  transform: scale(0.95);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInUp 0.6s ease 0.6s both;
}

@media (min-width: 640px) {
  .hero__stats {
    gap: 16px;
  }
}

.hero__stat {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(18, 18, 44, 0.78);
  border: 1px solid rgba(114, 137, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(155, 170, 255, 0.16);
  display: grid;
  gap: 4px;
  min-width: 120px;
  transition: transform 0.3s;
}

@media (min-width: 640px) {
  .hero__stat {
    padding: 16px 20px;
    border-radius: 18px;
    gap: 6px;
    min-width: 140px;
  }
}

.hero__stat:hover {
  transform: scale(1.05) translateY(-2px);
}

.hero__stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(197, 203, 255, 0.55);
}

@media (min-width: 640px) {
  .hero__stat-label {
    font-size: 0.75rem;
  }
}

.hero__stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(250, 251, 255, 0.92);
}

@media (min-width: 640px) {
  .hero__stat-value {
    font-size: 1.4rem;
  }
}

/* Hero Cards */
.hero__cards {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .hero__cards {
    gap: 16px;
  }
}

.hero__cards-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.8;
  z-index: 0;
}

.hero__cards-bg--purple {
  top: -40px;
  right: 120px;
  background: radial-gradient(circle, rgba(129, 103, 255, 0.82) 0%, rgba(129, 103, 255, 0) 70%);
}

.hero__cards-bg--blue {
  bottom: -50px;
  right: -40px;
  background: radial-gradient(circle, rgba(64, 128, 255, 0.68) 0%, rgba(64, 128, 255, 0) 70%);
}

.hero__cards-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .hero__cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.hero-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(15, 16, 39, 0.88);
  border: 1px solid rgba(128, 147, 255, 0.2);
  box-shadow: 0 30px 80px -64px rgba(84, 102, 255, 0.65);
  display: grid;
  gap: 8px;
  transition: all 0.3s;
}

@media (min-width: 640px) {
  .hero-card {
    padding: 24px;
    border-radius: 24px;
    gap: 12px;
  }
}

.hero-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(158, 176, 255, 0.5);
  box-shadow: 0 38px 96px -66px rgba(135, 152, 255, 0.88);
}

.hero-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

@media (min-width: 640px) {
  .hero-card__icon {
    width: 48px;
    height: 48px;
  }
}

.hero-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(248, 248, 255, 0.95);
}

.hero-card p {
  margin: 0;
  color: rgba(200, 205, 255, 0.68);
  font-size: 0.9rem;
}

/* ========== FILTERS SECTION ========== */
.filters-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(18px);
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .filters-section {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 24px;
    border-radius: 24px;
    gap: 22px;
    margin-bottom: 36px;
  }
}

@media (min-width: 768px) {
  .filters-section {
    padding: 28px;
    border-radius: 30px;
  }
}

.filters-section__top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .filters-section__top {
    gap: 16px;
    max-width: none;
  }
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(19, 20, 48, 0.76);
  border: 1px solid rgba(116, 139, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(135, 150, 255, 0.14);
}

@media (min-width: 640px) {
  .search-box {
    padding: 14px 18px;
    border-radius: 18px;
    gap: 16px;
  }
}

.search-box__icon {
  color: rgba(215, 221, 255, 0.68);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

@media (min-width: 640px) {
  .search-box__icon {
    width: 20px;
    height: 20px;
  }
}

.search-box__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
  color: rgba(230, 233, 255, 0.94);
  font-family: var(--font);
}

@media (min-width: 640px) {
  .search-box__input {
    font-size: 0.95rem;
  }
}

.search-box__input::placeholder {
  color: rgba(215, 221, 255, 0.5);
}

.search-box__clear {
  color: rgba(215, 221, 255, 0.68);
  transition: color 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.search-box__clear:hover {
  color: rgba(230, 233, 255, 0.94);
}

.subtype-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 640px) {
  .subtype-chips {
    gap: 12px;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid var(--border-accent);
  background: rgba(67, 60, 180, 0.32);
  color: rgba(229, 231, 255, 0.82);
}

.chip:hover {
  background: rgba(99, 102, 241, 0.42);
  transform: translateY(-1px);
}

.chip.is-active {
  background: var(--tab-active-bg);
  color: var(--tab-active-text);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.chip__icon {
  width: 14px;
  height: 14px;
}

@media (min-width: 640px) {
  .chip__icon {
    width: 16px;
    height: 16px;
  }
}

.filters-section__page-size {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(229, 231, 255, 0.84);
  width: 100%;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .filters-section__page-size {
    width: auto;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.875rem;
  }
}

.filters-section__show-label {
  display: none;
}

@media (min-width: 640px) {
  .filters-section__show-label {
    display: inline;
  }
}

.page-size-select {
  background: rgba(19, 20, 48, 0.76);
  border: 1px solid rgba(116, 139, 255, 0.2);
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(229, 231, 255, 0.94);
  outline: none;
  cursor: pointer;
  font-family: var(--font);
}

@media (min-width: 640px) {
  .page-size-select {
    padding: 12px 20px;
    border-radius: 18px;
    font-size: 0.95rem;
  }
}

/* ========== CATEGORY TABS ========== */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 16px;
  border: 1px solid rgba(110, 132, 255, 0.16);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
  touch-action: manipulation;
  background: rgba(16, 17, 41, 0.88);
  color: var(--text-secondary);
}

.tab-btn:hover {
  background: rgba(26, 29, 58, 0.88);
  border-color: rgba(134, 151, 255, 0.42);
}

.tab-btn.is-active {
  background: var(--tab-active-bg);
  color: var(--tab-active-text);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ========== PRODUCT GRID ========== */
.product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .product-grid {
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* Product Card */
.product-card {
  border-radius: 28px;
  background: linear-gradient(135deg, var(--card-from), var(--surface-card));
  border: 1px solid var(--card-border);
  padding: 22px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  animation: cardFadeIn 0.4s ease both;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-hover-border);
  box-shadow: var(--card-hover-shadow);
}

.product-card:active {
  transform: scale(0.95);
}

.product-card__badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff4d4d, #b91c1c);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulseNew 2s infinite;
}

[data-theme="dark"] .product-card__badge-new {
  background: linear-gradient(135deg, #1aa3ff, #005ce6);
  box-shadow: 0 4px 12px rgba(26, 163, 255, 0.4);
  animation: pulseNewDark 2s infinite;
}

@keyframes pulseNew {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

@keyframes pulseNewDark {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 163, 255, 0.6);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(26, 163, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(26, 163, 255, 0);
  }
}

.product-card__hover-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), transparent);
  pointer-events: none;
}

.product-card:hover .product-card__hover-glow {
  opacity: 1;
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(22, 22, 48, 0.72);
}

.product-card__image {
  object-fit: contain;
  height: 100%;
  width: 100%;
  transition: transform 0.5s;
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__info {
  margin-top: 16px;
  position: relative;
  z-index: 10;
}

.product-card__name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--text);
  word-break: break-word;
}

.product-card__subtype {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Skeleton */
.skeleton-card {
  border-radius: 28px;
  background: linear-gradient(135deg, var(--card-from), var(--surface-card));
  border: 1px solid var(--card-border);
  padding: 22px;
}

.skeleton-card__img {
  aspect-ratio: 4/5;
  width: 100%;
  border-radius: 22px;
  background: rgba(22, 22, 48, 0.72);
  animation: shimmer 1.5s infinite;
}

.skeleton-card__text {
  margin-top: 16px;
  height: 20px;
  width: 66%;
  border-radius: 4px;
  background: rgba(22, 22, 48, 0.72);
  animation: shimmer 1.5s infinite 0.2s;
}

/* ========== PAGINATION ========== */
.pagination {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pagination__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(222, 226, 255, 0.8);
}

.pagination__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(102, 121, 255, 0.28);
  background: rgba(18, 18, 42, 0.72);
  color: rgba(229, 231, 255, 0.9);
  transition: background 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font);
}

.pagination__btn:hover {
  background: rgba(26, 29, 58, 0.88);
}

.pagination__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination__pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination__dots {
  padding: 0 8px;
  color: rgba(215, 221, 255, 0.5);
}

.page-btn {
  min-width: 36px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(102, 121, 255, 0.28);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  background: rgba(18, 18, 42, 0.72);
  color: rgba(229, 231, 255, 0.9);
  font-family: var(--font);
}

.page-btn:hover {
  background: rgba(26, 29, 58, 0.88);
}

.page-btn.is-active {
  background: var(--tab-active-bg);
  color: var(--tab-active-text);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.modal__content {
  position: relative;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.12), rgba(13, 12, 31, 0.95));
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 28px;
  padding: 24px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 38px 120px -64px rgba(0, 0, 0, 0.8);
  color: var(--text);
  z-index: 1;
  animation: scaleIn 0.2s ease;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: rgba(215, 221, 255, 0.68);
  transition: color 0.2s;
  background: rgba(18, 18, 42, 0.72);
  border: 1px solid rgba(116, 139, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  color: rgba(230, 233, 255, 0.94);
}

.modal__image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 16px;
  background: rgba(22, 22, 48, 0.72);
}

.modal__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  word-break: break-word;
}

.modal__subtype {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.modal__category {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========== SOCIAL SECTION ========== */
.social-section,
.partner-section,
.faq-section {
  margin-top: 48px;
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(18, 18, 46, 0.92);
  border: 1px solid rgba(220, 38, 38, 0.15);
  box-shadow: 0 32px 96px -64px rgba(220, 38, 38, 0.5);
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {

  .social-section,
  .partner-section,
  .faq-section {
    margin-top: 64px;
    padding: 40px;
    border-radius: 32px;
    gap: 32px;
  }
}

@media (min-width: 768px) {

  .social-section,
  .partner-section,
  .faq-section {
    margin-top: 80px;
    padding: 48px;
    border-radius: 36px;
  }
}

.faq-section {
  margin-bottom: 48px;
  border-color: rgba(126, 144, 255, 0.2);
  box-shadow: 0 32px 96px -64px rgba(92, 104, 255, 0.7);
  padding-bottom: 24px;
}

@media (min-width: 640px) {
  .faq-section {
    margin-bottom: 64px;
    padding-bottom: 48px;
  }
}

@media (min-width: 768px) {
  .faq-section {
    margin-bottom: 80px;
    padding-bottom: 64px;
  }
}

.social-section__glow,
.partner-section__glow,
.faq-section__glow {
  position: absolute;
  inset: -20% 30% auto -20%;
  height: 240px;
  background: radial-gradient(circle, rgba(99, 91, 240, 0.32), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.section-label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(170, 182, 255, 0.7);
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  color: rgba(243, 244, 255, 0.95);
  word-break: break-word;
}

.section-desc {
  margin: 0;
  color: rgba(205, 208, 255, 0.7);
  font-size: 0.98rem;
  word-break: break-word;
}

.social-section__header,
.partner-section__header,
.faq-section__header {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.social-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .social-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
  }
}

@media (min-width: 1024px) {
  .social-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.social-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(14, 15, 36, 0.9);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

@media (min-width: 640px) {
  .social-card {
    padding: 24px;
    border-radius: 24px;
    gap: 10px;
  }
}

.social-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow: 0 28px 92px -68px rgba(220, 38, 38, 0.6);
}

.social-card__hover-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.social-card:hover .social-card__hover-glow {
  opacity: 1;
}

.social-card__hover-glow--instagram {
  background: radial-gradient(circle at top right, rgba(255, 99, 132, 0.35), transparent 60%), radial-gradient(circle at bottom left, rgba(255, 188, 68, 0.28), transparent 65%);
}

.social-card__hover-glow--tiktok {
  background: radial-gradient(circle at top left, rgba(29, 233, 182, 0.32), transparent 65%), radial-gradient(circle at bottom right, rgba(255, 77, 162, 0.28), transparent 60%);
}

.social-card__hover-glow--facebook {
  background: radial-gradient(circle at top right, rgba(93, 132, 255, 0.4), transparent 60%), radial-gradient(circle at bottom left, rgba(33, 72, 255, 0.28), transparent 65%);
}

.social-card__hover-glow--discord {
  background: radial-gradient(circle at top left, rgba(88, 101, 242, 0.34), transparent 65%), radial-gradient(circle at bottom right, rgba(114, 137, 218, 0.28), transparent 70%);
}

.social-card__icon {
  position: relative;
  z-index: 10;
  margin-bottom: 8px;
}

.social-card h3 {
  position: relative;
  z-index: 10;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(240, 241, 255, 0.95);
}

.social-card__user {
  position: relative;
  z-index: 10;
  margin: 0;
  color: rgba(206, 210, 255, 0.75);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.social-card__stats {
  position: relative;
  z-index: 10;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(190, 196, 255, 0.66);
}

/* ========== PARTNER SECTION ========== */
.partner-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (min-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(14, 15, 36, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.2);
  transition: all 0.3s;
}

@media (min-width: 640px) {
  .partner-logo-card {
    padding: 24px;
    border-radius: 24px;
  }
}

.partner-logo-card:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow: 0 28px 92px -68px rgba(220, 38, 38, 0.6);
}

.partner-logo-card img {
  width: 100%;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}

@media (min-width: 640px) {
  .partner-logo-card img {
    max-width: 140px;
  }
}

.partner-logo-card:hover img {
  opacity: 1;
}

/* ========== FAQ SECTION ========== */
.faq-list {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 16px;
  margin-top: 32px;
  max-width: 900px;
}

.faq-item {
  border-radius: 24px;
  border: 1px solid rgba(129, 145, 255, 0.28);
  background: rgba(14, 15, 36, 0.9);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(168, 186, 255, 0.5);
}

.faq-item__question {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
  font-family: var(--font);
}

.faq-item__question:hover {
  background: rgba(20, 22, 48, 0.5);
}

.faq-item__question h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(240, 241, 255, 0.95);
  flex: 1;
  word-break: break-word;
  padding-right: 8px;
}

@media (min-width: 640px) {
  .faq-item__question h3 {
    font-size: 1rem;
  }
}

.faq-item__chevron {
  width: 16px;
  height: 16px;
  color: rgba(200, 205, 255, 0.7);
  transition: transform 0.3s;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .faq-item__chevron {
    width: 20px;
    height: 20px;
  }
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.is-open .faq-item__answer {
  max-height: 300px;
  opacity: 1;
}

.faq-item__answer-inner {
  padding: 0 16px 16px;
  color: rgba(206, 210, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .faq-item__answer-inner {
    padding: 0 24px 24px;
    font-size: 0.92rem;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.5;
  }
}

/* ========== MOBILE TOUCH ========== */
@media (max-width: 768px) {

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  p,
  span,
  div {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}