/*houdini*/
@property --blink-opacity {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@keyframes blink-animation {
  0%,
  100% {
    opacity: var(--blink-opacity, 1);
  }
  50% {
    opacity: 0;
  }
}
/*houdini*/

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

:root {
  --stripe-color: #000;
  --bg-dark: #0a0a0a;
  --text-light: #e0e0e0;
  --text-dark: #1a1a1a;
  --border-light: #2a2a2a;
  --tedx-red: #d32f2f;
}

body {
  font-family: "Domine", serif;
  width: 100%;
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--tedx-red);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #ff5252;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Header */
.header {
  position: relative;
  width: 100%;
}

.nav {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6vw;
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
}

.nav-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-light);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--tedx-red);
  text-decoration: none;
}

/* Hero Background Animation */
@keyframes smoothBg {
  from {
    background-position: 0% 50%, 50% 50%;
  }
  to {
    background-position: 300% 50%, 350% 50%;
  }
}

.wrapper {
  width: 100%;
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  contain: layout style paint;
}

.hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  --stripes: repeating-linear-gradient(
    100deg,
    var(--stripe-color) 0%,
    var(--stripe-color) 7%,
    transparent 10%,
    transparent 12%,
    var(--stripe-color) 16%
  );
  --rainbow: repeating-linear-gradient(
    100deg,
    #60a5fa 10%,
    #e879f9 15%,
    #60a5fa 20%,
    #5eead4 25%,
    #60a5fa 30%
  );
  background-image: var(--stripes), var(--rainbow);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(8px) opacity(0.6) saturate(150%);
  mask-image: radial-gradient(ellipse at 100% 0%, black 30%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 30%, transparent 65%);
  will-change: filter;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--stripes), var(--rainbow);
  background-size: 200%, 100%;
  animation: smoothBg 60s linear infinite;
  mix-blend-mode: difference;
  will-change: background-position;
  transform: translateZ(0);
  backface-visibility: hidden;
}

:has(#switch:checked) {
  --stripe-color: #fff;
}

:has(#switch:checked) .hero,
:has(#switch:checked) .hero::after {
  filter: blur(8px) opacity(0.8) saturate(200%);
  transition: filter 0.6s ease-out;
}

.content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vh, 40px);
  text-align: center;
  padding: 30px 6vw 0;
  max-width: 1400px;
  margin: 0 auto;
  transform: translateZ(0);
}

.h1--scalingSize {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.2;
  margin-bottom: 0;
  max-width: 900px;
  font-weight: 700;
  color: var(--text-light);
}

.content > p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(224, 224, 224, 0.8);
  margin: 0;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 0;
}

#switch {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

[for="switch"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s ease;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[for="switch"]:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@keyframes animSwitch {
  50% {
    transform: scale(1.05);
  }
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  padding: 0.2em;
  border-radius: 50%;
  border: 1px dashed currentColor;
  animation: blink-animation 2s ease-in-out infinite;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: rgba(224, 224, 224, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
  color: var(--tedx-red);
  transform: translateY(-4px);
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

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

.btn {
  padding: 12px 24px;
  border: 1px solid var(--tedx-red);
  background: var(--tedx-red);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.btn:hover {
  background: #b71c1c;
  border-color: #b71c1c;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.btn.secondary {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transform: translateY(-2px);
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 4vw, 32px);
  max-width: 600px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 150px;
}

.info-item span {
  color: rgba(224, 224, 224, 0.6);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item strong {
  font-size: 16px;
  color: var(--text-light);
}

/* Main Sections */
main {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg-dark);
}

section {
  padding: 80px 6vw;
  border-bottom: 1px solid var(--border-light);
}

section:last-of-type {
  border-bottom: none;
}

section h2 {
  font-size: clamp(28px, 5vw, 36px);
  margin-bottom: 12px;
  color: var(--text-light);
}

.section-intro {
  color: rgba(224, 224, 224, 0.7);
  font-size: 16px;
  margin-bottom: 32px;
}

/* Speakers */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 32px 0;
}

.speaker {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s;
}

.speaker:hover {
  border-color: var(--tedx-red);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.speaker h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-light);
}

.speaker .role {
  color: var(--tedx-red);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.speaker p {
  color: rgba(224, 224, 224, 0.7);
  font-size: 14px;
}

/* Sponsors */
.sponsors-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.sponsors-list span {
  padding: 20px;
  border: 1px solid var(--border-light);
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(224, 224, 224, 0.7);
  transition: all 0.3s;
}

.sponsors-list span:hover {
  border-color: var(--tedx-red);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Join Form */
.form {
  display: grid;
  gap: 20px;
  max-width: 600px;
  margin-top: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tedx-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* About */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.stat strong {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--tedx-red);
}

.stat span {
  color: rgba(224, 224, 224, 0.6);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer */
footer {
  border-top: 1px solid var(--tedx-red);
  padding: 3rem 6vw;
  background-color: #121212;
  margin-top: auto;
}

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

.footer-section h3 {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.footer-section p {
  color: var(--text-light);
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-light);
  opacity: 0.7;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--text-light);
  opacity: 1;
  padding-left: 5px;
}

.footer-email {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
  opacity: 0.9;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: var(--text-light);
  opacity: 0.7;
  font-weight: bold;
}

.social-links a:hover {
  color: var(--text-light);
  opacity: 1;
}

.copyright {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: auto;
}

.section-note {
  margin-top: 24px;
  color: rgba(224, 224, 224, 0.6);
  font-size: 14px;
}

.section-note a {
  color: var(--tedx-red);
}

/* Tickets Page Styles */
.tickets-page {
  background: var(--bg-dark);
  padding-top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* EDIT: Smaller hero header for tickets page */
.tickets-hero-small {
  text-align: center;
  padding: 60px 6vw 40px;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(10, 10, 10, 0) 100%);
  border-bottom: 1px solid var(--border-light);
}

.tickets-hero-small h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--tedx-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tickets-hero-small p {
  font-size: 1.1rem;
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 3rem;
}

.tickets-hero {
  text-align: center;
  padding: 100px 6vw 60px;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(10, 10, 10, 0) 100%);
  border-bottom: 1px solid var(--border-light);
}

.tickets-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  margin-bottom: 16px;
  color: var(--text-light);
}

.tickets-hero p {
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(224, 224, 224, 0.7);
}

/*
 * TICKET DESIGN STYLES
 * Edit the CSS variables below to customize colors
 * ---------------------------------------------
 */
 
:root {
  /* EDIT THESE COLORS FOR TICKET CUSTOMIZATION */
  --ticket-bg: #1a1a1a;              /* Ticket background color */
  --ticket-header-bg: #2a2a2a;       /* Header background */
  --ticket-border: #d32f2f;          /* Border color (TEDx red) */
  --ticket-text-primary: #e0e0e0;    /* Main text color */
  --ticket-text-secondary: #999;     /* Secondary text color */
  --ticket-accent: #d32f2f;          /* Accent color (matches border) */
}

.ticket-wrap {
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
}

.ticket {
  display: inline-block;
  margin: 0 auto;
  border: 3px solid var(--ticket-border);  /* EDIT: Border color */
  border-radius: 8px;  /* EDIT: Corner roundness */
  font-family: \"Domine\", serif;
  background: var(--ticket-bg);  /* EDIT: Background color */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  overflow: hidden;  /* Ensures content respects rounded corners */
}

.ticket:hover {
  transform: scale(1.02);
}

.ticket__header {
  margin: 0;
  padding: 1.5em;
  background: var(--ticket-header-bg);  /* EDIT: Header background */
  border-bottom: 2px solid var(--ticket-border);
}

.ticket__co span,
.ticket__route span {
  display: block;
}

.ticket__co {
  display: inline-block;
  position: relative;
  padding-left: 5em;
  line-height: 1;
  color: var(--ticket-text-secondary);  /* EDIT: Company text color */
}

.ticket__co-icon {
  position: absolute;
  top: 50%;
  margin-top: -2em;
  left: 0;
  width: 4em;
  height: auto;
}

.ticket__co-name {
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ticket-text-primary);  /* EDIT: Company name color */
}

.ticket__co-subname {
  font-weight: 700;
  font-size: 0.9em;
  color: var(--ticket-text-secondary);  /* EDIT: Subname color */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticket__body {
  padding: 2rem 1.25em 1.25em;
}

.ticket__route {
  font-weight: 300;
  font-size: 2em;
  line-height: 1.1;
  color: var(--ticket-text-primary);  /* EDIT: Route/event name color */
}

.ticket__description {
  margin-top: .5em;
  font-weight: 400;
  font-size: 1.125em;
  color: var(--ticket-text-secondary);  /* EDIT: Description color */
}

.ticket__timing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 1rem 0;
  border-top: 2px solid var(--ticket-border);  /* EDIT: Timing border */
  border-bottom: 2px solid var(--ticket-border);
  text-align: left;
  gap: 1rem;
}

.ticket__timing p {
  margin: 0;
  flex: 1;
  padding-right: 1rem;
  border-right: 2px solid var(--ticket-border);  /* EDIT: Timing separator */
  line-height: 1;
}

.ticket__timing p:last-child {
  margin: 0;
  padding: 0;
  border-right: 0;
}

.ticket__small-label {
  display: block;
  margin-bottom: .5em;
  font-weight: 400;
  font-size: .875em;
  color: var(--ticket-text-secondary);  /* EDIT: Label color */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticket__detail {
  font-weight: 700;
  font-size: 1.25em;
  color: var(--ticket-accent);  /* EDIT: Detail text color */
}

.ticket__admit {
  margin-top: 2rem;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1;
  color: var(--ticket-accent);  /* EDIT: Admission text color */
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ticket__fine-print {
  margin-top: 1rem;
  margin-left: -1.25em;  /* Extends to ticket edge */
  margin-right: -1.25em;  /* Extends to ticket edge */
  padding-top: 1.5rem;
  padding-left: 1.25em;  /* Maintains text padding */
  padding-right: 1.25em;  /* Maintains text padding */
  border-top: 3px dashed var(--ticket-border);  /* EDIT: Dashed separator line */
  font-size: 0.9em;
  color: var(--ticket-text-secondary);  /* EDIT: Fine print color */
  font-style: italic;
}

.ticket__barcode {
  margin-top: 1.25em;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 299px;
  max-width: 100%;
  opacity: 0.9;
  filter: invert(1);  /* Makes barcode visible on dark background */
}

/* Ticket link styling */
.ticket-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: transform 0.3s ease;
}

.ticket-link:hover .ticket {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(211, 47, 47, 0.3);
}

.ticket-link:focus {
  outline: 2px solid var(--tedx-red);
  outline-offset: 4px;
  border-radius: 8px;
}

.u-upper {
  text-transform: uppercase;
}

@media (min-width: 36em) {
  .ticket-wrap {
    margin-bottom: 0;
    text-align: center;
  }

  .ticket {
    margin: 0 auto;
  }

  .ticket-link:hover .ticket {
    transform: scale(1.02);
  }

  .ticket__header {
    margin: 0;
    padding: 2em;
  }

  .ticket__body {
    padding: 3rem 2em 2em;
  }

  .ticket__detail {
    font-size: 1.75em;
  }

  .ticket__admit {
    margin-top: 2rem;
  }
}

.tickets-section {
  padding: 75px 6vw 75px;
  flex: 1;
}

.tickets-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.ticket-info h2 {
  font-size: 32px;
  margin-bottom: 32px;
  color: var(--text-light);
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.detail-icon {
  font-size: 32px;
}

.detail-item strong {
  display: block;
  color: var(--text-light);
  margin-bottom: 4px;
  font-size: 16px;
}

.detail-item p {
  color: rgba(224, 224, 224, 0.7);
  font-size: 14px;
  margin: 0;
}

.included {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
}

.included h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.included ul {
  list-style: none;
  padding: 0;
}

.included li {
  padding: 12px 0;
  color: rgba(224, 224, 224, 0.8);
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.included li:last-child {
  border-bottom: none;
}

.ticket-options h2 {
  font-size: 32px;
  margin-bottom: 32px;
  color: var(--text-light);
}

.ticket-card {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.ticket-card:hover {
  border-color: var(--tedx-red);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.2);
}

.ticket-card.featured {
  border-color: var(--tedx-red);
  background: rgba(211, 47, 47, 0.05);
}

.ticket-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tedx-red);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.ticket-header h3 {
  font-size: 24px;
  color: var(--text-light);
}

.ticket-price {
  text-align: right;
}

.ticket-price .price {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--tedx-red);
  line-height: 1;
}

.ticket-price .price-label {
  display: block;
  font-size: 12px;
  color: rgba(224, 224, 224, 0.6);
  margin-top: 4px;
}

.ticket-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.ticket-features li {
  padding: 12px 0;
  color: rgba(224, 224, 224, 0.8);
  font-size: 15px;
}

.ticket-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.checkout-section {
  padding: 80px 6vw;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-light);
}

.checkout-container {
  max-width: 700px;
  margin: 0 auto;
}

.checkout-container h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--text-light);
  text-align: center;
}

.checkout-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.order-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
}

.order-summary h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  color: rgba(224, 224, 224, 0.8);
  border-bottom: 1px solid var(--border-light);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row.total {
  padding-top: 20px;
  margin-top: 12px;
  border-top: 2px solid var(--tedx-red);
  font-size: 20px;
  color: var(--text-light);
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(224, 224, 224, 0.8);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.checkbox-group .link {
  color: var(--tedx-red);
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  margin-top: 24px;
}

.nav-links a.active {
  color: var(--tedx-red);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--tedx-red);
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 5vw;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .wrapper {
    min-height: calc(100vh - 120px);
  }

  .content {
    min-height: calc(100vh - 120px);
    padding: 60px 5vw 40px;
    gap: 20px;
  }

  .h1--scalingSize {
    font-size: clamp(28px, 8vw, 48px);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-info {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .info-item {
    width: 100%;
  }

  section {
    padding: 60px 5vw;
  }

  .speakers-grid,
  .sponsors-list {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 60%);
  }

  .tickets-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkout-form {
    padding: 24px;
  }

  .tickets-hero {
    padding: 60px 5vw 40px;
  }  
  .tickets-hero-small {
    padding: 40px 5vw 30px;
  }
  
  .ticket {
    transform: rotate(0deg) !important;
  }
  
  .ticket:hover {
    transform: rotate(0deg) scale(1.01) !important;
  }
  
  .ticket__timing {
    flex-direction: column;
    gap: 1rem;
  }
  
  .ticket__timing p {
    border-right: 0;
    border-bottom: 2px solid var(--ticket-border);
    padding-bottom: 1rem;
    width: 100%;
  }
  
  .ticket__timing p:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
/* Speaker Cards Styles */
#cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  gap: 30px;
  perspective: 1000px;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 30%;
  min-width: 300px;
  max-width: 400px;
  padding: 1em;
  border-radius: 15px;
  margin: 0;
  background: linear-gradient(45deg, #ff5252 0%, #b71c1c 34%, #880e4f 71%, #ff5252 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0px 5px 20px -10px #b71c1c;
  color: var(--text-dark, #1a1a1a);
}

.card__caption {
  background-color: var(--ticket-header-bg, #2a2a2a);
  padding: 1em;
  position: relative;
  border-radius: 0 0 3px 3px;
  color: var(--text-light, #e0e0e0);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__image-container {
  padding: 0;
  border-radius: 15px 15px 0 0;
  height: 250px;
  overflow: hidden;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__type {
  position: absolute;
  top: 0;
  right: 1em;
  transform: translateY(-50%);
  color: #ffffff;
  text-transform: uppercase;
  font-family: "Domine", serif;
  letter-spacing: 0.1em;
  padding: 0.25em;
  line-height: 1;
  border-radius: 2px;
  background: #000;
  font-size: 12px;
}

.card__label {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 400;
  display: block;
  margin-bottom: 3px;
  color: var(--ticket-text-secondary, #999);
}

.card__name {
  font-family: "Domine", serif;
  text-align: center;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-light, #e0e0e0);
  margin-bottom: 10px;
}

.card__stats {
  margin: 1em 0;
  width: 100%;
  color: var(--text-light, #e0e0e0);
  font-size: 0.9em;
}

.card__stats th {
  font-family: "Domine", serif;
  text-align: center;
  font-weight: 300;
  opacity: 0.7;
  display: block;
  width: 100%;
}

.card__stats td {
  display: block;
  width: 100%;
  text-align: center;
  padding-bottom: 10px;
}

.card__stats th, .card__stats td {
  padding: 0.25em 0;
}

.card__abilities {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-light);
}

.card__ability {
  margin-top: 0;
  flex: initial;
  font-size: 0.9em;
}

/* Card Variants */
.card--normal,
.card--water,
.card--electric,
.card--fire,
.card--psychic,
.card--dark,
.card--grass,
.card--ice,
.card--fairy,
.card--tedx {
  background: linear-gradient(45deg, #ff5252 0%, #b71c1c 34%, #880e4f 71%, #ff5252 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.card--normal .card__type { background-color: #C08A53; }
.card--water .card__type { background-color: #1CB5E0; }
.card--electric .card__type { background-color: #000; }
.card--fire .card__type { background-color: rgba(199,24,0,1); }
.card--psychic .card__type { background: #ff2cc3; }
.card--dark .card__type { background: #5c0249; }
.card--grass .card__type { background: #6e7f0e; }
.card--ice .card__type { background: #6fb8eb; }
.card--fairy .card__type { background: #ff8a95; }

/* Hover effects */
.card:hover {
  z-index: 5;
  box-shadow: 0px 13px 30px -15px #000000;
  transform: translateY(-10px) scale(1.02);
}

/* Rotation loop removed for uniform margins */

/* Mission Statement Styles */
.mission-statement {
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 10px 20px;
  text-align: center;
}

.mission-statement h3 {
  margin-bottom: 10px;
  color: var(--tedx-red);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mission-statement p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1.1rem;
  margin: 0;
}

/* Sponsors Slider */
#sponsors {
  padding: 4rem 2rem;
  background-color: var(--bg-dark);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--tedx-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-intro {
  margin-bottom: 3rem;
  color: var(--text-light);
  opacity: 0.8;
}

.logo-slider {
  height: 120px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1200px;
}

.logo-slider::before,
.logo-slider::after {
  background: linear-gradient(to right, var(--bg-dark) 0%, rgba(10, 10, 10, 0) 100%);
  content: "";
  height: 120px;
  position: absolute;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.logo-slider::before {
  left: 0;
  top: 0;
}

.logo-slide-track {
  animation: scroll 20s linear infinite;
  display: flex;
  width: calc(250px * 8); 
}

.slide {
  height: 120px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Make logos look good on dark bg */
  filter: brightness(0.95);
  transition: all 0.3s ease;
  opacity: 0.7;
}

.slide img:hover {
  filter: brightness(1);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 4)); } 
}

.section-note {
  margin-top: 3rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* About Section */
#about {
  padding: 4rem 2rem;
  background-color: var(--bg-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two side-by-side columns */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card h3 {
  color: var(--tedx-red);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.about-card p {
  line-height: 1.6;
  opacity: 0.9;
}

/* Specific borders for visual distinction */
.red-border {
  border-left: 4px solid var(--tedx-red);
}

.white-border {
  border-left: 4px solid var(--text-light);
}

/* About TEDxUIUC Subsection */
.about-uiuc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr; /* Stack on smaller screens */
  }
}

/* About Page Styles */
.about-ted-tedx {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem 6vw;
  background-color: var(--bg-dark);
}

.about-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 8px;
}

.about-box h2 {
  color: var(--tedx-red);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.about-box p {
  color: var(--text-light);
  line-height: 1.6;
}

.about-tedxuiuc {
  padding: 4rem 6vw;
  display: flex;
  gap: 3rem;
  align-items: center;
  background-color: var(--bg-dark);
}

.about-content {
  flex: 1;
}

.about-content h2 {
  color: var(--tedx-red);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.our-history {
  padding: 4rem 6vw;
  background-color: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.our-history h2 {
  color: var(--tedx-red);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.our-history p {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-ted-tedx,
  .about-tedxuiuc {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s;
}

.social-links a:hover svg {
  transform: translateY(-3px);
}

/* Join Page Styles */
.join-hero {
  padding: 4rem 6vw;
  text-align: center;
}

.join-hero img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.join-teams {
  padding: 4rem 6vw;
  background-color: rgba(255, 255, 255, 0.02);
}

.join-teams h2 {
  text-align: center;
  color: var(--tedx-red);
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.join-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.join-box:hover {
  transform: translateY(-5px);
  border-color: var(--tedx-red);
}

.join-box h3 {
  color: var(--tedx-red);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.join-box p {
  color: var(--text-light);
  line-height: 1.6;
}

.join-action {
  padding: 4rem 6vw;
  text-align: center;
  background-color: var(--bg-dark);
}

.join-action h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.btn-large {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--tedx-red);
  color: white;
  font-weight: 700;
  border-radius: 4px;
  font-size: 1.2rem;
  transition: background-color 0.2s;
}

.btn-large:hover {
  background-color: #ff5252;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 110; /* Above nav links */
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Responsive Nav */
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 80px 40px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    z-index: 105;
  }

  .nav.nav-open .nav-links {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  /* Hamburger animation */
  .nav.nav-open .mobile-menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav.nav-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
  }
  
  .nav.nav-open .mobile-menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}
