/* Bro App — Public Website Styles
   Brand: Gentleman's club meets sports bar
   Colors from bro-design-system-v2.jsx */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clubhouse: #1A3C2A;
  --forest: #1E4D35;
  --charcoal: #0D1F15;
  --parchment: #F5F0E6;
  --gold: #C5A55A;
  --gold-dim: rgba(197, 165, 90, 0.4);
  --tan: #C8B88A;
  --sage: #7A8B6F;
  --fire: #E97E2B;
  --text-on-green: #C5A55A;
  --text-on-green-body: #C8B88A;
  --text-on-green-muted: #9AAB8F;
  --text-on-cream: #1E4D35;
  --text-on-cream-muted: #4A5A3F;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--clubhouse);
  color: var(--text-on-green-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── FOCUS STYLES ─────────────────────── */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(197, 165, 90, 0.25);
}

.nav-links a:focus-visible {
  background: var(--forest);
  color: var(--parchment);
  outline: none;
}

/* ─── ANIMATIONS ───────────────────────── */

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

@keyframes subtleGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes goldGlow {
  0%, 100% { filter: drop-shadow(0 8px 32px rgba(197, 165, 90, 0.25)); }
  50%      { filter: drop-shadow(0 8px 48px rgba(197, 165, 90, 0.5)); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── NAV ──────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 31, 21, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--gold-dim);
  padding: 0 20px;
}

.site-nav .nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.site-nav .logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 4px;
  font-family: system-ui, -apple-system, sans-serif;
}

.nav-links a {
  padding: 7px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--tan);
  transition: all 150ms;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--forest);
  color: var(--parchment);
}

/* ─── FOOTER ───────────────────────────── */

.site-footer {
  border-top: 1.5px solid var(--gold-dim);
  padding: 40px 20px;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px;
  color: var(--text-on-green-muted);
}

.site-footer .footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--tan);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover { color: var(--gold); }

.site-footer p { margin-top: 8px; }

.apple-credit {
  font-size: 11px;
  color: var(--text-on-green-muted);
  opacity: 0.6;
  margin-top: 12px;
  line-height: 1.5;
}

.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ─── HERO ─────────────────────────────── */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, #142E20, #1A3C2A, #1E4D35, #1A3C2A);
  background-size: 300% 300%;
  animation: subtleGradient 12s ease infinite;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/leather-bg.jpg') center / cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero-cap {
  width: 140px;
  height: 140px;
  margin-bottom: 32px;
  filter: drop-shadow(0 8px 32px rgba(197, 165, 90, 0.3));
  animation: fadeUp 0.6s ease-out both, goldGlow 4s ease-in-out 1s infinite;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease-out 0.1s both;
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold) 40%,
    #F0DCA0 50%,
    var(--gold) 60%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 0.6s ease-out 0.1s both, shimmer 10s linear 2s infinite;
}

.hero-sub {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 2.5vw, 20px);
  max-width: 560px;
  line-height: 1.65;
  color: var(--tan);
  margin-bottom: 36px;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero .btn-primary {
  animation: fadeUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--forest);
  color: var(--parchment);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid var(--gold-dim);
  border-radius: 14px;
  text-decoration: none;
  transition: all 200ms;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(197, 165, 90, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(197, 165, 90, 0.2);
}

/* ─── APP STORE BADGE ─────────────────── */

.app-store-badge {
  display: inline-block;
  transition: transform 200ms, filter 200ms;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.app-store-badge:active {
  transform: translateY(0);
}

.app-store-badge img {
  display: block;
  height: 54px;
  width: auto;
}

.section-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  text-align: center;
}

/* ─── SHOWCASE SECTION ────────────────── */

.showcase {
  padding: 80px 20px;
  max-width: 960px;
  margin: 0 auto;
}

.showcase::before {
  content: '';
  display: block;
  width: 60px;
  height: 1.5px;
  background: var(--gold-dim);
  margin: 0 auto 48px;
}

.showcase-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.showcase-item {
  min-width: 0;
  overflow: hidden;
  animation: fadeUp 0.5s ease-out both;
}

.showcase-item:nth-child(1) { animation-delay: 0.1s; }
.showcase-item:nth-child(2) { animation-delay: 0.2s; }
.showcase-item:nth-child(3) { animation-delay: 0.3s; }

.showcase-item h3 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.showcase-item p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tan);
  margin-bottom: 20px;
}

.showcase-item img {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
}

/* ─── CTA SECTION ──────────────────────── */

.cta-section {
  text-align: center;
  padding: 60px 20px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.cta-section::before {
  content: '';
  display: block;
  width: 60px;
  height: 1.5px;
  background: var(--gold-dim);
  margin: 0 auto 48px;
}

.cta-section .section-label { margin-bottom: 24px; }

.cta-section .support-link {
  display: block;
  margin-top: 16px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  color: var(--text-on-green-muted);
}

.cta-section .support-link a {
  color: var(--gold);
  text-decoration: none;
}

.cta-section .support-link a:hover { text-decoration: underline; }

/* ─── LEGAL PAGES (Privacy, Terms) ─────── */

.legal-page {
  background: var(--parchment);
  color: var(--text-on-cream);
  min-height: 100vh;
}

.legal-page .site-nav {
  background: rgba(26, 60, 42, 0.97);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.arbitration-notice {
  background: rgba(233, 126, 43, 0.1);
  border: 1.5px solid rgba(233, 126, 43, 0.35);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-on-cream);
}

.legal-content h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  color: var(--text-on-cream);
  margin-bottom: 8px;
}

.legal-content .last-updated {
  font-size: 14px;
  color: var(--text-on-cream-muted);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  color: var(--text-on-cream);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(197, 165, 90, 0.25);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 8px 0 16px 24px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--gold-dim);
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--clubhouse);
  text-decoration-color: var(--gold);
}

/* ─── SUPPORT PAGE ─────────────────────── */

.support-page {
  background: var(--parchment);
  color: var(--text-on-cream);
  min-height: 100vh;
}

.support-page .site-nav {
  background: rgba(26, 60, 42, 0.97);
}

.support-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  font-family: system-ui, -apple-system, sans-serif;
}

.support-minimal {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.support-minimal h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  color: var(--text-on-cream);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.support-oneliner {
  font-size: 18px;
  color: var(--text-on-cream-muted);
  margin-bottom: 24px;
}

.support-email {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  margin-bottom: 32px;
}

.support-email:hover { text-decoration: underline; }

.support-legal-links {
  display: flex;
  gap: 24px;
}

.support-legal-links a {
  font-size: 14px;
  color: var(--text-on-cream-muted);
  text-decoration: none;
}

.support-legal-links a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.support-header {
  text-align: center;
  margin-bottom: 40px;
}

.support-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  color: var(--text-on-cream);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.support-header p {
  font-size: 16px;
  color: var(--text-on-cream-muted);
  line-height: 1.6;
}

.support-header a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
}

.support-header a:hover { text-decoration: underline; }

.faq-section {
  margin-bottom: 32px;
}

.faq-section-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-on-cream-muted);
  margin-bottom: 12px;
  padding-left: 4px;
}

.faq-section details {
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 12px;
  margin-bottom: 8px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 200ms;
}

.faq-section details[open] {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.faq-section summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-on-cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  user-select: none;
  transition: color 150ms;
}

.faq-section summary:hover {
  color: var(--clubhouse);
}

.faq-section summary::-webkit-details-marker { display: none; }

.faq-section summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--sage);
  transition: transform 200ms;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-section details[open] summary::after {
  content: '\2212';
}

.faq-section .faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-on-cream-muted);
}

.faq-section .faq-answer a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--gold-dim);
}

/* ─── CONTACT BLOCK ────────────────────── */

.contact-block {
  text-align: center;
  padding: 40px 24px;
  background: var(--clubhouse);
  border-radius: 16px;
  border: 1.5px solid var(--gold-dim);
  margin-top: 40px;
}

.contact-block h2 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 12px;
}

.contact-block p {
  font-size: 15px;
  color: var(--tan);
  margin-bottom: 8px;
}

.contact-block a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}

.contact-block a:hover { text-decoration: underline; }

.contact-block .response-time {
  font-size: 13px;
  color: var(--text-on-green-muted);
  margin-top: 8px;
}

/* ─── 404 PAGE ─────────────────────────── */

.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-404 img {
  opacity: 0.4;
  margin-bottom: 20px;
}

.page-404 h1 {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-404 p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 18px;
  color: var(--tan);
  margin-bottom: 24px;
}

/* ─── RESPONSIVE ───────────────────────── */

@media (max-width: 768px) {
  .site-nav .nav-inner { height: 52px; }

  .site-nav .logo { font-size: 16px; letter-spacing: 2px; }
  .site-nav .logo img { width: 30px; height: 30px; }

  .nav-links a { padding: 6px 10px; font-size: 13px; }

  .hero { min-height: 75vh; padding: 60px 20px 40px; }
  .hero-cap { width: 100px; height: 100px; margin-bottom: 24px; }

  .showcase-trio {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 320px;
    margin: 0 auto;
  }

  .showcase-item img { max-width: 280px; }

  .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 380px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 6px 6px; font-size: 12px; }
}
