/* ============================================================
   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: #777;
  --pk-heading: #fff;
  --pk-success: #28a745;
  --pk-danger: #dc3545;
}

/* ── General ─────────────────────────────────────────────────── */
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;
  padding: 14px 0;
  background: #000;
  border-bottom: 2px solid var(--pk-red);
  position: fixed;
  width: 100%;
  top: 0;
}

#header .logo h1 {
  font-size: 22px; margin: 0; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}
#header .logo h1 a,
#header .logo h1 a:hover { color: #fff; text-decoration: none; }
#header .logo h1 a span { color: var(--pk-gold); }

/* ── 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: 8px 24px !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: 120px 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; }
.btn-hero-outline {
  background: transparent; color: var(--pk-gold); border: 2px solid var(--pk-gold);
}
.btn-hero-outline:hover { background: var(--pk-gold); color: #000; }

.hero-logo {
  max-width: 240px;
  filter: drop-shadow(0 0 40px rgba(253, 193, 52, 0.25));
}

@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); }
}

/* ── 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; }

/* Validator Status Cards */
#validator-status-container { margin-bottom: 16px; }

#validator-status-row .icon-box {
  background: var(--pk-card);
  border: 1px solid var(--pk-card-border);
  border-radius: 10px;
  padding: 20px;
  transition: border-color 0.3s;
}
#validator-status-row .icon-box:hover { border-color: var(--pk-gold); }
#validator-status-row .icon-box i {
  font-size: 36px; color: var(--pk-gold); float: left; margin-right: 12px;
}
#validator-status-row .icon-box h4 { margin: 0 0 8px 0; }
#validator-status-row .icon-box h4 a { color: var(--pk-gold); font-size: 16px; }
#validator-status-row .icon-box p { color: var(--pk-text); font-size: 14px; margin: 0; }

.status-dot {
  height: 10px; width: 10px; border-radius: 50%;
  display: inline-block; margin-right: 5px;
}
.status-dot.online { background-color: var(--pk-success); }
.status-dot.offline { background-color: var(--pk-danger); }

/* 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);
}
#footer .footer-top {
  padding: 60px 0 30px 0;
}
#footer .footer-top h3 {
  font-size: 32px; font-weight: 700;
  font-family: "Poppins", sans-serif; margin-bottom: 8px;
}
#footer .footer-top h3 span { color: var(--pk-gold); }
#footer .footer-top p {
  font-size: 15px; font-style: italic;
  color: var(--pk-text-muted); margin: 0;
}
.social-links { margin-top: 24px; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pk-card); border: 1px solid var(--pk-card-border);
  color: var(--pk-text); font-size: 16px;
  transition: all 0.3s; margin: 0 4px;
}
.social-links a:hover {
  background: var(--pk-gold); border-color: var(--pk-gold);
  color: #000;
}

.powered-by-flare {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 20px;
  border: 1px solid #333;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
}
.powered-by-flare span {
  font-size: 12px;
  color: var(--pk-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.flare-wordmark {
  height: 18px;
  opacity: 0.85;
}

#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); }
#footer .copyright strong { color: var(--pk-gold); }
#footer .credits { font-size: 13px; }
#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-bottom {
    flex-direction: column; gap: 8px; text-align: center;
  }
}

/* ── 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; }
