/* =============================================
   XMRVideos RED — Global Styles
   Black, red, white. Brutal. Premium.
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #cc0000;
  --red-bright: #ff1a1a;
  --red-dark: #8a0000;
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --black-4: #222222;
  --white: #f0f0f0;
  --white-dim: #aaaaaa;
  --white-muted: #666666;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Liberation Sans Narrow', 'Nimbus Sans Narrow', Impact, Arial, sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --border: 1px solid #2a2a2a;
  --border-red: 1px solid var(--red);
  --radius: 2px;
  --glow-red: 0 0 20px rgba(204, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

a {
  color: var(--white);
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: var(--font-display);
}

input, textarea {
  font-family: var(--font-body);
}

/* Scrollbar — on .main (the scroll container) */

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(204,0,0,0); }
}

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

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.animate-fade-up {
  animation: fadeUp 0.4s ease both;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

/* Skeleton loading shimmer */
.skeleton {
  background: linear-gradient(90deg, var(--black-3) 25%, var(--black-4) 50%, var(--black-3) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease infinite;
}