:root {
  --bg: #0d1117;
  --bg-2: #111827;
  --card: #161f2d;
  --text: #e6f1ff;
  --muted: #9cb3d8;
  --accent: #39c5ff;
  --accent-2: #7dd3fc;
  --border: #1f2a3d;
  --glow: 0 0 20px rgba(57, 197, 255, 0.35);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(57, 197, 255, 0.09), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(125, 211, 252, 0.08), transparent 30%),
    linear-gradient(160deg, var(--bg), var(--bg-2));
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Hexagon background container - sits behind everything */
.hex-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
  overflow: hidden;
}

/* Individual hexagon styling */
.hexagon {
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: all;
  transition: all 0.3s ease;
  opacity: 0.15;
  animation: hexFloat 6s ease-in-out infinite;
}

/* hexagon shape using clip-path */
.hexagon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(57, 197, 255, 0.2), rgba(125, 211, 252, 0.15));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid rgba(57, 197, 255, 0.1);
  transition: all 0.3s ease;
}

/* Hover effect - turn hexagon white */
.hexagon.hex-glow {
  opacity: 0.95;
}

.hexagon.hex-glow::before {
  background: rgba(45, 59, 103, 0.4);
  border-color: rgba(32, 25, 91, 0.6);
}

/* floating animation for hexagons */
@keyframes hexFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(5deg);
  }
  66% {
    transform: translateY(5px) rotate(-3deg);
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(13, 17, 23, 0.72);
  border-bottom: 1px solid var(--border);
  pointer-events: auto;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--accent-2);
  text-decoration: none;
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow);
}

.nav-tabs {
  position: relative;
  background: rgba(22, 31, 45, 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem;
  display: flex;
  gap: 0.35rem;
  box-shadow: var(--shadow);
  --indicator-left: 0px;
  --indicator-width: 0px;
}

/* sliding highlight indicator */
.nav-tabs::before {
  content: '';
  position: absolute;
  top: 0.25rem;
  left: var(--indicator-left);
  height: calc(100% - 0.5rem);
  width: var(--indicator-width);
  background: linear-gradient(120deg, rgba(57, 197, 255, 0.15), rgba(125, 211, 252, 0.12));
  border: 1px solid rgba(57, 197, 255, 0.5);
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}

.nav-tabs.has-indicator::before {
  opacity: 1;
}

.tab {
  position: relative;
  z-index: 1;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
  text-decoration: none;
  font-weight: 600;
}

.tab:hover {
  color: var(--accent-2);
}

.tab.active {
  background: linear-gradient(120deg, rgba(57, 197, 255, 0.2), rgba(125, 211, 252, 0.18));
  border-color: rgba(57, 197, 255, 0.8);
  box-shadow: var(--glow);
  color: var(--text);
}

main {
  max-width: 1100px;
  width: 100%;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.hero {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: linear-gradient(145deg, rgba(22, 31, 45, 0.95), rgba(16, 23, 35, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: -0.5px;
}

.profile-tags-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
  width: fit-content;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: var(--glow);
  margin-left: 3rem;
}

.profile-pic:hover {
  border-color: var(--accent-2);
  box-shadow: 0 0 30px rgba(125, 211, 252, 0.6);
  transform:scale(1.03);
}

.hero .subtitle {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.about-box {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(22, 31, 45, 0.92), rgba(13, 17, 23, 0.92));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-box:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 197, 255, 0.7);
}

.about-section {
  scroll-snap-align: start;
  margin-top: 1.1rem;
  margin-bottom: 1.4rem;
  width: 100%;
}

.experience-section {
  scroll-snap-align: start;
  margin-top: 1.1rem;
  margin-bottom: 1.4rem;
  width: 100%;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.tag {
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  background: rgba(57, 197, 255, 0.12);
  color: var(--accent-2);
  border: 1px solid rgba(57, 197, 255, 0.25);
  font-size: 0.9rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-content: start;
  width: 100%;
}

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 22, 36, 0.9);
  color: var(--text);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}

.pill-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(57, 197, 255, 0.7);
  box-shadow: var(--glow);
  color: var(--accent-2);
}

.section-title {
  margin: 0.2rem 0 0.6rem;
  color: var(--muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.9rem;
  width: 100%;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.card {
  background: linear-gradient(155deg, rgba(22, 31, 45, 0.92), rgba(13, 17, 23, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card[data-href] {
  cursor: pointer;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(57, 197, 255, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 197, 255, 0.7);
}

.card[data-href]:hover {
  box-shadow: 0 20px 60px rgba(57, 197, 255, 0.25);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
}

.card .meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.card ul {
  margin: 0.2rem 0 0.6rem 1.1rem;
  padding: 0;
  color: var(--text);
  line-height: 1.5;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: rgba(57, 197, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(57, 197, 255, 0.25);
  font-size: 0.85rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 0.9rem;
  width: 100%;
}

.skill {
  background: rgba(22, 31, 45, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.skill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.skill-name {
  font-weight: 600;
}

.skill-pct {
  color: var(--muted);
  font-size: 0.95rem;
}

.bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: glowPulse 1.4s ease-in-out infinite;
}

.bar-fill {
  height: 100%;
  width: var(--pct, 0%);
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #06b6d4);
  transition: width 600ms ease;
}

.bar-full,
.bar-high,
.bar-mid,
.bar-low {
  background: linear-gradient(90deg, #0ea5e9, #06b6d4);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.75);
}

.institutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.6rem;
  margin-top: 0.9rem;
  width: 100%;
}

.institution-card {
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(22, 31, 45, 0.95), rgba(16, 23, 35, 0.95));
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.institution-card:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 197, 255, 0.7);
  box-shadow: var(--glow);
}

.institution-card img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: opacity(0.85);
  transition: filter var(--transition), opacity var(--transition);
  z-index: 1;
  /* keep logos sharp without upscaling */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
  transform: translateZ(0);
}

.institution-card:hover img {
  filter: opacity(0.3);
}

.institution-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem;
  background: rgba(13, 17, 23, 0.92);
  opacity: 0;
  transition: opacity var(--transition);
  text-align: center;
  z-index: 2;
}

.institution-card:hover .institution-info {
  opacity: 1;
}

.inst-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  line-height: 1.2;
}

.inst-detail {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.2;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 197, 255, 0.5);
  background: linear-gradient(120deg, rgba(57, 197, 255, 0.16), rgba(125, 211, 252, 0.12));
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), letter-spacing var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
  border-color: rgba(57, 197, 255, 0.9);
  letter-spacing: 0.2px;
}

footer {
  text-align: center;
  box-shadow: 0 0 28px rgba(140, 82, 255, 0.75);
  animation-duration: 1.2s;
  padding: 1.2rem;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.8);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.6);
  animation-duration: 1.3s;
}

/* Intro overlay (home page, first visit) */
body.intro-playing {
  overflow: hidden;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: radial-gradient(circle at 30% 30%, rgba(57, 197, 255, 0.12), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(125, 211, 252, 0.1), transparent 40%),
    linear-gradient(140deg, rgba(13, 17, 23, 0.9), rgba(17, 24, 39, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  animation: introOverlayFade 2.8s ease forwards;
}

.intro-lines {
  position: absolute;
  inset: -20%;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 18px);
  opacity: 0.15;
  animation: introLines 2.4s linear infinite;
}

.intro-card {
  position: relative;
  padding: 2.2rem 2.6rem;
  background: rgba(22, 31, 45, 0.9);
  border: 1px solid rgba(57, 197, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 24px rgba(57, 197, 255, 0.35);
  text-align: center;
  transform: translateY(12px) scale(0.94);
  opacity: 0;
  animation: introCardLift 1.4s ease forwards;
  animation-delay: 0.15s;
}

.intro-sub {
  margin: 0;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.intro-title {
  margin: 0.45rem 0 0.25rem;
  font-size: 1.8rem;
  letter-spacing: -0.3px;
  color: var(--text);
}

.intro-cta {
  margin: 0;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.4px;
}

@keyframes introOverlayFade {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes introLines {
  0% { transform: translateX(-6%); }
  100% { transform: translateX(6%); }
}

@keyframes introCardLift {
  0% { opacity: 0; transform: translateY(14px) scale(0.92); }
  55% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0.98; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: row;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .brand {
    width: auto;
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-right: 0.25rem;
    gap: 0.35rem;
  }

  .brand .dot {
    width: 8px;
    height: 8px;
  }

  .nav-tabs {
    width: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0.15rem;
    gap: 0.2rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .tab {
    flex: 0 1 auto;
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    white-space: nowrap;
    border-radius: 6px;
    background: rgba(22, 31, 45, 0.85);
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  /* Mobile roadmap responsive styles */
  #road-map {
    height: 400px;
    min-height: 400px;
    touch-action: manipulation;
  }

  .road-node {
    width: 120px;
    height: 120px;
  }

  .road-node-title {
    font-size: 0.8rem;
  }

  .road-node-subtitle {
    font-size: 0.65rem;
  }
}

@keyframes stripeFlow {
  from { background-position: 0 0; }
  to { background-position: 48px 0; }
}

/* Road Map container styled to match hero theme */
#road-map {
  position: relative;
  width: 100%;
  height: 360px;
  margin-top: 1rem;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 32px),
    linear-gradient(145deg, rgba(22, 31, 45, 0.95), rgba(16, 23, 35, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  box-sizing: border-box;
  touch-action: none;
  cursor: grab;
}

#road-map.panning {
  cursor: grabbing;
}

/* container for roadmap content grows dynamically */
.road-map-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  will-change: transform;
}

/* pulsing animation for the flowing edges - nice effect */
@keyframes flowingPulse {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -30; }
}

/* Edge styling for roadmap connections */
.road-edge {
  stroke: var(--accent-2);
  stroke-opacity: 0.6;
  stroke-width: 2;
  stroke-dasharray: 20, 10;
  vector-effect: non-scaling-stroke;
}

/* animated edges*/
.road-edge.flowing {
  animation: flowingPulse 2s linear infinite;
}

/* completed nodes get green styling */
.road-edge.completed {
  stroke: #10b981;
  stroke-opacity: 0.8;
}

/* declined gets red kinda obvious */
.road-edge.declined {
  stroke: #ef4444;
  stroke-opacity: 0.7;
}

/* pending items are greyish */
.road-edge.pending {
  stroke: #9ca3af;
  stroke-opacity: 0.6;
}

/* award nodes/edges use blue styling */
.road-edge.award {
  stroke: #0c4f85;
  stroke-opacity: 0.85;
}

/* circular node styling these are the main events */
.road-node {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12) 0%, var(--card) 60%),
              var(--card);
  border: 1px solid var(--border);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 10px 20px rgba(0, 0, 0, 0.3),
    inset -2px -2px 8px rgba(0, 0, 0, 0.5),
    inset 2px 2px 8px rgba(255, 255, 255, 0.08);
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  user-select: none;
  cursor: default;
  transition: transform 150ms ease, border-color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

/* node title text */
.road-node-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.2;
  color: var(--text);
}

/* smaller descriptive text under the title */
.road-node-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.3rem;
  letter-spacing: 0.1px;
}

/* status colors completed nodes */
.road-node.completed {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

/* status colors - declined nodes (failed or canceld) */
.road-node.declined {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* status colors - pending/in progress nodes */
.road-node.pending {
  border-color: #9ca3af;
  background: rgba(156, 163, 175, 0.1);
}

/* status colors - award nodes */
.road-node.award {
  border-color: #0c4f85;
  background: rgba(59, 130, 246, 0.12);
}

/* hover effect for nodes makes them pop */
/*Add parralax effect to snap*/
.road-node:hover {
  transform: scale(1.12);
  cursor: pointer;
  transition: transform 150ms ease;
  box-shadow : 
    0 25px 50px rgba(254, 254, 254, 0.5),
    0 15px 30px rgba(254, 254, 254, 0.5),
    inset -2px -2px 10px rgba(255, 255, 255, 0.1),
    inset 2px 2px 10px rgba(255, 255, 255, 0.1);
  
}

/* semi-transparent overlay for modal */
.roadmap-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* The modal itself contains node details */
.roadmap-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow), 0 0 60px rgba(57, 197, 255, 0.3);
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 300ms ease;
}

.roadmap-modal-details a {
  color: #7dd3fc;
  text-decoration: underline;
}

/* smooth entrance animation for the modal */
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* close button */
.roadmap-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: #ef4444;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
}

/* Close button hover effect slightly darker & bigger */
.roadmap-modal-close:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* modal heading */
.roadmap-modal h2 {
  margin: 0 0 1rem 0;
  color: var(--text);
  font-size: 1.5rem;
}

/* paragraphs within modal nice spacing */
.roadmap-modal p {
  margin: 0.5rem 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Container for the roadmap section keeps everything tidy */
.roadmap-container {
  width: 100%;
  margin-bottom: 1.25rem;
}

/* hint text under the roadmap tell users how to use it */
.roadmap-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
  letter-spacing: 0.3px;
}

/* Reset button for the roadmap puts you back to the start */
.roadmap-reset-btn {
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(57, 197, 255, 0.12);
  color: var(--accent-2);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 200ms ease;
}
