/*
 * MyStreamPR Main Theme Stylesheet
 */

*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #1e293b;
}

:root {
  --color-bg: #020617;
  --color-card: #0f172a;
  --color-red-primary: #dc2626;
  --color-red-hover: #b91c1c;
  --color-red-glow: rgba(220, 38, 38, 0.4);
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--color-bg);
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

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

/* Site Container */
.site-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Red Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass Card */
.glass-card {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.15);
}

/* Animations */
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes sports-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes testimonial-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(0%); }
}

.animate-movie-marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}

.animate-channel-marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.animate-sports-marquee {
  display: flex;
  width: max-content;
  animation: sports-marquee 30s linear infinite;
}

.animate-testimonial-marquee {
  display: flex;
  width: max-content;
  animation: testimonial-marquee 40s linear infinite;
}

.animate-bounce-slow {
  animation: bounce-slow 4s ease-in-out infinite;
}

.animate-progress {
  animation: progress 30s linear infinite;
}

.group-hover\:pause-animation:hover {
  animation-play-state: paused !important;
}

/* Form Styles */
.search-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.search-form .search-field {
  flex: 1;
  background-color: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.875rem;
}

.search-form .search-field:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.search-form .search-submit {
  background-color: #dc2626;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-form .search-submit:hover {
  background-color: #b91c1c;
}

/* WordPress Comments & Typography */
.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
  color: #ffffff;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content a {
  color: #ef4444;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entry-content a:hover {
  color: #f87171;
}

.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

/* WooCommerce Overrides */
.woocommerce .button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce #respond input#submit.alt {
  background-color: #dc2626 !important;
  color: #ffffff !important;
  border-radius: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.75rem 1.5rem !important;
  transition: all 0.2s ease !important;
}

.woocommerce .button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
  background-color: #b91c1c !important;
  transform: scale(1.02);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #ef4444 !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
}

.woocommerce table.shop_table {
  border-color: #1e293b !important;
  background: rgba(15, 23, 42, 0.6) !important;
  border-radius: 1rem !important;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-color: #1e293b !important;
}

.woocommerce table.shop_table td {
  border-color: #1e293b !important;
  color: #cbd5e1 !important;
}
