@import url("https://fonts.googleapis.com/css2?family=Clash+Display:wght@500;600;700&family=General+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600&family=Syne:wght@500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg-primary: #050609;
  --bg-secondary: rgba(12, 14, 19, 0.9);
  --bg-card: #11131a;
  --text-primary: #f5f7ff;
  --text-secondary: rgba(245, 247, 255, 0.65);
  --accent: #ff784d;
  --accent-soft: rgba(255, 120, 77, 0.2);
  --stroke: rgba(245, 247, 255, 0.1);
  --shadow: 0 18px 45px rgba(5, 6, 9, 0.65);
  --blur: blur(16px);
  --font-heading: "Clash Display", "Space Grotesk", sans-serif;
  --font-body: "General Sans", "Inter", system-ui, sans-serif;
  --glow-1: rgba(255, 120, 77, 0.35);
  --glow-2: rgba(86, 233, 255, 0.22);
  --scroll-track: rgba(255, 255, 255, 0.03);
  --scroll-thumb: linear-gradient(120deg, #ff5d1d, #ff9038);
}

.font-flare {
  font-family: "Clash Display", "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.font-glyph {
  font-family: "Syne", "Clash Display", sans-serif;
  letter-spacing: 0.08em;
}

.font-groove {
  font-family: "Space Grotesk", "General Sans", sans-serif;
  letter-spacing: 0.06em;
}

.font-spark {
  font-family: "General Sans", "Space Grotesk", sans-serif;
  letter-spacing: 0.05em;
}

.text-ember {
  color: #ff7a3c;
  text-shadow: 0 4px 16px rgba(255, 120, 60, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #ff6a24 var(--scroll-track);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at 15% 25%, rgba(255, 110, 45, 0.12), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(255, 140, 70, 0.08), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(255, 95, 35, 0.1), transparent 55%),
    linear-gradient(180deg, #050507 0%, #030304 60%, #000000 100%);
  color: var(--text-primary);
  min-height: 100vh;
  padding: 1.5rem 1rem 2.5rem;
  transition: background 0.4s ease, color 0.4s ease;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

body.cart-open {
  overflow: hidden;
}
body.modal-open {
  overflow: hidden;
}

body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 2px solid rgba(5, 6, 9, 0.85);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.35);
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(120deg, #ff7a24, #ffb347);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: -2;
  opacity: 1;
}

 .interactive-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  --pointer-x: 50%;
  --pointer-y: 50%;
}

.interactive-bg span {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  transform: translate(calc(var(--pointer-x) - 50%), calc(var(--pointer-y) - 50%));
  transition: transform 0.6s ease-out;
  mix-blend-mode: screen;
}

.interactive-bg span:nth-child(1) {
  background: rgba(255, 80, 30, 0.45);
  animation: pulse 12s ease-in-out infinite;
}

.interactive-bg span:nth-child(2) {
  background: rgba(86, 233, 255, 0.35);
  animation: pulse 14s ease-in-out infinite reverse;
}

.interactive-bg span:nth-child(3) {
  background: rgba(120, 84, 255, 0.3);
  animation: pulse 16s linear infinite;
}

main {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.top-nav {
  position: sticky;
  top: 0.75rem;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.15rem;
  border-radius: 16px;
  background: var(--bg-secondary);
  backdrop-filter: var(--blur);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  transition: padding 0.3s ease, border-radius 0.3s ease, transform 0.3s ease, background 0.4s ease, width 0.3s ease;
  overflow: visible;
  width: min(1180px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto 0.65rem;
  box-sizing: border-box;
}

.top-nav.shrink {
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  transform: translateY(-4px) scale(0.98);
  width: min(900px, calc(100% - 2rem));
}

.top-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 95, 47, 0.25), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.top-nav:hover::after,
.top-nav.shrink::after {
  opacity: 1;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-card);
  padding: 0.35rem;
  box-shadow: 0 12px 30px rgba(255, 77, 26, 0.35);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand strong {
  font-size: 1.25rem;
  text-transform: uppercase;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.nav-brand-text span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
}
.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.filter-control {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.filter-control label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-control .price-value {
  font-size: 0.95rem;
  color: #ff632c;
  font-weight: 700;
}

.filter-control input[type="search"],
.filter-control input[type="text"] {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  appearance: none;
  background-image: none;
  transition: all 0.2s ease;
  width: 100%;
}

.filter-control input[type="search"]:focus,
.filter-control input[type="text"]:focus {
  outline: none;
  border-color: rgba(255, 99, 44, 0.4);
  background: rgba(255, 99, 44, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 99, 44, 0.1);
}

.filter-control input[type="search"]::placeholder,
.filter-control input[type="text"]::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.filter-control select {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
    linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.filter-control select:focus,
.filter-control input:focus {
  outline: none;
  border-color: var(--accent);
}

.filter-control.slider input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  cursor: pointer;
}

.filter-control.slider input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 99, 44, 0.2) 0%, rgba(255, 99, 44, 0.4) 100%);
  border: 1px solid rgba(255, 99, 44, 0.2);
}

.filter-control.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff632c 0%, #ff8b45 100%);
  border: 3px solid var(--bg-card);
  margin-top: -7px;
  cursor: grab;
  box-shadow: 0 4px 12px rgba(255, 99, 44, 0.4);
  transition: all 0.2s ease;
}

.filter-control.slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(255, 99, 44, 0.6);
}

.filter-control.slider input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.05);
}

.filter-control.slider input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 99, 44, 0.2) 0%, rgba(255, 99, 44, 0.4) 100%);
  border: 1px solid rgba(255, 99, 44, 0.2);
}

.filter-control.slider input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff632c 0%, #ff8b45 100%);
  border: 3px solid var(--bg-card);
  cursor: grab;
  box-shadow: 0 4px 12px rgba(255, 99, 44, 0.4);
  transition: all 0.2s ease;
}

.price-value {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.category-chip {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-chip:hover {
  background: rgba(255, 99, 44, 0.1);
  border-color: rgba(255, 99, 44, 0.3);
  color: var(--text-primary);
}

.category-chip.active {
  background: linear-gradient(135deg, rgba(255, 99, 44, 0.2), rgba(255, 139, 69, 0.15));
  border-color: rgba(255, 99, 44, 0.4);
  color: #ff8b45;
  box-shadow: 0 2px 8px rgba(255, 99, 44, 0.2);
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 0.3rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 65%);
  opacity: 0;
  transform: translateX(-35%) skewX(-10deg);
  transition: opacity 0.3s ease, transform 0.4s ease;
  pointer-events: none;
}

.nav-link.active {
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px var(--stroke);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: 0.6;
  transform: translateX(45%) skewX(-10deg);
}

.nav-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.nav-auth-cta {
  display: flex;
  gap: 0.5rem;
}

.nav-auth-cta[hidden] {
  display: none;
}

.nav-account {
  position: relative;
  width: 200px;
}

.nav-account[hidden] {
  display: none;
}

.nav-account__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(17, 19, 26, 0.95), rgba(11, 13, 18, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.nav-account__trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 120, 60, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-account__trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.08) 50%, transparent 75%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  will-change: transform;
}

.nav-account__trigger:hover,
.nav-account__trigger:focus-visible {
  border-color: rgba(255, 120, 60, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 120, 60, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-account__trigger:hover::before {
  opacity: 1;
}

.nav-account__trigger:hover::after {
  transform: translateX(100%);
}

.nav-account.is-open .nav-account__trigger {
  border-color: rgba(255, 120, 60, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 120, 60, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-account.is-open .nav-account__trigger::before {
  opacity: 1;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.nav-account__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08),
              0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.nav-account__trigger:hover .nav-account__avatar {
  transform: scale(1.05) rotate(3deg);
  box-shadow: inset 0 0 0 1px rgba(255, 120, 60, 0.3),
              0 4px 16px rgba(255, 120, 60, 0.3);
}

.nav-account.is-open .nav-account__avatar {
  animation: avatarPulse 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes avatarPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.nav-account__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-account__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.nav-account__meta strong {
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.nav-account__meta span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.nav-account__trigger:hover .nav-account__meta strong {
  color: rgba(255, 150, 100, 1);
}

.nav-account__trigger:hover .nav-account__meta span {
  color: rgba(255, 200, 150, 0.8);
}

.nav-account__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  position: relative;
  z-index: 1;
  will-change: transform;
}

.nav-account__trigger:hover .nav-account__chevron {
  border-color: rgba(255, 120, 60, 0.9);
}

.nav-account.is-open .nav-account__chevron {
  transform: rotate(-135deg);
  border-color: rgba(255, 120, 60, 0.9);
  animation: chevronBounce 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chevronBounce {
  0%, 100% {
    transform: rotate(-135deg) scale(1);
  }
  50% {
    transform: rotate(-135deg) scale(1.15);
  }
}

.nav-account__dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.75rem);
  background: linear-gradient(135deg, rgba(18, 18, 24, 0.98), rgba(12, 12, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.45rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255, 120, 60, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  display: none;
  z-index: 30;
  overflow: hidden;
  contain: layout style paint;
}

.nav-account__dropdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 120, 60, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-account__dropdown::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 120, 60, 0.6), transparent);
  filter: blur(4px);
  opacity: 0;
  animation: topGlow 0.6s ease-out forwards;
}

.nav-account.is-open .nav-account__dropdown::before {
  opacity: 1;
}

.nav-account.is-open .nav-account__dropdown::after {
  animation: topGlow 0.6s ease-out forwards;
}

@keyframes topGlow {
  0% {
    opacity: 0;
    width: 20%;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
    width: 70%;
  }
}

.nav-account.is-open .nav-account__dropdown {
  display: block;
  animation: dropdownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-account__dropdown a,
.nav-account__dropdown button {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nav-account.is-open .nav-account__dropdown a,
.nav-account.is-open .nav-account__dropdown button {
  animation: menuItemSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

.nav-account.is-open .nav-account__dropdown a:nth-child(1),
.nav-account.is-open .nav-account__dropdown button:nth-child(1) {
  animation-delay: 0.05s;
}

.nav-account.is-open .nav-account__dropdown a:nth-child(2),
.nav-account.is-open .nav-account__dropdown button:nth-child(2) {
  animation-delay: 0.1s;
}

.nav-account.is-open .nav-account__dropdown a:nth-child(3),
.nav-account.is-open .nav-account__dropdown button:nth-child(3) {
  animation-delay: 0.15s;
}

.nav-account.is-open .nav-account__dropdown a:nth-child(4),
.nav-account.is-open .nav-account__dropdown button:nth-child(4) {
  animation-delay: 0.2s;
}

@keyframes menuItemSlideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-account__dropdown a::before,
.nav-account__dropdown button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #ff8c46, #ff6824);
  border-radius: 0 2px 2px 0;
  transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: height;
}

.nav-account__dropdown a::after,
.nav-account__dropdown button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 120, 60, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: opacity;
}

.nav-account__dropdown a:hover,
.nav-account__dropdown a:focus-visible,
.nav-account__dropdown button:hover,
.nav-account__dropdown button:focus-visible {
  background: rgba(255, 120, 60, 0.08);
  transform: translateX(4px);
  padding-left: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(255, 120, 60, 0.2);
}

.nav-account__dropdown a:hover::before,
.nav-account__dropdown button:hover::before {
  height: 70%;
}

.nav-account__dropdown a:hover::after,
.nav-account__dropdown button:hover::after {
  opacity: 1;
}

.nav-account__dropdown button[data-account-action="logout"] {
  color: #ff5c5c;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.95rem;
}

.nav-account__dropdown button[data-account-action="logout"]:hover {
  background: rgba(255, 92, 92, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 92, 0.25);
}

.nav-account__dropdown button[data-account-action="logout"]::before {
  background: linear-gradient(180deg, #ff5c5c, #ff3030);
}

.section {
  padding: 1.35rem;
  border-radius: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--stroke);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-heading.compact {
  margin-bottom: 0.85rem;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.text-secondary {
  color: var(--text-secondary);
}

h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.hero-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 77, 26, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 26, 0.35);
}

.hero-card:hover::before {
  opacity: 1;
}

.hero-card strong {
  font-size: 2.5rem;
}

.cta-row {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 0.95rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.3s ease, color 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -45% 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.4) 50%, transparent 75%);
  opacity: 0;
  transform: translateX(-120%) skewX(-10deg);
  transition: transform 0.45s ease, opacity 0.45s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.btn:hover::after,
.btn:focus-visible::after {
  opacity: 0.65;
  transform: translateX(120%) skewX(-10deg);
}

.btn-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4d1a, #ff784d);
  color: #fff;
  box-shadow: 0 12px 25px rgba(255, 77, 26, 0.35);
  background-size: 200% 100%;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--text-primary);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 120, 60, 0.35), 0 14px 28px rgba(0, 0, 0, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-position: 100% 0;
  box-shadow: 0 18px 35px rgba(255, 77, 26, 0.45);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 1.25rem;
  border: 1px solid var(--stroke);
}

.stat-card strong {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.4rem;
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px);
  gap: 1.35rem;
  align-items: stretch;
}

.hero-title h1 {
  margin-bottom: 0.5rem;
}

.hero-title--stack h1 span {
  display: block;
  line-height: 1.05;
}

.hero-title--stack h1 .font-glyph {
  white-space: nowrap;
}

.hero-title--stack .text-ember {
  display: inline;
}

.hero-copy--stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
}

.hero-copy--stack span {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-copy--stack span:last-child {
  background: rgba(255, 118, 60, 0.12);
}

.metrics-inline {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.metrics-inline div {
  flex: 1;
  min-width: 120px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metrics-inline strong {
  font-size: 1.4rem;
  font-family: var(--font-heading);
}

.metrics-inline span {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-visual {
  position: relative;
  min-height: 380px;
  aspect-ratio: 3 / 4;
  width: min(320px, 100%);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 20% 20%, rgba(255, 120, 77, 0.35), rgba(10, 12, 20, 0.95));
  overflow: hidden;
  justify-self: center;
}

.hero-visual canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-visual-overlay {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(5, 6, 9, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-visual-overlay span {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hero-visual-overlay strong {
  font-size: 1rem;
  color: #fff;
}

.cta-row.tight {
  gap: 1.35rem;
}

.hero-content .cta-row {
  margin-top: 0.75rem;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.ai-chat-shell {
  margin-top: 1.5rem;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--text-primary);
  align-self: flex-start;
}

.chat-input {
  display: flex;
  gap: 0.75rem;
}

.chat-input input {
  flex: 1;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  padding: 0.9rem 1rem;
  background: transparent;
  color: var(--text-primary);
}

.chat-input button {
  border-radius: 14px;
  border: none;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 0 1.5rem;
  font-weight: 600;
  cursor: pointer;
}

.catalog-shell {
  display: grid;
  grid-template-columns: clamp(230px, 28%, 280px) 1fr;
  gap: 1.25rem;
  align-items: flex-start;
}

.filters-toggle {
  display: none;
}

.filters-panel {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--stroke);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 280px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .filters-panel {
    position: static;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  cursor: pointer;
}

.dropdown-caret {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.dropdown-menu.open {
  display: flex;
}

.dropdown-menu button {
  border: none;
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  font-family: var(--font-body);
  cursor: pointer;
}

.dropdown-menu button:hover,
.dropdown-menu button:focus {
  background: var(--accent-soft);
}

.filters-panel .filters-grid {
  grid-template-columns: 1fr;
}

.filters-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.budget-inputs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.budget-inputs input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.budget-inputs input::-webkit-inner-spin-button,
.budget-inputs input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.budget-inputs input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.budget-inputs input:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.budget-inputs input:focus {
  outline: none;
  border-color: rgba(255, 99, 44, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 99, 44, 0.1);
}

.budget-separator {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
  flex-shrink: 0;
}

.btn-xs {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all 0.2s ease;
  cursor: pointer;
  font-weight: 500;
}

.btn-xs:hover {
  background: rgba(255, 99, 44, 0.15);
  border-color: rgba(255, 99, 44, 0.3);
  color: #ff632c;
  transform: translateY(-1px);
}

.catalog-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.catalog-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.catalog-headline span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.products-grid {
  margin-top: 0.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.products-grid.dense {
  gap: 1rem;
}

.product-card {
  background: linear-gradient(170deg, rgba(15, 10, 11, 0.96), rgba(9, 8, 12, 0.92));
  border-radius: 24px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 120, 60, 0.15);
  min-height: 340px;
}

.product-card--compact {
  padding: 1rem;
  min-height: 240px;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.product-card--featured {
  min-height: 320px;
  padding: 1.35rem;
  scroll-snap-align: start;
}

.product-card--featured .product-visual {
  height: 200px;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 120, 60, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255, 120, 60, 0.3);
}

.product-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ff7a3c;
  text-shadow: 0 2px 8px rgba(255, 120, 60, 0.5);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  line-height: 1;
}

.product-visual {
  height: 180px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 145, 82, 0.35), rgba(11, 9, 14, 0.95));
  overflow: hidden;
  margin: 0;
  position: relative;
  flex-shrink: 0;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.18), transparent 45%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.05);
}

.product-content {
  padding: 1rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: space-between;
}

.product-content .eyebrow {
  font-size: 0.75rem;
  color: rgba(255, 139, 69, 0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.product-content h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stock-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
}

.stock-badge.stock-infinite {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: rgb(196, 181, 253);
}

.stock-badge.stock-available {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.15));
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: rgb(134, 239, 172);
}

.product-btn {
  border: none;
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #ff4d1a 0%, #ff6633 50%, #ff8855 100%);
  background-size: 200% 200%;
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(255, 77, 26, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: productBtnFlow 5.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  width: 100%;
  text-align: center;
}

.product-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.product-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 38px rgba(255, 77, 26, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background-position: 100% 50%;
}

.product-btn:hover::before {
  opacity: 1;
}

.product-btn:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 0 6px 16px rgba(255, 120, 60, 0.4);
}

@keyframes productBtnFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 20;
}

.modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  width: min(960px, 100%);
  background: var(--bg-secondary);
  border-radius: 28px;
  border: 1px solid var(--stroke);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  overflow: hidden;
}

.modal-visual {
  background: radial-gradient(circle at 35% 25%, rgba(255, 120, 77, 0.35), rgba(5, 6, 10, 0.95) 65%);
  display: grid;
  place-items: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.modal-visual::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(255, 105, 52, 0.35), transparent 60%),
    radial-gradient(circle at 65% 25%, rgba(120, 84, 255, 0.2), transparent 55%);
  filter: blur(85px);
  opacity: 0.7;
  animation: modalAura 16s ease-in-out infinite alternate;
  z-index: -2;
}

.modal-visual::after {
  content: "";
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.08), transparent 55%);
  filter: blur(25px);
  opacity: 0.65;
  animation: modalSheen 26s linear infinite;
  z-index: -1;
}

.modal-visual img {
  width: 78%;
  max-width: 280px;
  z-index: 1;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.5));
  animation: modalFloat 10s ease-in-out infinite;
  transform-origin: center;
}

.modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-body header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 0;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.modal-close::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 65%);
  opacity: 0;
  transform: translateX(-35%) skewX(-10deg);
  transition: opacity 0.3s ease, transform 0.4s ease;
  pointer-events: none;
}

.modal-close:hover {
  background: rgba(255, 99, 44, 0.15);
  border-color: rgba(255, 99, 44, 0.4);
  color: #ff632c;
  transform: translateY(-2px);
}

.modal-close:hover::after {
  opacity: 0.6;
  transform: translateX(45%) skewX(-10deg);
}

.modal-cta {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modal-cta .product-price {
  font-size: 1.6rem;
}

.empty-catalog-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 24px;
  border: 1px dashed var(--stroke);
  animation: fadeIn 0.6s ease;
}

.empty-catalog-state svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  opacity: 0.6;
  filter: drop-shadow(0 0 15px rgba(255, 120, 60, 0.3));
}

.empty-catalog-state h3 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.empty-catalog-state p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

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

.cart-panel {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  background: transparent;
  pointer-events: none;
  z-index: 18;
  transition: background 0.25s ease;
}

.cart-panel.is-open {
  pointer-events: auto;
  background: rgba(5, 6, 10, 0.7);
}

.cart-panel__sheet {
  width: min(420px, 100%);
  height: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateX(120%);
  transition: transform 0.35s ease;
}

.cart-panel.is-open .cart-panel__sheet {
  transform: translateX(0);
}

.cart-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cart-panel__title span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cart-panel__title h3 {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
}

.cart-panel__close {
  border: none;
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 0.35rem 0.65rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--stroke);
}

.cart-panel__body {
  flex: 1;
  border-radius: 20px;
  border: 1px dashed var(--stroke);
  padding: 0.75rem;
  overflow-y: auto;
  max-height: calc(100vh - 320px);
}

.cart-panel__body:has(.cart-panel__empty) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cart-panel__empty {
  text-align: center;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-panel__empty span {
  font-size: 2rem;
}

.cart-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  transition: all 0.2s ease;
}

.cart-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 99, 44, 0.3);
}

.cart-item:last-child {
  margin-bottom: 0;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.cart-item__info strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.cart-item__info span {
  color: #ff8b45;
  font-size: 1.05rem;
  font-weight: 700;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 99, 44, 0.3);
  background: rgba(255, 99, 44, 0.1);
  color: #ff8b45;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}

.cart-qty-btn:hover {
  background: rgba(255, 99, 44, 0.2);
  border-color: rgba(255, 99, 44, 0.5);
  transform: scale(1.1);
}

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

.cart-qty {
  min-width: 40px;
  max-width: 60px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  border: 1px solid rgba(255, 99, 44, 0.25);
  background: rgba(255, 99, 44, 0.08);
  border-radius: 8px;
  padding: 0.35rem 0.4rem;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.cart-qty::-webkit-inner-spin-button,
.cart-qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-qty[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.cart-qty:hover {
  border-color: rgba(255, 99, 44, 0.4);
  background: rgba(255, 99, 44, 0.12);
}

.cart-qty:focus {
  outline: none;
  border-color: #ff632c;
  background: rgba(255, 99, 44, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 99, 44, 0.1);
}

.cart-item__remove {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
  margin-left: 0.2rem;
}

.cart-item__remove:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: rgb(252, 165, 165);
  transform: scale(1.1);
}

.cart-notification {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  background: rgba(26, 31, 46, 0.98);
  color: #ffffff;
  padding: 0.95rem 1.5rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  z-index: 10000;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(16px);
  max-width: 420px;
}

.notification-icon {
  width: 20px;
  height: 20px;
  color: #ff8b45;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 139, 69, 0.4));
}

.notification-text {
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.cart-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .cart-notification {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: calc(100% - 2rem);
    transform: translateY(-120px);
    font-size: 0.85rem;
    padding: 0.9rem 1.25rem;
    gap: 0.65rem;
  }
  
  .cart-notification.show {
    transform: translateY(0);
  }
  
  .notification-icon {
    width: 18px;
    height: 18px;
  }
}

.cart-panel__promo {
  padding: 0.85rem 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.promo-field {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.promo-field input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 99, 44, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.promo-field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.promo-field input:focus {
  outline: none;
  border-color: rgba(255, 99, 44, 0.5);
  background: rgba(255, 99, 44, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 99, 44, 0.1);
}

.promo-field .btn {
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

.promo-message {
  margin-top: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.promo-message[data-status="success"] {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: rgb(74, 222, 128);
}

.promo-message[data-status="error"] {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: rgb(252, 165, 165);
}

.cart-panel__footer {
  border-top: 1px solid var(--stroke);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-panel__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
}

.cart-panel__actions .btn {
  width: 100%;
}

.cart-fab {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(130deg, rgba(20, 12, 10, 0.95), rgba(10, 9, 14, 0.92));
  color: #fff;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  z-index: 15;
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cart-fab:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 120, 60, 0.45);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cart-fab__icon {
  font-size: 1.4rem;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(255, 120, 60, 0.35));
}

.cart-fab__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.cart-fab__text strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.cart-fab__text small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.loader-shell {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 120, 60, 0.15), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(255, 120, 45, 0.12), transparent 45%), #030305;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  z-index: 999;
  transition: opacity 0.6s ease, transform 0.6s ease;
  overflow: visible;
}

.loader-shell.is-hide {
  opacity: 0;
  pointer-events: none;
}

.loader-canvas {
  width: clamp(220px, 40vw, 420px);
  height: clamp(220px, 40vw, 420px);
  overflow: visible;
}

.loader-progress {
  width: clamp(360px, 60vw, 640px);
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.loader-progress.is-active {
  opacity: 1;
}

.loader-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(120deg, #ff6328, #ff9252);
  box-shadow: 0 8px 20px rgba(255, 110, 50, 0.35);
  transition: width 0.25s ease;
}

.loader-swipe {
  position: fixed;
  z-index: 998;
  pointer-events: none;
  inset: 0;
  transform: translateX(-105%);
  background: linear-gradient(110deg, #ff7c3d, #ff4b1c);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-shell.is-swiping .loader-swipe {
  transform: translateX(0);
}

.loader-shell.is-swiping {
  transition-delay: 0s;
}

@media (max-width: 640px) {
  .cart-fab {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 2.5rem);
    justify-content: center;
  }

  .cart-fab:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}

body[data-page="auth"] {
  min-height: 100vh;
  padding: 1.5rem;
}

.auth-main {
  max-width: 1100px;
  margin: 2rem auto;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(320px, 1fr);
  gap: 1.5rem;
}

.auth-side {
  background: linear-gradient(160deg, rgba(255, 118, 60, 0.2), rgba(12, 14, 20, 0.95));
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55);
}

.auth-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-side li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.auth-side li::before {
  content: "•";
  color: #ff8b45;
  font-size: 1.4rem;
}

.auth-panel {
  background: var(--bg-secondary);
  border-radius: 28px;
  border: 1px solid var(--stroke);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45);
}

.mode-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  gap: 0.4rem;
}

.mode-toggle button {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.mode-toggle button.active {
  background: linear-gradient(120deg, #ff632c, #ff8d4e);
  color: #0f0805;
  box-shadow: 0 10px 25px rgba(255, 118, 60, 0.35);
}

.auth-progress {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-flow {
  position: relative;
  min-height: 320px;
}

.auth-step {
  display: none;
  flex-direction: column;
  gap: 0.9rem;
}

.auth-step.is-active {
  display: flex;
  animation: fadeSlide 0.35s ease;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.auth-field label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.auth-field input {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-size: 1rem;
}

.auth-hint {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.auth-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.code-input {
  letter-spacing: 0.4em;
  text-align: center;
  font-size: 1.2rem;
}

.auth-step--success {
  align-items: flex-start;
}

.auth-step--success h3 {
  margin: 0;
}

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

.auth-side,
.auth-panel {
  backdrop-filter: blur(18px);
}

.auth-flow form button[type="submit"] {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
}

.auth-side strong,
.auth-panel strong {
  font-family: var(--font-heading);
}

/* Auth refresh */
body[data-page="auth"] {
  min-height: 100vh;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow: hidden;
  position: relative;
  z-index: 0;
}

body[data-page="auth"]::before,
body[data-page="auth"]::after {
  /* Allow global pattern to show */
  /* display: none; */ 
}

.auth-stage {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(24px, 40px) minmax(360px, 0.9fr);
  column-gap: clamp(1.5rem, 3vw, 2rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.25rem, 2vw, 2rem) clamp(1rem, 2vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.auth-panel {
  background: rgba(7, 9, 15, 0.92);
  border-radius: 28px;
  border: 1px solid var(--stroke);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.auth-panel::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle at 50% 100%, rgba(255, 115, 45, 0.32), transparent 70%);
  opacity: 0.25;
  filter: blur(60px);
  z-index: -1;
}

.auth-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-primary);
  background: rgba(7, 9, 14, 0.92);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.auth-info::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: radial-gradient(circle at 40% 35%, rgba(255, 120, 45, 0.25), transparent 60%);
  opacity: 0.45;
  filter: blur(55px);
  z-index: 0;
}

.auth-info > * {
  position: relative;
  z-index: 1;
}

.auth-divider {
  width: 2px;
  height: 78%;
  justify-self: center;
  background: linear-gradient(180deg, rgba(255, 120, 45, 0), rgba(255, 120, 45, 0.55), rgba(255, 120, 45, 0));
  border-radius: 999px;
  box-shadow: 0 0 25px rgba(255, 120, 45, 0.35);
  pointer-events: none;
}

.auth-info h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
  background: linear-gradient(120deg, #ff8a3c 0%, #ff5d1f 45%, #ffb98a 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.auth-lede {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.6;
}

.auth-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.auth-metrics article {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  background: rgba(7, 9, 15, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.auth-metrics article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 120, 60, 0.35);
}

.auth-metrics span {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.auth-metrics strong {
  font-size: 1.8rem;
  color: #fff;
}

.auth-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.auth-tags span {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.25s ease, color 0.25s ease;
  backdrop-filter: blur(8px);
}

.auth-tags span:nth-child(2n) {
  border-color: rgba(255, 120, 60, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

.auth-tags span:hover {
  border-color: rgba(255, 120, 60, 0.65);
  color: #fff;
}

/* Support page */
body[data-page="support"] {
  color: var(--text-primary);
  position: relative;
}

body[data-page="support"] .interactive-bg {
  display: none;
}

body[data-page="support"]::before,
body[data-page="support"]::after {
  /* Allow global pattern to show */
  /* display: none; */
}

.support-main {
  width: min(1600px, 95%);
  margin: clamp(2rem, 4vw, 3rem) auto 4rem;
  padding: 0 clamp(1rem, 2vw, 2rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 3rem);
  position: relative;
  z-index: 2;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2rem, 3vw, 2.8rem);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 15, 0.95);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.6);
}

.support-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
}

.support-hero p:first-child {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.support-hero h1 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
  color: #ff8441;
}

.support-hero__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.support-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
  padding: clamp(1.5rem, 2vw, 2rem);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 17, 25, 0.9);
}

.support-hero__stats div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.support-hero__stats strong {
  font-size: 1.8rem;
}

.support-main .support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.support-card {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(1.5rem, 2vw, 2.2rem);
  background: rgba(8, 10, 16, 0.92);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.support-card__icon svg {
  width: 32px;
  height: 32px;
  color: #ff8441;
}

.support-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.support-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.7);
}

.support-card ul li::before {
  content: "•";
  margin-right: 0.35rem;
  color: #ff8441;
}

.support-columns {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.support-timeline {
  border-radius: 32px;
  padding: clamp(1.5rem, 2vw, 2.3rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 14, 0.92);
}

.support-timeline ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.support-timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.support-timeline li span {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  color: #ff8441;
}

.support-form {
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 12, 0.95);
  padding: clamp(1.5rem, 2vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.55);
}

.support-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.support-form input,
.support-form select,
.support-form textarea {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem 1rem;
  color: inherit;
  font-size: 1rem;
  font-family: inherit;
}

.support-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Custom Select Dropdown */
.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.select-trigger::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}

.custom-select.open .select-trigger {
  border-color: #ff8b45;
  background: rgba(255, 255, 255, 0.05);
}

.custom-select.open .select-trigger::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: #ff8b45;
}

.select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #0f1116;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-select.open .select-options {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.select-option {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.select-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.select-option.selected {
  background: linear-gradient(135deg, rgba(255, 99, 44, 0.15), rgba(255, 139, 69, 0.1));
  color: #ff8b45;
  font-weight: 600;
}

.support-form__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Global Utilities */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.support-form__hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
}

@media (max-width: 940px) {
  .support-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .support-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .support-main {
    padding: 1.25rem 1rem 2rem;
  }

  .support-hero {
    padding: 1.75rem 1.5rem;
    border-radius: 28px;
  }

  .support-hero h1 {
    font-size: 2rem;
  }

  .support-hero p {
    font-size: 0.95rem;
  }

  .support-hero__actions {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .support-hero__actions .btn {
    width: 100%;
  }

  .support-hero__stats {
    padding: 1.25rem;
    border-radius: 24px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.65rem;
  }

  .support-hero__stats strong {
    font-size: 1.5rem;
  }

  .support-hero__stats span {
    font-size: 0.8rem;
  }

  .support-main .support-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .support-card {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .support-card__icon {
    width: 56px;
    height: 56px;
  }

  .support-card__icon svg {
    width: 28px;
    height: 28px;
  }

  .support-card h3 {
    font-size: 1.2rem;
  }

  .support-card p {
    font-size: 0.9rem;
  }

  .support-form__actions {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .support-hero__actions {
    flex-direction: column;
  }
  .support-form__actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .support-main {
    padding: 1rem 0.75rem 1.5rem;
  }

  .support-hero {
    padding: 1.5rem 1.25rem;
    border-radius: 24px;
  }

  .support-hero h1 {
    font-size: 1.75rem;
  }

  .support-hero p:first-child {
    font-size: 0.75rem;
  }

  .support-hero__stats {
    padding: 1rem;
    grid-template-columns: 1fr;
  }

  .support-hero__stats strong {
    font-size: 1.35rem;
  }

  .support-card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .support-card__icon {
    width: 48px;
    height: 48px;
  }

  .support-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .support-card h3 {
    font-size: 1.1rem;
  }

  .support-card .btn {
    width: 100%;
  }
}

.auth-panel__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-panel__brand img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.auth-panel__brand h1 {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-tabs button {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.auth-tabs button.active {
  background: linear-gradient(120deg, #ff6328, #ff8852);
  color: #050505;
  box-shadow: 0 15px 30px rgba(255, 118, 60, 0.4);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.auth-form.is-active {
  display: flex;
  animation: fadeSlide 0.35s ease;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.52);
}

.auth-field input {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-field input:focus {
  border-color: rgba(255, 120, 60, 0.65);
  box-shadow: 0 0 0 2px rgba(255, 120, 60, 0.2);
  outline: none;
}

.auth-field--password .auth-field__input {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-field--password input {
  width: 100%;
  padding-right: 3.1rem;
}

.auth-password-toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.auth-form {
  gap: 1.2rem;
}

.auth-form + .auth-form {
  margin-top: 0.5rem;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.auth-checkbox input {
  width: 18px;
  height: 18px;
  border-radius: 0.4rem;
  accent-color: #ff7a3c;
}

.auth-link {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.auth-link:hover,
.auth-link:focus-visible {
  color: #fff;
}

.auth-captcha-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 4, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.auth-captcha-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-captcha-modal__panel {
  width: min(440px, 100%);
  background: linear-gradient(160deg, rgba(18, 18, 24, 0.98), rgba(8, 8, 12, 0.98));
  border: 2px solid rgba(255, 99, 44, 0.3);
  border-radius: 24px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 50px 120px rgba(255, 99, 44, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(24px);
}

.auth-captcha-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.auth-captcha-modal__close:hover,
.auth-captcha-modal__close:focus-visible {
  background: rgba(255, 99, 44, 0.2);
  border-color: rgba(255, 99, 44, 0.4);
  color: #ff632c;
  transform: rotate(90deg);
}

.auth-form.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.auth-feedback {
  border-radius: 16px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
}

.auth-feedback[data-tone="success"] {
  border-color: rgba(53, 253, 160, 0.5);
  background: rgba(53, 253, 160, 0.08);
  color: #a7ffd9;
}

.auth-feedback[data-tone="error"] {
  border-color: rgba(255, 104, 76, 0.55);
  background: rgba(255, 104, 76, 0.08);
  color: #ffb4a4;
}

.auth-feedback[data-tone="info"] {
  border-color: rgba(255, 166, 82, 0.55);
  background: rgba(255, 166, 82, 0.08);
  color: #ffd9b3;
}

.captcha-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.captcha-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 99, 44, 0.25), rgba(255, 139, 69, 0.15));
  border-radius: 18px;
  border: 2px solid rgba(255, 99, 44, 0.4);
  box-shadow: 0 8px 24px rgba(255, 99, 44, 0.3);
  margin: 0 auto 0.85rem;
}

.captcha-icon svg {
  width: 32px;
  height: 32px;
  color: #ff8b45;
}

.captcha-header .eyebrow {
  margin-bottom: 0.4rem;
  color: #ff8b45;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.captcha-header h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.captcha-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

.auth-captcha {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.auth-captcha__media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  border: 2px solid rgba(255, 99, 44, 0.25);
}

.auth-captcha__image {
  width: 100%;
  max-width: 260px;
  height: auto;
  min-height: 85px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #000;
  object-fit: contain;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.auth-captcha__controls {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.auth-captcha__input {
  flex: 1;
  border-radius: 12px;
  border: 2px solid rgba(255, 99, 44, 0.35);
  padding: 0.95rem 1.25rem;
  background: rgba(255, 99, 44, 0.08);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-captcha__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.15em;
  font-weight: 600;
}

.auth-captcha__input:focus {
  border-color: rgba(255, 99, 44, 0.7);
  background: rgba(255, 99, 44, 0.12);
  box-shadow: 0 0 0 3px rgba(255, 99, 44, 0.15), 0 8px 24px rgba(255, 99, 44, 0.25);
  outline: none;
  transform: translateY(-1px);
}

.auth-captcha__refresh {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 2px solid rgba(255, 99, 44, 0.35);
  background: rgba(255, 99, 44, 0.12);
  color: #ff8b45;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.auth-captcha__refresh::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.auth-captcha__refresh:hover,
.auth-captcha__refresh:focus-visible {
  background: rgba(255, 99, 44, 0.22);
  border-color: rgba(255, 99, 44, 0.6);
  color: #ff632c;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 99, 44, 0.4);
}

.auth-captcha__refresh:hover::before {
  opacity: 1;
}

.auth-captcha__refresh:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(255, 99, 44, 0.3);
}

.auth-captcha__refresh svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}

.auth-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0;
}

.auth-modal-actions .btn {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-modal-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.auth-modal-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.auth-modal-actions .btn-primary {
  background: linear-gradient(135deg, #ff632c 0%, #ff8b45 100%);
  border: none;
  box-shadow: 0 8px 24px rgba(255, 99, 44, 0.45);
  color: #fff;
  font-weight: 800;
}

.auth-modal-actions .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(255, 99, 44, 0.55);
  transform: translateY(-2px) scale(1.02);
}

.auth-modal-actions .btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.auth-modal-actions .btn {
  flex: 1;
  justify-content: center;
}

.account-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.account-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  border-radius: 28px;
  background: rgba(12, 14, 19, 0.95);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.account-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.account-hero__stats article {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
}

.account-hero__stats span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.account-hero__stats strong {
  font-size: 1.4rem;
}

.account-avatar-card {
  background: rgba(5, 5, 7, 0.8);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

.account-avatar__preview {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 20px 40px rgba(0, 0, 0, 0.45);
}

.account-avatar__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar__upload {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.account-avatar__upload input {
  display: none;
}

.account-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.account-card {
  background: rgba(12, 14, 19, 0.92);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 180px;
}

.account-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.account-empty {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  border: 1px dashed var(--stroke);
  color: var(--text-secondary);
}


.ember-trail {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ember-trail span {
  position: absolute;
  bottom: -10vh;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 120, 45, 0.8);
  box-shadow: 0 0 12px rgba(255, 120, 45, 0.7);
  animation: emberRise linear infinite;
}

.ember-trail span:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
  animation-delay: 0s;
}
.ember-trail span:nth-child(2) {
  left: 25%;
  animation-duration: 10s;
  animation-delay: 1s;
  width: 4px;
  height: 4px;
}
.ember-trail span:nth-child(3) {
  left: 40%;
  animation-duration: 9s;
  animation-delay: 2.3s;
}
.ember-trail span:nth-child(4) {
  left: 55%;
  animation-duration: 11s;
  animation-delay: 0.8s;
  width: 5px;
  height: 5px;
}
.ember-trail span:nth-child(5) {
  left: 70%;
  animation-duration: 8.5s;
  animation-delay: 1.5s;
}
.ember-trail span:nth-child(6) {
  left: 82%;
  animation-duration: 12s;
  animation-delay: 0.4s;
}
.ember-trail span:nth-child(7) {
  left: 90%;
  animation-duration: 9.5s;
  animation-delay: 2.1s;
  width: 4px;
  height: 4px;
}
.ember-trail span:nth-child(8) {
  left: 15%;
  animation-duration: 10.2s;
  animation-delay: 3s;
}

@keyframes emberRise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(0, -120vh, 0);
    opacity: 0;
  }
}

@media (max-width: 960px) {
  .auth-stage {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0;
  }
  .auth-info {
    align-items: center;
    text-align: center;
  }
  .auth-divider {
    display: none;
  }
  .auth-metrics {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="auth"]::before,
  body[data-page="auth"]::after {
    opacity: 0;
    background: none;
  }
  .auth-info {
    display: none;
  }
  .auth-divider {
    display: none;
  }
}

.support-shell {
  display: grid;
  gap: 1.5rem;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 22px;
  border: 1px dashed var(--stroke);
  color: var(--text-secondary);
}

@keyframes aurora {
  0% {
    transform: translate3d(-5%, -5%, 0) scale(1);
  }
  100% {
    transform: translate3d(5%, 5%, 0) scale(1.05);
  }
}

@keyframes aurora {
  0% {
    transform: translate3d(-5%, -5%, 0) scale(1);
  }
  100% {
    transform: translate3d(5%, 5%, 0) scale(1.05);
  }
}

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

@keyframes shimmer {
  0% {
    transform: translateX(-30%);
  }
  100% {
    transform: translateX(30%);
  }
}

@keyframes modalAura {
  0% {
    transform: scale(0.9) rotate(-6deg);
  }
  50% {
    transform: scale(1.05) rotate(8deg);
  }
  100% {
    transform: scale(0.92) rotate(-4deg);
  }
}

@keyframes modalSheen {
  to {
    transform: rotate(360deg);
  }
}

@keyframes modalFloat {
  0% {
    transform: translate3d(0, 4px, 0) scale(0.97) rotate(-0.5deg);
  }
  50% {
    transform: translate3d(0, -8px, 0) scale(1) rotate(0.8deg);
  }
  100% {
    transform: translate3d(0, 4px, 0) scale(0.97) rotate(-0.5deg);
  }
}

@keyframes glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0px rgba(255, 77, 26, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 77, 26, 0.7));
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.filters-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 1024px) {
  .catalog-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  
  .recommendations-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .hero-intro {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    min-height: 320px;
  }
}

@keyframes pulse {
  0% {
    transform: translate(calc(var(--pointer-x) - 50%), calc(var(--pointer-y) - 50%)) scale(0.95);
  }
  50% {
    transform: translate(calc(var(--pointer-x) - 50%), calc(var(--pointer-y) - 50%)) scale(1.05);
  }
  100% {
    transform: translate(calc(var(--pointer-x) - 50%), calc(var(--pointer-y) - 50%)) scale(0.95);
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 2.5rem;
  }
  
  .top-nav {
    position: sticky;
    top: 0.5rem;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    width: calc(100% - 1.5rem);
    margin: 0 auto 1rem;
    border-radius: 18px;
  }
  
  .top-nav.shrink {
    padding: 0.65rem 0.9rem;
    gap: 0.5rem;
    border-radius: 16px;
    width: calc(100% - 1.5rem);
    transform: translateY(-2px) scale(0.99);
  }
  
  .nav-brand {
    width: 100%;
    justify-content: center;
  }
  
  .nav-logo {
    width: 38px;
    height: 38px;
  }
  
  .nav-brand strong {
    font-size: 1.05rem;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
  }
  
  .nav-actions {
    width: 100%;
    justify-content: center;
    gap: 0.6rem;
  }
  
  .section {
    padding: 1.5rem;
  }

  /* Filters Panel Mobile/Tablet Styles - REMOVED per user request */
  
  .budget-inputs input {
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
  }

  .filter-control span {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
  }

  .filter-control input[type="search"] {
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
  }
  
  .category-chip {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .catalog-shell {
    padding-bottom: 6rem;
  }
}

@media (max-width: 640px) {
  main {
    padding-top: 3rem;
  }
  
  .top-nav {
    top: 0.4rem;
    padding: 0.75rem 0.85rem;
    width: calc(100% - 1rem);
    gap: 0.55rem;
  }
  
  .top-nav.shrink {
    padding: 0.55rem 0.75rem;
    gap: 0.4rem;
    top: 0.3rem;
  }
  
  .nav-logo {
    width: 36px;
    height: 36px;
  }
  
  .nav-brand strong {
    font-size: 1rem;
  }
  
  .nav-link {
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
  }
  
  .section {
    padding: 1.25rem;
  }
  
  .auth-captcha-modal__panel {
    padding: 1.5rem;
    border-radius: 20px;
    max-width: calc(100% - 1.5rem);
  }
  
  .captcha-header {
    margin-bottom: 1.25rem;
  }
  
  .captcha-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.75rem;
  }

  .captcha-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .captcha-header .eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
  }
  
  .captcha-header h2 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }
  
  .captcha-description {
    font-size: 0.8rem;
  }
  
  .auth-captcha {
    gap: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .auth-captcha__media {
    padding: 0.85rem;
  }
  
  .auth-captcha__image {
    max-width: 100%;
    min-height: 75px;
  }
  
  .auth-captcha__controls {
    flex-direction: column;
    gap: 0.65rem;
  }
  
  .auth-captcha__input {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.3em;
  }
  
  .auth-captcha__refresh {
    width: 100%;
    height: 50px;
  }

  .auth-captcha__refresh svg {
    width: 18px;
    height: 18px;
  }
  
  .auth-modal-actions {
    flex-direction: column;
    gap: 0.65rem;
  }
  
  .auth-modal-actions .btn {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Support Page Styles */
.support-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.nav-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.nav-tab:hover,
.nav-tab.active {
    background: linear-gradient(135deg, #ff632c, #ff8b45);
    color: white;
    border-color: rgba(255, 120, 60, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 99, 44, 0.25);
}

.support-section {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.support-section.active {
    display: block;
}

.ticket-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.ticket-card {
    background: rgba(12, 14, 19, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    height: 100%;
}

.ticket-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 120, 60, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.ticket-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 99, 44, 0.15), rgba(255, 139, 69, 0.1));
    border: 1px solid rgba(255, 99, 44, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
    color: #ff8b45;
    box-shadow: none;
    flex-shrink: 0;
}

.ticket-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    width: 100%;
    text-align: left;
}

.ticket-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.9rem;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100%;
    display: block;
    text-align: left;
    width: 100%;
}

.ticket-features {
    list-style: none;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.ticket-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin: 4px 0;
    font-size: 0.85rem;
}

.ticket-features i {
    color: #ff8b45;
    font-size: 14px;
    width: 14px;
}

.form-container {
    background: rgba(12, 14, 19, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    display: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.form-container.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff632c, #ff8b45);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-label.required::after {
    content: ' *';
    color: #ff4d4d;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #ff8b45;
    box-shadow: 0 0 0 2px rgba(255, 139, 69, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.file-upload {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
}

.file-upload:hover {
    border-color: #ff8b45;
    background: rgba(255, 139, 69, 0.05);
}

.upload-icon {
    font-size: 36px;
    color: #ff8b45;
    margin-bottom: 12px;
}

.file-preview {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 12px;
}

.file-preview.show {
    display: flex;
}

/* File List Styles */
.files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.2s ease;
  animation: fadeIn 0.3s ease;
}

.file-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.file-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 139, 69, 0.15);
  color: #ff8b45;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.file-item-preview {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  display: block;
}

.file-item-info {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-item-name {
  font-size: 0.9rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.file-item-meta {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
}

.file-size {
  color: var(--text-secondary);
}

.file-status {
  font-weight: 500;
  color: var(--text-secondary);
}

.file-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.file-item-remove:hover {
  background: rgba(255, 80, 80, 0.15);
  border-color: rgba(255, 80, 80, 0.3);
  color: #ff5050;
}

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

.tickets-grid {
    display: grid;
    gap: 16px;
}

.ticket-item {
    background: rgba(12, 14, 19, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.ticket-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, #ff632c, #ff8b45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ticket-item:hover {
    border-color: rgba(255, 120, 60, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.ticket-item:hover::before {
    opacity: 1;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
}

.ticket-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.ticket-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.ticket-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-meta i {
    color: #ff8b45;
}

.ticket-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-actions {
    display: flex;
    justify-content: flex-end;
}

.ticket-actions .action-btn {
    background: linear-gradient(135deg, #ff632c, #ff8b45);
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 99, 44, 0.25);
}

.ticket-actions .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 99, 44, 0.35);
    filter: brightness(1.1);
}

.ticket-status {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-open { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.25); }
.status-in_progress { background: rgba(255, 170, 0, 0.15); color: #fbbf24; border: 1px solid rgba(255, 170, 0, 0.25); }
.status-closed { background: rgba(255, 255, 255, 0.1); color: var(--text-secondary); border: 1px solid rgba(255, 255, 255, 0.15); }
.status-rejected { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.25); }

.ticket-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.ticket-modal.show {
    display: flex;
}

.ticket-modal-content {
    background: #0f0f13;
    border: 1px solid rgba(255, 120, 60, 0.2);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.ticket-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.ticket-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ticket-modal-close:hover {
    background: rgba(255, 99, 44, 0.15);
    color: #ff632c;
    border-color: rgba(255, 99, 44, 0.3);
}

.ticket-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.messages-container {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
}

.message {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.message.admin { flex-direction: row-reverse; }
.message.admin .message-content { text-align: right; }
.message.user .message-avatar { background: linear-gradient(135deg, #ff632c, #ff8b45); }
.message.admin .message-avatar { background: linear-gradient(135deg, #3b82f6, #60a5fa); }

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.message-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 4px;
    word-wrap: break-word;
    font-size: 0.95rem;
}

.message.admin .message-bubble {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.reply-form {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.reply-files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.ticket-files-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.ticket-file-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ff8b45;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.ticket-file-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.message-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.message-image {
  display: block;
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

.message-image:hover {
  transform: scale(1.02);
}

.message-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.message-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.message-file-link:hover {
  background: rgba(0, 0, 0, 0.3);
}

.reply-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    min-height: 80px;
    resize: vertical;
    margin-bottom: 12px;
}

.reply-textarea:focus {
    border-color: #ff8b45;
    outline: none;
}

/* Ticket Info Grid */
.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
}

.ticket-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-info-value i {
    color: #ff8b45;
}

.ticket-description {
    padding: 24px;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: pre-wrap;
}

.ticket-attachments-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

/* Reply Actions */
.reply-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.reply-file-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.reply-file-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.reply-send-btn {
    background: linear-gradient(135deg, #ff632c, #ff8b45);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 99, 44, 0.2);
}

.reply-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 99, 44, 0.3);
}

.reply-send-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.messages-container {
    background: rgba(0, 0, 0, 0.3) !important;
}

.message-bubble {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-messages {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    gap: 12px;
    min-height: 150px;
}

.empty-messages::before {
    content: "\f0e0"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 32px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .support-nav { flex-direction: column; gap: 10px; }
    .nav-tab { width: 100%; max-width: none; justify-content: center; }
    .ticket-types { grid-template-columns: 1fr; }
    .ticket-modal-content { width: 100%; height: 100%; border-radius: 0; max-height: none; }
    
    .ticket-description {
        white-space: normal !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        max-width: 100%;
    }
}

/* Avatar Borders */
.avatar-border-bronze { border: 2px solid #cd7f32 !important; box-shadow: 0 0 10px rgba(205, 127, 50, 0.4); box-sizing: border-box; }
.avatar-border-silver { border: 2px solid #e0e0e0 !important; box-shadow: 0 0 10px rgba(224, 224, 224, 0.4); box-sizing: border-box; }
.avatar-border-gold { border: 2px solid #ffd700 !important; box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); box-sizing: border-box; }
.avatar-border-diamond { border: 2px solid #b9f2ff !important; box-shadow: 0 0 20px rgba(0, 234, 255, 0.6); box-sizing: border-box; }
