/* Shared styles for all pages */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #080808;
    --bg2: #0f0f0f;
    --bg3: #141414;
    --surface: #1a1a1a;
    --border: rgba(255,255,255,0.07);
    --border2: rgba(255,255,255,0.12);
    --text: #e8e4dc;
    --text2: rgba(232,228,220,0.68);
    --text3: rgba(232,228,220,0.52);
    --accent: #b5e32a;
    --accent2: rgba(181,227,42,0.15);
  }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 60px;
    background: rgba(8,8,8,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 3px; color: var(--text); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text2); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-cta { color: #080808 !important; background: var(--accent); padding: 9px 18px; font-weight: 500; }
.nav-cta:hover { opacity: 0.85; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.cursor { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transition: transform 0.1s; mix-blend-mode: difference; }
.btn-primary:hover { opacity: 0.85; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(8,8,8,0.7) 0%, transparent 60%, rgba(181,227,42,0.08) 100%);
  }
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 3px; color: var(--text2); text-decoration: none; transition: color 0.2s; }
.footer-logo:hover { color: var(--accent); }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 11px; color: var(--text3); letter-spacing: 1px; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { font-size: 11px; color: var(--text3); text-decoration: none; letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.2s; }
.footer-socials a:hover { color: var(--accent); }
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.rv.in { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { position: fixed; top: 60px; left: 0; right: 0; background: rgba(8,8,8,0.97); backdrop-filter: blur(16px); flex-direction: column; gap: 0; padding: 0; border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height 0.3s; }
  .nav-links.open { max-height: 460px; }
  .nav-links li { width: 100%; text-align: center; border-bottom: 1px solid var(--border); }
  .nav-links li a { display: block; padding: 16px; }
  .nav-toggle { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* in-text links use the accent colour, not the browser default blue */
main p a:not([class]), main li a:not([class]), main td a:not([class]) { color: var(--accent); text-decoration: none; transition: color 0.2s; }
main p a:not([class]):hover, main li a:not([class]):hover, main td a:not([class]):hover { color: #d6f56e; }

/* EXPLORE: internal-link cards at the end of each page */
.explore { padding: 80px 60px; background: var(--bg2); border-top: 1px solid var(--border); }
.explore-title { font-family: 'Bebas Neue', sans-serif; font-size: 40px; letter-spacing: 1px; color: var(--text); margin: 6px 0 28px; line-height: 1; }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ex-card { color: var(--text); display: block; position: relative; padding: 28px 26px 30px; background: var(--bg3); border: 1px solid var(--border); text-decoration: none; transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; overflow: hidden; }
.ex-card::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); transition: width 0.4s ease; }
.ex-card:hover { transform: translateY(-4px); border-color: rgba(181,227,42,0.35); background: var(--surface); }
.ex-card:hover::before { width: 100%; }
.ex-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.ex-name { font-size: 18px; font-weight: 500; color: var(--text); margin: 10px 0 8px; }
.ex-desc { font-size: 13px; color: var(--text2); line-height: 1.7; font-weight: 300; }
.ex-go { display: inline-block; margin-top: 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.ex-go::after { content: '\2192'; display: inline-block; margin-left: 8px; transition: transform 0.2s; }
.ex-card:hover .ex-go::after { transform: translateX(5px); }
@media (max-width: 900px) { .explore { padding: 56px 24px; } .explore-grid { grid-template-columns: 1fr; } .explore-title { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .ex-card, .ex-card::before { transition: none; } }