/*
Theme Name: TheTVApp
Theme URI: https://thetvapps.com/
Description: A custom theme for displaying live sports schedule and streams.
Version: 1.0
Author: Sabbir Hasan
Author URI: https://thetvapps.com/
*/

body {
  margin: 0;
  padding: 0;
  background-color: #1a1a1a;
  font-family: 'Roboto', sans-serif;
}

/* =============================
   HEADER
============================= */
.main_header {
  width: 100%;
  background: linear-gradient(to right, #111, #001f35, #0b0b0b, #001f35);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 999;
}

.Second_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 15px 20px;
  max-width: 1200px;
  margin: auto;
  box-shadow: 0 2px 2px rgb(0 0 0 / .14);
  border: 2px solid transparent;
}

/* LOGO - Desktop */
.navbar-brand img {
  height: 90px;
  width: auto;
  display: block;
}

/* =============================
   NAVIGATION
============================= */
.nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0d6efd;
}

/* =============================
   BUTTONS
============================= */
.btn {
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-outline-light {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: #111;
}

.btn-primary {
  background-color: #2271b1;
  color: #fff;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.5);
}

/* =============================
   TYPOGRAPHY
============================= */
.site-name {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
}

h2 {
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.2;
}

/* =============================
   MAIN CONTENT
============================= */
.home-main-content {
  background: linear-gradient(to right, #111, #001f35, #0b0b0b, #000);
  padding: 5px;
  margin-bottom: 20px;
  border-radius: 5px;
  margin-left: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-main-content h1 {
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.home-main-content p {
  margin: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #dbdbdb;
}

/* =============================
   SIDEBAR
============================= */
.home-sidebar-content {
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.01);
}

.home-sidebar-content h2 {
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}

.home-sidebar-content h3 {
  font-size: 17px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}

.home-sidebar-content h5 {
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}

.home-sidebar-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #dbdbdb;
  margin: 20px;
}

.home-sidebar-content ol {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #dbdbdb;
}

.home-sidebar-content ol li {
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 0.95rem;
  color: #dbdbdb;
}

.home-sidebar-content ol li strong {
  color: #ffffff;
  font-size: 0.95rem;
}

/* =============================
   LOGO LINE
============================= */
.logo-line {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 50px;
  height: 35px;
  margin-right: 5px;
}

.logo-text {
  font-size: 25px;
  color: white;
  margin: 0;
}

/* =============================
   TIMEZONE
============================= */
.timezone-selector {
  position: relative;
  display: block;
  width: 160px;
}

.timezone-selector select {
  background-color: #013369;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  border: 0px;
  border-radius: 0px;
  padding: 8px 20px;
  appearance: none;
  cursor: pointer;
  width: 100%;
}

.timezone-selector::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #fff;
  font-size: 15px;
}

/* =============================
   LAYOUT CONTAINER
============================= */
.container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

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

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

/* =============================
   FOOTER
============================= */
.main_footer {
  background: linear-gradient(to right, #111, #001f35, #0b0b0b, #000);
  color: #fff;
  border-top: 2px solid #cc0000;
  padding-top: 10px;
}

.footer_container {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
}

.footer_left h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.footer_left p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
  text-align: center;
}

.footer_links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer_links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer_links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer_social {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-top: -12px;
}

/* =============================
   TOP NAVBAR (SCORE STRIP)
============================= */
.top_navbar {
  background: #121212;
  color: #eee;
  padding: 5px 10px;
  border-bottom: 1px solid #444;
  font-size: 14px;
  overflow-x: auto;
  white-space: nowrap;
}

/* =============================
   CLEARFIX
============================= */
.clearfix::before,
.clearfix::after,
.container::before,
.container::after,
.container-fluid::before,
.container-fluid::after,
.row::before,
.row::after {
  content: "";
  display: table;
}

.clearfix::after,
.container::after,
.container-fluid::after,
.row::after {
  clear: both;
}

.clearfix {
  display: flex;
  flex-wrap: wrap;
}

/* =============================
   SPORTS SCHEDULE
============================= */
.sports_schedule_container {
  list-style: none;
  margin-top: -10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
  counter-reset: gameno;
}

.sports_schedule_container li {
  counter-increment: gameno;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #111, #001f35, #0b0b0b, #000);
  border-bottom: 1px solid rgb(36 34 34);
  border-radius: 4px;
  padding: 8px 20px;
}

.sports_schedule_container li::before {
  content: counter(gameno) ".";
  position: absolute;
  top: 15px;
  font-size: 16px;
  font-weight: 900;
}

.second_line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.teamvs {
  flex: 1;
  display: flex;
  gap: 5px;
  align-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  line-height: 1.4em;
  margin-left: 20px;
}

.teamvs .at-symbol {
  font-size: 19px;
  color: #fff;
  font-weight: 700;
}

.game_time {
  font-weight: 700;
  font-size: 14px;
  background: #212121;
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
}

.game_time.live {
  color: red;
  font-weight: bold;
  animation: blink 1.5s infinite;
}

.game_time.final {
  color: red;
  font-weight: bold;
}

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

/* =============================
   WATCH BUTTON
============================= */
button.watch_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.watch_btn {
  background: linear-gradient(90deg, #d7d8da 0%, #ffffff 50%, #d7d8da 100%);
  color: #000;
  font-size: 13px;
  font-weight: 900;
  border-radius: 3px;
  padding: 8px 6px;
  cursor: pointer;
  border: 1px solid #e4b75a;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.watch_btn:hover {
  background: linear-gradient(90deg, #d7d8da 10%, #ffffff 100%, #d7d8da 50%);
  color: #000;
  filter: brightness(1.15);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.55);
}

.hd {
  background: linear-gradient(90deg, #c8a043 0%, #ffe899 50%, #c8a043 100%);
  border: none;
  color: #000;
  width: 100%;
  font-weight: 900;
  border-radius: 2px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  transition: 0.25s;
}

.hd:hover {
  filter: brightness(1.15);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.55);
}

/* =============================
   SCHEDULE LABELS
============================= */
.season_title {
  font-size: 12px;
  color: #fff;
  padding: 10px;
}

.schedule_date_heading {
  text-align: center;
  background: #2c2c2c;
  border-radius: 15px 15px 0 0;
  color: #fff;
  font-size: 12px;
}

/* =============================
   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;
}

/* =============================
   TEAM SCHEDULE HEADING
============================= */
h1.team_schedule_heading {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: #000;
  margin-bottom: 0px;
}

/* =============================
   PLAYER AREA
============================= */
.player_area {
  display: none;
  background: linear-gradient(to right, #111, #001f35, #0b0b0b, #000);
  margin-bottom: 30px;
  margin-left: 0px;
  margin-right: 3px;
}

.theatre_btn {
  border-right: 1px solid #525252;
  color: white;
  padding: 15px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  border-radius: 0px;
  transition: 0.3s;
  width: 20.2%;
}

.theatre_btn.active {
  background: #014a01;
}

.theatre_btn:hover {
  background: #710202;
}

.hd-btn {
  background: gold;
  color: black;
  font-weight: bold;
}

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

.player_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #525252;
}

.iframe-links {
  width: 100.3%;
  display: flex;
  background-color: var(--theme_color);
  text-align: center;
  margin-bottom: 0px;
}

/* =============================
   MINI BANNER
============================= */
.mini_banner_area {
  margin-top: 0px;
  display: flex;
  margin-right: -2px;
  align-items: center;
  border: 1px solid #525252;
  color: #ffffff;
  background: linear-gradient(to right, #111, #001f35, #0b0b0b, #000);
  font-weight: 700;
}

.mini_banner {
  text-align: center;
  flex-basis: calc(100% - 95px);
  padding: 15px;
}

.hd_image {
  flex-basis: 53px;
  background: #000;
  padding: 20px 10px;
  text-align: center;
  border-radius: 0 5px 5px 0;
}

.hd_image img {
  width: 30px;
}

.minibanner_text {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  font-weight: 700;
  vertical-align: middle;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 10px;
}

.minibanner_text:before,
.minibanner_text:after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  transition: transform .3s cubic-bezier(.76, 0, .24, 1);
  transform-origin: 100% 50%;
}

.minibanner_text:before {
  background-color: var(--theme_color);
  height: 1px;
  bottom: 0;
  transform: scaleX(0);
}

.minibanner_text:after {
  content: attr(data-replace);
  top: 0;
  height: 100%;
  transform: translate3d(200%, 0, 0);
  color: var(--theme_color);
  text-shadow: 0 0 0 transparent;
}

.minibanner_text:hover:before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

.minibanner_text:hover:after {
  transform: translate3d(0, 0, 0);
}

.minibanner_text span {
  display: inline-block;
  transition: transform .3s cubic-bezier(.76, 0, .24, 1);
  font-size: 13px;
}

.minibanner_text:hover span {
  transform: translate3d(-200%, 0, 0);
}

/* =============================
   STREAM CARDS
============================= */
.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  justify-items: center;
}

.stream-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  max-width: 220px;
}

.stream-card {
  background: linear-gradient(to right, #111, #001f35, #000, #001f35);
  background-size: 300% 100%;
  color: #fff;
  padding: 25px 15px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #4c4848;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  animation: darkGradientMove 6s linear infinite;
  cursor: pointer;
  position: relative;
}

.stream-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 195, 255, 0.4);
  background: radial-gradient(circle at 50% 0%, rgba(255, 94, 0, 0.4), transparent 70%);
}

@keyframes darkGradientMove {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.stream-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.stream-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

/* =============================
   PRICING BOX
============================= */
.pricing-box1,
.pricing-box {
  background: linear-gradient(to right, #111, #001f35, #0b0b0b, #000);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #525252;
}

.pricing-box1 {
  margin-top: -5px;
}

.pricing-box {
  margin-top: 10px;
}

.pricing-box1 .price1,
.pricing-box .price1 {
  padding: 0;
  color: #f9f9f9;
  font-weight: 900;
  margin-bottom: 10px;
  margin-top: 10px;
  line-height: 1.8;
}

.pricing-box1 .price,
.pricing-box .price {
  font-size: 24px;
  color: #fff;
  font-weight: 900;
  margin-bottom: 5px;
}

.price1 {
  font-size: 20px;
  text-transform: uppercase;
}

.pricing-box1 ul,
.pricing-box ul {
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1;
  color: #fff;
}

.pricing-box1 .button a,
.pricing-box .button a {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(to right, #111, #001f35, #0b0b0b, #000);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.pricing-box1 .button a:hover,
.pricing-box .button a:hover {
  background: linear-gradient(to right, #111, #205c87, #0b0b0b, #000);
  text-decoration: underline;
}

/* =============================
   LIST ITEMS (Global)
============================= */
li {
  border-bottom: 0px solid rgb(74 69 69 / 38%);
  padding: 10px;
  color: #fff;
}

/* =============================
   MISC
============================= */
.native {
  justify-content: center;
  align-items: center;
  width: 30%;
  margin: 10px auto;
  margin-bottom: -20px;
  padding: 10px;
  box-sizing: border-box;
}

#darkChat {
  display: none;
  background: linear-gradient(to right, #111, #001f35, #0b0b0b, #000);
  height: 550px;
  border-radius: 5px;
  border: 1px solid #525252;
}

.NFL_schedule_shot_code {
  margin-left: 0px;
}

/* =============================
   ANIMATIONS
============================= */
@keyframes moveBorder {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* =============================
   RESPONSIVE - TABLET (max 992px)
============================= */
@media (max-width: 992px) {
  .Second_header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin-bottom: 10px;
  }

  .navbar-brand img {
    height: 60px !important;
    max-width: 180px !important;
    margin-top: 10px !important;
    margin-bottom: 10px;
  }

  .m-2 {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding-bottom: 10px;
  }

  .btn {
    width: auto;
    min-width: 130px;
    text-align: center;
    padding: 8px 14px;
  }
}

/* =============================
   RESPONSIVE - MOBILE (max 767px)
============================= */
@media screen and (max-width: 767px) {

  .container {
    flex-direction: column;
  }

  .NFL_schedule_shot_code {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  .left-content {
    margin-left: 5px;
    margin-right: 5px;
  }

  .iframe-links a {
    padding: 10px;
    font-size: 14px;
  }

  .sports_schedule_container li {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 15px;
    gap: 4px;
  }

  .sports_schedule_container li::before {
    content: counter(gameno) ".";
    position: absolute;
    top: 12px;
    left: 10px;
    font-size: 15px;
    font-weight: 900;
  }

  .teamvs {
    width: 100%;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 15px;
  }

  .second_line {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .game_time {
    font-size: 11px;
    padding: 2px 5px;
  }

  .watch_btn,
  .hd {
    font-size: 12px;
    padding: 8px 8px;
    white-space: nowrap;
  }

  .pricing-box .price  { font-size: 20px; }
  .pricing-box .price1 { font-size: 18px; }
  .pricing-box ul      { font-size: 13px; }

  .theatre_btn {
    color: white;
    padding: 10px;
    font-size: 11px;
    width: 11%;
  }

  .streams-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }

  .stream-card {
    padding: 15px 10px;
  }

  .stream-card img {
    width: 40px;
    height: 40px;
  }

  .stream-title {
    font-size: 14px;
  }

  .owl-carousel .owl-nav {
    display: none;
  }

  .watch_btn {
    width: 60px;
    height: 35px;
    font-size: 12px;
    font-weight: 900;
  }

  .hd {
    font-size: 15px;
    font-weight: 900;
    width: 45px;
    height: 38px;
  }

  .pricing-box {
    margin-top: 100px;
    margin-left: 0px !important;
    margin-right: 3px !important;
  }

  #darkChat {
    display: none !important;
  }

  .native {
    width: 50%;
    margin: -20px auto -25px;
  }

  .iframe-links {
    width: 100.5%;
  }

  /* Header Mobile Reset */
  .main_header {
    box-shadow: none !important;
    overflow: scroll;
    padding: 0px 0 !important;
  }

  .Second_header {
    padding: 0px 0px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0px !important;
  }

  .navbar-brand {
    display: block !important;
    width: 100%;
    text-align: center !important;
    margin: 0px;
    padding: 0px;
  }

  .navbar-brand img {
    height: 50px !important;
    max-width: 150px !important;
    object-fit: contain;
    display: inline-block;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
  }

  .nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0px !important;
    padding: 0px 0 !important;
    width: 100% !important;
    margin: 0 !important;
    margin-top: -10px !important;
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
  }

  .nav li {
    margin: 0 !important;
  }

  .nav-link {
    font-size: 12px !important;
    padding: 0px 3px !important;
    line-height: 1 !important;
    display: inline-block !important;
    color: #fff !important;
    opacity: 0.95;
    white-space: nowrap;
  }

  .m-2 {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 4px !important;
    padding-bottom: 20px !important;
  }

  .btn {
    min-width: 110px !important;
    padding: 6px 8px !important;
    font-size: 13px !important;
    border-radius: 5px !important;
  }

  li {
    border-bottom: 0px solid rgb(74 69 69 / 38%);
    padding: 5px;
  }

  .navbar-brand + .nav {
    margin-top: 0px !important;
  }

  .nav-link,
  .btn {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.06);
  }
}