/* ── Keynote Speakers Section ── */

#keynotes {
  padding: 60px 20px;
  background: #f9fafc;
  font-family: Arial, sans-serif;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

/* Card — keeps your original style */
.speaker-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
  flex: 1 1 45%;
}

.speaker-card img {
  display: block;
  width: 300px;
  height: auto;
  border-radius: 10px;
  margin: 0 auto 20px;
}

.speaker-card h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 16px;
  gap: 4px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
  color: #2e6da4;
}

.tab-btn.active {
  color: #2e6da4;
  border-bottom-color: #2e6da4;
}

/* Tab content */
.tab-content {
  display: none;
  text-align: left;
}

.tab-content.active {
  display: block;
}

.tab-content p {
  font-size: 1.7rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 10px;
}

/* Talk title accent */
.talk-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e3a5f;
  margin-bottom: 10px;
  padding: 10px 14px;
  background: #eef4fb;
  border-left: 4px solid #2e6da4;
  border-radius: 0 6px 6px 0;
}

/* ── Keynote Tabs ── */

.tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 16px;
    gap: 4px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover { color: #2e6da4; }

.tab-btn.active {
    color: #2e6da4;
    border-bottom-color: #2e6da4;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.talk-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #eef4fb;
    border-left: 4px solid #2e6da4;
    border-radius: 0 6px 6px 0;
}


/* ── Shimmer Title ── */
/* ── Shimmer Title ── */
.shimmer-title {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(90deg, #1a202c 0%, #1a202c 40%, #f0c040 50%, #fff 55%, #f0c040 60%, #1a202c 70%, #1a202c 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    position: relative;
    display: inline-block;
}

.shimmer-title .spark {
    position: absolute;
    pointer-events: none;
    font-size: 1rem;
    -webkit-text-fill-color: #f0c040;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5) translateY(0); }
    50%       { opacity: 1; transform: scale(1.2) translateY(-8px); }
}/* ── Confetti Canvas ── */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}



.tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 16px;
    gap: 4px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover { color: #2e6da4; }

.tab-btn.active {
    color: #2e6da4;
    border-bottom-color: #2e6da4;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.talk-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #eef4fb;
    border-left: 4px solid #2e6da4;
    border-radius: 0 6px 6px 0;
}

#papers-section .tab-content {
    display: block !important;
    height: auto !important;
    min-height: 100px;
}