/*
Theme Name: USL3x3
Author: bhdn.dev
Description: USL3x3 Wordpress Theme
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * Basketball Pro Theme Foundation
 * Custom CSS Design System based on basketball team aesthetics
 */

:root {
  /* Basketball-inspired Color System */
  --background: #fafafa;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --popover: #ffffff;
  --popover-foreground: #1a1a1a;
  
  /* Primary: Team Blue */
  --primary: #1581c4;
  --primary-foreground: #ffffff;
  
  /* Secondary: Court Gray */
  --secondary: #f4f4f5;
  --secondary-foreground: #27272a;
  
  /* Muted: Subtle backgrounds */
  --muted: #f8f8f8;
  --muted-foreground: #6b7280;
  
  /* Accent: Team Blue */
  --accent: #2563eb;
  --accent-foreground: #ffffff;
  
  /* Destructive: Warning Red */
  --destructive: #dc2626;
  --destructive-foreground: #ffffff;
  
  /* Borders and inputs */
  --border: #e5e7eb;
  --input: #f9fafb;
  --ring: #2563eb;
  
  /* Chart colors for statistics */
  --chart-1: #1581c4; /* Primary blue */
  --chart-2: #ff6b35; /* Basketball orange */
  --chart-3: #059669; /* Success green */
  --chart-4: #dc2626; /* Alert red */
  --chart-5: #7c3aed; /* Purple accent */
  
  /* Sidebar system */
  --sidebar: #ffffff;
  --sidebar-foreground: #1a1a1a;
  --sidebar-primary: #1581c4;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #f4f4f5;
  --sidebar-accent-foreground: #27272a;
  --sidebar-border: #e5e7eb;
  --sidebar-ring: #2563eb;
  
  /* Typography System */
  --font-sans: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Merriweather", Georgia, serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
  --font-display: "Montserrat", "Inter", sans-serif;
  
  /* Border radius system */
  --radius: 0.5rem;
  
  /* Shadow system */
  --shadow-2xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.1);
  --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.1), 0px 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0px 4px 6px -1px hsl(0 0% 0% / 0.1), 0px 2px 4px -2px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0px 10px 15px -3px hsl(0 0% 0% / 0.1), 0px 4px 6px -4px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0px 20px 25px -5px hsl(0 0% 0% / 0.1), 0px 8px 10px -6px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0px 25px 50px -12px hsl(0 0% 0% / 0.25);
  
  /* Basketball-specific variables */
  --team-primary: #1581c4;
  --team-secondary: #ff6b35;
  --court-color: #d2691e;
  --line-color: #ffffff;
  --scoreboard-bg: #1a1a1a;
  --scoreboard-text: #ffffff;
}

/* Dark mode theme */
.dark {
  --background: #0a0a0a;
  --foreground: #ffffff;
  --card: #1a1a1a;
  --card-foreground: #ffffff;
  --popover: #1a1a1a;
  --popover-foreground: #ffffff;
  
  --primary: #2196f3;
  --primary-foreground: #ffffff;
  
  --secondary: #27272a;
  --secondary-foreground: #ffffff;
  
  --muted: #1a1a1a;
  --muted-foreground: #a1a1aa;
  
  --accent: #3b82f6;
  --accent-foreground: #ffffff;
  
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  
  --border: #27272a;
  --input: #27272a;
  --ring: #3b82f6;
  
  --chart-1: #2196f3;
  --chart-2: #ff7a47;
  --chart-3: #10b981;
  --chart-4: #ef4444;
  --chart-5: #8b5cf6;
  
  --sidebar: #1a1a1a;
  --sidebar-foreground: #ffffff;
  --sidebar-primary: #2196f3;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #27272a;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: #27272a;
  --sidebar-ring: #3b82f6;
  
  --team-primary: #2196f3;
  --team-secondary: #ff7a47;
  --court-color: #8b4513;
  --scoreboard-bg: #000000;
}

/* CSS Custom Property Aliases for WordPress integration */
@layer base {
  :root {
    --wp-color-background: var(--background);
    --wp-color-foreground: var(--foreground);
    --wp-color-primary: var(--primary);
    --wp-color-secondary: var(--secondary);
    --wp-color-accent: var(--accent);
    --wp-color-muted: var(--muted);
    
    /* Spacing system */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border radius variations */
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --radius-2xl: calc(var(--radius) + 8px);
  }
}

/* Base styles */
* {
  border-color: var(--border);
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
}

/* Basketball-specific utility classes */
.basketball-gradient {
  background: linear-gradient(135deg, var(--team-primary) 0%, var(--team-secondary) 100%);
}

.court-texture {
  background-color: var(--court-color);
  background-image: 
    linear-gradient(90deg, var(--line-color) 1px, transparent 1px),
    linear-gradient(var(--line-color) 1px, transparent 1px);
  background-size: 20px 20px;
}

.scoreboard-style {
  background-color: var(--scoreboard-bg);
  color: var(--scoreboard-text);
  font-family: var(--font-mono);
  font-weight: bold;
  letter-spacing: 0.1em;
}

/* Card styles */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Button styles */
.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: color-mix(in srgb, var(--primary) 90%, black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn-secondary:hover {
  background-color: color-mix(in srgb, var(--secondary) 90%, black);
}

/*
 * Link styles - Enhanced for basketball theme
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
	color: var(--primary);
	transition: color 0.2s ease-in-out;
}

a:hover {
	color: color-mix(in srgb, var(--primary) 80%, black);
}

/* Focus styles - Basketball themed */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
	outline-color: var(--ring);
	outline-offset: 2px;
}

/* Navigation styles */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/* Headings with basketball theme styling */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.more-link {
	display: block;
	margin-top: var(--spacing-md);
	font-weight: 600;
	color: var(--primary);
}

/* Media styles for basketball content */
.wp-block-image img {
	border-radius: var(--radius-md);
}

.wp-block-video video {
	border-radius: var(--radius-md);
}

/* Gallery styles */
.wp-block-gallery {
	gap: var(--spacing-md);
}

.wp-block-gallery .wp-block-image {
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: transform 0.2s ease-in-out;
}

.wp-block-gallery .wp-block-image:hover {
	transform: scale(1.02);
}

/* Statistics and data display */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--spacing-lg);
	margin: var(--spacing-xl) 0;
}

.stat-card {
	background-color: var(--card);
	padding: var(--spacing-lg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	text-align: center;
	border: 1px solid var(--border);
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--primary);
	font-family: var(--font-mono);
}

.stat-label {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted-foreground);
	margin-top: var(--spacing-xs);
}

/* Responsive utilities */
@media (max-width: 768px) {
	:root {
		--spacing-xs: 0.125rem;
		--spacing-sm: 0.25rem;
		--spacing-md: 0.75rem;
		--spacing-lg: 1rem;
		--spacing-xl: 1.5rem;
		--spacing-2xl: 2rem;
		--spacing-3xl: 2.5rem;
	}
	
	.stats-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: var(--spacing-md);
	}
	
	.stat-number {
		font-size: 2rem;
	}
}

/* =============================================================================
   Basketball Header Styles
   ========================================================================== */

/* Main Header */
.basketball-header {
	border-bottom: 1px solid var(--wp--preset--color--border);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.basketball-header:has(.is-menu-open) {
	height: 100vh;
}

.basketball-header .wp-block-group {
	position: relative;
}

/* Logo and Site Title */
.basketball-header .wp-block-site-logo img {
	transition: transform 0.3s ease;
}

.basketball-header .wp-block-site-logo img:hover {
	transform: scale(1.05);
}

.basketball-header .wp-block-site-title a {
	text-decoration: none;
	background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 800;
	letter-spacing: -0.02em;
}

/* Navigation */
.basketball-main-nav .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--40);
}

.basketball-main-nav .wp-block-navigation-link a {
	position: relative;
	font-weight: 500;
	text-decoration: none;
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	border-radius: var(--wp--preset--border-radius--sm);
	transition: all 0.3s ease;
	color: var(--wp--preset--color--foreground);
}

.basketball-main-nav .wp-block-navigation-link a:hover {
	background-color: var(--wp--preset--color--muted);
	color: var(--wp--preset--color--primary);
	transform: translateY(-2px);
}

.basketball-main-nav .wp-block-navigation-link a.is-current {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary-foreground);
}

.basketball-main-nav .wp-block-navigation-link a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.basketball-main-nav .wp-block-navigation-link a:hover::after {
	width: 80%;
}

/* Search */
.basketball-search {
	position: relative;
}

.basketball-search input[type="search"] {
	background-color: var(--wp--preset--color--input);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--preset--border-radius--md);
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--small);
	transition: all 0.3s ease;
	width: 200px;
}

.basketball-search input[type="search"]:focus {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px rgba(21, 129, 196, 0.1);
}

.basketball-search.is-focused {
	transform: scale(1.02);
}

.basketball-search button[type="submit"] {
	position: absolute;
	right: var(--wp--preset--spacing--10);
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--wp--preset--color--muted-foreground);
	padding: var(--wp--preset--spacing--10);
	cursor: pointer;
	transition: color 0.3s ease;
}

.basketball-search button[type="submit"]:hover {
	color: var(--wp--preset--color--primary);
}

/* Social Links in Header */
.social-links-header .wp-block-social-links {
	gap: var(--wp--preset--spacing--10);
}

.social-links-header .wp-block-social-link a {
	transition: all 0.3s ease;
}

.social-links-header .wp-block-social-link a:hover {
	transform: translateY(-2px) scale(1.1);
	color: var(--wp--preset--color--primary) !important;
}

/* Dark Mode Toggle */
.dark-mode-toggle .wp-block-button__link {
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dark-mode-toggle .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--muted) !important;
	transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: none;
}

.mobile-menu-toggle .wp-block-button__link {
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 18px;
	font-weight: bold;
}

.mobile-menu-toggle .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--primary-foreground) !important;
	transform: scale(1.05);
}

.mobile-menu-toggle .wp-block-button__link.is-open {
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--primary-foreground) !important;
}

/* Sticky Header */
.basketball-sticky-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
	backdrop-filter: blur(10px);
	background-color: rgba(var(--wp--preset--color--background-rgb), 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.basketball-sticky-header.is-visible {
	transform: translateY(0);
}

.basketball-sticky-nav .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--30);
}

.basketball-sticky-nav .wp-block-navigation-link a {
	font-size: var(--wp--preset--font-size--small);
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--15);
}

/* =============================================================================
   Mobile Menu Styles
   ========================================================================== */

/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
	display: none;
}

/* Hamburger Icon Styles */
.hamburger-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	cursor: pointer;
}

.hamburger-icon .line {
	width: 100%;
	height: 3px;
	background-color: var(--foreground);
	border-radius: 2px;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-icon .line:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-icon .line:nth-child(2) {
	opacity: 0;
	transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger-icon .line:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Base Styles */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: var(--background);
	z-index: 9999;
	transform: translateX(-100%);
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow-y: auto;
	border-right: 1px solid var(--border);
	box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}

.mobile-menu.active {
	transform: translateX(0);
}

.mobile-menu .basketball-mobile-nav .wp-block-navigation__container {
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.mobile-menu .basketball-mobile-nav .wp-block-navigation-link {
	width: 100%;
	border-bottom: 1px solid var(--border);
}

.mobile-menu .basketball-mobile-nav .wp-block-navigation-link a {
	padding: var(--spacing-lg) 0;
	display: block;
	width: 100%;
	text-align: left;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	color: var(--foreground);
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.mobile-menu .basketball-mobile-nav .wp-block-navigation-link a:hover {
	color: var(--primary);
	padding-left: var(--spacing-md);
}

.mobile-menu .basketball-mobile-nav .wp-block-navigation-link a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 0;
	background: var(--primary);
	transition: height 0.3s ease;
}

.mobile-menu .basketball-mobile-nav .wp-block-navigation-link a:hover::before {
	height: 60%;
}

.mobile-search {
	width: 100%;
}

.mobile-search input[type="search"] {
	width: 100%;
	padding: var(--spacing-md);
	font-size: var(--wp--preset--font-size--medium);
}

.social-links-mobile .wp-block-social-links {
	justify-content: center;
	gap: var(--spacing-md);
}

/* Menu Overlay */
.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Hide desktop nav by default, show on larger screens */
@media (min-width: 769px) {
	.desktop-nav {
		display: flex;
	}
	
	.mobile-menu-toggle {
		display: none;
	}
	
	.mobile-menu {
		display: none;
	}
}

/* Responsive Styles */
@media (max-width: 1024px) {
	.header-actions .basketball-search {
		width: 150px;
	}
	
	.header-actions .basketball-search input[type="search"] {
		width: 150px;
	}
}

@media (max-width: 768px) {
	/* Show mobile toggle, hide desktop nav */
	.mobile-menu-toggle {
		display: flex;
		order: 2;
	}
	
	.desktop-nav {
		display: none;
	}
	
	/* Better mobile header layout */
	.basketball-header .wp-block-group:first-child {
		position: relative;
		z-index: 10000;
	}
	
	/* Hide sticky header on mobile */
	.basketball-sticky-header {
		display: none;
	}
	
	/* Prevent scroll when mobile menu is open */
	body.mobile-menu-active {
		overflow: hidden;
	}
}

@media (max-width: 480px) {
	.basketball-header {
		padding: var(--wp--preset--spacing--20);
	}
	
	.basketball-header .wp-block-site-title {
		font-size: var(--wp--preset--font-size--large);
	}
	
	.mobile-menu-toggle .wp-block-button__link {
		padding: var(--wp--preset--spacing--15);
	}
}

/* Animation Enhancements */
@keyframes headerSlideIn {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.basketball-header {
	animation: headerSlideIn 0.6s ease-out;
}

/* Focus states for accessibility */
.basketball-main-nav .wp-block-navigation-link a:focus,
.basketball-search input[type="search"]:focus,
.dark-mode-toggle .wp-block-button__link:focus,
.mobile-menu-toggle .wp-block-button__link:focus {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.basketball-header {
		border-bottom-width: 2px;
	}
	
	.basketball-main-nav .wp-block-navigation-link a:hover {
		background-color: var(--wp--preset--color--primary);
		color: var(--wp--preset--color--primary-foreground);
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.basketball-header,
	.basketball-main-nav .wp-block-navigation-link a,
	.basketball-search input[type="search"],
	.basketball-sticky-header,
	.header-navigation-group {
		transition: none;
	}
	
	.basketball-main-nav .wp-block-navigation-link a:hover {
		transform: none;
	}
}

/* =============================================================================
   Basketball Homepage Sections
   ========================================================================== */

/* News Section */
.basketball-news-section .news-card {
	transition: all 0.3s ease;
	cursor: pointer;
	max-width: 350px;
	margin: 0 auto;
}

.basketball-news-section .news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.basketball-news-section .news-featured-image {
	overflow: hidden;
	transition: transform 0.3s ease;
}

.basketball-news-section .news-card:hover .news-featured-image img {
	transform: scale(1.05);
}

.basketball-news-section .news-featured-image img {
	transition: transform 0.3s ease;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

/* Gallery Section */
.basketball-gallery-section .basketball-photo-gallery {
	gap: var(--wp--preset--spacing--30);
}

.basketball-gallery-section .gallery-item {
	transition: all 0.3s ease;
	cursor: pointer;
	border-radius: var(--wp--preset--border-radius--md);
	overflow: hidden;
}

.basketball-gallery-section .gallery-item:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.basketball-gallery-section .gallery-item img {
	transition: transform 0.3s ease;
	width: 100%;
	height: 400px;
	object-fit: cover;
}

.basketball-gallery-section .gallery-item:hover img {
	transform: scale(1.1);
}

/* Video Section */
.basketball-video-section .video-card {
	transition: all 0.3s ease;
	cursor: pointer;
	max-width: 400px;
	margin: 0 auto;
}

.basketball-video-section .video-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.basketball-video-section .video-thumbnail {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.basketball-video-section .video-thumbnail:hover {
	transform: scale(1.02);
}

.basketball-video-section .video-play-button {
	transition: all 0.3s ease;
	cursor: pointer;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.basketball-video-section .video-play-button:hover {
	transform: scale(1.1);
	background-color: var(--wp--preset--color--secondary) !important;
}

.basketball-video-section .video-play-button p {
	margin: 0;
	line-height: 1;
}

/* Schedule Section */
.basketball-schedule-section .schedule-game {
	transition: all 0.3s ease;
	cursor: pointer;
	margin-bottom: var(--wp--preset--spacing--20);
}

.basketball-schedule-section .schedule-game:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.basketball-schedule-section .schedule-game.featured-game {
	background: linear-gradient(135deg, 
		var(--wp--preset--color--muted), 
		var(--wp--preset--color--background));
	border: 2px solid var(--wp--preset--color--primary);
}

.basketball-schedule-section .schedule-game.featured-game:hover {
	box-shadow: 0 8px 30px rgba(21, 129, 196, 0.2);
}

/* Player Cards */
.basketball-roster-section .player-card {
	transition: all 0.3s ease;
	cursor: pointer;
	max-width: 280px;
	margin: 0 auto;
}

.basketball-roster-section .player-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.basketball-roster-section .player-photo {
	transition: transform 0.3s ease;
	margin: 0 auto;
}

.basketball-roster-section .player-card:hover .player-photo {
	transform: scale(1.05);
}

.basketball-roster-section .player-photo img {
	width: 200px;
	height: 200px;
	object-fit: cover;
}

/* Section Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.section-title {
	animation: fadeInUp 0.6s ease-out;
}

/* Responsive Grid Layouts */
@media (max-width: 768px) {
	.basketball-news-section .wp-block-group,
	.basketball-roster-section .wp-block-group,
	.basketball-video-section .wp-block-group {
		flex-direction: column;
		align-items: center;
		gap: var(--wp--preset--spacing--40);
	}

	.basketball-gallery-section .basketball-photo-gallery {
		columns: 2;
	}

	.basketball-schedule-section .schedule-game {
		flex-direction: column;
		text-align: center;
		gap: var(--wp--preset--spacing--20);
	}

	.basketball-schedule-section .schedule-game .wp-block-buttons {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.basketball-gallery-section .basketball-photo-gallery {
		columns: 1;
	}

	.basketball-gallery-section .gallery-item img {
		height: 300px;
	}

	.basketball-roster-section .player-photo img,
	.basketball-roster-section .player-photo {
		width: 150px;
		height: 150px;
	}

	.basketball-video-section .video-thumbnail {
		min-height: 200px !important;
	}

	.basketball-video-section .video-play-button {
		width: 60px;
		height: 60px;
	}

	.basketball-video-section .video-play-button p {
		font-size: 1.5rem !important;
	}
}

/* Hero Section Enhancements */
.basketball-hero .basketball-hero-title {
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	animation: fadeInUp 0.8s ease-out;
}

.basketball-hero .basketball-cta-button {
	animation: fadeInUp 1s ease-out;
}

.basketball-hero .basketball-cta-outline {
	animation: fadeInUp 1.2s ease-out;
	border: 2px solid var(--wp--preset--color--primary-foreground) !important;
}

.basketball-hero .basketball-cta-outline:hover {
	background-color: var(--wp--preset--color--primary-foreground) !important;
	color: var(--wp--preset--color--primary) !important;
}

/* Stats Section Enhancements */
.basketball-stats-section .stat-card {
	transition: all 0.3s ease;
	cursor: default;
}

.basketball-stats-section .stat-card:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.basketball-stats-section .stat-number {
	background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-feature-settings: "tnum";
}

/* Interactive Elements */
.basketball-homepage .wp-block-button.basketball-button-outline .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	background-color: transparent;
	transition: all 0.3s ease;
}

.basketball-homepage .wp-block-button.basketball-button-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary-foreground);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(21, 129, 196, 0.3);
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
	.basketball-homepage section,
	.basketball-homepage .wp-block-group {
		opacity: 0;
		transform: translateY(20px);
		animation: fadeInUp 0.6s ease-out forwards;
	}

	.basketball-homepage section:nth-child(1) { animation-delay: 0.1s; }
	.basketball-homepage section:nth-child(2) { animation-delay: 0.2s; }
	.basketball-homepage section:nth-child(3) { animation-delay: 0.3s; }
	.basketball-homepage section:nth-child(4) { animation-delay: 0.4s; }
	.basketball-homepage section:nth-child(5) { animation-delay: 0.5s; }
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
	.basketball-homepage .stat-card,
	.basketball-homepage .news-card,
	.basketball-homepage .player-card,
	.basketball-homepage .video-card {
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	}

	.basketball-homepage .schedule-game:hover {
		box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	}
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
	.basketball-homepage .news-card,
	.basketball-homepage .player-card,
	.basketball-homepage .video-card,
	.basketball-homepage .schedule-game {
		border-width: 2px;
		border-color: var(--wp--preset--color--foreground);
	}

	.basketball-homepage .basketball-button-outline .wp-block-button__link {
		border-width: 3px;
	}
}

/* ===== CONTENT TEMPLATES STYLING ===== */

/* Single Post Template */
.basketball-single-post .basketball-article-hero {
	position: relative;
	overflow: hidden;
}

.basketball-single-post .article-title {
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.basketball-single-post .article-category {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: rgba(var(--wp--preset--color--secondary-rgb), 0.2);
	border-radius: var(--wp--preset--border-radius--md);
	margin-bottom: var(--wp--preset--spacing--20);
}

.basketball-single-post .basketball-tags .wp-block-post-terms__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.basketball-single-post .basketball-tags .wp-block-post-terms__list li {
	background: var(--wp--preset--color--background);
	padding: 0.25rem 0.75rem;
	border-radius: var(--wp--preset--border-radius--md);
	border: 1px solid var(--wp--preset--color--border);
}

/* Game Recap Template */
.basketball-game-recap .scoreboard {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.basketball-game-recap .team-home,
.basketball-game-recap .team-away {
	text-align: center;
}

.basketball-game-recap .score-home,
.basketball-game-recap .score-away {
	margin: 0;
	text-align: center;
}

.basketball-game-recap .vs-indicator {
	text-align: center;
	opacity: 0.7;
}

.basketball-game-recap .stat-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.basketball-game-recap .stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Player Profile Template */
.basketball-player-profile .player-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.basketball-player-profile .player-quick-stats {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.basketball-player-profile .player-detailed-stats .stat-card {
	text-align: center;
	transition: transform 0.2s ease;
}

.basketball-player-profile .player-detailed-stats .stat-card:hover {
	transform: translateY(-2px);
}

/* Gallery Template */
.basketball-gallery .gallery-filter {
	transition: all 0.3s ease;
	cursor: pointer;
}

.basketball-gallery .gallery-filter.active {
	background: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--primary-foreground) !important;
}

.basketball-gallery .basketball-photo-gallery {
	margin: 0;
}

.basketball-gallery .basketball-photo-gallery img {
	transition: transform 0.3s ease, filter 0.3s ease;
	border-radius: var(--wp--preset--border-radius--lg);
}

.basketball-gallery .basketball-photo-gallery img:hover {
	transform: scale(1.05);
	filter: brightness(1.1);
}

.basketball-gallery .load-more-photos {
	margin: 0 auto;
	display: block;
}

/* Video Template */
.basketball-video .main-video {
	border-radius: var(--wp--preset--border-radius--xl);
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Archive Templates */
.basketball-players-archive .position-filter,
.basketball-games-archive .season-filter {
	transition: all 0.3s ease;
	cursor: pointer;
}

.basketball-players-archive .position-filter.active,
.basketball-games-archive .season-filter.active {
	background: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--primary-foreground) !important;
}

.basketball-players-archive .player-card,
.basketball-games-archive .game-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.basketball-players-archive .player-card:hover,
.basketball-games-archive .game-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.basketball-players-archive .player-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.basketball-players-archive .player-card:hover .player-photo img {
	transform: scale(1.05);
}

.basketball-games-archive .game-matchup {
	margin: 0;
}

.basketball-games-archive .home-score,
.basketball-games-archive .away-score {
	margin: 0;
	line-height: 1;
}

/* Responsive Design for Content Templates */
@media (max-width: 768px) {
	.basketball-single-post .article-title,
	.basketball-game-recap .game-title,
	.basketball-player-profile .player-name {
		font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
	}
	
	.basketball-game-recap .scoreboard .wp-block-columns {
		flex-direction: column;
		gap: var(--wp--preset--spacing--30);
	}
	
	.basketball-game-recap .team-home,
	.basketball-game-recap .team-away,
	.basketball-game-recap .vs-indicator {
		width: 100%;
	}
	
	.basketball-player-profile .wp-block-columns {
		flex-direction: column;
	}
	
	.basketball-gallery .basketball-photo-gallery {
		columns: 2;
	}
	
	.basketball-players-archive .players-grid .wp-block-post-template {
		grid-template-columns: 1fr 1fr !important;
	}
	
	.basketball-games-archive .game-card .wp-block-columns {
		flex-direction: column;
		text-align: center;
		gap: var(--wp--preset--spacing--20);
	}
}

@media (max-width: 480px) {
	.basketball-gallery .basketball-photo-gallery {
		columns: 1;
	}
	
	.basketball-players-archive .players-grid .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
}

/* ===== PHOTO INTEGRATION STYLES ===== */

/* Enhanced Gallery Grid Layout */
.basketball-photo-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--wp--preset--spacing--30);
	margin: var(--wp--preset--spacing--40) 0;
}

.basketball-photo-gallery .gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: var(--wp--preset--border-radius--lg);
	background: var(--wp--preset--color--background);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.basketball-photo-gallery .gallery-item.loading {
	background: linear-gradient(
		90deg,
		var(--wp--preset--color--neutral-100) 25%,
		var(--wp--preset--color--neutral-200) 50%,
		var(--wp--preset--color--neutral-100) 75%
	);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}

.basketball-photo-gallery .gallery-item.loaded {
	animation: fadeInScale 0.6s ease-out;
}

.basketball-photo-gallery .gallery-item img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: all 0.3s ease;
	border-radius: var(--wp--preset--border-radius--lg);
}

.basketball-photo-gallery .gallery-item:hover img {
	transform: scale(1.05);
}

.basketball-photo-gallery .gallery-item.focused {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* Image Placeholder and Loading States */
.image-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--neutral-100);
	border-radius: var(--wp--preset--border-radius--lg);
	z-index: 1;
}

.image-placeholder .placeholder-content {
	text-align: center;
	color: var(--wp--preset--color--neutral-500);
}

.image-placeholder .basketball-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid var(--wp--preset--color--neutral-300);
	border-top: 3px solid var(--wp--preset--color--primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto var(--wp--preset--spacing--10);
}

.image-placeholder .loading-text {
	font-size: 0.875rem;
	margin-top: var(--wp--preset--spacing--10);
}

.image-error {
	padding: var(--wp--preset--spacing--20);
	background: var(--wp--preset--color--error);
	color: white;
	border-radius: var(--wp--preset--border-radius--md);
	text-align: center;
	font-size: 0.875rem;
}

/* Lightbox Styles */
.basketball-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.basketball-lightbox.active {
	opacity: 1;
	visibility: visible;
}

.basketball-lightbox .lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.basketball-lightbox .lightbox-container {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: var(--wp--preset--spacing--20);
	box-sizing: border-box;
}

.basketball-lightbox .lightbox-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--wp--preset--spacing--20) 0;
	color: white;
}

.basketball-lightbox .lightbox-title {
	font-size: 1.25rem;
	font-weight: 600;
}

.basketball-lightbox .lightbox-controls {
	display: flex;
	gap: var(--wp--preset--spacing--10);
}

.basketball-lightbox .lightbox-controls button {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	padding: var(--wp--preset--spacing--10);
	border-radius: var(--wp--preset--border-radius--md);
	cursor: pointer;
	transition: all 0.2s ease;
	backdrop-filter: blur(10px);
}

.basketball-lightbox .lightbox-controls button:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
}

.basketball-lightbox .lightbox-content {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.basketball-lightbox .lightbox-image-container {
	position: relative;
	max-width: 90%;
	max-height: 90%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.basketball-lightbox .lightbox-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: var(--wp--preset--border-radius--lg);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
	transition: opacity 0.3s ease;
}

.basketball-lightbox .lightbox-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
}

.basketball-lightbox .lightbox-loading .basketball-spinner {
	width: 60px;
	height: 60px;
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top: 4px solid white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

.basketball-lightbox .lightbox-navigation {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 0 var(--wp--preset--spacing--20);
	pointer-events: none;
}

.basketball-lightbox .lightbox-navigation button {
	background: rgba(0, 0, 0, 0.5);
	border: none;
	color: white;
	padding: var(--wp--preset--spacing--20);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
	pointer-events: auto;
	backdrop-filter: blur(10px);
}

.basketball-lightbox .lightbox-navigation button:hover {
	background: rgba(0, 0, 0, 0.7);
	transform: scale(1.1);
}

.basketball-lightbox .lightbox-footer {
	padding: var(--wp--preset--spacing--20) 0;
	color: white;
	text-align: center;
}

.basketball-lightbox .lightbox-caption {
	font-size: 1rem;
	margin-bottom: var(--wp--preset--spacing--10);
	opacity: 0.9;
}

.basketball-lightbox .lightbox-counter {
	font-size: 0.875rem;
	opacity: 0.7;
}

/* Image Carousel/Slider Styles */
.basketball-carousel,
.image-slider {
	position: relative;
	overflow: hidden;
	border-radius: var(--wp--preset--border-radius--xl);
	background: var(--wp--preset--color--background);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.basketball-carousel .carousel-track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.basketball-carousel .carousel-slide {
	min-width: 100%;
	position: relative;
}

.basketball-carousel .carousel-slide img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
}

.basketball-carousel .carousel-prev,
.basketball-carousel .carousel-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	border: none;
	color: white;
	padding: var(--wp--preset--spacing--20);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 2;
	backdrop-filter: blur(10px);
}

.basketball-carousel .carousel-prev {
	left: var(--wp--preset--spacing--20);
}

.basketball-carousel .carousel-next {
	right: var(--wp--preset--spacing--20);
}

.basketball-carousel .carousel-prev:hover,
.basketball-carousel .carousel-next:hover {
	background: rgba(0, 0, 0, 0.7);
	transform: translateY(-50%) scale(1.1);
}

.basketball-carousel .carousel-indicators {
	position: absolute;
	bottom: var(--wp--preset--spacing--20);
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: var(--wp--preset--spacing--10);
}

.basketball-carousel .carousel-indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.2s ease;
}

.basketball-carousel .carousel-indicator.active {
	background: white;
	transform: scale(1.2);
}

/* Carousel Slide Captions */
.basketball-carousel .slide-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	color: white;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.basketball-carousel .carousel-slide:hover .slide-caption {
	transform: translateY(0);
}

.basketball-carousel .slide-caption h3 {
	margin: 0 0 var(--wp--preset--spacing--10) 0;
	font-size: 1.5rem;
	font-weight: 700;
}

.basketball-carousel .slide-caption p {
	margin: 0;
	font-size: 1rem;
	opacity: 0.9;
}

/* Photo Filters and Categorization */
.photo-filters,
.gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--10);
	margin-bottom: var(--wp--preset--spacing--40);
	justify-content: center;
}

.photo-filters .filter-btn,
.gallery-filters .gallery-filter {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	background: var(--wp--preset--color--background);
	border: 2px solid var(--wp--preset--color--border);
	border-radius: var(--wp--preset--border-radius--full);
	color: var(--wp--preset--color--foreground);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.photo-filters .filter-btn:hover,
.gallery-filters .gallery-filter:hover {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	transform: translateY(-2px);
}

.photo-filters .filter-btn.active,
.gallery-filters .gallery-filter.active {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: white;
}

/* Filter Animation Effects */
.gallery-item.filter-hide {
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.3s ease;
}

.gallery-item.filter-show {
	opacity: 1;
	transform: scale(1);
	transition: all 0.3s ease;
}

/* Progressive Image Loading */
.progressive-loading {
	filter: blur(5px);
	transition: filter 0.3s ease;
}

.progressive-loaded {
	filter: blur(0);
}

/* Notification System */
.basketball-notification {
	position: fixed;
	top: var(--wp--preset--spacing--20);
	right: var(--wp--preset--spacing--20);
	background: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	border-radius: var(--wp--preset--border-radius--lg);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	z-index: 10000;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	max-width: 300px;
}

.basketball-notification.show {
	transform: translateX(0);
}

.basketball-notification.success {
	background: var(--wp--preset--color--success);
}

.basketball-notification.error {
	background: var(--wp--preset--color--error);
}

.basketball-notification.warning {
	background: var(--wp--preset--color--warning);
}

/* Animations */
@keyframes shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

@keyframes fadeInScale {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Body modifications when lightbox is open */
body.lightbox-open {
	overflow: hidden;
	padding-right: 17px; /* Prevent layout shift from scrollbar */
}

/* Responsive Design for Photo Integration */
@media (max-width: 1024px) {
	.basketball-photo-gallery {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: var(--wp--preset--spacing--20);
	}
	
	.basketball-carousel .carousel-slide img {
		height: 300px;
	}
}

@media (max-width: 768px) {
	.basketball-photo-gallery {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: var(--wp--preset--spacing--20);
	}
	
	.basketball-lightbox .lightbox-container {
		padding: var(--wp--preset--spacing--10);
	}
	
	.basketball-lightbox .lightbox-header {
		padding: var(--wp--preset--spacing--10) 0;
	}
	
	.basketball-lightbox .lightbox-title {
		font-size: 1rem;
	}
	
	.basketball-lightbox .lightbox-navigation {
		padding: 0 var(--wp--preset--spacing--10);
	}
	
	.basketball-lightbox .lightbox-navigation button {
		padding: var(--wp--preset--spacing--15);
	}
	
	.basketball-carousel .carousel-slide img {
		height: 250px;
	}
	
	.basketball-carousel .carousel-prev,
	.basketball-carousel .carousel-next {
		padding: var(--wp--preset--spacing--15);
	}
	
	.photo-filters,
	.gallery-filters {
		gap: var(--wp--preset--spacing--5);
	}
	
	.photo-filters .filter-btn,
	.gallery-filters .gallery-filter {
		padding: var(--wp--preset--spacing--5) var(--wp--preset--spacing--15);
		font-size: 0.8rem;
	}
}

@media (max-width: 480px) {
	.basketball-photo-gallery {
		grid-template-columns: 1fr 1fr;
		gap: var(--wp--preset--spacing--10);
	}
	
	.basketball-photo-gallery .gallery-item img {
		height: 150px;
	}
	
	.basketball-carousel .carousel-slide img {
		height: 200px;
	}
	
	.basketball-lightbox .lightbox-image-container {
		max-width: 95%;
		max-height: 85%;
	}
	
	.photo-filters,
	.gallery-filters {
		flex-direction: column;
		align-items: center;
	}
	
	.basketball-notification {
		top: var(--wp--preset--spacing--10);
		right: var(--wp--preset--spacing--10);
		left: var(--wp--preset--spacing--10);
		max-width: none;
		transform: translateY(-100%);
	}
	
	.basketball-notification.show {
		transform: translateY(0);
	}
}

/* ===== INTERACTIVE ELEMENTS STYLES ===== */

/* Parallax Effects */
.parallax-element {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll.fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-on-scroll.fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Interactive Cards */
.interactive-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.interactive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.interactive-card .card-image {
    overflow: hidden;
}

.interactive-card .card-image img {
    transition: transform 0.3s ease;
}

.interactive-card .card-content {
    transition: transform 0.3s ease;
}

/* Ripple Effects */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.click-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.5);
    transform: scale(0);
    animation: clickEffect 0.3s ease-out;
    pointer-events: none;
}

@keyframes clickEffect {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* Tooltips */
.basketball-tooltip {
    position: absolute;
    background: var(--text-color);
    color: var(--bg-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.basketball-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.basketball-tooltip::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
}

.tooltip-top::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: var(--text-color);
}

.tooltip-bottom::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: var(--text-color);
}

.tooltip-left::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left-color: var(--text-color);
}

.tooltip-right::after {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-right-color: var(--text-color);
}

/* Progress Bars */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Counter Animations */
.counter {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* Hover Effects */
.hover-image {
    overflow: hidden;
    position: relative;
}

.hover-image img {
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Button Hover Effects */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
}

.button-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: buttonRipple 0.6s linear;
    pointer-events: none;
}

@keyframes buttonRipple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Card Hover Effects */
.card-hover-effect {
    transition: all 0.3s ease;
}

/* Navigation Hover Effects */
.nav-hover-effect {
    position: relative;
}

.nav-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Load More Pagination */
.load-more-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.load-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.load-more-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.load-more-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Content Loading Animation */
.content-item.loading {
    opacity: 0;
    transform: translateY(20px);
}

.content-item.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

/* Filter and Sort Controls */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    align-items: center;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-color);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.sort-select {
    padding: 8px 12px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    cursor: pointer;
}

.search-filter {
    padding: 10px 15px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 16px;
    transition: border-color 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.search-filter:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-filter::placeholder {
    color: var(--text-muted);
}

/* Filter Animation */
.filterable-item {
    transition: all 0.3s ease;
}

.filterable-item.filtered-out {
    opacity: 0;
    transform: scale(0.8);
}

.filterable-item.filtered-in {
    opacity: 1;
    transform: scale(1);
}

/* Social Sharing */
.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.social-share-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-share-btn svg {
    width: 18px;
    height: 18px;
}

/* Share Modal */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.share-modal {
    background: var(--card-bg);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.share-modal-overlay.show .share-modal {
    transform: scale(1) translateY(0);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.share-modal-header h3 {
    margin: 0;
    color: var(--text-color);
    flex: 1;
}

.share-modal-close {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.share-modal-close:hover {
    background: var(--hover-bg);
}

.share-modal-content {
    padding: 20px;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.share-buttons .social-share-btn {
    justify-content: center;
    padding: 15px;
    font-size: 16px;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.info {
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filter {
        min-width: auto;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
    
    .share-modal {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .basketball-tooltip {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .interactive-card,
    .hover-image img,
    .card-hover-effect,
    .scroll-to-top,
    .load-more-btn,
    .filter-btn,
    .social-share-btn {
        transition: none;
    }
    
    .ripple-effect,
    .click-effect,
    .button-ripple {
        animation: none;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .filter-btn,
    .social-share-btn,
    .load-more-btn {
        border-width: 3px;
    }
    
    .basketball-tooltip {
        border: 2px solid var(--text-color);
    }
    
    .progress-fill {
        background: var(--text-color);
    }
}

/* ===== VIDEO INTEGRATION STYLES ===== */

/* Video Container Base */
.basketball-video-player,
.video-card,
.youtube-video,
.vimeo-video,
.self-hosted-video {
	position: relative;
	width: 100%;
	background: var(--wp--preset--color--surface);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--natural);
	transition: all 0.3s ease;
}

/* Video Iframe and Element Styling */
.video-iframe,
.video-element {
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 12px;
	aspect-ratio: 16/9;
}

.video-element {
	object-fit: cover;
}

/* Video Thumbnail System */
.video-thumbnail {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	background: var(--wp--preset--color--surface);
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.video-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.video-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	background: rgba(21, 129, 196, 0.9);
	border: none;
	border-radius: 50%;
	color: white;
	font-size: 2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-play-button:hover {
	background: var(--wp--preset--color--primary);
	transform: translate(-50%, -50%) scale(1.1);
	box-shadow: 0 12px 40px rgba(21, 129, 196, 0.4);
}

.video-play-button svg {
	width: 32px;
	height: 32px;
	margin-left: 4px; /* Optical alignment for play icon */
}

/* Video Player Wrapper */
.video-player-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
}

/* Enhanced Video Player Controls */
.basketball-video-player {
	position: relative;
}

.video-controls {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	padding: 1rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.basketball-video-player:hover .video-controls {
	opacity: 1;
}

.video-progress-container {
	margin-bottom: 0.75rem;
}

.video-progress-bar {
	width: 100%;
	height: 6px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 3px;
	cursor: pointer;
	position: relative;
}

.video-progress-filled {
	height: 100%;
	background: var(--wp--preset--color--primary);
	border-radius: 3px;
	transition: width 0.1s ease;
	position: relative;
}

.video-progress-handle {
	position: absolute;
	top: 50%;
	right: -6px;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	background: white;
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.video-progress-bar:hover .video-progress-handle {
	opacity: 1;
}

.video-controls-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.video-controls-left,
.video-controls-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.video-controls button {
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 6px;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-controls button:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
}

.video-volume-container {
	display: flex;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	width: 0;
	overflow: hidden;
}

.video-controls-left:hover .video-volume-container {
	opacity: 1;
	width: 80px;
}

.video-volume-slider {
	width: 80px;
	height: 4px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
	outline: none;
	cursor: pointer;
}

.video-volume-slider::-webkit-slider-thumb {
	appearance: none;
	width: 12px;
	height: 12px;
	background: white;
	border-radius: 50%;
	cursor: pointer;
}

.video-time {
	color: white;
	font-size: 0.875rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.video-time::before {
	content: "/";
	opacity: 0.7;
}

/* Video Grid Layout */
.basketball-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
	margin: 2rem 0;
}

.video-card {
	background: var(--wp--preset--color--surface);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--natural);
	transition: all 0.3s ease;
	animation: fadeInUp 0.6s ease forwards;
	opacity: 0;
	transform: translateY(30px);
}

.video-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-card-content {
	padding: 1.5rem;
}

.video-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	margin-bottom: 0.5rem;
	line-height: 1.4;
}

.video-card p {
	color: var(--wp--preset--color--contrast-2);
	font-size: 0.875rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.video-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.75rem;
	color: var(--wp--preset--color--contrast-3);
}

.video-duration {
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	position: absolute;
	bottom: 0.5rem;
	right: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
}

/* Video Playlist */
.basketball-video-playlist {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2rem;
	margin: 2rem 0;
}

.playlist-main-player {
	background: var(--wp--preset--color--surface);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--natural);
}

.playlist-video-wrapper {
	position: relative;
	aspect-ratio: 16/9;
}

.playlist-video-info {
	padding: 1.5rem;
}

.playlist-video-info .video-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	margin-bottom: 0.75rem;
}

.playlist-video-info .video-description {
	color: var(--wp--preset--color--contrast-2);
	line-height: 1.6;
}

.playlist-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-height: 600px;
	overflow-y: auto;
}

.playlist-item {
	display: flex;
	gap: 1rem;
	padding: 1rem;
	background: var(--wp--preset--color--surface);
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.playlist-item:hover {
	background: var(--wp--preset--color--base-2);
	transform: translateX(4px);
}

.playlist-item.active {
	border-color: var(--wp--preset--color--primary);
	background: rgba(21, 129, 196, 0.1);
}

.playlist-item-thumbnail {
	width: 120px;
	aspect-ratio: 16/9;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.playlist-item-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.playlist-item-content {
	flex: 1;
}

.playlist-item-content h4 {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	margin-bottom: 0.25rem;
	line-height: 1.4;
}

.playlist-item-content p {
	font-size: 0.75rem;
	color: var(--wp--preset--color--contrast-3);
	line-height: 1.4;
}

/* Hero Video Background */
.hero-video-background {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.hero-video-background video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	z-index: -1;
}

.hero-video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.hero-video-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	padding: 2rem;
}

.hero-video-mute-toggle {
	position: absolute;
	bottom: 2rem;
	right: 2rem;
	width: 48px;
	height: 48px;
	background: rgba(0, 0, 0, 0.6);
	border: none;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	backdrop-filter: blur(10px);
}

.hero-video-mute-toggle:hover {
	background: rgba(0, 0, 0, 0.8);
	transform: scale(1.1);
}

/* Video Loading States */
.video-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border: 4px solid rgba(21, 129, 196, 0.3);
	border-top: 4px solid var(--wp--preset--color--primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	z-index: 10;
}

.video-buffering::before {
	content: "Buffering...";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-size: 0.875rem;
	z-index: 10;
}

.video-error::after {
	content: "Video failed to load";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(220, 38, 38, 0.9);
	color: white;
	padding: 1rem;
	border-radius: 8px;
	font-size: 0.875rem;
	text-align: center;
	z-index: 10;
}

/* Video Lazy Loading */
.video-lazy {
	background: var(--wp--preset--color--base-2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-lazy::before {
	content: "Loading video...";
	color: var(--wp--preset--color--contrast-3);
	font-size: 0.875rem;
}

/* Video Archive and Categorization */
.video-archive-filters {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.video-filter-btn {
	padding: 0.75rem 1.5rem;
	background: var(--wp--preset--color--surface);
	border: 2px solid transparent;
	border-radius: 25px;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
}

.video-filter-btn:hover,
.video-filter-btn.active {
	background: var(--wp--preset--color--primary);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(21, 129, 196, 0.3);
}

/* Video Responsive Design */
@media (max-width: 768px) {
	.basketball-video-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.basketball-video-playlist {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.playlist-sidebar {
		max-height: 400px;
	}

	.playlist-item {
		gap: 0.75rem;
	}

	.playlist-item-thumbnail {
		width: 100px;
	}

	.video-controls {
		padding: 0.75rem;
	}

	.video-controls-left,
	.video-controls-right {
		gap: 0.5rem;
	}

	.video-volume-container {
		display: none; /* Hide volume slider on mobile */
	}

	.hero-video-mute-toggle {
		width: 40px;
		height: 40px;
		bottom: 1rem;
		right: 1rem;
	}
}

@media (max-width: 480px) {
	.basketball-video-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.video-card-content {
		padding: 1rem;
	}

	.playlist-item {
		flex-direction: column;
		text-align: center;
	}

	.playlist-item-thumbnail {
		width: 100%;
		align-self: center;
	}

	.video-archive-filters {
		gap: 0.5rem;
	}

	.video-filter-btn {
		padding: 0.5rem 1rem;
		font-size: 0.875rem;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.video-card,
	.video-play-button,
	.video-thumbnail img {
		transition: none;
		animation: none;
	}

	.hero-video-background.motion-reduced video {
		display: none;
	}

	.hero-video-background.motion-reduced::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--wp--preset--color--base);
		z-index: -1;
	}
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
	.video-play-button {
		background: #000;
		border: 2px solid #fff;
	}

	.video-controls {
		background: linear-gradient(transparent, #000);
	}

	.video-progress-bar {
		background: #fff;
	}

	.video-progress-filled {
		background: #000;
	}
}

/* Dark Mode Adjustments for Photo Integration */
@media (prefers-color-scheme: dark) {
	.basketball-photo-gallery .gallery-item {
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	}
	
	.basketball-carousel,
	.image-slider {
		box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	}
	
	.image-placeholder {
		background: var(--wp--preset--color--neutral-800);
	}
	
	.image-placeholder .basketball-spinner {
		border-color: var(--wp--preset--color--neutral-600);
		border-top-color: var(--wp--preset--color--primary);
	}
}

/* High Contrast Mode for Photo Integration */
@media (prefers-contrast: high) {
	.basketball-photo-gallery .gallery-item,
	.basketball-carousel,
	.image-slider {
		border: 2px solid var(--wp--preset--color--foreground);
	}
	
	.basketball-lightbox .lightbox-controls button,
	.basketball-lightbox .lightbox-navigation button,
	.basketball-carousel .carousel-prev,
	.basketball-carousel .carousel-next {
		border: 2px solid white;
	}
	
	.photo-filters .filter-btn,
	.gallery-filters .gallery-filter {
		border-width: 3px;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.basketball-photo-gallery .gallery-item,
	.basketball-photo-gallery .gallery-item img,
	.basketball-lightbox,
	.basketball-carousel .carousel-track,
	.photo-filters .filter-btn,
	.gallery-filters .gallery-filter,
	.gallery-item.filter-hide,
	.gallery-item.filter-show {
		transition: none;
		animation: none;
	}
	
	.basketball-photo-gallery .gallery-item:hover {
		transform: none;
	}
	
	.basketball-photo-gallery .gallery-item:hover img {
		transform: none;
	}
}

/* =================================================================
   BASKETBALL-SPECIFIC FEATURES - PHASE 4
   ================================================================= */

/* Basketball News Article Styling */
.basketball-news-article {
    background: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
}

.article-header .category-badge {
    background: var(--wp--preset--color--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.article-title.basketball-gradient-text {
    background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    color: var(--wp--preset--color--contrast-2);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-info img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.article-date, .read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* Game Score Box */
.game-scorebox {
    background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
    color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.score-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.team-score {
    text-align: center;
}

.team-logo {
    margin-bottom: 0.5rem;
}

.team-logo > div {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: bold;
}

.score {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.vs-separator {
    opacity: 0.75;
}

.game-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

/* Player Stats Callout */
.player-stats-callout {
    background: var(--wp--preset--color--contrast-1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--wp--preset--color--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.player-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-stat img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

/* Social Sharing */
.social-sharing {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--wp--preset--color--contrast-1);
    margin-top: 2rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--wp--preset--color--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-share-btn:hover {
    background: var(--wp--preset--color--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-article {
    background: var(--wp--preset--color--base);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.related-article img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.related-article:hover img {
    transform: scale(1.05);
}

/* Breaking News Banner Styling */
.breaking-news-banner {
    background: #dc2626;
    color: white;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    animation: pulse 2s infinite;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.breaking-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.breaking-icon {
    background: white;
    color: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: bounce 2s infinite;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: white;
    border-radius: 50%;
    animation: ping 2s infinite;
}

.news-ticker {
    overflow: hidden;
    flex: 1;
    margin: 0 1rem;
}

.ticker-content {
    animation: scroll-left 30s linear infinite;
}

.ticker-text {
    font-weight: 600;
    font-size: 1.125rem;
    white-space: nowrap;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.banner-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.read-more-btn a {
    background: white;
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn a:hover {
    background: #f3f4f6;
}

.close-banner {
    background: transparent;
    border: 2px solid white;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.close-banner:hover {
    background: white;
    color: #dc2626;
}

/* Breaking News Alert Variations */
.breaking-news-alert {
    background: linear-gradient(135deg, #fbbf24, #ef4444, #ec4899);
    color: white;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.icon-container {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.alert-text {
    flex: 1;
}

.alert-btn a {
    background: white;
    color: #dc2626;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.alert-btn a:hover {
    background: #f3f4f6;
}

/* Compact Breaking News */
.compact-breaking-news {
    background: var(--wp--preset--color--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-left: 4px solid var(--wp--preset--color--secondary);
}

.compact-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.breaking-badge {
    background: var(--wp--preset--color--secondary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.breaking-link {
    color: white;
    text-decoration: underline;
    font-size: 0.875rem;
    font-weight: 500;
}

.breaking-link:hover {
    color: #d1d5db;
}

/* Press Release Styling */
.basketball-press-release {
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.press-header {
    text-align: center;
    margin-bottom: 2rem;
}

.letterhead img {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    margin: 0 auto;
}

.team-name {
    color: var(--wp--preset--color--primary);
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.organization-subtitle {
    color: var(--wp--preset--color--contrast-2);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.press-label {
    background: var(--wp--preset--color--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.release-details {
    color: var(--wp--preset--color--contrast-2);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.press-headline {
    font-size: 2rem;
    font-weight: bold;
    color: var(--wp--preset--color--contrast);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.dateline {
    font-weight: 600;
    color: var(--wp--preset--color--contrast-2);
    margin-bottom: 1rem;
}

.lead-paragraph {
    font-size: 1.125rem;
    color: var(--wp--preset--color--contrast);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Quote Sections */
.quote-section {
    background: var(--wp--preset--color--contrast-1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--wp--preset--color--primary);
    margin: 2rem 0;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--wp--preset--color--contrast-2);
    margin-bottom: 1rem;
}

.speaker-name {
    font-weight: bold;
    color: var(--wp--preset--color--primary);
    margin-bottom: 0.25rem;
}

.speaker-title {
    color: var(--wp--preset--color--contrast-2);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.secondary-quote {
    background: rgba(var(--wp--preset--color--primary-rgb), 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

/* Organization Info */
.organization-info {
    background: var(--wp--preset--color--contrast-1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.organization-info h4 {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--wp--preset--color--contrast);
    margin-bottom: 1rem;
}

.organization-info p {
    color: var(--wp--preset--color--contrast-2);
    margin-bottom: 1rem;
}

.organization-info a {
    color: var(--wp--preset--color--primary);
    text-decoration: underline;
}

/* Contact Information */
.contact-info {
    border-top: 1px solid var(--wp--preset--color--contrast-1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-name {
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
    margin-bottom: 0.25rem;
}

.contact-title {
    color: var(--wp--preset--color--contrast-2);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.contact-email {
    color: var(--wp--preset--color--primary);
    margin-bottom: 0.25rem;
}

.contact-phone {
    color: var(--wp--preset--color--contrast-2);
    margin-bottom: 0;
}

/* Press Release Footer */
.press-footer {
    text-align: center;
    color: var(--wp--preset--color--contrast-3);
    font-size: 0.875rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--wp--preset--color--contrast-1);
}

/* Responsive Design for Basketball Features */
@media (max-width: 768px) {
    .score-display {
        gap: 1rem;
    }
    
    .team-logo > div {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
    
    .score {
        font-size: 2rem;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .news-ticker {
        margin: 0;
    }
    
    .ticker-text {
        font-size: 1rem;
    }
    
    .press-headline {
        font-size: 1.5rem;
    }
    
    .quote-text {
        font-size: 1.125rem;
    }
}

/* Animation Enhancements */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-30px,0);
    }
    70% {
        transform: translate3d(0,-15px,0);
    }
    90% {
        transform: translate3d(0,-4px,0);
    }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .8;
    }
}

/* Dark Mode Support for Basketball Features */
@media (prefers-color-scheme: dark) {
    .basketball-news-article {
        background: var(--wp--preset--color--contrast);
        color: var(--wp--preset--color--base);
    }
    
    .basketball-press-release {
        background: var(--wp--preset--color--contrast);
        color: var(--wp--preset--color--base);
    }
    
    .player-stats-callout {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .quote-section {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .organization-info {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* Print Styles for Press Releases */
@media print {
    .basketball-press-release {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .breaking-news-banner,
    .social-sharing,
    .banner-actions,
    .close-banner {
        display: none;
    }
    
    .press-header {
        border-bottom: 2px solid #000;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }
}

/* ===== BASKETBALL HERO SLIDER ===== */

.basketball-hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
    /* Performance optimizations for smooth animations */
    will-change: transform;
    backface-visibility: hidden;
    perspective: 2000px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
    /* Performance optimizations */
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    animation: heroBackgroundZoom 20s ease-in-out infinite;
}

.hero-slide.active::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slowZoom 25s ease-in-out infinite;
    z-index: -1;
    /* Performance optimizations */
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.8) 100%
    ); */
	background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.hero-content-wrapper {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.85;
    color: #fff;
    margin: 0 0 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2.5rem 0;
    font-weight: 400;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-item .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-item .stat-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Hero Matchup */
.hero-matchup {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.team {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.team-logo {
    font-size: 3rem;
    line-height: 1;
}

.team-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.team-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.vs {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Player Stats */
.hero-player-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.player-stat {
    text-align: center;
    color: #fff;
}

.player-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.player-stat .stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn.primary {
    background: #ff6b35;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hero-btn.primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.hero-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Navigation */
.hero-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-nav-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    transform: scale(1.1);
}

.hero-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Dots Indicator */
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.hero-progress-bar {
    height: 100%;
    background: #ff6b35;
    width: 0%;
    transition: width 0.1s linear;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Background Zoom Animations */
@keyframes heroBackgroundZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slowZoom {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.08) rotate(0.5deg);
    }
    50% {
        transform: scale(1.12) rotate(0deg);
    }
    75% {
        transform: scale(1.08) rotate(-0.5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.animate-slide-up {
    animation: fadeInUp 1s ease-out;
}

.animate-slide-up.delay-1 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animate-slide-up.delay-2 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.animate-slide-up.delay-3 {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .basketball-hero-slider {
        min-height: 500px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-item .stat-number {
        font-size: 2.5rem;
    }

    .hero-matchup {
        gap: 1rem;
        flex-direction: column;
    }

    .hero-matchup .vs {
        order: 1;
        margin: 0.5rem 0;
    }

    .hero-player-stats {
        gap: 1.5rem;
    }

    .player-stat .stat-number {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-navigation {
        padding: 0 1rem;
    }

    .hero-nav-btn {
        width: 50px;
        height: 50px;
    }

    .hero-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .hero-dots {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .hero-player-stats {
        gap: 1rem;
    }

    .player-stat .stat-number {
        font-size: 1.8rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide.active,
    .hero-slide.active::before,
    .hero-btn,
    .hero-nav-btn,
    .hero-dot,
    .animate-slide-up {
        transition: none;
        animation: none;
    }

    .basketball-hero-slider[data-autoplay="true"] {
        /* Disable autoplay for users who prefer reduced motion */
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .hero-overlay {
        background: linear-gradient(
            135deg, 
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 0, 0.5) 50%, 
            rgba(0, 0, 0, 0.9) 100%
        );
    }
}
