/* ============================================
   kr0va.shop — UNIFIED BLACK & WHITE THEME
   ============================================ */

:root {
  --bg-deep: #000000;
  --bg-mid: #0a0a0a;
  --bg-glow: #1a1a1a;
  --accent: #ffffff;
  --accent-bright: #e5e5e5;
  --accent-soft: rgba(255, 255, 255, 0.2);
  --border: rgba(255, 255, 255, 0.15);
  --text: #ffffff;
  --text-dim: #a0a0a0;
}

/* ---------- BASE / BACKGROUND ---------- */
html {
  background: radial-gradient(ellipse at center, var(--bg-glow) 0%, var(--bg-mid) 55%, var(--bg-deep) 100%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  min-height: 100vh !important;
}

body {
  background: transparent !important;
  background-image: none !important;
  color: var(--text) !important;
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh !important;
}

/* Grid overlay on the whole page — BLACK lines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Kill wrapper backgrounds that would cover the gradient */
body > div, #app, #__next, main,
[class*="min-h-screen"],
[class*="bg-gray"], [class*="bg-neutral"],
[class*="bg-zinc"], [class*="bg-slate"], [class*="bg-black"] {
  background-color: transparent !important;
  background-image: none !important;
}

[style*="background-image"] {
  background-image: none !important;
  background-color: transparent !important;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text) !important;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p, span, li, td, label {
  color: var(--text) !important;
}

/* ---------- HEADER / NAV ---------- */
header, .site-header, nav.navbar, .navbar,
[class*="header"], [class*="Header"] {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid var(--border) !important;
}

/* ---------- FOOTER ---------- */
footer, .site-footer,
[class*="footer"], [class*="Footer"] {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--text-dim) !important;
}

/* ---------- CARDS / PANELS ---------- */
.product-card, .product, [class*="product-card"], .card,
[class*="review"], .review-card,
[class*="summary"], aside, [class*="cart-item"] {
  background: rgba(10, 10, 10, 0.7) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}
.product-card:hover, [class*="product-card"]:hover, .card:hover,
[class*="review"]:hover, .review-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 0 20px var(--accent-soft) !important;
}

/* ---------- BUTTONS ---------- */
button, .btn, .button, a.button, input[type="submit"] {
  background: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: #000000 !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 600;
}
button:hover, .btn:hover, .button:hover, a.button:hover, input[type="submit"]:hover {
  background: #e5e5e5 !important;
  color: #000000 !important;
  box-shadow: 0 0 12px var(--accent-soft) !important;
}

/* ---------- INPUTS ---------- */
input, textarea, select {
  background: rgba(10, 10, 10, 0.8) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px;
}
input:focus, textarea:focus, select:focus {
  border-color: #ffffff !important;
  box-shadow: 0 0 8px var(--accent-soft) !important;
  outline: none !important;
}

/* ---------- LINKS ---------- */
a { color: var(--text) !important; text-decoration: none; }
a:hover { color: var(--text-dim) !important; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep) !important; }
::-webkit-scrollbar-thumb { background: #333 !important; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #555 !important; }

/* ---------- DISCORD FLOATING BUTTON ---------- */
#floating-discord-btn,
#floating-discord-btn * { box-sizing: border-box !important; }

#floating-discord-btn {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  top: auto !important;
  left: auto !important;
  width: fit-content !important;
  height: fit-content !important;
  max-width: 200px !important;
  z-index: 99999 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #5865F2 !important;
  color: #ffffff !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
  transition: all 0.2s ease !important;
}
#floating-discord-btn:hover {
  background: #4752C4 !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4) !important;
}
#floating-discord-btn svg {
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
}

/* ---------- FEATURE BAR ---------- */
.feature-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 14px 24px;
  margin: 20px auto;
  width: fit-content;
  background: rgba(15, 3, 3, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.feature-bar span { white-space: nowrap; }

/* ---------- DIVIDER ---------- */
.divider-line {
  background: var(--accent-soft) !important;
}

/* ---------- ENSURE CONTENT SITS ABOVE GRID ---------- */
header, footer, main, section, .product-card, .card, nav {
  position: relative;
  z-index: 1;
}
/* ---------- LANDING GATE — BLACK THEME ---------- */
body.gate-active {
  overflow: hidden !important;
  height: 100vh !important;
}

#landingGate {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2147483647 !important;
  background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 55%, #000000 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#landingGate.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#landingGate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}

@keyframes gridDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, 50px); }
}

#landingGate::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.gate-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  animation: gateFadeIn 1s ease-out;
}

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

.gate-logo {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 0 20px rgba(255,255,255,0.4), 0 0 40px rgba(255,255,255,0.2), 4px 4px 0 #1a1a1a;
  line-height: 1;
}
.gate-logo .accent {
  color: #a0a0a0;
  text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.gate-tagline {
  color: #666;
  font-size: 13px;
  letter-spacing: 8px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: -20px;
}

.gate-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.gate-btn {
  padding: 18px 60px;
  background: transparent;
  color: #fff;
  border: 2px solid #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.gate-btn:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 30px rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.gate-footer {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #444;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 2;
}

/* ---------- GOOGLE FONTS IMPORT ---------- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700;900&display=swap');

/* ---------- WELCOME BLOCK TYPOGRAPHY ---------- */

/* Welcome heading */
h1,
[class*="welcome"] h1,
[class*="Welcome"] h1,
.hero h1,
.hero-title {
  font-family: 'Oswald', 'Segoe UI', sans-serif !important;
  font-size: clamp(44px, 6.2vw, 82px) !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  text-shadow:
    0 0 30px rgba(127, 29, 29, 0.6),
    0 0 60px rgba(127, 29, 29, 0.3),
    4px 4px 0 rgba(127, 29, 29, 0.8) !important;
  margin-bottom: 30px !important;
  animation: welcomeFadeIn 1.2s ease-out;
}

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

/* Description paragraph */
.hero p,
[class*="welcome"] p,
[class*="Welcome"] p,
.hero-description,
main > section:first-of-type p {
  font-family: 'Oswald', 'Segoe UI', sans-serif !important;
  font-size: clamp(16px, 1.45vw, 20px) !important;
  line-height: 1.75 !important;
  color: #ffffff !important;
  max-width: 780px !important;
  margin: 0 auto 24px !important;
  letter-spacing: 0.6px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  font-weight: 500 !important;
}

/* Force every child inside the welcome block to Oswald + white */
.hero *,
[class*="welcome"] *,
[class*="Welcome"] *,
main > section:first-of-type * {
  font-family: 'Oswald', 'Segoe UI', sans-serif !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Highlighted mentions — still white, just bolder */
.hero p strong,
[class*="welcome"] p strong,
[class*="Welcome"] p strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px;
  text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

/* Divider under heading */
h1::after,
.hero-title::after {
  content: '';
  display: block;
  width: 140px;
  height: 3px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, #7f1d1d, #ff4d4d, #7f1d1d, transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 77, 77, 0.4);
}

/* Hide footer */
footer,
.footer,
#footer,
[class*="footer"],
[id*="footer"] {
  display: none !important;
}
/* ---------- VARIANT BUTTONS — TRANSPARENT + RED OUTLINE ---------- */
button.variant,
button.variant.btn-primary {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 2px solid #dc2626 !important;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.25) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  transition: all 0.25s ease !important;
}

button.variant:hover {
  border-color: #ffffff !important;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.6) !important;
  transform: translateY(-2px) !important;
}

button.variant.active {
  border-color: #ffffff !important;
  background: rgba(220, 38, 38, 0.08) !important;
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.5) !important;
}

/* Text inside variant buttons */
button.variant .name {
  color: #ffffff !important;
  font-weight: 700 !important;
}

button.variant .description,
button.variant .text-muted {
  color: #e5e5e5 !important;
}

button.variant .stock,
button.variant .stock span {
  color: #dc2626 !important;
  font-weight: 600 !important;
}

button.variant .price,
button.variant .price span {
  color: #dc2626 !important;
  font-weight: 800 !important;
  font-size: 1.1em !important;
}

button.variant .active-indicator svg,
button.variant .text-primary {
  color: #dc2626 !important;
  fill: #dc2626 !important;
}
/* ---------- INSTALLER BLOCK — NO OUTLINE ---------- */
[data-component-id="text-block-1784604367397"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
[data-component-id="text-block-1784604367397"] h2,
[data-component-id="text-block-1784604367397"] p,
[data-component-id="text-block-1784604367397"] .section-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
}

/* Download button */
[data-component-id="text-block-1784604367397"] .btn-primary {
  background: linear-gradient(135deg, #dc2626, #7f1d1d) !important;
  background-color: #dc2626 !important;
  border: 1px solid #dc2626 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 14px 32px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

[data-component-id="text-block-1784604367397"] .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.55) !important;
  background: linear-gradient(135deg, #ef4444, #991b1b) !important;
}