/* ============================================================
   TWEEK THEME — Monochrome Edition
   ============================================================ */

/* === BASE === */
* { box-sizing: border-box; }

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.background-glows { display: none; }

/* === ANIMATED BACKGROUND ORBS (subtle white) === */

.tweek-bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(130px);
}

.tweek-bg-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.045) 0%, transparent 70%);
  top: -200px;
  left: -150px;
  animation: tweekOrb1 26s ease-in-out infinite alternate;
}

.tweek-bg-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  bottom: -100px;
  right: -80px;
  animation: tweekOrb2 20s ease-in-out infinite alternate;
}

.tweek-bg-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.025) 0%, transparent 70%);
  top: 45%;
  right: 22%;
  animation: tweekOrb3 32s ease-in-out infinite alternate;
}

@keyframes tweekOrb1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(50px, 40px) scale(1.1); }
}
@keyframes tweekOrb2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-40px, -50px) scale(1.08); }
}
@keyframes tweekOrb3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -25px) scale(1.06); }
}

/* Star canvas */
#tweek-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* === HEADER === */

header.component {
  margin-bottom: 0 !important;
}

.tweek-header-wrap {
  padding: 14px 22px;
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Brand */
.tweek-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.tweek-brand-logo {
  height: 34px;
  border-radius: 8px;
}

.tweek-brand-name {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

/* Nav */
.tweek-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
  min-width: 0;
}

.tweek-nav-link {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  background: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.tweek-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.tweek-nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Header right */
.tweek-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Stats */
.tweek-stats {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tweek-stat {
  text-align: center;
  line-height: 1;
}

.tweek-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 3px;
}

.tweek-stat-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  display: block;
}

.tweek-vdivider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* Icon button (cart) */
.tweek-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  flex-shrink: 0;
}

.tweek-icon-btn:hover,
.tweek-icon-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Currency selector */
.tweek-header-wrap .currency-selector select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: transparent;
  font-size: 13px;
}

/* === HERO SECTION === */

.tweek-hero {
  padding: 72px 16px 48px;
  text-align: center;
  position: relative;
}

.tweek-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.tweek-hero-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  animation: tweekPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes tweekPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(255, 255, 255, 0.5); }
  50%       { opacity: 0.4; box-shadow: 0 0 16px rgba(255, 255, 255, 0.3); }
}

.tweek-hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.03;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
}

.tweek-hero-title-accent {
  color: #ffffff;
  position: relative;
  display: inline-block;
}

/* Subtle underline on accent */
.tweek-hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  border-radius: 2px;
}

.tweek-hero-sub {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.35);
  max-width: 460px;
  margin: 0 auto 56px;
}

/* === SECTION LABEL === */

.tweek-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.tweek-section-label-text {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.tweek-section-label::before,
.tweek-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* === SEARCH BAR === */

.tweek-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-bottom: 28px;
  transition: all 0.25s ease;
}

.tweek-search:focus-within {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.tweek-search svg {
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.tweek-search input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
  width: 100%;
  font-family: inherit;
}

.tweek-search input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

/* === PRODUCT CARDS === */

.tweek-card {
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tweek-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.tweek-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

/* Card image */
.tweek-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.tweek-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(30%);
}

.tweek-card:hover .tweek-card-img {
  transform: scale(1.07);
  filter: grayscale(0%);
}

.tweek-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(8, 8, 8, 0.88) 100%);
  pointer-events: none;
}

/* No-image placeholder */
.tweek-card-no-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.2);
}

/* Card badges */
.tweek-card-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 2;
}

.tweek-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.12) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Card body */
.tweek-card-body {
  padding: 18px 20px 22px;
  position: relative;
  z-index: 1;
}

.tweek-card-name {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.3px;
}

.tweek-card-stock {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tweek-card-stock svg {
  color: rgba(255, 255, 255, 0.5);
}

/* Card footer */
.tweek-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tweek-card-price {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.tweek-card-price-slash {
  font-size: 13px;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.22);
  margin-left: 5px;
}

.tweek-card-arrow {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s ease;
  opacity: 0;
  flex-shrink: 0;
}

.tweek-card:hover .tweek-card-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* === PRODUCT GRID === */
.tweek-products-py {
  padding-top: 8px;
  padding-bottom: 40px;
}

.tweek-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
}

.tweek-grid.centered {
  justify-items: center;
}

.tweek-card-wrap {
  min-width: 0;
}

/* === FADE IN === */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.fade-in.loaded {
  opacity: 1;
  transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 70ms; }
.fade-in:nth-child(3) { transition-delay: 140ms; }
.fade-in:nth-child(4) { transition-delay: 210ms; }
.fade-in:nth-child(5) { transition-delay: 280ms; }
.fade-in:nth-child(6) { transition-delay: 350ms; }

/* === DISCORD FLOAT === */

.discord-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #080808;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.1px;
}

.discord-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
  background: #f0f0f0;
  color: #080808;
}

.discord-float svg {
  color: #080808;
}

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

/* === FOOTER === */

footer.bg-background {
  background: rgba(8, 8, 8, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.05) !important;
}

/* === SCROLLBAR === */

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); }

/* === SELECTION === */

::selection {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* === CURSOR SPOTLIGHT === */

#tweek-spotlight {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.055) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  filter: blur(8px);
  transition: opacity 0.4s ease;
  opacity: 0;
}

body:hover #tweek-spotlight {
  opacity: 1;
}

/* === FILM GRAIN === */

#tweek-grain {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.038;
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: tweek-grain-shift 0.35s steps(4) infinite;
}

@keyframes tweek-grain-shift {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 22% 35%; }
  50%  { background-position: 45% 12%; }
  75%  { background-position: 8% 58%; }
  100% { background-position: 0% 0%; }
}

/* === CARD SHIMMER SWEEP === */

.tweek-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(
    108deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 250% 100%;
  background-position: -100% 0;
  transition: background-position 0.7s ease;
  pointer-events: none;
  z-index: 2;
}

.tweek-card:hover::after {
  background-position: 200% 0;
}

/* === ANIMATED EQ WAVEFORM === */

.tweek-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  margin-bottom: 32px;
}

.tweek-waveform-bar {
  display: block;
  width: 3px;
  height: var(--min, 6px);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  animation: tweek-eq-bounce var(--dur, 1s) ease-in-out infinite alternate;
  transform-origin: bottom;
}

@keyframes tweek-eq-bounce {
  from { height: var(--min, 6px); opacity: 0.18; }
  to   { height: var(--max, 24px); opacity: 0.55; }
}

/* === SCROLL REVEAL === */

.tweek-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.tweek-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === MOBILE === */

@media (max-width: 768px) {
  .tweek-header-wrap {
    padding: 12px 16px;
    gap: 10px;
  }

  .tweek-stats {
    display: none;
  }

  .tweek-vdivider {
    display: none;
  }

  .tweek-hero {
    padding: 48px 16px 36px;
  }

  .tweek-hero-title {
    letter-spacing: -1.5px;
  }

  .discord-float {
    bottom: 16px;
    right: 16px;
    padding: 9px 15px;
    font-size: 12px;
  }
}
