/* Fred Gray Fan Site — style.css
   Midnight blue identity: #071520 bg, Space Grotesk, #2ec4b6 teal accent, #f0a500 gold secondary.
   Key motif: SID oscilloscope waveform. */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================================
   Tokens
   ============================================================ */
:root {
  --bg:           #071520;
  --bg-card:      #0c1e2d;
  --bg-card-2:    #102030;
  --accent:       #2ec4b6;
  --gold:         #f0a500;
  --text:         #d6e8f5;
  --text-muted:   #6a90a8;
  --border:       rgba(46, 196, 182, 0.25);
  --border-gold:  rgba(240, 165, 0, 0.35);
  --font:         'Space Grotesk', system-ui, sans-serif;
  --radius:       6px;
  --player-h:     90px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  padding-bottom: var(--player-h);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ============================================================
   Nav
   ============================================================ */
#site-nav {
  background: rgba(7, 21, 32, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
}
.nav-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
  margin-left: auto;
}
.nav-link {
  display: block;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover,
.nav-link--active {
  color: var(--accent);
  background: rgba(46, 196, 182, 0.08);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: auto;
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 3.25rem;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1.25rem;
    gap: 0.25rem;
    margin-left: 0;
  }
  .nav-menu--open { display: flex; }
}

/* ============================================================
   Layout containers
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.page-section { padding: 3rem 0; }
.section-header { margin-bottom: 2rem; }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-title { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; line-height: 1.2; }
.section-subtitle { color: var(--text-muted); margin-top: 0.5rem; max-width: 60ch; }

/* ============================================================
   Hero + Oscilloscope Animation (unique CSS technique)
   ============================================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 60%, rgba(46,196,182,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(240,165,0,0.05) 0%, transparent 50%),
              var(--bg);
}
.hero-oscilloscope {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-oscilloscope svg {
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.osc-path-1 {
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
  animation: osc-wave-1 3.2s ease-in-out infinite;
}
.osc-path-2 {
  stroke: var(--gold);
  stroke-width: 1;
  fill: none;
  opacity: 0.5;
  animation: osc-wave-2 2.4s ease-in-out infinite 0.8s;
}
.osc-grid-h, .osc-grid-v {
  stroke: rgba(46,196,182,0.12);
  stroke-width: 0.5;
}
/* Sine wave animation — the SID oscilloscope readout effect */
@keyframes osc-wave-1 {
  0%   { d: path("M0 50 C50 10,100 90,200 50 S350 10,400 50 S550 90,600 50 S750 10,800 50 S950 90,1000 50 L1000 100 L0 100 Z"); opacity: 0.3; }
  25%  { d: path("M0 50 C50 90,100 10,200 50 S350 90,400 50 S550 10,600 50 S750 90,800 50 S950 10,1000 50 L1000 100 L0 100 Z"); opacity: 0.5; }
  50%  { d: path("M0 50 C50 20,100 80,200 50 S350 20,400 50 S550 80,600 50 S750 20,800 50 S950 80,1000 50 L1000 100 L0 100 Z"); opacity: 0.35; }
  75%  { d: path("M0 50 C50 80,100 20,200 50 S350 80,400 50 S550 20,600 50 S750 80,800 50 S950 20,1000 50 L1000 100 L0 100 Z"); opacity: 0.5; }
  100% { d: path("M0 50 C50 10,100 90,200 50 S350 10,400 50 S550 90,600 50 S750 10,800 50 S950 90,1000 50 L1000 100 L0 100 Z"); opacity: 0.3; }
}
@keyframes osc-wave-2 {
  0%   { d: path("M0 55 Q100 15,200 55 T400 55 T600 55 T800 55 T1000 55"); }
  50%  { d: path("M0 45 Q100 85,200 45 T400 45 T600 45 T800 45 T1000 45"); }
  100% { d: path("M0 55 Q100 15,200 55 T400 55 T600 55 T800 55 T1000 55"); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: #fff;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 55ch;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-stat .stat-value {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); text-decoration: none; }
.btn-primary   { background: var(--accent); color: var(--bg); }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--accent); }
.btn-gold      { background: var(--gold); color: var(--bg); }

/* ============================================================
   Screenshot strip
   ============================================================ */
.screenshot-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-bottom: 0.5rem;
}
.screenshot-strip img {
  height: 160px;
  width: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* ============================================================
   Cards (game cards)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.game-card:hover { border-color: var(--accent); }
.card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-card-2);
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-align: center;
  padding: 1rem;
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
}
.card-body { padding: 0.85rem; }
.card-title { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 0.35rem; }
.card-meta { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 3px;
  background: rgba(46,196,182,0.12);
  color: var(--accent);
  border: 1px solid rgba(46,196,182,0.3);
}
.badge-gold {
  background: rgba(240,165,0,0.12);
  color: var(--gold);
  border-color: rgba(240,165,0,0.3);
}
.year { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.gallery-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.gallery-caption {
  padding: 0.5rem 0.65rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============================================================
   Filter controls
   ============================================================ */
.filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.filter-btn {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { color: var(--accent); border-color: var(--accent); }
.filter-btn--active { background: rgba(46,196,182,0.1); color: var(--accent); border-color: var(--accent); }

/* ============================================================
   Video embeds
   ============================================================ */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.video-card { }
.video-meta {
  padding: 0.65rem 0;
  font-size: 0.82rem;
}
.video-title { font-weight: 600; color: #fff; margin-bottom: 0.2rem; }
.video-channel { color: var(--text-muted); font-size: 0.75rem; }

/* ============================================================
   Content sections (history, flagship, etc.)
   ============================================================ */
.content-body {
  max-width: 72ch;
}
.content-body h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  color: #fff;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.content-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 1.5rem 0 0.5rem;
}
.content-body p { margin-bottom: 1rem; color: var(--text); }
.content-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.content-body li { margin-bottom: 0.35rem; }

aside.trivia {
  background: rgba(240,165,0,0.06);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
aside.trivia p { margin: 0; }

blockquote.dev-quote {
  background: rgba(46,196,182,0.05);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
}
blockquote.dev-quote p { margin-bottom: 0.35rem; }
blockquote.dev-quote cite {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   Resources page
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 2rem;
}
@media (max-width: 640px) {
  .resource-grid { grid-template-columns: 1fr; }
}
.resource-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(46,196,182,0.08);
}
.resource-name {
  min-width: 170px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
}
.resource-desc { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   Persistent SID player bar
   ============================================================ */
#player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-h);
  background: rgba(5, 14, 22, 0.97);
  border-top: 1px solid var(--accent);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  backdrop-filter: blur(8px);
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.player-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--accent);
  border-radius: var(--radius);
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  font-family: var(--font);
}
.player-btn:hover { background: rgba(46,196,182,0.1); }
.player-btn--active { background: rgba(46,196,182,0.2); color: var(--gold); border-color: var(--gold); }
#player-play {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
#player-play:hover { opacity: 0.85; }

.player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
#player-now-playing {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-subtune-row {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.player-subtune-row::-webkit-scrollbar { display: none; }
.subtune-btn {
  flex-shrink: 0;
  padding: 0.1rem 0.4rem;
  font-size: 0.65rem;
  font-family: var(--font);
  background: rgba(46,196,182,0.06);
  border: 1px solid rgba(46,196,182,0.15);
  border-radius: 3px;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}
.subtune-btn--active { background: rgba(46,196,182,0.18); color: var(--accent); border-color: var(--accent); }

/* VU meter */
#player-vu {
  width: 48px;
  height: 2.2rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.vu-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 1px 1px 0 0;
  transform-origin: bottom;
}
.vu-bar:nth-child(1) { animation: vu-1 0.4s ease-in-out infinite; }
.vu-bar:nth-child(2) { animation: vu-2 0.5s ease-in-out infinite 0.05s; }
.vu-bar:nth-child(3) { animation: vu-3 0.35s ease-in-out infinite 0.1s; }
.vu-bar:nth-child(4) { animation: vu-4 0.45s ease-in-out infinite 0.15s; }
.vu-bar:nth-child(5) { animation: vu-5 0.38s ease-in-out infinite 0.2s; }
.vu-bar:nth-child(6) { animation: vu-6 0.52s ease-in-out infinite 0.08s; }
@keyframes vu-1 { 0%,100%{height:20%} 50%{height:60%} }
@keyframes vu-2 { 0%,100%{height:40%} 50%{height:90%} }
@keyframes vu-3 { 0%,100%{height:30%} 50%{height:70%} }
@keyframes vu-4 { 0%,100%{height:50%} 50%{height:85%} }
@keyframes vu-5 { 0%,100%{height:25%} 50%{height:55%} }
@keyframes vu-6 { 0%,100%{height:45%} 50%{height:80%} }

.player-vol-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
#player-vol {
  width: 70px;
  accent-color: var(--accent);
}
.player-deepsid { font-size: 0.72rem; color: var(--text-muted); flex-shrink: 0; }
.player-deepsid a { color: var(--text-muted); }
.player-deepsid a:hover { color: var(--accent); }

@media (max-width: 640px) {
  #player-vol, .player-deepsid, #player-vu { display: none; }
  .player-btn { width: 1.75rem; height: 1.75rem; font-size: 0.68rem; }
}

/* ============================================================
   Music page track browser
   ============================================================ */
.track-browser { margin-top: 1.5rem; }
.track-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(46,196,182,0.08);
  transition: background 0.15s;
}
.track-row:hover { background: rgba(46,196,182,0.04); }
.track-row--active { background: rgba(46,196,182,0.08); }
.track-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.track-thumb-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--text-muted);
}
.track-info { min-width: 0; }
.track-title { font-weight: 600; font-size: 0.88rem; color: #fff; }
.track-meta  { font-size: 0.72rem; color: var(--text-muted); }
.track-expand-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
}
.track-expand-btn:hover { color: var(--accent); }
.track-play-btn {
  background: var(--accent);
  color: var(--bg);
  border: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.track-play-btn:hover { opacity: 0.85; }
.subtune-list {
  padding: 0.35rem 0.75rem 0.5rem 3.5rem;
  background: rgba(46,196,182,0.03);
}
.subtune-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  cursor: pointer;
  transition: color 0.15s;
}
.subtune-item:hover { color: var(--accent); }

@media (max-width: 600px) {
  .track-row { grid-template-columns: 44px 1fr auto; }
  .track-expand-btn { display: none; }
}

/* ============================================================
   Stats / highlights row
   ============================================================ */
.stats-row {
  display: flex;
  gap: 2rem 3rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0;
}
.stat-item .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ============================================================
   Ocean Software tape-loading easter egg
   ============================================================ */
.ocean-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
}
.ocean-overlay--visible { opacity: 1; }
.ocean-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.ocean-tape {
  width: 340px;
  background: #000;
  border: 3px solid #fff;
  padding: 0;
  font-family: 'Space Grotesk', monospace;
  text-align: center;
  animation: tape-flicker 0.08s infinite;
}
@keyframes tape-flicker {
  0%,99% { opacity: 1; }
  50%     { opacity: 0.92; }
}
.ocean-border-top, .ocean-border-bottom {
  background: #000080;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
}
.ocean-stripes {
  display: flex;
  gap: 0;
  height: 14px;
}
.ocean-stripe {
  flex: 1;
  animation: stripe-anim 1.5s linear infinite;
}
.stripe-1 { background: #ff0000; animation-delay: 0s; }
.stripe-2 { background: #ff8000; animation-delay: 0.1s; }
.stripe-3 { background: #ffff00; animation-delay: 0.2s; }
.stripe-4 { background: #00ff00; animation-delay: 0.3s; }
.stripe-5 { background: #0000ff; animation-delay: 0.4s; }
@keyframes stripe-anim {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
.ocean-logo-text {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.1em;
  padding: 0.5rem 0;
  text-shadow: 0 0 12px rgba(0,100,255,0.8);
}
.ocean-loading-bar {
  height: 8px;
  background: #111;
  border: 1px solid #333;
  margin: 0 1rem 0.5rem;
  border-radius: 2px;
  overflow: hidden;
}
.ocean-loading-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  animation: loading-fill 3s ease-in-out infinite;
  border-radius: 2px;
}
@keyframes loading-fill {
  0%   { width: 0%; }
  80%  { width: 100%; }
  100% { width: 100%; }
}
.ocean-subtitle {
  color: #aaa;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.5rem 0.5rem;
}
.ocean-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.5);
  padding: 0.35rem 1rem;
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-family: var(--font);
  letter-spacing: 0.08em;
  cursor: pointer;
}
.ocean-close:hover { color: #fff; border-color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-inner a { color: var(--text-muted); }
.footer-inner a:hover { color: var(--accent); }

/* ============================================================
   Utilities
   ============================================================ */
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-gold   { color: var(--gold); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
}
