/* TornBC TV - Global Styles */

:root {
  --bg-main: #071216;
  --bg-alt: #0d1f26;
  --accent-teal: #2ec4c4;
  --accent-red: #d64045;
  --text-main: #f5f5f5;
  --text-muted: #9fb0ba;
  --card-bg: #13252f;
  --border-soft: #21343f;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #112833 0%, #050a0c 55%, #020406 100%);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

/* Top banner / logo bar */

.top-bar {
  background: linear-gradient(90deg, #061118, #142a35);
  border-bottom: 1px solid var(--border-soft);
}

.top-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 20%, #2ec4c4, #071216);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--bg-main);
  box-shadow: 0 0 18px rgba(46, 196, 196, 0.35);
}

.logo-mark span {
  font-size: 0.75rem;
}

.site-title-block {
  display: flex;
  flex-direction: column;
}

.site-title-block h1 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-title-block span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Navigation */

.nav {
  background: #050b0f;
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.4rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--text-main);
  border-color: var(--accent-teal);
  background: rgba(46, 196, 196, 0.09);
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Hero */

.hero {
  padding: 1.75rem 0 1.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
}

.hero-main {
  background: radial-gradient(circle at top left, rgba(46, 196, 196, 0.25), transparent 60%),
              linear-gradient(135deg, rgba(9, 18, 26, 0.85), rgba(6, 12, 18, 0.96));
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(46, 196, 196, 0.15);
  box-shadow: 0 20px 45px rgba(1, 4, 8, 0.9);
}

.hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
}

.hero-main h2 {
  margin: 0 0 0.5rem;
  font-size: 1.9rem;
}

.hero-sub {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal), #7ff8f3);
  color: #021016;
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: rgba(7, 18, 22, 0.7);
  border-color: rgba(159, 176, 186, 0.5);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(159, 176, 186, 0.08);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px dashed rgba(136, 159, 172, 0.7);
}

/* Hero side */

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel {
  background: linear-gradient(145deg, rgba(4, 10, 14, 0.9), rgba(15, 37, 46, 0.98));
  border-radius: 16px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 30px rgba(1, 4, 8, 0.8);
}

.panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.panel p {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
}

.tag-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(46, 196, 196, 0.1);
  color: var(--accent-teal);
}

/* Sections & cards */

.section {
  margin-top: 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-title {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.section-header h2 {
  margin: 0.1rem 0 0;
  font-size: 1.2rem;
}

.section-header p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 0.85rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--accent-teal);
}

.card-title {
  font-size: 1rem;
  margin: 0;
}

.card-body {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-meta {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Schedule */

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--border-soft);
}

.schedule-table th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
}

/* Page content */

.page-header {
  margin: 1.8rem 0 1.2rem;
}

.page-header h1 {
  margin: 0 0 0.3rem;
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-two-col {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
}

.show-meta-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.show-meta-list li {
  margin-bottom: 0.25rem;
}

/* Media Kit */

.definition-list {
  margin: 0;
}

.definition-list dt {
  font-weight: 600;
  margin-top: 0.75rem;
}

.definition-list dd {
  margin: 0.15rem 0 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Video frame */

.tv-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.tv-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Footer */

.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
  background: #050b0f;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 850px) {
  .hero-grid,
  .page-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero-main h2 {
    font-size: 1.55rem;
  }
}
