/* Common Shot One Fighters styles. Page-specific styles follow this file. */
@font-face { font-family: 'Owners Text'; src: url('fonts/OwnersText-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Owners Text'; src: url('fonts/OwnersText-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Owners Text'; src: url('fonts/OwnersText-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Owners Text'; src: url('fonts/OwnersText-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --bg: #050508;
  --ink: #e8e4dc;
  --muted: #6e6a62;
  --display: 'Owners Text', sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow-x: hidden;
}

body::before {
  content: ""; position: fixed; inset: 0;
  pointer-events: none; z-index: 100; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.bg-image {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh; height: 100dvh;
  object-fit: cover; pointer-events: none;
  z-index: -3;
  filter: saturate(0.6);
}
.bg-darken {
  position: fixed; inset: 0;
  background: rgba(20, 22, 35, 0.85);
  pointer-events: none;
  z-index: -2;
}
.bg-fade {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 70vh;
  background: linear-gradient(0deg, rgba(5,5,8,1) 0%, rgba(5,5,8,0.95) 20%, rgba(5,5,8,0.7) 45%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

/* ── Site Header ── */
/* Sticky positioning preserves the existing iOS viewport behavior. */
.site-header {
  position: sticky;
  width: 100%;
  align-self: stretch;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: calc(56px + env(safe-area-inset-top, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: env(safe-area-inset-top, 0px) 1.25rem 0;
  background: rgba(5, 5, 8, 0.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 100vh;
  background: var(--bg);
  pointer-events: none;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent 100%);
}
.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header-logo img { height: 30px; width: auto; display: block; }
.header-nav a {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.header-nav a:hover { color: var(--ink); }
.header-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s ease;
}
.header-social a:hover { color: var(--ink); }
.header-social svg { width: 100%; height: 100%; }
.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: white;
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 50%, #1b2838 100%);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.15s ease, filter 0.15s ease;
  position: relative;
  overflow: hidden;
}
.header-cta:hover { transform: scale(1.04); filter: brightness(1.15); }
.header-cta:active { transform: scale(0.97); }
.header-cta-icon { width: 14px; height: 14px; flex-shrink: 0; fill: currentColor; }

@media (max-width: 768px) {
  .site-header { height: calc(50px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 1rem 0; }
  .header-logo img { height: 24px; }
  .header-social a[aria-label="Patreon"] { display: none; }
  .header-social { display: none; gap: 0.75rem; }
  .header-social a { width: 17px; height: 17px; }
  .header-cta { font-size: 0.65rem; padding: 0.4rem 0.75rem; }
}

/* ── Footer ── */
.site-footer {
  width: 100%;
  padding: 3rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(0deg, rgba(5,5,8,0.95) 0%, rgba(5,5,8,0.7) 50%, transparent 100%);
  position: relative;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-nav a {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--ink); }
.footer-copy {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

/* Privacy overlay */
#page-content.faded {
  opacity: 0.1;
  pointer-events: none;
  visibility: hidden;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 5, 8, 0.85);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.overlay-content {
  max-width: 650px;
  width: 100%;
  padding: 5rem 2rem 4rem;
  position: relative;
}

.overlay-back {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s ease;
}

.overlay-back:hover {
  color: var(--ink);
}

.overlay-title {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.overlay h2 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.overlay p {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(232, 228, 220, 0.7);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.overlay ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.overlay ul li {
  font-family: var(--display);
  font-size: 0.85rem;
  color: rgba(232, 228, 220, 0.7);
  line-height: 1.7;
  padding-left: 1rem;
  position: relative;
}

.overlay ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.overlay a { color: var(--ink); }

/* footer social row: hidden on desktop, first footer row on mobile */
.footer-social { display: none; align-items: center; gap: 1.4rem; margin-bottom: 0.6rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--ink, #e8e4dc); }
.footer-social svg { width: 100%; height: 100%; }
@media (max-width: 768px) {
  .footer-social { display: flex; }
}
