/*
Theme Name: Streams
Version: 1.5.0 (Premium Purple + Gold Palette)
*/

/* =========================================================
   01. ROOT & RESET
========================================================= */

:root {
  /* Backgrounds - deep purple-black, rich depth */
  --bg-main: #0e0a1a;
  --bg-card: linear-gradient(180deg, #1e1638 0%, #140e26 100%);
  --bg-card-2: #180f2c;
  --bg-dark: #08050f;
  --bg-nav: #12091f;
  --header: linear-gradient(to bottom, #1a1530 0%, #08070f 100%);
  --nav-blue: #241d3d;
  /* Brand Colors */
  --blue: #7c3aed;
  --blue-dark: #4c1d95;
  --blue-light: #a78bfa;
  --gold: #d4af37;
  --gold-dark: #a8842a;
  --gold-light: #f0cc5c;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --red-light: #ef4444;
  --border: #2b2440;
  --border-light: #3d3557;
  --border-gold: #4a3f24;
  --text-main: #f5f2fa;
  --text-muted: #a99cc4;
  --text-soft: #cfc9e0;
  --live: #d4af37;
  --warning: #f59e0b;
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 8px;
  --transition: 0.25s ease;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: radial-gradient(ellipse 900px 700px at 50% -10%, rgb(124 58 237 / 10%), transparent 65%), var(--bg-main);
  color: var(--text-main);
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--gold-light);
  text-decoration: none;
}

button,
select,
input {
  font-family: inherit;
}

h1,
h2,
h3,
.site-name {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
}

h3 {
  font-size: 21px;
}

p,
.p {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 400;
}

/* =========================================================
   02. ACCESSIBILITY
========================================================= */

.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;
}

/* =========================================================
   03. MAIN LAYOUT
========================================================= */

.container {
  display: flex;
  flex-wrap: wrap;
  width: min(100%, 1400px);
  margin: 10px auto;
  padding: 0 10px;
}

.left-content {
  flex: 2;
  min-width: 0;
}

.right-sidebar {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 10px;
}

/* =========================================================
   04. HEADER
========================================================= */

.main_header {
  z-index: 9999;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0px;
  background: var(--header);
  border-bottom: 1px solid var(--border);
}

.main_header .logo-line {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7px 15px;
}

.main_header .logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  text-decoration: none;
}

.main_header .logo-img {
  display: block;
  width: 300px;
  height: 60px;
  object-fit: contain;
}

.main_header .site-name {
  display: none;
  color: var(--text-main);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
}

.main_header .logo-link:hover .site-name {
  color: var(--gold-light);
}

/* =========================================================
   05. MAIN NAVIGATION
========================================================= */

.main-navigation {
  width: 100%;
}

.sports-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sports-nav li {
  margin: 0;
  padding: 4px 7px;
}

.sports-nav li a {
  display: inline-block;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.sports-nav li a:hover {
  color: var(--gold-light);
}

/* =========================================================
   07. HOME CONTENT
========================================================= */

.home-main-content {
  padding-top: 20px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgb(0 0 0 / 25%);
}

.home-main-content h1 {
  margin-bottom: 12px;
  color: var(--text-main);
  font-size: 27px;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.home-main-content h3 {
  letter-spacing: -.5px;
  font-size: 1.4rem;
  line-height: 112%;
  text-transform: uppercase;
  text-align: center;
}

.home-main-content p {
  margin: 18px 20px;
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 1.2em;
  line-height: 1.7;
}

.home-sidebar-content ul li {
  position: relative;
  margin: 0 0 14px;
  margin-right: 50px;
  line-height: 1.7;
}

/* =========================================================
   08. SIDEBAR
========================================================= */

.home-sidebar-content {
  padding-top: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgb(0 0 0 / 25%);
}

.home-sidebar-content h2,
.home-sidebar-content h3 {
  color: var(--text-main);
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 8px 20px;
  line-height: 1.3;
  text-align: left;
}

.home-sidebar-content h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.home-sidebar-content h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.home-sidebar-content p {
  margin: 18px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-sidebar-content ol {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-sidebar-content ol li {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-sidebar-content ol li strong {
  color: var(--gold-light);
}

/* =========================================================
   10. SCHEDULE
========================================================= */

.MLB_schedule_container {
  width: 100%;
  border-collapse: collapse;
}

.MLB_schedule_container tr {
  border: 1px solid var(--border);
}

table {
  width: 100%;
  font-size: 15px;
  text-align: center;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 3px 8px rgb(0 0 0 / 35%);
}

table td,
table th {
  padding: 6px;
  vertical-align: middle;
  border: 1px solid var(--border);
}

.schedule_date_heading {
  padding: 7px;
  background: var(--bg-nav);
  border: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
  color: var(--text-main);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.season_title {
  margin: 0;
  padding: 10px;
  color: var(--text-main);
  font-size: 20px;
}

h1.team_schedule_heading {
  margin-bottom: 0;
  color: var(--text-main) !important;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

/* =========================================================
   12. WATCH / BACKUP / HD BUTTONS
========================================================= */

button.watch_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.watch_btn,
.backup_btn {
  padding: 8px 10px;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.watch_btn {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  border: 1px solid var(--gold);
  color: #1a0e00;
  box-shadow: 0 3px 8px rgb(212 175 55 / 25%);
}

.watch_btn:hover {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a0e00;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgb(212 175 55 / 35%);
}

/* =========================================================
   13. PLAYER
========================================================= */

.player_area {
  display: none;
  margin-bottom: 25px;
  margin-left: 0;
}

.player_container {
  position: relative;
  height: 0;
  padding-top: 56.25%;
  background: #000;
}

.player_container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  background: #000;
}

.iframe-links {
  display: flex;
  width: 100%;
  margin-bottom: 0;
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  text-align: center;
}

.theatre_btn {
  width: 100%;
  padding: 14px;
  background: var(--bg-card-2);
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}

.theatre_btn:hover,
.theatre_btn.active {
  background: var(--nav-blue);
  color: var(--gold-light);
}

/* =========================================================
   14. CHAT
========================================================= */

#darkChat {
  display: none;
  height: 550px;
  background: linear-gradient(180deg, var(--bg-card-2) 0%, var(--bg-dark) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* =========================================================
   15. PRICING
========================================================= */

.pricing-box {
  display: none;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
}

.pricing-box .price1 {
  margin: 0;
  padding: 5px 0 15px;
  color: var(--gold);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.pricing-box .price {
  margin: 5px 0;
  padding: 8px 0;
  color: var(--text-main);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.pricing-box .price sup {
  position: relative;
  top: -12px;
  color: var(--text-main);
  font-size: 21px;
}

.pricing-box .price sub {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
}

.pricing-box ul {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.pricing-box ul li {
  padding: 9px 5px;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.pricing-box ul li:last-child {
  border-bottom: 0;
}

.pricing-box .button {
  width: 100%;
  margin-top: 20px;
}

.pricing-box .button a {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  border-radius: 5px;
  color: #1a0e00;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.pricing-box .button a:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgb(212 175 55 / 35%);
}

/* =========================================================
   16. NATIVE BANNER
========================================================= */

.native {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  margin: 10px auto -20px;
  padding: 10px;
}

/* =========================================================
   18. TOP NAVBAR
========================================================= */

.top_navbar {
  overflow-x: auto;
  padding: 6px 10px;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 14px;
  white-space: nowrap;
}

/* =========================================================
   19. CLEARFIX
========================================================= */

.clearfix::after,
.container-fluid::after,
.container::after,
.row::after {
  display: table;
  clear: both;
  content: "";
}

/* =========================================================
   20. FOOTER
========================================================= */

.site-footer {
  width: 100%;
  margin: 0;
  padding: 10px;
  background: var(--header);
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}

.site-footer__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 0px;
  box-sizing: border-box;
}

.site-footer__disclaimer {
  width: 100%;
  margin: 0;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.site-footer__disclaimer p {
  margin: 0 auto;
  padding: 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}

.site-footer__copyright strong {
  color: var(--gold-light);
  font-weight: 700;
}

.site-footer__copyright {
  width: 100%;
  margin: 0;
  padding: 15px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.site-footer__disclaimer h3 {
  color: var(--text-main);
  margin-bottom: 8px;
}

/* =========================================================
   21. TABLET
========================================================= */

@media (max-width: 992px) {
  .sports-nav {
    padding-right: 5px;
    padding-left: 5px;
  }
  .sports-nav li {
    padding: 5px;
  }
  .sports-nav li a {
    font-size: 12px;
  }
  .pricing-box .price1 {
    font-size: 23px;
  }
  .pricing-box .price {
    font-size: 38px;
  }
}

/* =========================================================
   22. MOBILE
========================================================= */

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 6px;
    padding: 5px;
  }
  .right-sidebar {
    margin-left: 0px;
  }
  .home-main-content ul li {
    margin-right: 20px;
  }
  .logo-line {
    width: 100%;
  }
  .main_header .logo-line {
    flex-direction: column;
    align-items: center;
  }
  .main_header .logo-img {
    width: 300px;
    height: 50px;
  }
  .sports-nav {
    justify-content: center;
    align-items: center;
  }
  .sports-nav li a {
    font-size: 13px;
    font-weight: 700;
  }
  table td,
  table th {
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
  }
  .watch_btn {
    width: 60px;
    height: 35px;
    font-size: 14px;
  }
  .iframe-links a {
    padding: 10px;
    font-size: 14px;
  }
  #darkChat {
    display: none !important;
  }
  .native {
    width: 100%;
    margin: 10px auto;
  }
  .minibanner_text {
    font-size: 10px;
  }
  .sports_schedule_container li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 15px;
  }
  .watch_btn,
  .hd {
    padding: 8px;
    font-size: 12px;
    white-space: nowrap;
  }
  .watch_btn.bakup_btn {
    font-size: 11px;
  }
  .pricing-box {
    margin-top: 15px;
    padding: 20px 15px;
  }
  .pricing-box .price1 {
    font-size: 21px;
  }
  .pricing-box .price {
    font-size: 36px;
  }
  .pricing-box ul li {
    font-size: 13px;
  }
  .site-footer {
    margin-top: 25px;
  }
  .site-footer__inner {
    padding: 21px 16px 18px;
  }
  .site-footer__disclaimer {
    padding-bottom: 17px;
  }
  .site-footer__disclaimer p {
    font-size: 12px;
    line-height: 1.65;
  }
  .site-footer__copyright {
    padding-top: 13px;
  }
}

/* ---------- Sponsor card ---------- */

.infobox {
  margin-top: -20px;
  margin-bottom: -27px;
}

.ps-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
}

.ps-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-wrap: wrap;
  min-width: 0;
}

.ps-tagline {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
}

.ps-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ps-feat {
  display: inline-flex;
  align-items: center;
  color: #fff;
}

.ps-card:hover .ps-feat {
  color: rgb(255 255 255 / 65%);
}

.ps-feat-4k {
  padding: 2px 5px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .5px;
}

.ps-try {
  margin-left: 4px;
  color: #ff8204 !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  transition: color .2s ease;
  animation: blink 1.5s infinite;
}

.ps-card:hover .ps-try {
  color: #f07b0a;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: .35;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .ps-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
  }
  .ps-left {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .ps-tagline {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
  }
  .ps-right {
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid rgb(255 255 255 / 8%);
    padding-top: 10px;
  }
  .ps-feat svg {
    width: 15px;
    height: 15px;
  }
  .ps-feat-4k {
    padding: 2px 4px;
    font-size: 10px;
  }
  .ps-try {
    margin-left: auto;
    font-size: 15px;
  }
}

/* =========================================================
   23. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .site-footer {
    margin-top: 20px;
  }
  .site-footer__inner {
    padding: 19px 12px 15px;
  }
  .site-footer__disclaimer {
    padding-bottom: 14px;
  }
  .site-footer__disclaimer p {
    font-size: 11px;
    line-height: 1.65;
  }
  .site-footer__copyright {
    padding-top: 12px;
    font-size: 10px;
    line-height: 1.5;
  }
}