 :root {
      --bg: #0b1020;
      --card: #141a33;
      --accent: #ff6f00;
      --accent-2: #4fd1c5;
      --text: #e6e9ff;
      --muted: #aab0ff;
      --qr-max: 200px; /* or even 80px for a tighter look */
    }

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(1200px 600px at 10% -10%, #1b2350, transparent),
                radial-gradient(800px 400px at 90% 10%, #12205a, transparent),
                var(--bg);
    overflow-x: hidden;
}
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11,16,32,0.7);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex; align-items: center; gap: 10px; font-weight: 700;
}
.java-cup {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff9f43);
    display: grid; place-items: center; color: #111; font-weight: 900;
    box-shadow: 0 0 20px rgba(255,111,0,0.6);
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }

.hero {
    max-width: 1200px; margin: 0 auto; padding: 80px 20px 40px;
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05; margin: 0 0 10px;
    background: linear-gradient(90deg, #fff, var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer { 0%{filter:hue-rotate(0deg);} 100%{filter:hue-rotate(360deg);} }

.subtitle { color: var(--muted); font-size: 18px; margin-bottom: 20px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 14px; border-radius: 999px; font-size: 14px;
    animation: pop 0.8s ease both;
}
@keyframes pop { from{transform:scale(0.9); opacity:0} to{transform:scale(1); opacity:1} }

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px; padding: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.stat { text-align: center; padding: 14px; border-radius: 12px; background: rgba(0,0,0,0.2); }
.stat b { font-size: 20px; color: var(--accent); }

main { max-width: 1200px; margin: 0 auto; padding: 20px; }
section { margin: 40px 0; }
h2 { 
    color: #ffffff; /* Change this to your preferred color */
    margin: 0 0 16px;
}

.agenda {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.slot {
    padding: 14px; border-radius: 14px; background: var(--card);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform .2s ease, box-shadow .2s ease;
}
.slot:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.time { color: var(--accent-2); font-weight: 700; }

.speakers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }
.speaker img { width: 100%; border-radius: 12px; }

/* Targets the Speaker Name */
.speaker h3 {
  color: #ffffff; /* Change this to your preferred color */
}

/* Targets the Speaker Description/Title */
.speaker p {
  color: var(--accent-2); /* This would make it match the cyan/teal theme */
}


.qr-section {
  margin: 1.25rem 0;       /* tighter vertical spacing */
  color: var(--text);
}

.qr-section h2 {
  margin: 0 0 0.5rem 0;    /* minimal heading spacing */
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--text);
}

.qr-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--qr-gap);
  align-items: start;      /* avoid extra height */
}

@media (max-width: 800px) {
  .qr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .qr-row { grid-template-columns: 1fr; }
}

.qr {
  margin: 0;               /* remove figure default margins */
  text-align: center;      /* neat centering without boxes */
}

.qr img {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: var(--qr-max);
  max-height: var(--qr-max);
  image-rendering: pixelated; /* keeps QR edges crisp when scaled */
}

.qr figcaption {
  margin-top: 6px;         /* tiny gap under image */
  font-size: 0.9rem;
  line-height: 1.1;
  color: var(--muted);
}

/* Optional: shrink QRs slightly on very narrow screens */
@media (max-width: 360px) {
  :root { --qr-max: 112px; }
}


footer {
    margin-top: 60px; padding: 30px 20px; text-align: center;
    background: rgba(0,0,0,0.35); border-top: 1px solid rgba(255,255,255,0.1);
}

.code-bg {
    position: fixed; inset: 0; pointer-events: none; opacity: 0.08;
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.2) 0 1px, transparent 1px 40px);
    animation: scan 20s linear infinite;
}
@keyframes scan { from{background-position:0 0;} to{background-position:800px 0;} }

@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }