/* VisualBucks Public Site — Admin Command Center theme */

:root {
  --obsidian: #050506;
  --obsidian-2: #08090c;
  --panel: #0c0d11;
  --panel-2: #121318;
  --gold: #d7ad49;
  --gold-2: #f2d184;
  --gold-soft: rgba(215, 173, 73, 0.18);
  --silver: #bfc5ca;
  --silver-2: #e6ebef;
  --text: #f5f0df;
  --muted: #8a8f97;
  --line: rgba(215, 173, 73, 0.35);
  --line-soft: rgba(191, 197, 202, 0.13);
  --max-width: 960px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--obsidian);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 800px at 12% -10%, rgba(215, 173, 73, 0.08), transparent 70%),
    radial-gradient(1000px 600px at 110% 110%, rgba(181, 22, 46, 0.05), transparent 70%),
    url('/t/B01/b01_01.png');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }

h1, h2, h3 { color: var(--gold-2); margin: 0 0 0.5rem; letter-spacing: 0.02em; font-weight: 600; }
h1 { font-size: clamp(1.6rem, 4vw, 2rem); }
h2 { font-size: 1.15rem; margin-top: 1.5rem; }
h3 { font-size: 1rem; margin-top: 1rem; }

p, li { color: var(--silver); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.97), rgba(12, 13, 17, 0.94));
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-link:hover { text-decoration: none; }

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(215, 173, 73, 0.35));
}

.brand-text b {
  display: block;
  color: var(--gold-2);
  letter-spacing: 0.14em;
  font-size: 0.85rem;
}
.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--silver);
  text-decoration: none;
  background: rgba(12, 13, 17, 0.78);
  transition: border-color 0.14s, color 0.14s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-2);
  border-color: var(--line);
  text-decoration: none;
}

/* Main content */
.site-main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.panel {
  background: linear-gradient(180deg, rgba(18, 19, 24, 0.94), rgba(5, 5, 6, 0.92));
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), inset 0 0 30px rgba(215, 173, 73, 0.04);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  background: url('/t/B02/b02_03.png') top left / contain no-repeat;
  opacity: 0.7;
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48px;
  height: 48px;
  background: url('/t/B02/b02_03.png') top left / contain no-repeat;
  transform: rotate(180deg);
  opacity: 0.7;
  pointer-events: none;
}

.panel > * { position: relative; z-index: 1; }

.title-plate {
  display: inline-block;
  padding: 0.35rem 1.25rem;
  margin-bottom: 1rem;
  background: url('/t/B05/b05_01.png') center / 100% 100% no-repeat;
  min-height: 42px;
  line-height: 42px;
}

.divider {
  height: 12px;
  margin: 1.75rem 0;
  background: url('/t/B03/b03_01.png') center / contain no-repeat;
  opacity: 0.85;
}

/* Hero */
.hero {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}

.hero-logo {
  width: min(220px, 70vw);
  height: auto;
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 24px rgba(215, 173, 73, 0.25));
}

.hero h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 0.35rem; }
.hero .tagline { color: var(--gold); font-size: 1.05rem; margin-bottom: 0.75rem; }
.hero .desc { max-width: 36rem; margin: 0 auto 1.5rem; color: var(--silver); }

/* Buttons */
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid #f4d990;
  background: linear-gradient(180deg, #f0d087, #a97824);
  color: #100b04;
  text-decoration: none;
  transition: filter 0.12s;
}
.gold-button:hover { filter: brightness(1.08); text-decoration: none; color: #100b04; }
.gold-button.disabled,
.gold-button[aria-disabled="true"] {
  opacity: 0.85;
  cursor: default;
  pointer-events: none;
}

.play-card {
  display: inline-block;
  padding: 0.5rem;
  margin-top: 0.5rem;
  background: url('/t/B02/b02_12.png') center / 100% 100% no-repeat;
  min-width: min(320px, 90vw);
}

/* Video showcase */
.video-section {
  text-align: center;
}

.video-section .section-intro {
  max-width: 34rem;
  margin: 0 auto 1.25rem;
  color: var(--silver);
  font-size: 0.95rem;
}

.video-frame {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 19, 24, 0.96), rgba(5, 5, 6, 0.94)),
    url('/t/B06/b06_01.png') center / cover no-repeat;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 30px rgba(215, 173, 73, 0.05);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border: 1px solid rgba(215, 173, 73, 0.18);
  border-radius: 14px;
  pointer-events: none;
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #000;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: min(72vh, 640px);
}

.video-caption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (min-width: 720px) {
  .video-frame video {
    aspect-ratio: auto;
    object-fit: contain;
    max-height: min(70vh, 720px);
  }
}

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.feature-card {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 19, 24, 0.92), rgba(5, 5, 6, 0.88));
  box-shadow: inset 0 0 20px rgba(215, 173, 73, 0.03);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/t/B04/b04_10.png') center / cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}
.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}

.disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(191, 197, 202, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Legal / content pages */
.legal-content ul { padding-left: 1.25rem; }
.legal-content li { margin: 0.35rem 0; }
.legal-meta { margin-bottom: 1.25rem; color: var(--muted); font-size: 0.9rem; }

.support-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.5rem;
}

.support-list li {
  padding: 0.65rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--silver-2);
  font-size: 0.9rem;
}

.support-list li::before {
  content: "▸ ";
  color: var(--gold);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(8, 8, 10, 0.95);
  padding: 1.5rem 1.25rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  max-width: 36rem;
  justify-content: flex-end;
}
.footer-links a { font-size: 0.85rem; color: var(--silver); }

.legal-note {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
}

.silver-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(191, 197, 202, 0.32);
  background: linear-gradient(180deg, #2a2c33, #15161b);
  color: var(--silver-2);
  text-decoration: none;
}
.silver-button:hover { filter: brightness(1.08); text-decoration: none; color: var(--silver-2); }

@media (max-width: 640px) {
  .header-inner { justify-content: center; }
  .site-nav { justify-content: center; }
  .panel { padding: 1.25rem 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
