/*
Theme Name: IPTV UK - Stitch Cinematic
Theme URI: https://iptvuk.co.uk
Author: IPTV
Author URI: https://iptvuk.co.uk
Description: Production-ready, ultra-fast, Elementor Pro compatible WordPress theme for IPTV UK built with the Stitch dark cinematic design system.
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptv-uk
Tags: custom-header, custom-menu, full-width-template, theme-options, translation-ready, e-commerce, dark-mode
--------------------------------------------------------------
STITCH DESIGN SYSTEM VARIABLES & CORE STYLES
--------------------------------------------------------------
*/

:root {
  /* Brand Colors */
  --iptv-primary: #e50914;
  --iptv-primary-hover: #ff1e27;
  --iptv-primary-glow: rgba(229, 9, 20, 0.4);
  --iptv-primary-subtle: rgba(229, 9, 20, 0.12);
  
  --iptv-bg: #0a0b0d;
  --iptv-bg-alt: #0d0e12;
  --iptv-surface: #13151b;
  --iptv-surface-hover: #1a1d26;
  --iptv-surface-elevated: #1d202b;
  
  --iptv-border: #22252e;
  --iptv-border-active: #e50914;
  --iptv-border-subtle: rgba(255, 255, 255, 0.07);
  
  --iptv-text-heading: #ffffff;
  --iptv-text-body: #cfd3dc;
  --iptv-text-muted: #848b9a;
  --iptv-text-accent: #ff4d56;
  
  /* Status Colors */
  --iptv-success: #10b981;
  --iptv-warning: #f59e0b;
  --iptv-error: #ef4444;
  
  /* Typography */
  --iptv-font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --iptv-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing & Borders */
  --iptv-radius-sm: 8px;
  --iptv-radius-md: 14px;
  --iptv-radius-lg: 20px;
  --iptv-radius-pill: 9999px;
  
  --iptv-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
  --iptv-shadow-glow: 0 0 25px rgba(229, 9, 20, 0.25);
  --iptv-shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  
  /* Container Widths */
  --iptv-container-max: 1240px;
  --iptv-header-height: 80px;
}

/* CSS Reset & General Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--iptv-font-body);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--iptv-bg);
  color: var(--iptv-text-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--iptv-bg);
  color: var(--iptv-text-body);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main#main-content {
  flex: 1 0 auto;
}

a {
  color: var(--iptv-primary-hover);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover, a:focus-visible {
  color: #ffffff;
}

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

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

/* Screen reader text for accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
