/*
 * Global styles for the Global MarTech Integration Day 2026 @ Philippines
 * Professional design with unique Makati City backgrounds for each section
 * Typography uses Montserrat for English and Kanit for Thai text
 */

:root {
  --primary-dark: #1f252e;
  --secondary-dark: #24303a;
  --tertiary-dark: #0f3460;
  --highlight-orange: #ff6b1c;
  --accent-blue: #00a7e1;
  --light-bg: #eef2f6;
  --white: #ffffff;
  --text-dark: #1f252e;
  --light-overlay: rgba(0, 0, 0, 0.02);
  --gradient-orange-blue: linear-gradient(135deg, var(--highlight-orange) 0%, var(--accent-blue) 100%);
  --font-family: 'Montserrat', 'Kanit', 'Sukhumvit Set', 'TH Sarabun New', 'Tahoma', sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

/* Navigation bar styling */
.navbar {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 4px;
}

.navbar a:hover {
  color: var(--highlight-orange);
  background-color: rgba(255, 107, 53, 0.1);
}

.navbar .lang-switch {
  background-color: var(--highlight-orange);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  transition: all 0.3s;
  margin-left: auto;
}

.navbar .lang-switch:hover {
  background-color: var(--accent-blue);
  transform: scale(1.05);
}

/* Hero Section - Makati Skyline Daytime */
.hero {
  position: relative;
  min-height: 750px;
  --sponsor-area-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(26, 38, 54, 0.35) 0%, rgba(15, 52, 96, 0.35) 100%), 
              url('../assets/picture/Makati-skyline-main.jpeg') center/cover no-repeat;
  background-attachment: scroll;
  color: var(--white);
  text-align: center;
  padding: 60px 20px calc(var(--sponsor-area-height) + 40px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,107,53,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo {
  max-width: 360px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: fadeInDown 0.8s ease-out;
}

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

.hero-subtitle {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-tag {
  display: inline-block;
  background: var(--highlight-orange);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hero-judge-cta {
  display: inline-block;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-judge-cta:hover {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--highlight-orange);
}

.hero-desc {
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

/* Sponsor logos */
/* Venue Info Section - Makati Modern Architecture */
.venue-info {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(26, 38, 54, 0.55) 0%, rgba(15, 52, 96, 0.55) 100%), 
              url('../assets/picture/Manila-skyline.jpg') center/cover no-repeat;
  background-attachment: scroll;
  color: var(--white);
}

.venue-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(13, 16, 20, 0.2) 0%, rgba(13, 16, 20, 0.45) 100%),
    radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.venue-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.venue-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: rgba(13, 16, 20, 0.62);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}

.venue-details h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--highlight-orange);
  margin-bottom: 15px;
}

.venue-details p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--white);
}

.venue-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  background: rgba(13, 16, 20, 0.5);
  border-left: 4px solid var(--highlight-orange);
  border-radius: 8px;
}

.highlight-item i {
  color: var(--highlight-orange);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.highlight-item span {
  font-size: 0.95rem;
  line-height: 1.6;
}

.highlight-item strong {
  color: var(--highlight-orange);
  display: block;
  margin-bottom: 5px;
}

.venue-map {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.venue-map:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(255, 107, 53, 0.4);
}

.venue-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
  border-radius: 12px;
}

/* Section headings */
.section-heading {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero .section-heading,
.venue-info .section-heading,
.participants .section-heading,
.awards .section-heading,
.registration .section-heading {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.partners .section-heading,
.participants .section-heading,
.awards .section-heading,
.sponsors .section-heading,
.timeline .section-heading {
  position: relative;
  z-index: 2;
}

/* Mission Section - Makati Avenue Street View */
.mission {
  position: relative;
  padding: 90px 20px;
  background: linear-gradient(160deg, #0d1014 0%, #1a2636 100%);
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 168, 232, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.mission .section-heading {
  color: var(--white);
}

.mission-points {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.mission-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px 28px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 3px solid var(--highlight-orange);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

.mission-item:hover,
.mission-item.animate-in:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.12);
}

.mission-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--highlight-orange) 0%, var(--accent-blue) 100%);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
  transition: transform 0.3s ease;
}

.mission-item:hover .mission-icon {
  transform: scale(1.08) rotate(-6deg);
}

.mission-icon i {
  font-size: 1.25rem;
  color: var(--white);
}

.mission-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight-orange);
}

.mission-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

/* Initiative Section - Makati City Street Scene */
.initiative {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, #f7f9fc 0%, #e8edf4 100%);
  color: var(--text-dark);
}

.initiative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.initiative-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.initiative-card {
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 53, 0.35);
  transition: all 0.3s ease;
}

.initiative-card:hover,
.initiative-card.animate-in:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 1);
  border-color: var(--highlight-orange);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.15);
}

.initiative-icon {
  font-size: 3rem;
  color: var(--highlight-orange);
  margin-bottom: 20px;
}

.initiative-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.initiative-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Event Format Section - Makati Street View with Buildings */
.event-format {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, #f7f9fc 0%, #e8edf4 100%);
  color: var(--text-dark);
}

.event-format::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(0, 168, 232, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.format-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.format-card {
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 53, 0.35);
  transition: all 0.3s ease;
}

.format-card:hover,
.format-card.animate-in:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 1);
  border-color: var(--highlight-orange);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.15);
}

.format-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--highlight-orange);
  margin-bottom: 15px;
}

.format-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.format-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Partners Section */
.partners {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f7f9fc 0%, #e8edf4 100%);
  color: var(--text-dark);
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.partner-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.partner-item:hover,
.partner-item.animate-in:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.2);
  border-top: 3px solid var(--highlight-orange);
}

.partner-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-item:hover img {
  transform: scale(1.1);
}

.partner-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Competition Section - Makati Parks & Green Spaces */
.competition {
  position: relative;
  padding: 100px 20px;
  background: #0d1014;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  justify-items: center;
  color: var(--white);
}

.competition::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.competition-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.competition-content .section-heading {
  text-align: left;
  margin-bottom: 20px;
}

.competition .section-heading,
.awards .section-heading {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.competition-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.competition-list li {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--highlight-orange);
  border-radius: 8px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  backdrop-filter: blur(10px);
}

.quote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--highlight-orange);
  padding: 20px;
  border-left: 4px solid var(--highlight-orange);
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.highlight-box {
  padding: 20px;
  background: linear-gradient(135deg, var(--highlight-orange) 0%, var(--accent-blue) 100%);
  color: var(--white);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.highlight-box:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

.highlight-box span {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 8px;
  opacity: 0.95;
}

.highlight-box strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.competition-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  height: 100%;
}

.competition-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Participants Section */
.participants {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(26, 38, 54, 0.35) 0%, rgba(15, 52, 96, 0.35) 100%),
              url('../assets/picture/Makati%20Skyline%20night.webp') center/cover no-repeat;
  background-attachment: scroll;
  color: var(--white);
  overflow: hidden;
}

.card-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.participant-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border-top: 4px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.participant-card:hover,
.participant-card.animate-in:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.2);
  border-top-color: var(--highlight-orange);
}

.card-img {
  height: 150px;
  background: linear-gradient(135deg, var(--highlight-orange) 0%, var(--accent-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.participant-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 20px 20px 10px;
  text-align: center;
}

.participant-card p {
  padding: 0 20px 20px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  flex-grow: 1;
}

/* Schedule Section - Makati Parks & Recreation */
.schedule {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, #f7f9fc 0%, #e8edf4 100%);
  color: var(--text-dark);
}

.schedule::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 168, 232, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.schedule-wrapper {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.schedule-item {
  display: grid;
  grid-template-columns: clamp(120px, 16vw, 165px) 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  border: 1px solid rgba(31, 37, 46, 0.08);
  border-left: 5px solid var(--highlight-orange);
  box-shadow: 0 6px 20px rgba(31, 37, 46, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(6px);
}

.schedule-item:hover,
.schedule-item.animate-in:hover {
  transform: translateX(3px);
  box-shadow: 0 10px 24px rgba(31, 37, 46, 0.12);
}

.schedule-item.day-10 {
  border-left-color: #ff6b1c;
}

.schedule-item.day-11 {
  border-left-color: #0284c7;
}

.schedule-item.day-12 {
  border-left-color: #0f766e;
}

.schedule-date {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.schedule-date span:first-child {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--highlight-orange);
  line-height: 1.1;
}

.schedule-date span:last-child {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.12);
}

.schedule-desc {
  color: #24303a;
  font-size: 1.03rem;
  line-height: 1.45;
  max-width: 70ch;
  letter-spacing: 0.01em;
}

.schedule .section-heading {
  margin-bottom: 28px;
  text-shadow: none;
}

/* EN lang: show only Day 19 (day-11), hide Day 18 & 20 */
[data-i18n-lang="en"] .schedule-item.day-10,
[data-i18n-lang="en"] .schedule-item.day-12 {
  display: none;
}

/* Awards Section */
.awards {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(13, 16, 20, 0.7) 0%, rgba(13, 16, 20, 0.7) 100%),
              url('../assets/awards-bg.jpg') center/cover no-repeat;
  background-attachment: scroll;
  color: var(--white);
  overflow: hidden;
}

.awards-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.awards-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.award-block {
  padding: 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--highlight-orange);
  transition: all 0.3s ease;
}

.award-block:hover,
.award-block.animate-in:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.2);
}

.award-block h4 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.award-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.award-block li {
  padding-left: 25px;
  position: relative;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.award-block li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--highlight-orange);
  font-weight: 700;
}

/* Sponsors Section */
.sponsors {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f7f9fc 0%, #e8edf4 100%);
  color: var(--text-dark);
  overflow: hidden;
}

.prize-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.prize-card {
  padding: 30px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(0, 168, 232, 0.08) 100%);
  border-radius: 12px;
  border: 2px solid transparent;
  border-top: 4px solid var(--highlight-orange);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.prize-card:hover,
.prize-card.animate-in:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.2);
  border: 2px solid var(--highlight-orange);
  border-top: 4px solid var(--highlight-orange);
}

.prize-card h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
}

.prize-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prize-card li {
  padding-left: 25px;
  position: relative;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.prize-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--highlight-orange);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Registration Section */
.registration {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 38, 54, 0.45) 0%, rgba(15, 52, 96, 0.45) 100%),
              url('../assets/picture/Makati-Shangri-La.webp') center/cover no-repeat;
  background-attachment: scroll;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.registration .section-heading {
  position: relative;
  z-index: 2;
  color: var(--white);
}

/* ── Intro / welcome card above the form ── */
.reg-intro {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto 32px;
  padding: 28px 30px 24px;
  background: rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--highlight-orange);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
}

.reg-intro__lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 18px;
}

.reg-intro__lead strong {
  color: var(--highlight-orange);
  font-weight: 700;
}

.reg-intro__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reg-intro__points li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.reg-intro__points li i {
  color: var(--highlight-orange);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.registration-form {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.registration .form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.registration .form-group[hidden] {
  display: none !important;
}

.registration .form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.registration .form-group input,
.registration .form-group select {
  padding: 12px 15px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.registration .form-group input:focus,
.registration .form-group select:focus {
  outline: none;
  border-color: var(--highlight-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.registration .btn-submit {
  background: var(--gradient-orange-blue);
  color: var(--white);
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-family);
  align-self: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.registration .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.registration .btn-submit:active {
  transform: translateY(0);
}

.form-message {
  color: var(--highlight-orange);
  font-weight: 600;
  margin-top: 10px;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid var(--highlight-orange);
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-calendar:hover {
  background: var(--highlight-orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-calendar i {
  font-size: 1.1rem;
}

/* Calendar button group — always visible */
.cal-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.cal-group__label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.cal-group__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.cal-btn:hover,
.cal-btn:active {
  background: var(--highlight-orange);
  border-color: var(--highlight-orange);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.cal-btn i {
  font-size: 1rem;
  color: var(--highlight-orange);
}

.cal-btn:hover i,
.cal-btn:active i {
  color: var(--white);
}

/* ── Judge page: venue override ── */
.judge-venue .section-heading {
  text-shadow: none;
}

/* ── Judge page: competition & awards ── */
.judge-competition {
  position: relative;
  padding: 72px 20px;
  background: linear-gradient(160deg, #0d1014 0%, #1a2636 100%);
  color: var(--white);
  overflow: hidden;
}

.judge-competition .section-heading {
  color: var(--white);
}

.judge-competition__body {
  max-width: 860px;
  margin: 0 auto;
}

.judge-competition__rules {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.judge-competition__rules li {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--highlight-orange);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

.judge-competition__quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--highlight-orange);
  padding: 18px 24px;
  border-left: 4px solid var(--highlight-orange);
  margin: 0 0 32px;
  background: rgba(255, 107, 53, 0.08);
  border-radius: 8px;
}

.judge-competition__awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.judge-award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 28px 24px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(0, 168, 232, 0.12) 100%);
  border-radius: 12px;
  border-top: 4px solid var(--highlight-orange);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.judge-award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.2);
}

.judge-award-card i {
  font-size: 2rem;
  color: var(--highlight-orange);
}

.judge-award-card span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.judge-award-card strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* Timeline Section */
.timeline {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f7f9fc 0%, #e8edf4 100%);
  color: var(--text-dark);
  overflow: hidden;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 20%, rgba(0, 168, 232, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.timeline-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 5px solid var(--highlight-orange);
}

.timeline-item:hover,
.timeline-item.animate-in:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.2);
}

.timeline-icon {
  width: 110px;
  height: 110px;
  background: linear-gradient(145deg, rgba(255, 107, 28, 0.85) 0%, rgba(0, 167, 225, 0.85) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(255, 107, 28, 0.25);
}

.timeline-icon img {
  max-width: 60px;
  max-height: 60px;
}

.timeline-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--highlight-orange);
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* Footer Section - Makati Nightlife */
.footer {
  position: relative;
  background: #0d1014;
  background-attachment: scroll;
  color: var(--white);
  padding: 60px 20px 30px;
  text-align: center;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  pointer-events: none;
}

.footer-banner {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.footer-banner .hero-logo {
  max-width: 200px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-heading {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--highlight-orange);
}

.contact-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1rem;
}

.contact-item i {
  color: var(--highlight-orange);
  font-size: 1.2rem;
}

.footer-logo {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Popup Message */
#popup-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 2000;
}

.popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-modal.active {
  opacity: 1;
  visibility: visible;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-modal.active .popup-overlay {
  opacity: 1;
}

.popup-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  border-top: 4px solid var(--highlight-orange);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-modal.active .popup-box {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.popup-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.popup-modal.active .popup-icon {
  transform: scale(1) rotate(0deg);
}

.popup-icon .success-icon,
.popup-icon .error-icon {
  display: none;
}

.popup-modal.success .success-icon {
  display: block;
  color: #28a745;
}

.popup-modal.error .error-icon {
  display: block;
  color: #dc3545;
}

.popup-box p {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.popup-box button {
  background: var(--gradient-orange-blue);
  color: var(--white);
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-family);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  min-width: 150px;
}

.popup-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.popup-box button:active {
  transform: translateY(0);
}

.judge-gate-modal .popup-overlay {
  background: rgba(8, 12, 20, 0.62);
  backdrop-filter: blur(8px);
}

.judge-gate-modal .popup-box {
  max-width: 560px;
  width: min(92vw, 560px);
  padding: 34px 30px 28px;
  border-top: 0;
  border: 1px solid rgba(31, 37, 46, 0.12);
  border-radius: 20px;
  background: linear-gradient(165deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.judge-gate-modal .popup-box h3 {
  color: var(--text-dark);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.judge-gate-modal .popup-box p {
  color: #4b5563;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.judge-gate-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.judge-gate-modal .popup-box button {
  min-width: 200px;
  border-radius: 14px;
  padding: 12px 22px;
}

.judge-gate-modal .popup-box .btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid rgba(31, 37, 46, 0.22);
  box-shadow: none;
}

.judge-gate-modal .popup-box .btn-secondary:hover {
  background: rgba(31, 37, 46, 0.06);
  border-color: rgba(31, 37, 46, 0.34);
  box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.8rem;
  }

  .hero-logo {
    max-width: 200px;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .competition,
  .awards-top,
  .venue-content {
    grid-template-columns: 1fr;
  }

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 14px 16px;
  }

  .schedule-list {
    gap: 10px;
  }

  .schedule-date {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .schedule-date span:first-child {
    font-size: 1rem;
  }

  .schedule-date span:last-child {
    font-size: 0.82rem;
    padding: 4px 9px;
  }

  .schedule-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .navbar .lang-switch {
    margin-left: 0;
  }

  .hero {
    min-height: 800px;
    --sponsor-area-height: 380px;
    padding: 50px 15px calc(var(--sponsor-area-height) + 30px);
  }

  .venue-info,
  .mission,
  .initiative,
  .event-format,
  .competition,
  .schedule {
    padding: 60px 20px;
  }

  .venue-details {
    padding: 22px;
    gap: 22px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 750px;
    --sponsor-area-height: 360px;
    padding: 40px 15px calc(var(--sponsor-area-height) + 25px);
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .hero-tag {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  .judge-gate-modal .popup-box {
    padding: 28px 20px 22px;
    border-radius: 16px;
  }

  .judge-gate-modal .popup-box h3 {
    font-size: 1.55rem;
  }

  .judge-gate-modal .popup-box p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .judge-gate-actions {
    flex-direction: column;
  }

  .judge-gate-modal .popup-box button {
    width: 100%;
    min-width: 0;
  }

  .hero-judge-cta {
    font-size: 0.92rem;
    padding: 10px 16px;
  }

  .hero-logo {
    max-width: 160px;
  }

  .section-heading {
    font-size: 1.4rem;
  }

  .schedule .section-heading {
    margin-bottom: 20px;
  }

  .venue-details {
    padding: 18px;
    gap: 18px;
  }

  .mission-points,
  .partner-grid,
  .card-grid,
  .prize-grid,
  .initiative-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    gap: 8px;
    padding: 12px 10px;
  }

  .navbar a {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .competition-list li,
  .award-block {
    padding: 15px;
  }

  .timeline-flow {
    grid-template-columns: 1fr;
  }

  .venue-info,
  .mission,
  .initiative,
  .event-format,
  .competition,
  .schedule {
    padding: 40px 15px;
  }
}

/* Government Section */
.government {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f7f9fc 0%, #e8edf4 100%);
  color: var(--text-dark);
  overflow: hidden;
}

.government::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.government-note {
  text-align: center;
  color: var(--accent-blue);
  font-size: 0.95rem;
  margin-top: -30px;
  margin-bottom: 40px;
  font-style: italic;
}

.government-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.government-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--highlight-orange);
}

.government-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.2);
}

.government-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.government-item p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

/* Event Format Updates */
.format-time {
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.format-card-large {
  grid-column: span 2;
}

.format-card p strong {
  color: var(--highlight-orange);
}

@media (max-width: 768px) {
  .format-card-large {
    grid-column: span 1;
  }
  
  .government-grid {
    grid-template-columns: 1fr;
  }
}

/* Participants Section Updates */
.participants-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-top: -30px;
  margin-bottom: 30px;
  font-weight: 600;
}

.primary-participants {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 25px 30px;
  background: rgba(13, 16, 20, 0.62);
  border-radius: 12px;
  border-left: 4px solid var(--highlight-orange);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
}

.primary-participants ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-participants li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--white);
  font-size: 1rem;
}

.primary-participants li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--highlight-orange);
  font-weight: 700;
}

.participants-stats {
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.participants-stats h4 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.participants-stats p {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin: 10px 0;
  line-height: 1.6;
}

.participants-stats .stats-total {
  color: var(--highlight-orange);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 0;
}

@media (max-width: 768px) {
  .primary-participants,
  .participants-stats {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* Sponsor Logos Grid Layout */
.sponsor-logos {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 16px 24px;
  width: 100%;
}

.sponsor-logos-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: fit-content;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.sponsor-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 24px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sponsor-tier__label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--highlight-orange);
}

.sponsor-tier:first-child .sponsor-tier__label {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
}

.sponsor-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  min-height: 56px;
}

.sponsor-row--main {
  min-height: 48px;
}

.sponsor-main {
  height: 48px !important;
  max-width: none !important;
  filter: none !important;
  padding: 8px 14px !important;
}

.sponsor-logos img {
  height: 52px;
  width: auto;
  max-width: 120px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sponsor-logos img:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* Partner logos — all equal */
.sponsor-gov,
.sponsor-corp,
.sponsor-industry {
  height: 52px;
  max-width: 120px;
  filter: none;
}

/* Per-logo size tuning */
#logo-dti { height: 68px; max-width: 130px; }
#logo-ihg { height: 68px; max-width: 140px; }
#logo-cabalen { height: 68px; max-width: 130px; }
#logo-phoa { height: 68px; max-width: 160px; padding: 6px 16px; }
#logo-vikings { height: 68px; max-width: 130px; }
#logo-mercato { height: 68px; max-width: 130px; }
#logo-brainsparks { height: 68px; max-width: 140px; }

/* Responsive */
@media (max-width: 768px) {
  .sponsor-logos {
    padding: 10px 10px 18px;
  }

  .sponsor-logos-inner {
    gap: 10px;
    padding: 0;
  }

  .sponsor-tier {
    padding: 12px 14px;
    border-radius: 12px;
    gap: 8px;
  }
  
  .sponsor-row {
    gap: 12px;
    min-height: 44px;
  }
  
  .sponsor-logos img {
    height: 42px;
    max-width: 100px;
    padding: 5px 8px;
  }

  .sponsor-main {
    height: 50px !important;
  }
  
  .sponsor-gov,
  .sponsor-corp,
  .sponsor-industry {
    height: 42px;
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .sponsor-logos {
    padding: 8px 6px 14px;
  }

  .sponsor-logos-inner {
    gap: 8px;
    padding: 0;
  }

  .sponsor-tier {
    padding: 10px 10px;
    border-radius: 10px;
    gap: 6px;
  }

  .sponsor-tier__label {
    font-size: 0.68rem;
  }

  .sponsor-tier:first-child .sponsor-tier__label {
    font-size: 0.78rem;
  }
  
  .sponsor-row {
    gap: 8px;
    min-height: 38px;
  }
  
  .sponsor-logos img {
    height: 34px;
    max-width: 85px;
    padding: 4px 6px;
  }

  .sponsor-main {
    height: 42px !important;
  }
  
  .sponsor-gov,
  .sponsor-corp,
  .sponsor-industry {
    height: 34px;
    max-width: 85px;
  }
}
