@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  --primary-red: #ff2d46;
  --primary-red-hover: #ff0523;
  --primary-red-glow: rgba(255, 45, 70, 0.4);
  --primary-red-glow-strong: rgba(255, 45, 70, 0.7);
  
  --bg-dark: #0a0a0c;
  --bg-darker: #060607;
  --bg-card: #141418;
  --bg-card-hover: #1b1b22;
  
  --border-color: #24242c;
  --border-glow: rgba(255, 45, 70, 0.2);
  
  --text-white: #ffffff;
  --text-gray: #a0a0ab;
  --text-dark: #71717a;
  
  --metallic: #e4e4e7;
  --font-family: 'Outfit', sans-serif;
  
  --header-height: 80px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================
   UTILITY CLASSES & BACKGROUND EFFECTS
   ========================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Carbon Fiber Texture Background */
.carbon-bg {
  position: relative;
  background-color: var(--bg-dark);
}

.carbon-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(45deg, #111113 25%, transparent 25%), 
    linear-gradient(-45deg, #111113 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #111113 75%), 
    linear-gradient(-45deg, transparent 75%, #111113 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

/* Neon Glow Utilities */
.glow-text {
  text-shadow: 0 0 10px var(--primary-red-glow-strong);
}

.glow-btn {
  background-color: var(--primary-red);
  color: var(--text-white);
  box-shadow: 0 0 15px var(--primary-red-glow);
  transition: var(--transition-bounce);
}

.glow-btn:hover {
  background-color: var(--primary-red-hover);
  box-shadow: 0 0 25px var(--primary-red-glow-strong);
  transform: translateY(-2px);
}

.glow-border-hover {
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.glow-border-hover:hover {
  border-color: var(--primary-red);
  box-shadow: 0 0 15px var(--border-glow);
}

/* Glassmorphism */
.glass-panel {
  background: rgba(20, 20, 24, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Section Styling */
.section-padding {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Scroll Animation Helper */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(6, 6, 7, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-svg {
  width: 42px;
  height: 42px;
  color: var(--primary-red);
  filter: drop-shadow(0 0 8px var(--primary-red-glow-strong));
  flex-shrink: 0;
  transform: translateY(-2px);
}

.logo span {
  color: var(--primary-red);
}

.nav-menu {
  display: flex;
  gap: 0.85rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
  padding: 1.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary-red);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 220px;
  background: rgba(20, 20, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--primary-red);
  border-radius: 4px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-bounce);
  z-index: 100;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 10px var(--border-glow);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-link:hover {
  color: var(--text-white);
  background: rgba(255, 45, 70, 0.1);
  padding-left: 1.75rem;
  border-left: 3px solid var(--primary-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.action-btn {
  font-size: 1.25rem;
  padding: 0.5rem;
  position: relative;
  transition: var(--transition-smooth);
}

.action-btn:hover {
  color: var(--primary-red);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-red);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-dark);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

/* Active Mobile State Toggle */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   HERO BANNER SECTION
   ========================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.hero-bg-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.4) 0%, rgba(10, 10, 12, 0.95) 100%);
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
  margin-top: 60px;
}

.hero-tag {
  background-color: rgba(255, 45, 70, 0.15);
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(255, 45, 70, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
  color: var(--primary-red);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn {
  padding: 1rem 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  display: inline-block;
  font-size: 0.95rem;
  transition: var(--transition-bounce);
}

.btn-secondary {
  border: 1px solid var(--text-white);
  color: var(--text-white);
}

.btn-secondary:hover {
  background-color: var(--text-white);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

/* ==========================================
   CATEGORIES SECTION
   ========================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.category-card {
  position: relative;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  z-index: 1;
}

.category-img-wrap {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  transition: var(--transition-smooth);
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.9) 0%, rgba(6, 6, 7, 0.2) 60%, rgba(6, 6, 7, 0) 100%);
  z-index: 0;
  transition: var(--transition-smooth);
}

.category-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.category-title {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.category-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-red);
}

.category-cta i {
  transition: var(--transition-bounce);
}

/* Hover effects */
.category-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 0 20px var(--border-glow);
}

.category-card:hover .category-img {
  transform: scale(1.08);
}

.category-card:hover::after {
  background: linear-gradient(to top, rgba(255, 45, 70, 0.4) 0%, rgba(6, 6, 7, 0.6) 50%, rgba(6, 6, 7, 0.1) 100%);
}

.category-card:hover .category-cta i {
  transform: translateX(5px);
}

/* ==========================================
   PRODUCT SLIDER SECTION (NEW ARRIVALS)
   ========================================== */
.slider-outer-container {
  position: relative;
  overflow: hidden;
}

.slider-container {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0.25rem;
  cursor: grab;
  user-select: none;
  transition: transform 0.1s ease-out;
}

.slider-container:active {
  cursor: grabbing;
}

.product-card {
  flex: 0 0 285px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-bounce);
  height: 520px; /* Cố định chiều cao để các thẻ thẳng hàng hoàn hảo */
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-red);
  box-shadow: 0 12px 30px rgba(255, 45, 70, 0.15), 0 0 15px rgba(255, 45, 70, 0.1);
}

.product-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 20px; /* Dạng capsule */
  z-index: 10;
  letter-spacing: 1px;
  background: rgba(255, 45, 70, 0.15);
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  box-shadow: 0 0 10px rgba(255, 45, 70, 0.2);
}

.product-badge.sale {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.product-badge.new {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.product-badge.best {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid #6366f1;
  color: #6366f1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.product-fav-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  z-index: 10;
  transition: var(--transition-smooth);
}

.product-fav-btn:hover {
  background-color: var(--primary-red);
  color: var(--text-white);
  border-color: var(--primary-red);
  box-shadow: 0 0 10px var(--primary-red-glow);
}

.product-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: radial-gradient(circle at center, #1b1b22 0%, #0d0d10 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: var(--transition-bounce);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.5) 0%, rgba(10, 10, 12, 0.8) 100%);
}

.product-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--primary-red);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: 1.5px;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  height: 3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.product-card:hover .product-title {
  color: var(--primary-red);
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.spec-pill {
  font-size: 0.65rem;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  color: var(--text-gray);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.price-old {
  font-size: 0.78rem;
  color: var(--text-dark);
  text-decoration: line-through;
  font-weight: 500;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.quick-add-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%; /* Dạng hình tròn */
  background-color: var(--border-color);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-bounce);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.quick-add-btn:hover {
  background-color: var(--primary-red);
  color: var(--text-white);
  border-color: var(--primary-red);
  box-shadow: 0 0 12px var(--primary-red-glow-strong);
  transform: scale(1.15) rotate(90deg);
}


/* Slider Controls */
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  box-shadow: 0 0 10px var(--border-glow);
}

/* Dynamic Product Filter Tabs */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-gray);
  border: 1px solid var(--border-color);
  background: rgba(20, 20, 24, 0.6);
  border-radius: 50px;
  transition: var(--transition-bounce);
}

.tab-btn:hover {
  color: var(--text-white);
  border-color: var(--primary-red);
  box-shadow: 0 0 10px var(--border-glow);
}

.tab-btn.active {
  color: var(--text-white);
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  box-shadow: 0 0 15px var(--primary-red-glow-strong);
}

/* Hidden Class for Filtered Out Products */
.product-card.hidden {
  display: none !important;
}

/* ==========================================
   TECHNOLOGY INTERACTIVE SHOWCASE
   ========================================== */
.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.tech-info {
  display: flex;
  flex-direction: column;
}

.tech-tag {
  color: var(--primary-red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.tech-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.tech-desc {
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.tech-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tech-point-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 6px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tech-point-item.active {
  border-color: var(--primary-red);
  box-shadow: 0 0 15px rgba(255, 45, 70, 0.15);
}

.tech-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 45, 70, 0.1);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.tech-point-item.active .tech-point-icon {
  background-color: var(--primary-red);
  color: var(--text-white);
  box-shadow: 0 0 10px var(--primary-red-glow);
}

.tech-point-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.tech-point-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.tech-visual-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-main-img {
  max-width: 80%;
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transition: var(--transition-smooth);
}

.tech-radar-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 70, 0.05) 0%, transparent 70%);
  border: 1px dashed rgba(255, 255, 255, 0.05);
  animation: rotateRadar 20s linear infinite;
}

@keyframes rotateRadar {
  to { transform: rotate(360deg); }
}

/* Hotspots on the racket */
.hotspot {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 20;
  cursor: pointer;
}

.hotspot-trigger {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(255, 45, 70, 0.3);
  position: relative;
  animation: pulseHotspot 2s infinite;
}

.hotspot-trigger::after {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  border-radius: 50%;
  border: 1px solid var(--primary-red);
  opacity: 0;
  animation: rippleHotspot 2s infinite;
}

@keyframes pulseHotspot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 45, 70, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(255, 45, 70, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 45, 70, 0); }
}

@keyframes rippleHotspot {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Hotspot placements on racket image */
.hotspot-1 { top: 25%; left: 35%; }
.hotspot-2 { top: 48%; left: 47%; }
.hotspot-3 { top: 50%; left: 78%; }

.hotspot-tooltip {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: 220px;
  background-color: var(--bg-card);
  border: 1px solid var(--primary-red);
  border-radius: 4px;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 10px var(--border-glow);
  z-index: 30;
  pointer-events: none;
  transition: var(--transition-bounce);
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--primary-red) transparent transparent transparent;
}

.hotspot:hover .hotspot-tooltip,
.hotspot.active .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.tooltip-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.tooltip-desc {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.3;
}

/* ==========================================
   SOCIAL PROOF / REVIEWS
   ========================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  padding: 2rem;
  border-radius: 6px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.review-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
}

.quote-icon {
  font-size: 2.5rem;
  color: rgba(255, 45, 70, 0.1);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  margin-bottom: 1rem;
}

.review-text {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.reviewer-info-wrap {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.reviewer-level {
  font-size: 0.75rem;
  color: var(--primary-red);
  font-weight: 600;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-logo span {
  color: var(--primary-red);
}

.footer-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--primary-red);
  color: var(--text-white);
  border-color: var(--primary-red);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 5px;
}

.footer-newsletter-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-input {
  flex-grow: 1;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  color: var(--text-white);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 10px rgba(255, 45, 70, 0.15);
}

.newsletter-btn {
  background-color: var(--primary-red);
  color: var(--text-white);
  padding: 0 1.5rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: var(--transition-bounce);
}

.newsletter-btn:hover {
  background-color: var(--primary-red-hover);
  box-shadow: 0 0 10px var(--primary-red-glow);
}

.authentic-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 6px;
  background-color: rgba(255, 45, 70, 0.05);
  border: 1px dashed rgba(255, 45, 70, 0.3);
}

.authentic-icon {
  font-size: 1.8rem;
  color: var(--primary-red);
}

.authentic-text {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.authentic-text a {
  color: var(--text-white);
  font-weight: 700;
  text-decoration: underline;
}

.authentic-text a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-dark);
}

.footer-payment-icons {
  display: flex;
  gap: 0.75rem;
  font-size: 1.5rem;
  color: var(--text-dark);
}

/* ==========================================
   CART SIDEBAR DRAWER (GLASSMORPHISM)
   ========================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  z-index: 200;
  transition: var(--transition-smooth);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  right: 0;
}

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

.cart-title {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-close-btn {
  font-size: 1.5rem;
  color: var(--text-gray);
  transition: var(--transition-smooth);
}

.cart-close-btn:hover {
  color: var(--primary-red);
  transform: rotate(90deg);
}

.cart-body {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-dark);
  text-align: center;
  gap: 1rem;
}

.cart-empty-state i {
  font-size: 4rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 4px;
  position: relative;
  animation: slideInCart 0.3s ease-out forwards;
}

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

.cart-item-img-wrap {
  width: 70px;
  height: 70px;
  background-color: #0c0c0e;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  padding-right: 1.5rem;
}

.cart-item-spec {
  font-size: 0.75rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background-color: var(--primary-red);
}

.qty-val {
  width: 30px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-price {
  font-weight: 700;
  font-size: 1rem;
}

.cart-item-remove {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.cart-item-remove:hover {
  color: var(--primary-red);
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
}

.cart-subtotal-val {
  font-weight: 800;
  color: var(--primary-red);
}

.cart-checkout-btn {
  width: 100%;
  padding: 1rem;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
}

/* Cart Overlay Background */
.cart-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

/* ==========================================
   SMART SEARCH MODAL
   ========================================== */
.search-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px var(--border-glow);
  padding: 2rem;
  position: relative;
  z-index: 310;
  transform: translateY(-20px);
  transition: var(--transition-bounce);
}

.search-modal.active .search-panel {
  transform: translateY(0);
}

.search-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--primary-red);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.search-icon {
  font-size: 1.5rem;
  color: var(--primary-red);
}

.search-input {
  flex-grow: 1;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-white);
}

.search-close {
  font-size: 1.5rem;
  color: var(--text-gray);
  transition: var(--transition-smooth);
}

.search-close:hover {
  color: var(--primary-red);
  transform: rotate(90deg);
}

.search-results {
  max-height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-suggest-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.search-tag-pill {
  font-size: 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.search-tag-pill:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  box-shadow: 0 0 8px var(--border-glow);
}

.search-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.search-item:hover {
  background-color: rgba(255, 45, 70, 0.05);
  border-color: var(--primary-red);
}

.search-item-img {
  width: 50px;
  height: 50px;
  background-color: #0c0c0e;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-item-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.search-item-info {
  display: flex;
  flex-direction: column;
}

.search-item-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.search-item-price {
  font-size: 0.85rem;
  color: var(--primary-red);
  font-weight: 700;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES (MOBILE-FIRST)
   ========================================== */
@media screen and (max-width: 1100px) {
  .tech-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .tech-info {
    order: 2;
  }
  
  .tech-visual-container {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media screen and (max-width: 1100px) {
  :root {
    --header-height: 70px;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-darker);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 90;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
  }
  
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .category-card {
    height: 250px;
    padding: 1.5rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}
