/*
Theme Name: Bounce OTT Theme
Theme URI: https://bouncemultimedia.com
Author: Bounce Multimedia LLC
Author URI: https://bouncemultimedia.com
Description: A custom theme for OTT video streaming with support for filtering, featured videos, news, and trailers.
Version: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bounceott
Tags: video, ott, sports, streaming
*/
.site-header {
  background: #111;
  color: white;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  display: block;
}

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
  background-color: #ff3c00; /* active link */
  border-radius: 5px;
}

/* Dropdown styling */
.nav-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 999;
  border-radius: 6px;
}

.nav-menu li:hover ul {
  display: block;
}

.nav-menu li ul li a {
  padding: 0.75rem 1rem;
  color: white;
  white-space: nowrap;
}

/* General Layout */
body,
html {
  overflow: auto !important;
  height: auto !important;
}
body {
    background-color: #000;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.sporty-header {
    position: relative;
    margin-bottom: 1rem;
}

.section-header {
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    text-transform: uppercase;
    border-left: 8px solid darkred;
	padding: .5rem .5rem; /* Top/Bottom = 1rem, Left/Right = 1.5rem */
    margin-top: 20px;
	margin-bottom: 20px;
    letter-spacing: 1px;
    background: linear-gradient(to right, rgba(255, 0, 0, 0.2), transparent);
}

.featured-player video, .single-video video {
    width: 100%;
    max-height: 500px;
    display: block;
    margin-bottom: 1rem;
}
.video-filters {
    margin-bottom: 1.5rem;
}
.video-filters select, .video-filters .btn {
    margin-right: 10px;
    padding: 0.5rem;
}
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
	will-change: transform, opacity;
}

.news-grid.visible {
  opacity: 1;
  transform: translateX(0);
}


.news-card {
    background-color: #111;
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.news-link {
    display: flex;
    text-decoration: none;
    color: white;
}

.news-thumbnail img {
    width: 150px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 1rem;
    flex: 1;
}

.news-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.news-excerpt {
    margin-top: 0.5rem;
    color: #ccc;
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    .news-link {
        flex-direction: column;
    }

    .news-thumbnail img {
        width: 100%;
        height: auto;
    }
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}


.video-card {
    background-color: #111;
    border-radius: 8px;
    padding: 1rem;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
    transition: transform 0.2s;
}
.video-card {
  background-color: #111;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.video-card img {

  width: 100%;
  height: auto;
}

.video-meta {
  width: 100%;
  max-width: 960px;
  margin: 1rem auto;
  padding: 0;
  color: white;
  font-family: sans-serif;
  position: relative;
  text-align: left;
}

.thumbnail-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: visible;
  background: #111; /* dark background to hold the badges */
  height: 60px;      /* give it height so the badges can live here */
  padding: 10px;
}


.thumbnail {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.badge-container {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: row;  /* horizontal */
  gap: 8px;             /* spacing between badges */
  z-index: 2;
  flex-wrap: nowrap;
}


.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: black;
  font-weight: 600;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.badge.live .dot {
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
}

.badge.ppv .lock {
  font-size: 14px;
}

.video-title {
  margin-top: 12px;
  font-size: 20px;
  font-weight: bold;
  padding-left: 4px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-left: 4px;
}

.tag {
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  color: #eee;
  transition: background 0.2s ease;
}

.tag:hover {
  background: rgba(255, 255, 255, 0.15);
}

.price {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 14px;
  background: darkred;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  font-size: 15px;
  margin-left: 4px;
}

.video-overlay-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.video-overlay-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Badge container positioned top-left inside video */
.badge-container {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

/* Badge styling */
.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: white;
  color: black;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.badge.live .dot {
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
}

.badge.ppv .lock {
  font-size: 14px;
}

.featured-video-link {
    display: block;
    color: white;
    text-decoration: none;
}

.featured-video-link:hover h2 {
    color: #f00; /* or any hover effect */
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.featured-card {
    background-color: #111;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
}

.featured-card:hover {
    transform: scale(1.03);
}

.featured-card img {
    width: 100%;
    height: auto;
}

.featured-video-link {
    color: white;
    text-decoration: none;
    display: block;
}

.featured-video-link h2 {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.featured-video-link p {
    font-size: 0.9rem;
    color: #ccc;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-card,
.video-card,
.news-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.featured-card:nth-child(1),
.video-card:nth-child(1),
.news-card:nth-child(1) { animation-delay: 0.1s; }
.featured-card:nth-child(2),
.video-card:nth-child(2),
.news-card:nth-child(2) { animation-delay: 0.2s; }
.featured-card:nth-child(3),
.video-card:nth-child(3),
.news-card:nth-child(3) { animation-delay: 0.3s; }
.featured-card:nth-child(4),
.video-card:nth-child(4),
.news-card:nth-child(4) { animation-delay: 0.4s; }
/* ...add more as needed */

.featured-card:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
  transform: scale(1.03);
}

.video-grid, .featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.video-card, .featured-card, .news-card {
  background: #111;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;

  img {
    border-radius: 8px;
    width: 100%;
    height: auto;
  }

  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
  }

  &.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-overlay-container {
  position: relative;
}

#mute-button {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
}

#mute-button.hidden {
  display: none;
}

#video-start-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

#start-button {
  background-color: #e50914;
  color: #fff;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
/* Reset some WP nav styles */
.nav-menu,
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Main nav bar layout */
.nav-menu {
  display: flex;
  gap: 2rem;
  background: #000;
  padding: 1rem 2rem;
  border-bottom: 2px solid #ff3c00;
  position: relative;
  z-index: 10;
}

/* Top-level links */
.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  display: block;
  transition: background 0.3s;
}

/* Active/current link */
.nav-menu > li.current-menu-item > a {
  background: #ff3c00;
  border-radius: 6px;
}

.nav-menu li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  padding: 0.5rem 0;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.nav-menu li:hover > .sub-menu {
  display: block;
}


/* Show dropdown on hover */
.nav-menu li:hover > ul {
  display: block;
}

/* === WooCommerce My Account Sidebar Navigation Only === */

.woocommerce-MyAccount-navigation {
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  width: 250px;
  box-sizing: border-box;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 0.75rem;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.75rem 1rem;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
  background-color: #ff3c00;
  color: #fff;
  font-weight: bold;
}

/* === WooCommerce My Account Content Styling === */

/* Wrapper */
.woocommerce-account {
  background: #000;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  padding: 2rem;
  overflow: hidden; /* Clearfix for floats */
}

/* Left navigation */
.woocommerce-MyAccount-navigation {
  float: left;
  width: 35%;
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Nav styles */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 0.75rem;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
  background-color: #ff3c00;
  color: #fff;
}

/* Right content */
.woocommerce-MyAccount-content {
  float: right;
  width: 60%;
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.woocommerce-MyAccount-content {
  /* already styled earlier */
}

.woocommerce-addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.woocommerce-Address {
  flex: 1 1 38%;
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  color: #fff;
}

.woocommerce-Address-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ff3c00;
  padding-bottom: 0.5rem;
  color: #ff3c00;
}

.woocommerce-Address address {
  font-style: normal;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.woocommerce-Address .edit {
  display: inline-block;
  background: #ff3c00;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.woocommerce-Address .edit:hover {
  background: #d63400;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  background: #222;
  color: #ccc;
  border-left: 4px solid #ff3c00;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.page .col2-set {
  display: block;
  overflow: hidden;
  margin-top: 2rem;
}

.page .col2-set .col-1,
.page .col2-set .col-2 {
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.page .col2-set .col-1 {
  float: left;
  width: 38%;
  margin-right: 5%;
}

.page .col2-set .col-2 {
  float: right;
  width: 37%;
}

.woocommerce-account {
  overflow: visible;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer {
  clear: both;
  width: 100%;
  padding: 2rem;
  background: #111;
  color: white;
  text-align: center;
  margin-top: 2rem;
}

.site-header {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 1.5rem 0;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav {
  padding-left: 00px;
}

.nav-menu {
	width: 1200px;
}

.site-footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: #ff3c00;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.teaser-thumbnail-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
  margin: 2rem 0;
}

.teaser-poster {
  width: 100%;
  display: block;
  filter: grayscale(100%) brightness(50%);
  border-radius: 12px;
}

.teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
}

.teaser-message {
  color: #fff;
}

.watch-trailer-button,
.unlock-button {
  background: #ff3c00;
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.watch-trailer-button:hover,
.unlock-button:hover {
  background: #d63400;
}

.cart-empty.woocommerce-info {
  padding-left: 55px;
}

.woocommerce-MyAccount-content {
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  color: #fff;
}

.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
  background-color: #2b2b2b;
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #444;
  text-align: left;
}

.woocommerce-orders-table thead {
  background-color: #3a3a3a;
}

.woocommerce-orders-table th {
  color: #ffcc00;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
}

.woocommerce-orders-table tbody tr:hover {
  background-color: #383838;
  transition: background-color 0.3s ease;
}

.woocommerce-orders-table a {
  color: #ffd700;
  font-weight: 500;
  text-decoration: none;
}

.woocommerce-orders-table a:hover {
  text-decoration: underline;
}

.woocommerce-button.button.view {
  background: #ffcc00;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.woocommerce-button.button.view:hover {
  background: #e6b800;
}

/* Navigation panel styling */
.woocommerce-MyAccount-navigation ul {
  padding: 0;
  margin: 0 0 2rem 0;
  list-style: none;
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid #3d3d3d;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 1rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
  background: #444;
  color: #ffcc00;
  font-weight: 600;
}

/* Main WooCommerce Order Details Container */
.woocommerce-MyAccount-content {
  background-color: #1e1e1e;
  color: #f0f0f0;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Highlight Info Paragraph */
.woocommerce-MyAccount-content p {
  background: #2c2c2c;
  border-left: 5px solid #ffcc00;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  font-size: 1rem;
  color: #fff;
}

/* Section Titles */
.woocommerce-order-details__title,
.woocommerce-column__title {
  color: #ffcc00;
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #3a3a3a;
  padding-bottom: 0.5rem;
}

/* Tables */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background-color: #292929;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.95rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #444;
}

.woocommerce table.shop_table thead {
  background-color: #3a3a3a;
}

.woocommerce table.shop_table th {
  color: #ffcc00;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.woocommerce table.shop_table tfoot th {
  text-align: right;
}

.woocommerce table.shop_table tfoot td {
  font-weight: bold;
}

/* Reorder Button */
.woocommerce .order-again a.button {
  background-color: #ffcc00;
  color: #000;
  font-weight: bold;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  display: inline-block;
  margin-top: 1.5rem;
  transition: background 0.3s ease;
}

.woocommerce .order-again a.button:hover {
  background-color: #e6b800;
}

/* Billing Address Section */
.woocommerce-customer-details address {
  background: #2a2a2a;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  line-height: 1.6;
  color: #ddd;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
  margin-top: 0.5rem;
  color: #ffcc00;
}

/* Responsive Improvement */
@media (max-width: 600px) {
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 0.8rem 1rem;
  }

  .woocommerce .order-again a.button {
    width: 100%;
    text-align: center;
  }
}
