/* ═══════════════════════════════════════════════════════════════════════════
   BITCOINS RP — Main Stylesheet
   Stack: CSS Custom Properties, Glassmorphism, Scroll Reveal, Mobile-first
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
/* Loaded via <link> in HTML for performance */

/* ── Custom Properties ──────────────────────────────────────────────────── */
:root {
  --bg-deep:        #080A0F;
  --bg-card:        #0F1219;
  --bg-card-hover:  #161B24;
  --border:         rgba(255, 255, 255, 0.07);
  --border-active:  rgba(255, 255, 255, 0.14);

  --accent-blue:    #F59E0B;
  --accent-blue-lt: #FACC15;
  --accent-yellow:  #F59E0B;
  --accent-aqua:    #EAB308;
  --accent-aqua-lt: #FEF08A;

  --text-primary:   #F0F2F5;
  --text-secondary: #8B95A3;
  --text-muted:     #4B5563;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-btn:  0 0 24px rgba(245, 158, 11, 0.45);

  --transition: all 0.3s ease;
  --transition-fast: all 0.18s ease;

  --header-h: 72px;
  --container-w: 1200px;
  --container-px: clamp(16px, 5vw, 48px);
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
code { font-family: 'Courier New', monospace; font-size: 0.88em; color: var(--accent-aqua); }

/* ── Scroll Progress Bar ─────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-aqua));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(250, 204, 21,0.6);
}

/* ── Preloader ───────────────────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__logo {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-aqua), var(--accent-blue-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: preloaderPulse 1.2s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.preloader__bar {
  width: 160px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-aqua));
  border-radius: 2px;
  animation: preloaderFill 0.8s ease forwards;
}
@keyframes preloaderFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Grain Overlay ──────────────────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grainMove 0.8s steps(1) infinite;
}
@keyframes grainMove {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -2%); }
  20%  { transform: translate(2%, 2%); }
  30%  { transform: translate(-1%, 3%); }
  40%  { transform: translate(3%, -1%); }
  50%  { transform: translate(-3%, 1%); }
  60%  { transform: translate(1%, -3%); }
  70%  { transform: translate(2%, 1%); }
  80%  { transform: translate(-1%, -1%); }
  90%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ── Container ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ── Glassmorphism Card ──────────────────────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ── Gradient Text ──────────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-aqua) 0%, var(--accent-blue-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.07); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #D97706 100%);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(245, 158, 11,0);
}
.btn--primary:hover {
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-active);
}
.btn--outline:hover {
  border-color: var(--accent-blue-lt);
  color: var(--accent-blue-lt);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.btn--lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-md); }
.btn--sm { padding: 8px 16px; font-size: 0.82rem; }

/* ── Section Common ──────────────────────────────────────────────────────── */
.section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-active);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-aqua);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Reveal animations ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) !important;
}
/* Directional variants */
.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(0.92) translateY(20px); }
.reveal--fade  { transform: none; }

/* Delay variants */
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }
.reveal--delay-5 { transition-delay: 0.40s; }

/* ── Tilt Card (JS-driven via --rx / --ry CSS vars) ─────────────────────── */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.1s ease, box-shadow 0.3s ease;
}
.tilt-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px var(--border-active);
}
.tilt-card.is-resetting {
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s ease;
}

/* ── Active nav link ─────────────────────────────────────────────────────── */
.nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent-yellow);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* ── Count-up number ─────────────────────────────────────────────────────── */
.count-up {
  display: inline-block;
  transition: transform 0.15s ease;
}
.count-up.bump {
  animation: countBump 0.3s cubic-bezier(0.22,1,0.36,1);
}
@keyframes countBump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(14, 17, 23, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(14, 17, 23, 0.92);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.logo { flex-shrink: 0; }
.logo__img { height: 28px; width: auto; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.nav__link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav__link--external::after { content: '↗'; font-size: 0.7em; margin-left: 3px; opacity: 0.5; }
.nav__link--donate {
  color: var(--accent-yellow);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-sm);
}
.nav__link--donate:hover { background: rgba(245,158,11,0.1); border-color: var(--accent-yellow); }

.nav__link--cabinet {
  color: var(--accent-aqua);
  border: 1px solid rgba(250, 204, 21,0.3);
  border-radius: var(--radius-sm);
}
.nav__link--cabinet:hover { background: rgba(250, 204, 21,0.1); border-color: var(--accent-aqua); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  flex-shrink: 0;
}
.header__cabinet-btn {
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 600;
}
.header__cta { flex-shrink: 0; }
.nav__item--mobile-only { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.hamburger:hover { background: rgba(255,255,255,0.07); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  z-index: 2;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(245, 158, 11,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(250, 204, 21,0.10) 0%, transparent 50%),
    linear-gradient(to bottom, var(--bg-deep) 0%, #0A0D13 100%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  border-radius: 100px;
  border: 1px solid rgba(250, 204, 21,0.3);
  background: rgba(250, 204, 21,0.07);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-aqua);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-aqua);
  box-shadow: 0 0 8px var(--accent-aqua);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent-aqua); }
  50%       { opacity: 0.6; box-shadow: 0 0 20px var(--accent-aqua); }
}

.hero__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 820px;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__br { display: none; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 700px;
}
.hero__stat-card {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  flex: 1;
  min-width: 220px;
}
.hero__stat-card:hover { transform: none; } /* override glass-card hover lift here */

.hero__online-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.hero__online-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.hero__online-count {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.hero__online-max {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero__online-bar {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.hero__online-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-aqua));
  border-radius: 2px;
  transition: width 1s ease;
}

/* Pulsing dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34,197,94,0.3);
  animation: pulseRing 1.8s ease-in-out infinite;
}
.pulse-dot.offline { background: #6B7280; }
.pulse-dot.offline::after { display: none; }

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.9); opacity: 0; }
}

.hero__ip-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero__ip-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.hero__ip-value {
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--accent-aqua);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.2; transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW TO PLAY
   ═══════════════════════════════════════════════════════════════════════════ */
.how-to-play {
  background: linear-gradient(to bottom, transparent, rgba(22,27,34,0.6), transparent);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step-card {
  flex: 1;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
}

.step-connector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 48px;
  margin-top: 60px;
}
.step-connector__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border-active), transparent 50%, var(--border-active));
  position: relative;
}

.step-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  line-height: 1;
}
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11,0.12);
  border: 1px solid rgba(245, 158, 11,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-lt);
  flex-shrink: 0;
}
.step-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 4px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.step-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}
.ip-inline {
  font-family: 'Courier New', monospace;
  color: var(--accent-aqua);
  font-style: normal;
  font-size: 0.85rem;
  background: rgba(250, 204, 21,0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(250, 204, 21,0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon--blue {
  background: rgba(245, 158, 11,0.12);
  border: 1px solid rgba(245, 158, 11,0.25);
  color: var(--accent-blue-lt);
}
.feature-icon--yellow {
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--accent-yellow);
}
.feature-icon--aqua {
  background: rgba(250, 204, 21,0.10);
  border: 1px solid rgba(250, 204, 21,0.25);
  color: var(--accent-aqua);
}

.feature-card:has(.feature-icon--blue)::before { background: linear-gradient(90deg, var(--accent-blue), transparent); }
.feature-card:has(.feature-icon--yellow)::before { background: linear-gradient(90deg, var(--accent-yellow), transparent); }
.feature-card:has(.feature-icon--aqua)::before { background: linear-gradient(90deg, var(--accent-aqua), transparent); }

.feature-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.feature-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-top: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEWS
   ═══════════════════════════════════════════════════════════════════════════ */
.news {
  background: linear-gradient(to bottom, transparent, rgba(22,27,34,0.4), transparent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

/* Skeleton loading */
.news-skeleton {
  height: 260px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.03) 25%,
    rgba(255,255,255,0.06) 50%,
    rgba(255,255,255,0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.news-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-card__tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(245, 158, 11,0.15);
  color: var(--accent-blue-lt);
  border: 1px solid rgba(245, 158, 11,0.3);
}
.news-card__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.news-card__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-top: 4px;
}
.news-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-blue-lt);
  margin-top: 8px;
  transition: var(--transition-fast);
}
.news-card__link:hover { gap: 10px; }
.news-card__link::after { content: '→'; }

.news-footer { text-align: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
  position: relative;
  z-index: 2;
}
.footer__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__tagline { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

.footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.social-link:hover {
  color: var(--text-primary);
  border-color: var(--border-active);
  background: rgba(255,255,255,0.05);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__col-list { display: flex; flex-direction: column; gap: 10px; }
.footer__col-list a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.footer__col-list a:hover { color: var(--text-primary); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 0.82rem; color: var(--text-muted); }
.footer__disclaimer { font-size: 0.78rem; color: var(--text-muted); opacity: 0.6; }

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(22, 27, 34, 0.96);
  border: 1px solid var(--border-active);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 12px 22px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Header */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(14,17,23,0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--container-px);
    transform: translateY(-100%) translateY(calc(-1 * var(--header-h)));
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__link { width: 100%; display: block; padding: 10px 12px; }

  .hamburger { display: flex; }
  .header__actions { display: none; }
  .header__cta { display: none; }
  .nav__item--mobile-only { display: block; width: 100%; margin-top: 6px; }

  /* Hero */
  .hero__title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero__br { display: block; }
  .hero__stats { flex-direction: column; }
  .hero__stat-card { min-width: unset; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__scroll-hint { display: none; }

  /* Steps */
  .steps { flex-direction: column; gap: 12px; }
  .step-connector { display: none; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* News */
  .news-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .footer__links { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT PROTECTION — Block all printing of site content
   ═══════════════════════════════════════════════════════════════════════════ */
@media print {
  *, *::before, *::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html, body {
    display: block !important;
    visibility: visible !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  html::after {
    content: "🛡️ BITCOINS RP © 2026 — All Rights Reserved" !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000000 !important;
    font-size: 2rem !important;
    font-family: sans-serif !important;
    font-weight: bold !important;
    text-align: center !important;
    padding-top: 35vh !important;
    white-space: pre-wrap !important;
    line-height: 2 !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANTI-COPY CSS — Universal user-select prevention
   ═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

/* Disable image dragging */
img, svg, canvas, video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}


/* ── BITCOINS RP Dual-Server & Theme Additions ────────────────────────────── */
.server-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.server-card:hover {
  border-color: var(--accent-yellow);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
  transform: translateY(-2px);
}
.server-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: var(--accent-yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.server-card__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.server-card__ip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 14px 0;
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--accent-yellow-lt);
}
.server-card__copy-btn {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--accent-gold);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.server-card__copy-btn:hover {
  background: var(--accent-gold);
  color: #000;
}
