:root {
  --primary: #007aff;
  --secondary: #5856d6;
  --accent: #5ac8fa;
  --bg-dark: #0a0a0c;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes scrollDown {
  0% { transform: translate(-50%, 0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

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

@keyframes portalPulse {
  0%, 100% { box-shadow: 0 0 15px var(--primary), inset 0 0 5px var(--accent); }
  50% { box-shadow: 0 0 30px var(--primary), inset 0 0 15px var(--accent); transform: scale(1.05); }
}

.fade-in {
  animation: fadeIn 0.8s forwards;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

section {
  padding: 8rem 0;
}

h2 {
  font-size: clamp(1.75rem, 8vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 0;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  color: white;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.portal-brand {
  position: relative;
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px var(--primary);
  animation: portalPulse 3s infinite ease-in-out;
}

.portal-brand::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--accent);
  border-top-color: transparent;
  animation: portalRotate 4s linear infinite;
}

.portal-brand::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  background: var(--bg-dark);
  border-radius: 50%;
  box-shadow: inset 0 0 10px var(--primary);
}

.logo:hover .portal-brand {
  animation: portalPulse 1s infinite ease-in-out;
  box-shadow: 0 0 40px var(--accent);
}

.logo span {
  font-weight: 400;
  font-size: 0.8em;
  opacity: 0.7;
  color: var(--text-secondary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--primary);
}

.mobile-cta {
  display: none;
}

footer {
  padding: 6rem 0 3rem;
  background: linear-gradient(to top, rgba(0, 122, 255, 0.05), transparent);
  border-top: 1px solid var(--glass-border);
}

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

.footer-brand h4 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 600;
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

.btn-cta.loading {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  pointer-events: none;
  opacity: 0.8;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 15px rgba(0, 122, 255, 0.2);
  background: rgba(255, 255, 255, 0.08) !important;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 15px;
  cursor: pointer;
  z-index: 10;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollDown 2s infinite ease-in-out;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.8rem;
  min-height: 3.5rem;
  border-radius: 100px;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 122, 255, 0.3);
  width: fit-content;
  text-align: center;
  line-height: 1;
}

.btn-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 122, 255, 0.5);
}

.btn-cta:active {
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 180px; /* Strong clearance to rule out overlaps */
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

.hero-content {
  width: 100%;
  max-width: 850px;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: clamp(1.8rem, 10vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #a0a0b0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  word-break: normal;
}

.hero p {
  font-size: clamp(0.95rem, 3.5vw, 1.35rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.feature-card {
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card h3 {
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  margin: 1.5rem 0 1rem;
  color: white;
}

.feature-card p {
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.5;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

/* Showcase Slider */
.showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-image-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  height: 400px;
}

.slider-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.8s cubic-bezier(0.45, 0, 0.55, 1);
  height: 100%;
}

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

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.slide.active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.slider-controls {
  position: absolute;
  top: 50%;
  right: 1.2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  height: 25px;
  border-radius: 10px;
}

/* CTA & Tickets */
.cta-block {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 5rem 2rem;
  border-radius: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Responsive Overrides */
@media (max-width: 968px) {
  section { padding: 5rem 0; }
  .showcase-container { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
  nav { padding: 0.8rem 0; }
  .desktop-cta { display: none !important; }
  .mobile-cta { display: block; margin-top: 1.5rem; }
  #menu-toggle { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; }
  
  .features-grid { 
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.98);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    height: calc(100vh - 60px);
    overflow-y: auto;
  }
  
  .nav-links.active { display: flex; }
  
  .hero { text-align: center; height: auto; padding: 10rem 0 6rem; }
  .hero .container { display: flex; flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; width: 100%; align-items: stretch; gap: 1rem; }
  
  .showcase-image-container { height: 350px; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; gap: 3rem; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 1rem; }
  
  .form-grid { grid-template-columns: 1fr !important; gap: 1.2rem !important; }
}

@media (max-width: 480px) {
  .logo { font-size: 1.1rem; }
  .portal-brand { width: 24px; height: 24px; }
  .nav-right { gap: 0.8rem; }
  .btn-cta { padding: 0.8rem 1.2rem; font-size: 0.9rem; min-height: 2.8rem; }
  
  .container { padding-left: 1.2rem; padding-right: 1.2rem; }
  .hero h1 { font-size: clamp(1.8rem, 15vw, 3rem); text-align: center; }
  .cta-block { padding: 4rem 1.2rem; border-radius: 24px; }
  h2 { font-size: 1.8rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 320px) {
  .container { padding-left: 0.8rem; padding-right: 0.8rem; }
  .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.4rem; }
  .logo { font-size: 0.95rem; gap: 0.4rem; }
  .portal-brand { width: 20px; height: 20px; }
  .nav-right { gap: 0.5rem; }
  .btn-cta { padding: 0.6rem 0.8rem; font-size: 0.8rem; min-height: 2.5rem; }
}

@media (max-width: 250px) {
  nav .container { flex-direction: column; gap: 0.8rem; }
  .nav-right { width: 100%; justify-content: center; }
  .hero h1 { font-size: 1.2rem; }
  .hero p { font-size: 0.85rem; }
  .feature-card { padding: 1.5rem 1rem; }
  h2 { font-size: 1.2rem; }
  .cta-block h2 { font-size: 1.2rem; }
  .slide-caption { font-size: 0.8rem; padding: 1rem; }
}
