/* MassiveSponge — minimal, matches vod.massivesponge.com */

:root {
  color-scheme: dark;
  --accent: #4f7cff;
  --live: #d64545;
  --border: rgba(128, 128, 128, 0.35);
}

* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  line-height: 1.5;
  background: #0a0c10;
  color: #e6e6e6;
}

a { color: var(--accent); }

main,
.hero-inner,
.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1 { font-size: 1.6rem; margin: 0; }
h2 { font-size: 1.1rem; margin: 0 0 0.75rem; }
h3 { font-size: 1rem; margin: 0 0 0.5rem; }

.hidden { display: none !important; }

/* Hero */
.hero {
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 1.5rem;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.hero-logo {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border);
}

.hero-tagline {
  opacity: 0.7;
  font-size: 0.9rem;
  margin: 0.25rem 0 1rem;
}

/* Social links */
.social-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
}

.social-link:hover { border-color: var(--accent); }
.social-link svg { width: 15px; height: 15px; fill: currentColor; }

/* Sections */
.section { margin: 2rem 0; }

.section-sub { opacity: 0.7; font-size: 0.9rem; margin: -0.25rem 0 1rem; }
.section-more { font-size: 0.9rem; }

/* Embeds */
.embed-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

.live-badge {
  display: inline-block;
  vertical-align: middle;
  background: var(--live);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.15em 0.5em;
  border-radius: 4px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: inherit;
  text-decoration: none;
}

.card:hover { border-color: var(--accent); }
.card p { margin: 0; opacity: 0.7; font-size: 0.85rem; }

.card-thumb {
  display: block;
  width: calc(100% + 2.5rem);
  margin: -1rem -1.25rem 0.75rem;
  border-radius: 8px 8px 0 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Settings */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.settings-block {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.settings-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.settings-table th,
.settings-table td {
  padding: 0.35rem 0.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.settings-table tr:last-child th,
.settings-table tr:last-child td { border-bottom: none; }
.settings-table th { font-weight: 500; opacity: 0.7; width: 45%; }

/* Footer */
.footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  font-size: 0.9rem;
}

.footer-copy { opacity: 0.7; font-size: 0.8rem; }
