/* Ideathon public landing — layout + behavior (theme tokens via .hg-page--ideathon in main.min.css) */

.ideathon-hero-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
}

.ideathon-hero-theme {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.ideathon-hero-pool {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.ideathon-hero {
  position: relative;
  overflow: hidden;
}

.ideathon-hero .bg-holder {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: 0.35;
  pointer-events: none;
}

.ideathon-hero .container-small {
  position: relative;
  z-index: 1;
}

.ideathon-hero-card {
  backdrop-filter: blur(8px);
}

.ideathon-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.ideathon-hero-glow--primary {
  width: 280px;
  height: 280px;
  top: -40px;
  right: 8%;
  background: rgba(var(--phoenix-primary-rgb), 0.35);
}

.ideathon-hero-glow--success {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 5%;
  background: rgba(var(--phoenix-success-rgb), 0.25);
}

.ideathon-stat-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ideathon-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08) !important;
}

.ideathon-sticky-nav-scope {
  position: relative;
}

.ideathon-section-nav-wrap {
  z-index: 1020;
  backdrop-filter: blur(10px);
  background: rgba(var(--phoenix-emphasis-bg-rgb, 255, 255, 255), 0.96);
  border-bottom: 1px solid var(--phoenix-border-color-translucent, rgba(0, 0, 0, 0.06));
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.04);
}

.ideathon-poster-content {
  scroll-margin-top: calc(var(--ideathon-nav-offset, 64px) + var(--ideathon-section-nav-height, 3rem) + 1rem);
}

.ideathon-section-nav-inner {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.ideathon-section-nav-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.125rem;
}

.ideathon-section-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-right: 0.5rem;
  margin-right: 0;
  border-right: 0;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--phoenix-secondary-color);
  line-height: 1;
}

.ideathon-section-nav-poster {
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.1;
  min-height: 1.875rem;
  padding: 0.3rem 0.7rem;
  color: var(--phoenix-body-color);
  background: var(--phoenix-body-bg);
  border: 1px solid var(--phoenix-border-color-translucent, rgba(0, 0, 0, 0.08));
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ideathon-section-nav-poster:hover {
  background-color: rgba(var(--phoenix-primary-rgb), 0.1);
  color: var(--phoenix-primary);
  border-color: rgba(var(--phoenix-primary-rgb), 0.25);
}

.ideathon-section-nav-poster.active {
  background-color: var(--phoenix-primary);
  border-color: var(--phoenix-primary);
  color: #fff;
  box-shadow: 0 0.2rem 0.6rem rgba(var(--phoenix-primary-rgb), 0.28);
}

.ideathon-section-nav-scroll-wrap {
  min-width: 0;
}

.ideathon-section-nav-track {
  position: relative;
  background: var(--phoenix-body-bg);
  border: 1px solid var(--phoenix-border-color-translucent, rgba(0, 0, 0, 0.08));
  border-radius: 999px;
  padding: 0.125rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ideathon-section-nav-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.ideathon-section-nav-scroll::-webkit-scrollbar {
  display: none;
}

.ideathon-section-nav-fade {
  position: absolute;
  top: 0.125rem;
  bottom: 0.125rem;
  width: 1.5rem;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 999px;
}

.ideathon-section-nav-fade--start {
  left: 0.125rem;
  background: linear-gradient(
    90deg,
    var(--phoenix-body-bg) 15%,
    rgba(var(--phoenix-body-bg-rgb, 248, 249, 250), 0) 100%
  );
}

.ideathon-section-nav-fade--end {
  right: 0.125rem;
  background: linear-gradient(
    270deg,
    var(--phoenix-body-bg) 15%,
    rgba(var(--phoenix-body-bg-rgb, 248, 249, 250), 0) 100%
  );
}

.ideathon-section-nav-scroll-wrap.is-scrollable-start .ideathon-section-nav-fade--start,
.ideathon-section-nav-scroll-wrap.is-scrollable-end .ideathon-section-nav-fade--end {
  opacity: 1;
}

.ideathon-section-nav {
  flex-wrap: nowrap;
  gap: 0.15rem;
  width: max-content;
  max-width: none;
  padding: 0.05rem 0.1rem;
}

.ideathon-section-nav .nav-item {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.ideathon-section-nav .nav-link {
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.1;
  min-height: 1.875rem;
  padding: 0.3rem 0.7rem;
  color: var(--phoenix-body-color);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ideathon-section-nav-icon {
  font-size: 0.75rem;
  opacity: 0.8;
  flex-shrink: 0;
}

.ideathon-section-nav .nav-link.active {
  background-color: var(--phoenix-primary);
  border-color: var(--phoenix-primary);
  color: #fff;
  box-shadow: 0 0.2rem 0.6rem rgba(var(--phoenix-primary-rgb), 0.28);
}

.ideathon-section-nav .nav-link.active .ideathon-section-nav-icon {
  opacity: 1;
}

.ideathon-section-nav .nav-link:hover:not(.active) {
  background-color: rgba(var(--phoenix-primary-rgb), 0.1);
  color: var(--phoenix-primary);
}

.ideathon-section-nav .nav-link:focus-visible {
  outline: 2px solid var(--phoenix-primary);
  outline-offset: 2px;
}

.ideathon-section-nav-archive {
  border-radius: 999px !important;
  min-height: 1.875rem;
  padding: 0.3rem 0.7rem !important;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0.15rem 0.5rem rgba(var(--phoenix-primary-rgb), 0.12);
}

.ideathon-process-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.ideathon-process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(var(--phoenix-primary-rgb), 0.2);
}

.ideathon-process-step {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
}

.ideathon-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ideathon-timeline-item {
  scroll-margin-top: 7rem;
}

.ideathon-timeline-marker {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.ideathon-timeline-marker.text-primary {
  background: var(--phoenix-primary-bg-subtle);
  color: var(--phoenix-primary);
}

.ideathon-timeline-marker.text-success {
  background: var(--phoenix-success-bg-subtle);
  color: var(--phoenix-success);
}

.ideathon-timeline-marker.text-info {
  background: var(--phoenix-info-bg-subtle);
  color: var(--phoenix-info);
}

.ideathon-timeline-marker.text-warning {
  background: var(--phoenix-warning-bg-subtle);
  color: var(--phoenix-warning);
}

.ideathon-track-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ideathon-track-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.ideathon-fee-card {
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ideathon-fee-card:hover {
  border-color: rgba(var(--phoenix-primary-rgb), 0.35);
  transform: translateY(-2px);
}

.ideathon-fee-card--featured {
  border-color: var(--phoenix-primary);
  box-shadow: 0 0.5rem 1.5rem rgba(var(--phoenix-primary-rgb), 0.15);
}

.ideathon-juror-card .ideathon-juror-avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--phoenix-emphasis-bg);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

.ideathon-juror-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--phoenix-primary-bg-subtle);
  color: var(--phoenix-primary);
}

.ideathon-sponsor-card {
  min-height: 140px;
}

.ideathon-empty-card {
  border: 1px dashed var(--phoenix-border-color);
}

.ideathon-rich-content h2,
.ideathon-rich-content h3 {
  margin-top: 1.5rem;
  font-weight: 700;
}

.ideathon-rich-content ul {
  padding-left: 1.25rem;
}

.ideathon-poster-card {
  background: var(--phoenix-emphasis-bg);
}

.ideathon-poster-item {
  display: flex;
  flex-direction: column;
}

.ideathon-poster-image {
  display: block;
  max-height: min(72vh, 820px);
  object-fit: contain;
  margin: 0 auto;
}

.ideathon-audience-card,
.ideathon-people-stat {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ideathon-audience-card:hover,
.ideathon-people-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08) !important;
}

.ideathon-share-bar .btn {
  white-space: nowrap;
}

.ideathon-section-anchor {
  scroll-margin-top: calc(var(--ideathon-nav-offset, 64px) + var(--ideathon-section-nav-height, 3.5rem) + 1rem);
}

.ideathon-landing--register-open {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.ideathon-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1035;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(var(--phoenix-emphasis-bg-rgb, 255, 255, 255), 0.96);
  border-top: 1px solid var(--phoenix-border-color-translucent, rgba(0, 0, 0, 0.08));
  backdrop-filter: blur(10px);
  box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.06);
}

.ideathon-share-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.ideathon-share-scroll::-webkit-scrollbar {
  display: none;
}

.ideathon-share-actions {
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
}

.ideathon-prize-mobile-row {
  background: var(--phoenix-emphasis-bg);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}

.ideathon-prize-mobile-list .ideathon-prize-mobile-row {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

@media (min-width: 576px) {
  .ideathon-section-nav-brand {
    padding-right: 0.65rem;
    margin-right: 0.05rem;
    border-right: 1px solid var(--phoenix-border-color-translucent, rgba(0, 0, 0, 0.08));
  }
}

@media (min-width: 768px) {
  .ideathon-section-nav-row {
    gap: 0.75rem;
  }

  .ideathon-section-nav-brand {
    padding-right: 0.75rem;
    margin-right: 0.1rem;
    border-right: 1px solid var(--phoenix-border-color-translucent, rgba(0, 0, 0, 0.08));
  }

  .ideathon-section-nav-archive {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

@media (max-width: 991.98px) {
  .ideathon-landing .container-small {
    padding-left: 22px;
    padding-right: 22px;
  }

  .ideathon-landing section.py-7 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .ideathon-landing .hg-ideathon-hero__share .ideathon-share-actions {
    flex-wrap: nowrap;
  }

  .ideathon-stat-card .card-body {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .ideathon-stat-card .fs-2 {
    font-size: 1.35rem !important;
  }

  .ideathon-fee-amount {
    font-size: 1.75rem !important;
  }

  .ideathon-prize-panel-title {
    display: block;
    line-height: 1.35;
  }

  .ideathon-timeline-marker {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
  }

  .ideathon-audience-card .card-body {
    padding: 0.75rem !important;
  }

  .ideathon-audience-card p.small {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (max-width: 575.98px) {
  .ideathon-hero-actions .btn {
    width: 100%;
  }

  .ideathon-hero-actions .btn-link {
    width: auto;
    justify-self: start;
  }

  .hg-ideathon-hero__actions .hg-btn {
    width: 100%;
    justify-content: center;
  }

  .ideathon-section-nav-inner {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  .ideathon-section-nav-row {
    gap: 0.35rem;
    min-height: 2rem;
  }

  .ideathon-section-nav-brand {
    padding-right: 0.35rem;
    border-right: 0;
    margin-right: 0;
  }

  .ideathon-section-nav-track {
    padding: 0.1rem;
  }

  .ideathon-section-nav {
    gap: 0.1rem;
    padding: 0.025rem 0.075rem;
  }

  .ideathon-section-nav .nav-link {
    font-size: 0.6875rem;
    padding: 0.25rem 0.6rem;
    min-height: 1.75rem;
  }

  .ideathon-section-nav-icon {
    font-size: 0.6875rem;
  }

  .ideathon-section-nav-poster {
    font-size: 0.6875rem;
    padding: 0.25rem 0.6rem;
    min-height: 1.75rem;
  }

  .ideathon-section-nav-archive {
    min-height: 1.75rem;
    min-width: 1.75rem;
    padding: 0.25rem 0.55rem !important;
    font-size: 0.6875rem;
  }

  .ideathon-share-actions .btn {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .ideathon-poster-image {
    max-height: 65vh;
  }
}
