/* Base & Layout Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #141618;
  color: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #141618;
}
::-webkit-scrollbar-thumb {
  background: #2a2f33;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff8400;
}

/* Background Particle Scene */
#particle-scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: radial-gradient(circle at center, #222529 0%, #141618 100%);
}

#particle-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.particle {
  position: absolute;
  margin-left: -12px;
  margin-top: -12px;
  will-change: transform;
  transition: opacity 0.2s ease-out;
}

/* Particle Shapes */
.particle-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--particle-base-color), var(--particle-opacity));
  background: rgba(var(--particle-base-color), calc(var(--particle-opacity) * 0.1));
}

.particle-square {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(var(--particle-base-color), var(--particle-opacity));
  background: rgba(var(--particle-base-color), calc(var(--particle-opacity) * 0.1));
}

.particle-plus {
  width: 20px;
  height: 20px;
  position: relative;
}
.particle-plus::before,
.particle-plus::after {
  content: '';
  position: absolute;
  background: rgba(var(--particle-base-color), var(--particle-opacity));
}
.particle-plus::before {
  width: 1.5px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.particle-plus::after {
  width: 100%;
  height: 1.5px;
  top: 50%;
  transform: translateY(-50%);
}

.particle-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid rgba(var(--particle-base-color), var(--particle-opacity));
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.particle-star {
  width: 18px;
  height: 18px;
  background: rgba(var(--particle-base-color), var(--particle-opacity));
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.particle-eye {
  width: 18px;
  height: 10px;
  border: 1.5px solid rgba(var(--particle-base-color), var(--particle-opacity));
  border-radius: 50%;
  position: relative;
}
.particle-eye::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: rgba(var(--particle-base-color), var(--particle-opacity));
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.particle-heart {
  width: 16px;
  height: 14px;
  position: relative;
}
.particle-heart::before,
.particle-heart::after {
  content: '';
  width: 8px;
  height: 12px;
  position: absolute;
  left: 8px;
  top: 0;
  border: 1.5px solid rgba(var(--particle-base-color), var(--particle-opacity));
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}
.particle-heart::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

/* Page Content Container */
.splash-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
}

/* Header & Brand */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5rem;
}

.logo-link img {
  height: 38px;
  width: auto;
  transition: opacity 0.3s ease;
}
.logo-link img:hover {
  opacity: 0.8;
}

.anniversary-badge {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff8400;
  border: 1px solid rgba(255, 132, 0, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  background: rgba(255, 132, 0, 0.05);
}

/* Hero Section */
.hero {
  margin-bottom: 6rem;
}

.announcement-title {
  font-family: 'Titillium Web', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-transform: none; /* Sentence case */
}

@media (min-width: 768px) {
  .announcement-title {
    font-size: 4.2rem;
  }
}

@media (min-width: 1024px) {
  .announcement-title {
    font-size: 4.6rem; /* Reduced font size on desktop */
  }
}

.announcement-sub {
  font-size: 1.35rem;
  color: #a0aec0;
  line-height: 1.6;
  max-width: 900px;
  margin-bottom: 2rem; /* Reduced spacing to button */
}

@media (min-width: 768px) {
  .announcement-sub {
    font-size: 1.75rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, #ff8400 10%, #d946ef 55%, #0971ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.infocomm-intro {
  margin-top: 4rem;
}

.infocomm-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .infocomm-title {
    font-size: 3.5rem;
  }
}

/* InfoComm Section Grid */
.infocomm-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2; /* Reduced line spacing */
}

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

@media (min-width: 640px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-card {
  background: #1e2124; /* Solid background */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--card-accent, #ff8400);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

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

/* Colors for Card accents based on graphic */
.card-producing { 
  --card-accent: linear-gradient(90deg, #ff8400, #d946ef); 
  --icon-color: #ff8400;
}
.card-speaking { 
  --card-accent: linear-gradient(90deg, #d946ef, #8b5cf6); 
  --icon-color: #d946ef;
}
.card-sponsoring { 
  --card-accent: linear-gradient(90deg, #8b5cf6, #0971ce); 
  --icon-color: #8b5cf6;
}
.card-hosting { 
  --card-accent: linear-gradient(90deg, #0971ce, #ff8400); 
  --icon-color: #0971ce;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.card-title-row span {
  font-family: 'Titillium Web', sans-serif;
  font-size: 2.3rem; /* Bigger font */
  font-weight: 800;
  text-transform: none; /* Sentence case */
  background: var(--card-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.card-icon {
  width: 28px;
  height: 28px;
  fill: var(--icon-color);
  flex-shrink: 0;
}

.card-subtext {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #718096;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hosting-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.info-card:hover .hosting-image {
  transform: scale(1.05);
}

.card-content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
}

.card-content-list li {
  font-size: 0.95rem;
}

.item-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.item-desc {
  font-size: 0.85rem;
  color: #a0aec0;
}

/* Sponsor & Host Logos inside cards */
.card-logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.snap-install-x {
  font-size: 0.75rem;
  color: #718096;
}

.xusc-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ffffff;
  border-bottom: 2px solid #0971ce;
  padding-bottom: 2px;
  display: inline-block;
}

/* Insights Section */
.insights {
  margin-bottom: 6rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.insight-card {
  background: #1e2124; /* Solid background matching info cards */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.insight-card:hover {
  background: #25282c;
  border-color: rgba(255, 132, 0, 0.2);
  transform: translateY(-5px);
}

.insight-thumb-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.insight-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-thumb {
  transform: scale(1.04);
}

.insight-content {
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #718096;
  margin-bottom: 0.75rem;
}

.insight-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  transition: color 0.3s ease;
}

.insight-card:hover .insight-title {
  color: #ff8400;
}

.insight-link-arrow {
  padding: 0 2rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff8400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto; /* Push link to bottom */
}

.insight-link-arrow svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.insight-card:hover .insight-link-arrow svg {
  transform: translateX(5px);
}

/* Contact Us Section */
.contact {
  margin-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background: rgba(30, 33, 36, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-card:hover {
  border-color: rgba(255, 132, 0, 0.3);
  background: #25282c;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-avatar-wrapper {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.contact-card:hover .contact-avatar-wrapper {
  border-color: #ff8400;
}

.contact-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-email {
  font-size: 0.9rem;
  color: #a0aec0;
  transition: color 0.3s ease;
}

.contact-card:hover .contact-email {
  color: #ff8400;
}

/* Footer Section */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #a0aec0;
}

.footer-info svg {
  width: 18px;
  height: 18px;
  fill: #ff8400;
}

.footer-cta {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #ff8400 10%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Multi-Step Flow Layout */
.steps-wrapper {
  position: relative;
  width: 100%;
}

.step-container {
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 100%;
}

.step-container.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.step-container.active.step-1,
.step-container.active.step-2,
.step-container.active.step-3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 150px); /* Subtract header and padding for vertical centering */
}

.title-step2 {
  max-width: 900px;
}

@media (min-width: 1024px) {
  .title-step2 {
    max-width: 820px; /* Reduces width on desktop so it rags better */
  }
}

.step-container.fade-out {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Step CTAs */
.step-btn {
  background: linear-gradient(135deg, #ff8400 0%, #d946ef 100%);
  color: white;
  border: none;
  padding: 1.1rem 2.5rem;
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 132, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem; /* Kept tight to content above */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  animation: pulse-btn 2.2s infinite; /* Pulsing effect */
}

.step-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 132, 0, 0.35);
  background: linear-gradient(135deg, #ff9726 0%, #e05eef 100%);
  animation-play-state: paused; /* Pause pulsing on hover */
}

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

@keyframes pulse-btn {
  0% {
    box-shadow: 0 10px 25px rgba(255, 132, 0, 0.2), 0 0 0 0 rgba(255, 132, 0, 0.4);
  }
  70% {
    box-shadow: 0 10px 25px rgba(255, 132, 0, 0.2), 0 0 0 14px rgba(255, 132, 0, 0);
  }
  100% {
    box-shadow: 0 10px 25px rgba(255, 132, 0, 0.2), 0 0 0 0 rgba(255, 132, 0, 0);
  }
}

/* Step 3 Layout Details */
.infocomm-logo-header {
  margin-bottom: 0.75rem;
  display: flex;
}

.infocomm-brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.infocomm-title-large {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

@media(min-width: 768px) {
  .infocomm-title-large {
    font-size: 4.5rem;
  }
}

.infocomm-desc-large {
  font-size: 1.35rem;
  color: #a0aec0;
  line-height: 1.6;
  max-width: 900px;
  margin-bottom: 1.5rem; /* Reduced to align button closer */
}

.infocomm-desc-large strong {
  color: #ffffff;
}

@media(min-width: 768px) {
  .infocomm-desc-large {
    font-size: 1.75rem;
  }
}

.video-preview-wrapper {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem; /* Reduced to align button closer */
  background: #141618;
}

.lobby-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.version-tag {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.15);
  margin-top: 5rem;
  padding-bottom: 2rem;
}
