:root {
  --primary: #1a1a1a;
  --secondary: #ff006e;
  --accent: #fb5607;
  --bg: #fafafa;
  --card-bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666666;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  --gradient-1: linear-gradient(135deg, #ff006e 0%, #fb5607 100%);
  --gradient-2: linear-gradient(135deg, #8338ec 0%, #3a86ff 100%);
}

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

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Navigation */
nav {
  background: var(--card-bg);
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 20px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  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(255, 0, 110, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(251, 86, 7, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Categories */
.categories {
  max-width: 1400px;
  margin: -60px auto 4rem;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.2s; }

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px var(--shadow-hover);
}

.category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-image {
  transform: scale(1.1);
}

.category-content {
  padding: 2rem;
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.category-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.category-count {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-1);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Events Section */
.events-section {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

/* Event Cards */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.event-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

.event-card:nth-child(2) { animation-delay: 0.1s; }
.event-card:nth-child(3) { animation-delay: 0.2s; }
.event-card:nth-child(4) { animation-delay: 0.3s; }

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-hover);
}

.event-image-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-image {
  transform: scale(1.08);
}

.event-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-1);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(255, 0, 110, 0.3);
}

.event-info {
  padding: 1.5rem;
}

.event-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.event-detail-icon {
  font-size: 1.1rem;
}

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

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

.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-view {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-view:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

/* Event Detail Page */
.event-detail-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  color: white;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.event-detail-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(251, 86, 7, 0.15) 0%, transparent 50%);
}

.event-detail-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.event-detail-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInLeft 0.8s ease;
}

.event-detail-info {
  animation: fadeInRight 0.8s ease;
}

.event-detail-info h1 {
  margin-bottom: 1.5rem;
}

.event-meta {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
}

.meta-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

/* Tickets Section */
.tickets-section {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.tickets-container {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px var(--shadow);
}

.tickets-header {
  margin-bottom: 2rem;
}

.tickets-header h2 {
  margin-bottom: 0.5rem;
}

.tickets-subtext {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.tickets-list {
  display: grid;
  gap: 1.5rem;
}

.ticket-item {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease;
  animation-fill-mode: both;
}

.ticket-item:nth-child(2) { animation-delay: 0.1s; }
.ticket-item:nth-child(3) { animation-delay: 0.2s; }
.ticket-item:nth-child(4) { animation-delay: 0.3s; }
.ticket-item:nth-child(5) { animation-delay: 0.4s; }

.ticket-item:hover {
  border-color: var(--secondary);
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(255, 0, 110, 0.15);
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ticket-section {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.ticket-price {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ticket-details {
  display: flex;
  gap: 2rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.ticket-detail span {
  font-weight: 600;
  color: var(--text);
}

.btn-buy {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-buy:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1.5rem;
    font-size: 0.9rem;
  }
  
  .hero {
    padding: 4rem 1.5rem;
  }
  
  .category-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .event-detail-content {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .tickets-container {
    padding: 2rem 1.5rem;
  }
  
  .ticket-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 0.85rem;
  }
  
  .ticket-details {
    flex-direction: column;
    gap: 0.5rem;
  }
}
