/* ============================================================
   PRICEKRAKEN Marketing – Dark Theme (Schwarz-Rot-Gold)
   ============================================================ */

:root {
  --pk-gold: #fdc134;
  --pk-gold-hover: #fdd067;
  --pk-red: #ff0000;
  --pk-red-soft: #cc0000;
  --pk-bg: #0a0a0a;
  --pk-card: #141414;
  --pk-card-border: #1e1e1e;
  --pk-text: #bbb;
  --pk-text-muted: #999;
  --pk-heading: #fff;
  --pk-success: #28a745;
  --pk-danger: #dc3545;
  --pk-warning: #ffc107;
  --pk-info: #5bc0de;
  --pk-flare: #E62058;
  --pk-dark: #1a1a1a;
  --pk-dark-alt: #222;
  --pk-border: #2a2a2a;
}

/* ── General ─────────────────────────────────────────────────── */
html { background: #000; }
body {
  font-family: "Open Sans", sans-serif;
  background: var(--pk-bg);
  color: var(--pk-text);
  margin: 0;
}

a { color: var(--pk-gold); text-decoration: none; }
a:hover { color: var(--pk-gold-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
  color: var(--pk-heading);
}

section { padding: 80px 0; overflow: hidden; }

/* ── Back to Top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed; visibility: hidden; opacity: 0;
  right: 15px; bottom: 15px; z-index: 99999;
  background: var(--pk-red); width: 40px; height: 40px;
  border-radius: 50%; transition: all 0.4s;
}
.back-to-top i { font-size: 24px; color: #fff; line-height: 0; }
.back-to-top:hover { background: var(--pk-gold); color: #fff; }
.back-to-top.active { visibility: visible; opacity: 1; }

/* ── Disable AOS delay on mobile ─────────────────────────────── */
@media (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
}

/* ── Header ──────────────────────────────────────────────────── */
#header {
  z-index: 997;
  /* Include safe-area padding on iOS so the notch/island is painted black
     along with the rest of the header (one solid bar, no see-through). */
  padding: calc(14px + env(safe-area-inset-top, 0px)) 0 14px;
  background: #000;
  border-bottom: 2px solid var(--pk-red);
  /* Use sticky instead of fixed so the header participates in layout flow.
     Prevents content bleeding above the header in transparent-chrome
     browsers (Telegram webview) and fixes full-size-screenshot artifacts
     in Chrome/Brave mobile-simulation. */
  position: sticky;
  top: 0;
}

#header .logo a {
  display: block;
  line-height: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}
#header .logo a:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(253, 193, 52, 0.35));
}
#header .logo img {
  display: block;
  height: 48px;
  width: auto;
  border-radius: 12px;
}

/* ── Navigation ──────────────────────────────────────────────── */
.navbar { padding: 0; }
.navbar ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
.navbar a, .navbar a:focus {
  display: flex; align-items: center; padding: 10px 0 10px 28px;
  font-size: 14px; color: var(--pk-text); white-space: nowrap;
  transition: 0.3s; font-weight: 600;
}
.navbar a:hover, .navbar .active, .navbar li:hover > a {
  color: var(--pk-gold);
}

.btn-portal {
  background: var(--pk-gold) !important;
  color: #000 !important;
  padding: 10px 24px !important;
  min-height: 44px !important;
  margin-left: 20px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.btn-portal:hover {
  background: var(--pk-gold-hover) !important;
  color: #000 !important;
}

/* Mobile Nav */
.mobile-nav-toggle {
  color: var(--pk-gold); font-size: 28px; cursor: pointer;
  display: none; line-height: 0; transition: 0.5s;
  position: fixed; right: 15px; top: 18px; z-index: 9998; border: 0;
  background: none;
}
@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}
.navbar-mobile {
  position: fixed; overflow: hidden;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.95); transition: 0.3s; z-index: 999;
}
.navbar-mobile .mobile-nav-toggle { position: absolute; top: 15px; right: 15px; }
.navbar-mobile ul {
  display: block; position: absolute;
  top: 55px; right: 15px; bottom: 15px; left: 15px;
  padding: 10px 0; border-radius: 10px;
  background: var(--pk-card); overflow-y: auto;
}
.navbar-mobile a, .navbar-mobile a:focus {
  padding: 12px 20px; font-size: 15px; color: var(--pk-text);
}
.navbar-mobile a:hover, .navbar-mobile .active { color: var(--pk-gold); }
.navbar-mobile .btn-portal { margin: 15px 20px !important; display: block; text-align: center; }

/* ── Hero ────────────────────────────────────────────────────── */
#hero {
  width: 100%;
  padding: 60px 0 60px 0;
  background: #000;
}
#hero h1 {
  font-size: 38px; font-weight: 700; line-height: 1.3;
  color: #fff; font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--pk-text); font-size: 16px; line-height: 1.7;
  margin-bottom: 24px; max-width: 520px;
}

.hero-explorers {
  display: flex; gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.explorer-link {
  display: flex; flex-direction: column; gap: 2px;
}
.explorer-label {
  font-size: 11px; color: var(--pk-text-muted);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}
.explorer-link a {
  font-family: monospace; font-size: 13px; color: var(--pk-gold);
}
.explorer-link a i { font-size: 10px; margin-left: 4px; }

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

.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 6px; font-weight: 700;
  font-size: 15px; transition: all 0.2s;
  background: var(--pk-gold); color: #000; border: 2px solid var(--pk-gold);
}
.btn-hero:hover { background: var(--pk-gold-hover); border-color: var(--pk-gold-hover); color: #000; }
.hero-logo {
  max-width: 240px;
  filter: drop-shadow(0 0 40px rgba(253, 193, 52, 0.25));
  border-radius: 32px;
}

@media (max-width: 991px) {
  #hero { padding: 100px 0 40px 0; text-align: center; }
  #hero h1 { font-size: 28px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-explorers { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-logo { max-width: 180px; margin-bottom: 30px; }
}

/* ── Section Title ───────────────────────────────────────────── */
.section-title { text-align: center; padding-bottom: 40px; }
.section-title h2 {
  font-size: 30px; font-weight: 700; text-transform: uppercase;
  margin-bottom: 16px; padding-bottom: 16px; position: relative;
  font-family: "Poppins", sans-serif; color: #fff;
}
.section-title h2::before {
  content: ""; position: absolute; display: block;
  width: 120px; height: 1px; background: #333;
  bottom: 1px; left: calc(50% - 60px);
}
.section-title h2::after {
  content: ""; position: absolute; display: block;
  width: 40px; height: 3px; background: var(--pk-gold);
  bottom: 0; left: calc(50% - 20px);
}
.section-title p { color: var(--pk-text-muted); margin-bottom: 0; }

/* ── Stats ───────────────────────────────────────────────────── */
#stats {
  background: var(--pk-card);
  border-top: 1px solid var(--pk-card-border);
  border-bottom: 1px solid var(--pk-card-border);
}

.stats-card {
  position: relative;
  background: var(--pk-bg);
  border: 1px solid var(--pk-card-border);
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  transition: border-color 0.3s;
}
.stats-card:hover { border-color: var(--pk-gold); }

.stats-card i {
  font-size: 36px; color: var(--pk-gold);
  margin-bottom: 12px; display: block;
}
.stats-number {
  font-size: 32px; font-weight: 700; color: #fff;
  display: block; margin-bottom: 4px;
}
.stats-card p {
  font-size: 14px; color: var(--pk-text-muted); margin: 0;
}

.live-badge {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--pk-red);
  letter-spacing: 1px; font-family: "Raleway", sans-serif;
}
.live-dot {
  width: 8px; height: 8px; background: var(--pk-red);
  border-radius: 50%; animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* ── Network Topology Visualization ─────────────────────────── */
.network-topo {
  margin-bottom: 32px;
}
.topo-svg {
  width: 100%;
  margin: 0 auto;
  display: block;
  height: auto;
}
.topo-desktop {
  max-width: 1024px;
}
.topo-mobile {
  display: none;
  max-width: 360px;
}
@media (max-width: 768px) {
  .topo-desktop { display: none; }
  .topo-mobile { display: block; }
}

/* Connection lines */
.topo-line {
  stroke-width: 2;
  fill: none;
}
.topo-line-active {
  stroke: var(--pk-success);
  opacity: 0.6;
  stroke-dasharray: 6 4;
  animation: topoLineDash 1.2s linear infinite;
}
.topo-line-maint {
  stroke: var(--pk-warning);
  opacity: 0.25;
  stroke-dasharray: 4 8;
  animation: topoReconnectLine 3s ease-in-out infinite;
}
@keyframes topoReconnectLine {
  0%, 100% { opacity: 0.15; }
  40%, 60% { opacity: 0.5; }
}
@keyframes topoLineDash {
  to { stroke-dashoffset: -20; }
}

/* Data packets */
.topo-packet { opacity: 0.9; }
.topo-packet-reconnect { opacity: 0; }

/* Reconnect fail X */
.topo-reconnect-fail {
  animation: reconnectFail 3s ease-in-out infinite;
}
@keyframes reconnectFail {
  0%, 70% { opacity: 0; }
  75%, 85% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

/* Hub (center) */
.topo-hub-ring {
  fill: none;
  stroke: var(--pk-flare);
  stroke-width: 2;
  opacity: 0.4;
  transform-origin: center;
  transform-box: fill-box;
  animation: hubRingPulse 3s ease-in-out infinite;
}
@keyframes hubRingPulse {
  0%, 100% { stroke-opacity: 0.4; transform: scale(1); }
  50% { stroke-opacity: 0.8; transform: scale(1.08); }
}
.topo-hub-core {
  fill: var(--pk-dark);
  stroke: var(--pk-flare);
  stroke-width: 1.5;
}
.topo-hub-text {
  fill: var(--pk-gold);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  font-family: "Raleway", sans-serif;
  letter-spacing: 2px;
}
.topo-hub-sub {
  fill: #888;
  font-size: 8px;
  font-weight: 600;
  text-anchor: middle;
  font-family: "Courier New", monospace;
  letter-spacing: 1.5px;
}
.topo-hub-led {
  fill: var(--pk-flare);
  animation: ledPulse 2s infinite;
}
@keyframes ledPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Server nodes */
.topo-server {
  fill: var(--pk-dark);
  stroke: #2a2a2a;
  stroke-width: 1;
}
.topo-server-strip {
  fill: var(--pk-dark-alt);
  stroke: none;
}
.topo-node-label {
  fill: #ccc;
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
}
.topo-node-status {
  font-size: 9px;
  font-weight: 700;
  text-anchor: middle;
  font-family: "Courier New", monospace;
}
.topo-online { fill: var(--pk-success); }
.topo-maint { fill: var(--pk-warning); }

/* Node LEDs */
.topo-node-led-power {
  fill: var(--pk-success);
}
.topo-node-led-net {
  fill: var(--pk-warning);
  animation: ledNetFlickerSvg 0.6s infinite;
}
.topo-node-led-ssd {
  fill: var(--pk-info);
  animation: topoSsdBlink 1.9s infinite;
}
.topo-node-led-maint {
  fill: var(--pk-warning);
  animation: ledPulse 2s ease-in-out infinite;
}
.topo-node-led-off {
  fill: #333;
}
@keyframes ledNetFlickerSvg {
  0%   { opacity: 1; }
  8%   { opacity: 0.1; }
  16%  { opacity: 1; }
  28%  { opacity: 0.1; }
  34%  { opacity: 1; }
  50%  { opacity: 0.1; }
  56%  { opacity: 1; }
  68%  { opacity: 0.1; }
  74%  { opacity: 1; }
  88%  { opacity: 0.1; }
  94%  { opacity: 1; }
}
@keyframes topoSsdBlink {
  0%, 8% { opacity: 1; }
  10%, 12% { opacity: 0.15; }
  14%, 28% { opacity: 1; }
  30%, 34% { opacity: 0.15; }
  36%, 52% { opacity: 1; }
  54%, 56% { opacity: 0.15; }
  58%, 74% { opacity: 1; }
  76%, 82% { opacity: 0.15; }
  84%, 100% { opacity: 1; }
}

/* ── Validator Server Units ──────────────────────────────────── */
.server-unit {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  pointer-events: none;
}
.server-unit a {
  pointer-events: auto;
}

/* LIVE badge */
.server-live-badge {
  position: absolute;
  top: 6px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--pk-red);
  font-family: "Courier New", monospace;
  z-index: 1;
}
.server-live-dot {
  width: 7px;
  height: 7px;
  background: var(--pk-red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Top strip – dark bar with LEDs */
.server-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: linear-gradient(180deg, #222 0%, #1a1a1a 100%);
  border-bottom: 1px solid #2a2a2a;
}
.server-leds {
  display: flex;
  gap: 6px;
}
.server-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}
/* Power LED – solid green, no blink */
.server-led.led-power {
  background: var(--pk-success);
  box-shadow: 0 0 6px rgba(40,167,69,0.7), inset 0 1px 2px rgba(0,0,0,0.3);
}
.server-led.led-red {
  background: var(--pk-danger);
  box-shadow: 0 0 6px rgba(220,53,69,0.7), inset 0 1px 2px rgba(0,0,0,0.3);
}
/* Network LED – amber fast blink */
.server-led.led-net {
  background: var(--pk-warning);
  box-shadow: 0 0 6px rgba(255,193,7,0.5), inset 0 1px 2px rgba(0,0,0,0.3);
  animation: ledNetFlicker 0.6s infinite;
}
@keyframes ledNetFlicker {
  0%   { opacity: 1; }
  8%   { opacity: 0.1; }
  16%  { opacity: 1; }
  28%  { opacity: 0.1; }
  34%  { opacity: 1; }
  50%  { opacity: 0.1; }
  56%  { opacity: 1; }
  68%  { opacity: 0.1; }
  74%  { opacity: 1; }
  88%  { opacity: 0.1; }
  94%  { opacity: 1; }
}
/* SSD LED – blue-white blink */
.server-led.led-ssd {
  background: var(--pk-info);
  box-shadow: 0 0 6px rgba(91,192,222,0.6), inset 0 1px 2px rgba(0,0,0,0.3);
  animation: ledBlinkC 1.9s infinite;
}
/* Maintenance LED – amber slow pulse */
.server-led.led-maintenance {
  background: var(--pk-warning);
  box-shadow: 0 0 6px rgba(255,193,7,0.6), inset 0 1px 2px rgba(0,0,0,0.3);
  animation: ledMaintenance 2s ease-in-out infinite;
}
@keyframes ledMaintenance {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.server-led.led-off {
  background: #333;
}
/* Offset each LED within a card so they don't blink in sync */
.server-led:nth-child(2) { animation-delay: -0.7s; }
.server-led:nth-child(3) { animation-delay: -1.4s; }
@keyframes ledBlinkC {
  0%, 8% { opacity: 1; }
  10%, 12% { opacity: 0.15; }
  14%, 28% { opacity: 1; }
  30%, 34% { opacity: 0.15; }
  36%, 52% { opacity: 1; }
  54%, 56% { opacity: 0.15; }
  58%, 74% { opacity: 1; }
  76%, 82% { opacity: 0.15; }
  84%, 92% { opacity: 1; }
  94%, 96% { opacity: 0.15; }
  98%, 100% { opacity: 1; }
}
.server-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #777;
  font-family: "Courier New", monospace;
  flex: 1;
  text-align: center;
}

/* Body */
.server-body {
  padding: 16px 18px;
}
.server-id-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #222;
}
.server-flare-f {
  width: 20px;
  height: 20px;
  color: var(--pk-gold);
  flex-shrink: 0;
}
.server-icon {
  font-size: 26px;
  color: var(--pk-gold);
}
.server-node-id {
  font-family: "Courier New", monospace;
  font-size: 15px;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s;
}
.server-version {
  margin-left: auto;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--pk-gold);
  letter-spacing: 0.5px;
}

/* Stats grid – 2 columns */
.server-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}
.server-stat-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.server-stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #777;
  font-family: "Courier New", monospace;
}
.server-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #eee;
  font-family: "Courier New", monospace;
}

/* Stake capacity bar */
.server-stake-bar {
  display: flex;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 12px;
  background: #222;
  cursor: default;
}
.stake-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  transition: width 0.5s ease;
}
.stake-seg span {
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  padding: 0 4px;
}
.stake-bond {
  background: var(--pk-gold);
}
.stake-delegated {
  background: var(--pk-success);
}
.stake-space {
  background: #333;
}
.stake-space span {
  color: #888;
}

/* Stake legend */
.stake-legend {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  justify-content: center;
}
.stake-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: #999;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.stake-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.stake-dot-bond { background: var(--pk-gold); }
.stake-dot-delegated { background: var(--pk-success); }
.stake-dot-space { background: #333; border: 1px solid #555; }

/* Status dots */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.status-dot.online {
  background: var(--pk-success);
  box-shadow: 0 0 6px rgba(40,167,69,0.6);
  animation: ledPulse 2s infinite;
}
.status-dot.offline {
  background: var(--pk-danger);
  box-shadow: 0 0 6px rgba(220,53,69,0.6);
}
.status-dot.maintenance {
  background: var(--pk-warning);
  box-shadow: 0 0 6px rgba(255,193,7,0.5);
  animation: ledMaintenance 2s ease-in-out infinite;
}

/* Bottom strip – ventilation look */
.server-bottom-strip {
  padding: 6px 14px;
  background: linear-gradient(180deg, #1a1a1a 0%, #151515 100%);
  border-top: 1px solid #222;
}
.server-vents {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.server-vents span {
  width: 20px;
  height: 3px;
  background: #222;
  border-radius: 1px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
}

/* ── About ───────────────────────────────────────────────────── */
#about { background: var(--pk-bg); }

.about-highlights {
  list-style: none; padding: 0; margin: 0;
}
.about-highlights li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--pk-card-border);
}
.about-highlights li:last-child { border-bottom: none; }
.about-highlights li i {
  font-size: 24px; color: var(--pk-gold); margin-top: 2px; flex-shrink: 0;
}
.about-highlights li div {
  font-size: 15px; line-height: 1.6; color: var(--pk-text);
}
.about-highlights li strong { color: #fff; }

/* Feature Boxes */
.feature-box {
  background: var(--pk-card);
  border: 1px solid var(--pk-card-border);
  border-radius: 10px;
  padding: 28px;
  height: 100%;
  transition: border-color 0.3s;
}
.feature-box:hover { border-color: var(--pk-gold); }
.feature-box i {
  font-size: 32px; color: var(--pk-gold);
  margin-bottom: 16px; display: block;
}
.feature-box h4 {
  font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px;
}
.feature-box p {
  font-size: 14px; color: var(--pk-text-muted); margin: 0; line-height: 1.6;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
#faq {
  background: var(--pk-card);
  border-top: 1px solid var(--pk-card-border);
  border-bottom: 1px solid var(--pk-card-border);
}

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--pk-card-border);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px;
}
.faq-q i { font-size: 20px; color: var(--pk-gold); margin-top: 2px; flex-shrink: 0; }
.faq-q h4 {
  font-size: 16px; font-weight: 600; color: #fff; margin: 0;
  font-family: "Poppins", sans-serif;
}
.faq-item p {
  font-size: 15px; color: var(--pk-text); margin: 0;
  padding-left: 32px; line-height: 1.7;
}

/* ── Contact ─────────────────────────────────────────────────── */
#contact { background: var(--pk-bg); }

.contact-box {
  background: var(--pk-card);
  border: 1px solid var(--pk-card-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: border-color 0.3s;
}
.contact-box:hover { border-color: var(--pk-gold); }
.contact-box i { font-size: 32px; color: var(--pk-gold); margin-bottom: 12px; }
.contact-box h4 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.contact-box p { font-size: 14px; color: var(--pk-text); margin: 0; line-height: 1.7; }

/* ── Footer ──────────────────────────────────────────────────── */
#footer {
  background: #000;
  color: #fff;
  font-size: 14px;
  border-top: 2px solid var(--pk-red);
}

/* Grid layout */
#footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}
#footer .footer-col { min-width: 0; }

/* Brand column */
#footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
#footer .footer-logo h3 {
  font-size: 22px; font-weight: 700;
  font-family: "Poppins", sans-serif;
  margin: 0; line-height: 1;
}
#footer .footer-logo h3 span { color: var(--pk-gold); }
#footer .footer-tagline {
  font-size: 13px; line-height: 1.7;
  color: var(--pk-text-muted);
  margin: 0 0 20px;
  max-width: 340px;
}
/* Language content toggle (global) */
.lang-content { display: none; }
.lang-content.active { display: block; }
span.lang-content.active { display: inline; }
/* Footer-specific overrides */
p.footer-tagline.lang-content { display: none; }
p.footer-tagline.lang-content.active { display: block; }

/* Social links */
.social-links { display: flex; gap: 8px; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--pk-card); border: 1px solid var(--pk-card-border);
  color: var(--pk-text); font-size: 15px;
  transition: all 0.3s;
}
.social-links a:hover {
  background: var(--pk-gold); border-color: var(--pk-gold);
  color: #000;
}

/* Column headings */
#footer .footer-heading {
  font-family: "Raleway", sans-serif;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pk-gold);
}
h4.footer-heading.lang-content { display: none; }
h4.footer-heading.lang-content.active { display: inline-block; }

/* Link lists */
#footer .footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
#footer .footer-links li { margin-bottom: 10px; }
#footer .footer-links a {
  color: var(--pk-text-muted);
  font-size: 13px;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
#footer .footer-links a:hover {
  color: var(--pk-gold);
  padding-left: 4px;
}

/* Language toggle in footer */
.footer-lang-wrap { margin-top: 20px; }
.footer-lang-toggle { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.05); border: 1px solid var(--pk-card-border); border-radius: 6px; padding: 4px 12px; color: var(--pk-text-muted); font-size: 12px; font-weight: 700; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.footer-lang-toggle:hover { color: var(--pk-gold); border-color: var(--pk-gold); }

/* Powered by Flare badge */
.powered-by-flare {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid #222;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
}
.powered-by-flare span {
  font-size: 11px;
  color: var(--pk-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.flare-wordmark {
  height: 16px;
  opacity: 0.8;
}

/* Bottom bar */
#footer .footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#footer .copyright { color: var(--pk-text-muted); font-size: 13px; }
#footer .copyright strong { color: var(--pk-gold); }
#footer .credits { font-size: 12px; }
#footer .credits a { color: var(--pk-text-muted); transition: color 0.2s; }
#footer .credits a:hover { color: var(--pk-gold); }

@media (max-width: 768px) {
  #footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 40px 0 28px;
  }
  #footer .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  #footer .footer-tagline { max-width: none; }
  #footer .footer-logo { justify-content: center; }
  .social-links { justify-content: center; }
  #footer .footer-bottom {
    flex-direction: column; gap: 12px; text-align: center;
  }
}

/* ── Tablet adjustments (768px - 1024px) ────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  section { padding: 60px 0; }
  .server-stats-grid { gap: 4px 12px; }
  .server-stat-value { font-size: 13px; }
  .stake-seg span { font-size: 10px; }
}

/* ── Scrollbar (subtle) ──────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pk-bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }
