/* Card Break Platform - White Gold Theme */
:root {
  --primary-light: #ffffff;
  --secondary-light: #f8f9fa;
  --card-light: #ffffff;
  --border-light: #e5e5e5;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --accent-gold: #d4af37;
  --accent-blue: #0066cc;
  --accent-crimson: #dc143c;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient-primary: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
  --gradient-light: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --hero-bg: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #fff9e6 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--primary-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: var(--accent-blue);
  color: white;
}

.btn-secondary:hover {
  background: #0052a3;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Cards */
.card {
  background: var(--card-light);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

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

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* Break Cards Grid */
.breaks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.break-card {
  position: relative;
}

.break-image {
  width: 100%;
  height: 200px;
  background: var(--secondary-dark);
  border-radius: 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-secondary);
}

.break-badges {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-live {
  background: var(--danger);
  color: white;
  animation: pulse 2s infinite;
}

.badge-new {
  background: var(--success);
  color: white;
}

.badge-hot {
  background: var(--warning);
  color: var(--primary-dark);
}

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

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--secondary-dark);
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s;
}

/* Spot Selection */
.spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.spot-card {
  background: var(--secondary-dark);
  border: 2px solid var(--border-dark);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.spot-card:hover:not(.sold) {
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.spot-card.selected {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.1);
}

.spot-card.sold {
  opacity: 0.5;
  cursor: not-allowed;
}

.spot-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: var(--secondary-dark);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* Checkout */
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  margin: 3rem 0;
}

.cart-summary {
  background: var(--card-light);
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-card);
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  z-index: 100;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(calc(100% - 80px));
  transition: transform 0.3s ease;
}

.cart-summary.expanded {
  transform: translateY(0);
}

.cart-summary.collapsed {
  transform: translateY(calc(100% - 60px));
}

.cart-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.3s;
}

.cart-toggle:hover {
  transform: scale(1.1);
}

.cart-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-right: 40px;
}

.cart-preview {
  padding: 0.5rem;
  background: var(--secondary-dark);
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
}

.cart-summary.collapsed .cart-preview {
  display: block;
}

.cart-summary.expanded .cart-full-content {
  display: block;
}

.cart-summary.collapsed .cart-full-content {
  display: none;
}

.order-summary {
  background: var(--card-dark);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-dark);
  position: sticky;
  top: 100px;
  height: fit-content;
}

/* Status Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-dark);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-dark);
  border: 2px solid var(--card-dark);
  z-index: 1;
}

.timeline-item.completed::before {
  background: var(--success);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.timeline-item.active::before {
  background: var(--accent-blue);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
  animation: pulse 2s infinite;
}

.timeline-item.pending::before {
  background: var(--warning);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.timeline-content {
  background: var(--secondary-dark);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--border-dark);
}

.timeline-item.completed .timeline-content {
  border-left-color: var(--success);
}

.timeline-item.active .timeline-content {
  border-left-color: var(--accent-blue);
}

.timeline-item.pending .timeline-content {
  border-left-color: var(--warning);
}

.timeline-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.timeline-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.timeline-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Live Break */
.live-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  margin: 2rem 0;
}

.video-player {
  background: var(--secondary-dark);
  border-radius: 16px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.live-panel {
  background: var(--card-dark);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border-dark);
}

/* Hit Gallery */
.hit-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.hit-card {
  background: var(--secondary-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

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

.hit-image {
  width: 100%;
  height: 250px;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.hit-info {
  padding: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .breaks-grid {
    grid-template-columns: 1fr;
  }
  
  .checkout-container {
    grid-template-columns: 1fr;
  }
  
  .live-container {
    grid-template-columns: 1fr;
  }
  
  .spot-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .breaks-grid {
    grid-template-columns: 1fr;
  }
  
  .live-container {
    grid-template-columns: 1fr;
  }
  
  .spot-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .order-summary {
    position: static !important;
    margin-top: 2rem;
  }
  
  .cart-summary {
    width: 90% !important;
    right: 5% !important;
    left: 5% !important;
    bottom: 10px !important;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .spot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .spot-card {
    padding: 0.75rem;
  }
  
  .hit-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .breaks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .live-container {
    grid-template-columns: 2fr 1fr;
  }
  
  .checkout-container {
    grid-template-columns: 1fr 350px;
  }
}

/* Touch-friendly interactions */
@media (hover: none) {
  .card:hover {
    transform: none;
  }
  
  .spot-card:hover:not(.sold) {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .nav-links a:hover {
    color: var(--text-primary);
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }
