/* ── ROOT VARIABLES ── */
:root {
  --green: #00c853;
  --green-dim: #00a844;
  --dark: #0b0f1a;
  --surface: #111827;
  --surface2: #1a2236;
  --muted: #7b8299;
  --font-head: "Oswald", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

body {
  background: var(--dark);
  font-family: var(--font-body);
}

/* ── NAVBAR ── */
.navbar {
  background: rgba(11, 15, 26, 0.95) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #000;
  font-size: 17px;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: #e8eaf0;
}
.logo-text span {
  color: var(--green);
}
.nav-link {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted) !important;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: #e8eaf0 !important;
}
.btn-cta {
  background: var(--green);
  color: #000;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: none;
  padding: 7px 18px;
  border-radius: 6px;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-cta:hover {
  background: var(--green-dim);
  color: #000;
  transform: translateY(-1px);
}

/* ── TICKER ── */
.ticker-bar {
  background: var(--surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  background: var(--green);
  color: #000;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: 12px;
  color: var(--muted);
}
.ticker-track span {
  padding: 0 28px;
}
.ticker-track span strong {
  color: var(--green);
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero {
  position: relative;
  height: 45vh;
  min-height: 280px;
  background: url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=1600&q=80")
    center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(11, 15, 26, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  animation: fadeUp 0.7s ease both;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  color: var(--green);
}

.hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  white-space: nowrap;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.hero-btn-vip {
  background: linear-gradient(135deg, #f5a623, #e8920f);
  color: #000;
  border: 2px solid #f5a623;
}

.hero-btn-vip:hover {
  background: linear-gradient(135deg, #e8920f, #d4830a);
  color: #000;
}

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

/* Blog Cards */
.blog-card {
  background: var(--surface2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 24px;
  height: 100%;
  transition:
    transform 0.2s,
    border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.blog-card-date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: #e8eaf0;
  margin-bottom: 10px;
  line-height: 1.4;
  text-decoration: none;
}

.blog-card-title:hover {
  color: var(--green);
}

.blog-card-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 16px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.blog-tag {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding-bottom: 10px;
  position: relative;
}
.footer-col h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition:
    color 0.2s,
    padding-left 0.2s;
}
.footer-links a::before {
  content: "›";
  color: var(--green);
  font-size: 15px;
}
.footer-links a:hover {
  color: #e8eaf0;
  padding-left: 4px;
}
.contact-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
.contact-item i {
  color: var(--green);
  margin-top: 2px;
  flex-shrink: 0;
}
.disclaimer-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}
.badge-18 {
  background: #c0392b;
  color: #fff;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 12px;
}
.partner-tag {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.partner-tag:hover {
  color: var(--green);
  border-color: var(--green);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: var(--muted);
}
.social-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.social-btn:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ── PAGE UTILITIES ── */
.section-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: #e8eaf0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: "";
  display: block;
  width: 4px;
  height: 26px;
  background: var(--green);
  border-radius: 2px;
}

.pool-table {
  background: #fff;
}

.pool-table th {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--surface2);
}

.pool-table td {
  background: #fff;
  color: #111;
}

.pool-table tbody tr:hover td {
  background: #f1f1f1;
}

.pool-table tbody tr.table-success td {
  background: rgba(0, 200, 83, 0.15);
}

/* ── BLOG CONTENT ── */
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.blog-content figure {
  max-width: 100%;
  overflow: hidden;
  margin: 16px 0;
}

.blog-content {
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Fix Wagtail RichText images */
.blog-content .richtext img,
.blog-content p img {
  max-width: 100% !important;
  height: auto !important;
}

/* FAQ accordion styling */
.faq-section {
  margin-top: 3rem;
}
.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 18px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: #1a1a1a;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary:hover {
  color: #000;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--green);
  font-weight: bold;
  margin-left: 12px;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item .faq-answer {
  padding: 0 18px 16px;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}
.faq-item .faq-answer a {
  color: var(--green);
  text-decoration: underline;
}
