/* Club Smart IPTV - Enhanced Responsive Stylesheet */

:root {
  --primary: #d4af37;
  --primary-dark: #b8941f;
  --primary-light: #e8c84a;
  --secondary: #1a1a2e;
  --dark: #0f0f1a;
  --darker: #0a0a12;
  --light: #f5f5f5;
  --gray: #888;
  --gray-light: #aaa;
  --gray-dark: #444;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.25);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
  
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  
  --transition-fast: all 0.2s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container with better responsive breakpoints */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  html {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

/* ========== WHATSAPP FLOAT BUTTON ========== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--secondary);
  color: var(--light);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse-whatsapp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

/* ========== LOGO ========== */
.logo-text {
  display: inline-block;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: var(--transition);
}

.logo:hover .logo-text {
  transform: scale(1.05);
}

.logo-text span {
  color: var(--light);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-text.auth-logo {
  font-size: 1.9rem;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.25rem;
  }

  .logo-text.auth-logo {
    font-size: 1.55rem;
  }
}

/* ========== WHATSAPP BUTTON ========== */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #128c7e, #25d366);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ========== HEADER & NAVIGATION ========== */
.header {
  background: rgba(15, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(15, 15, 26, 0.99);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.logo:hover {
  transform: scale(1.02);
}

.logo i {
  font-size: 1.5rem;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-menu a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(212, 175, 55, 0.08);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.1);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  gap: 5px;
  transition: var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(212, 175, 55, 0.2);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
  .nav-menu,
  .nav-actions {
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  
  .nav-menu.active,
  .nav-actions.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu a {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: var(--radius);
  }
  
  .nav-actions {
    top: auto;
    padding-top: 10px;
  }
  
  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .nav-toggle {
    display: flex;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn:active::before {
  width: 200%;
  height: 200%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .btn {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  
  .btn-lg {
    padding: 16px 24px;
    font-size: 1rem;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--darker) 0%, var(--secondary) 50%, var(--darker) 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.025'%3E%3Cpath d='M50 46v-6h-4v6h-6v4h6v6h4v-6h6v-4h-6zm0-40V0h-4v6h-6v4h6v6h4V10h6V6h-6zM10 46v-6H6v6H0v4h6v6h4v-6h6v-4h-6zM10 6V0H6v6H0v4h6v6h4V10h6V6h-6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--light) 0%, var(--primary) 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 8vw, 80px);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-item {
    padding: 15px;
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

/* ========== SECTIONS ========== */
.features,
.pricing,
.content-section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .features,
  .pricing,
  .content-section {
    padding: 60px 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--light);
  line-height: 1.3;
}

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ========== FEATURES GRID ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.feature-card {
  background: linear-gradient(145deg, var(--secondary) 0%, rgba(26, 26, 46, 0.8) 100%);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(212, 175, 55, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-gold);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--dark);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--light);
  font-weight: 600;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .feature-card {
    padding: 30px 20px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon i {
    font-size: 1.5rem;
  }
}

/* ========== PRICING SECTION ========== */
.pricing {
  background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.pricing-card {
  background: linear-gradient(145deg, var(--secondary) 0%, rgba(26, 26, 46, 0.9) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.08);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-gold);
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: var(--shadow-gold);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

@media (max-width: 992px) {
  .pricing-card.popular {
    transform: none;
    order: -1;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
}

.pricing-card.popular::before {
  content: 'POPULAIRE';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--dark);
  padding: 6px 24px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
  line-height: 1;
}

.pricing-card .price span {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 400;
  display: block;
  margin-top: 4px;
}

.pricing-card > p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 35px 20px;
  }
  
  .pricing-card .price {
    font-size: 2.5rem;
  }
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-content p {
  color: rgba(0,0,0,0.7);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta-content .btn-primary {
  background: var(--dark);
  color: var(--primary);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-content .btn-primary:hover {
  background: var(--darker);
  color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
  }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--darker);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  transition: var(--transition-fast);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--light);
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact li {
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--primary);
  font-size: 0.9rem;
  width: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.9rem;
}

.payment-methods {
  display: flex;
  gap: 16px;
  font-size: 1.6rem;
  color: var(--gray);
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== FORMS ========== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--light);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius);
  color: var(--light);
  font-size: 1rem;
  transition: var(--transition-fast);
  font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-dark);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 480px) {
  .form-input,
  .form-textarea {
    padding: 12px 14px;
  }
}

/* ========== AUTH PAGES ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 40px;
  background: linear-gradient(135deg, var(--darker) 0%, var(--secondary) 100%);
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
}

.auth-card {
  background: linear-gradient(145deg, var(--secondary) 0%, rgba(26, 26, 46, 0.95) 100%);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.auth-card .logo {
  justify-content: center;
  margin-bottom: 32px;
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.6rem;
  font-weight: 700;
}

.auth-links {
  text-align: center;
  margin-top: 24px;
  color: var(--gray);
  font-size: 0.95rem;
}

.auth-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.auth-links a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 32px 24px;
  }
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--darker) 0%, var(--secondary) 100%);
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.page-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-header {
    padding: 120px 0 40px;
  }
}

/* ========== TWO COLUMN LAYOUT ========== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 992px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========== FAQ ========== */
.faq-item {
  background: var(--secondary);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid rgba(212, 175, 55, 0.08);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.15);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  user-select: none;
}

.faq-question:hover {
  background: rgba(212, 175, 55, 0.03);
}

.faq-question i {
  color: var(--primary);
  transition: var(--transition);
  font-size: 0.9rem;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--gray);
  line-height: 1.7;
  display: none;
  animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 16px 20px;
  }
  
  .faq-answer {
    padding: 0 20px 16px;
  }
}

/* ========== BLOG ========== */
.blog-search {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
  padding: 28px 30px;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.blog-search-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-search h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
}

.blog-search p {
  color: var(--gray);
  margin: 0;
}

.blog-search-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.blog-search-input {
  flex: 1 1 320px;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: rgba(10, 10, 18, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 16px;
}

.blog-search-input i {
  color: var(--primary);
}

.blog-search-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--light);
  font: inherit;
}

.blog-search-input input::placeholder {
  color: var(--gray);
}

.blog-search-clear {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 14px;
  background: transparent;
  color: var(--light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.blog-search-clear:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.45);
}

.blog-search-meta {
  grid-column: 1 / -1;
}

.blog-search-meta p {
  color: var(--gray-light);
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 8px;
}

.blog-category-btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--light);
  font: inherit;
  cursor: pointer;
  transition: var(--transition-fast);
}

.blog-category-btn:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
}

.blog-category-btn.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.08);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-gold);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card-media {
  height: 200px;
  overflow: hidden;
  background: #11131d;
}

.blog-card-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.blog-card-fallback i {
  font-size: 3.6rem;
  opacity: 0.85;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 28px;
}

.blog-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.blog-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  gap: 16px;
  color: var(--gray);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.blog-pagination .btn.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.blog-search-empty {
  grid-column: 1 / -1;
  padding: 42px 28px;
  text-align: center;
  background: var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: var(--radius-lg);
}

.blog-search-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary);
  font-size: 1.5rem;
}

.article-header .container {
  max-width: 900px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gray-light);
  font-size: 0.95rem;
}

.article-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
  background: var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.article-hero-image,
.article-hero-fallback {
  display: block;
  width: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

.article-hero-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.article-hero-fallback i {
  font-size: 5rem;
  opacity: 0.9;
}

.article-content {
  padding: 40px;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--light);
  margin: 28px 0 14px;
  line-height: 1.3;
}

.article-content p,
.article-content li,
.article-content blockquote {
  color: #d7d7df;
  line-height: 1.8;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content figure {
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
}

.article-content a {
  color: var(--primary-light);
}

.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px auto;
}

.article-content blockquote {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
}

.article-content hr {
  border: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  margin: 32px 0;
}

.related-posts {
  margin-top: 70px;
}

@media (max-width: 480px) {
  .blog-search {
    padding: 22px 18px;
  }

  .blog-card-content {
    padding: 20px;
  }

  .article-content {
    padding: 24px 20px;
  }

  .article-hero-image,
  .article-hero-fallback {
    min-height: 220px;
  }
}

@media (max-width: 900px) {
  .blog-search {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .blog-search-controls {
    justify-content: stretch;
  }
}

/* ========== DEMO HERO DRAFT ========== */
.draft-shell {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(37, 211, 102, 0.08), transparent 22%),
    linear-gradient(180deg, #090b12 0%, #0f111a 100%);
}

.draft-hero {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.draft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.draft-copy {
  position: relative;
  z-index: 1;
}

.draft-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.draft-copy h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.02;
  margin-bottom: 22px;
  max-width: 12ch;
}

.draft-copy .lead {
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: #c8cad5;
  line-height: 1.8;
  max-width: 58ch;
  margin-bottom: 28px;
}

.draft-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.draft-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.08);
  color: #ececf2;
}

.draft-point i {
  color: var(--primary);
}

.draft-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.draft-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 680px;
}

.draft-stat {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.draft-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 1.6rem;
}

.draft-stat span {
  color: #c4c7d2;
  font-size: 0.92rem;
}

.draft-visual {
  position: relative;
  min-height: 620px;
}

.draft-glow {
  position: absolute;
  inset: 8% 2% auto auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.42), rgba(212, 175, 55, 0));
  filter: blur(12px);
}

.tv-stage {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: min(100%, 560px);
}

.tv-frame {
  position: relative;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(145deg, #242935, #0f131d 55%, #1a1f2c);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.tv-screen {
  position: relative;
  padding: 26px;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.2), transparent 26%),
    linear-gradient(135deg, #07131a 0%, #0b1b24 48%, #111722 100%);
}

.screen-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 8px rgba(255, 77, 77, 0.12);
}

.screen-chip {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #dcdfe8;
  font-size: 0.82rem;
}

.featured-match {
  padding: 22px;
  margin-bottom: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(17, 21, 32, 0.72), rgba(17, 21, 32, 0.22)),
    linear-gradient(135deg, #1f7a43 0%, #0c4b28 42%, #1c2131 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.match-label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.match-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 14px;
  color: #fff;
}

.club-block {
  text-align: center;
  flex: 1;
}

.club-badge {
  width: 62px;
  height: 62px;
  margin: 0 auto 10px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0f111a;
  background: linear-gradient(135deg, #f3d781, #b88a11);
}

.club-badge.alt {
  background: linear-gradient(135deg, #ffffff, #9cb3ff);
}

.score-center {
  display: grid;
  gap: 8px;
  text-align: center;
}

.score-center strong {
  font-size: 2.3rem;
  line-height: 1;
}

.score-center span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.channel-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.channel-card {
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.channel-card i {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
}

.channel-card span {
  display: block;
  color: #d8dbe4;
  font-size: 0.82rem;
}

.device-card,
.mini-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.device-card {
  left: -38px;
  bottom: 64px;
  width: 160px;
  padding: 14px;
  border-radius: 26px;
}

.device-screen {
  padding: 14px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0f1821, #101722);
}

.device-screen .mini-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device-bars span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.22));
}

.device-bars span + span {
  margin-top: 10px;
  width: 72%;
}

.mini-panel {
  top: 36px;
  right: -24px;
  width: 200px;
  padding: 18px;
  border-radius: 20px;
}

.mini-panel strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.mini-panel p {
  color: #d4d8e1;
  font-size: 0.88rem;
  line-height: 1.5;
}

.demo-note {
  padding: 22px 0 70px;
}

.demo-note-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.demo-note-card p {
  margin: 0;
  color: #c7cad3;
}

@media (max-width: 1024px) {
  .draft-grid {
    grid-template-columns: 1fr;
  }

  .draft-visual {
    min-height: auto;
  }

  .tv-stage {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .draft-hero {
    padding: 128px 0 80px;
  }

  .draft-points,
  .draft-stats,
  .channel-strip {
    grid-template-columns: 1fr 1fr;
  }

  .device-card,
  .mini-panel {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .tv-stage {
    width: 100%;
  }

  .demo-note-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .draft-points,
  .draft-stats,
  .channel-strip {
    grid-template-columns: 1fr;
  }

  .tv-screen {
    padding: 18px;
  }

  .match-score {
    gap: 10px;
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-gray { color: var(--gray); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--darker);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ========== SELECTION ========== */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--light);
}
