/* CSS Variables for Theme Switching */

:root {
  --bg-primary: #183059; /* Deep frosty blue */
  --bg-secondary: #284b63; /* Desaturated twilight blue */
  --bg-tertiary: #3c6e71; /* Muted teal */
  --text-primary: #f4f9fb; /* Snowy white */
  --text-secondary: #c2e9fb; /* Pale blue highlight */
  --accent-primary: #80cfff; /* Crisp icy blue */
  --accent-secondary: #ffffff; /* Pure snow accent */
  --border-color: #99b8e1; /* Light blue border */
  --shadow-color: rgba(24, 48, 89, 0.14);
  --modal-overlay: rgba(39, 60, 85, 0.95);
}

/* Light Theme Colors */
.light-theme {
  --bg-primary: #f7faf7;
  --bg-secondary: #eef4ee;
  --bg-tertiary: #dee6de;
  --text-primary: #1b211b;
  --text-secondary: #5a6a62;
  --accent-primary: #16a34a;
  --accent-secondary: #15803d;
  --border-color: #c9d3c9;
  --shadow-color: rgba(0, 0, 0, 0.12);
  --modal-overlay: rgba(0, 0, 0, 0.5);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: url("data:image/svg+xml;utf8,svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text x='3' y='23' font-size='28'>❄</text></svg>")
      16 16,
    auto;
}

/* Entry Overlay */
.entry-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  z-index: 2000;
}

.entry-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(
    var(--accent-primary) 0deg,
    var(--accent-primary) 0deg,
    rgba(255, 255, 255, 0.06) 0deg
  );
  position: relative;
  cursor: default;
}

.entry-circle::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border-radius: 50%;
}

.entry-circle-label {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  color: var(--text-primary);
}

.entry-alt {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  opacity: 0.5;
  pointer-events: none;
}

.entry-alt.enabled {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .entry-actions {
    flex-direction: column;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  z-index: 1200;
  transition: width 0.1s linear;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin: 0;
}

.logo-img {
  display: block;
  height: 40px;
  width: auto;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-img.is-loaded {
  opacity: 1;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.3px;
}

.theme-toggle {
  background: none;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 0.5rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background-color: var(--accent-primary);
  color: #ffffff;
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

/* Fog overlay */
.fog {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
}

.foglayer {
  position: absolute;
  inset: -20%;
  background-repeat: repeat;
  opacity: 0.1;
  filter: blur(2px);
}

.foglayer.l1 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'><defs><radialGradient id='g' cx='50%' cy='50%' r='50%'><stop offset='0%' stop-color='white' stop-opacity='0.35'/><stop offset='100%' stop-color='white' stop-opacity='0'/></radialGradient></defs><rect width='400' height='200' fill='url(%23g)'/></svg>");
  animation: fogMove1 120s linear infinite;
}

.foglayer.l2 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'><defs><radialGradient id='g' cx='60%' cy='40%' r='50%'><stop offset='0%' stop-color='white' stop-opacity='0.25'/><stop offset='100%' stop-color='white' stop-opacity='0'/></radialGradient></defs><rect width='400' height='200' fill='url(%23g)'/></svg>");
  animation: fogMove2 180s linear infinite;
  opacity: 0.12;
}

@keyframes fogMove1 {
  from {
    transform: translateX(-10%) translateY(0);
  }
  to {
    transform: translateX(10%) translateY(-2%);
  }
}

@keyframes fogMove2 {
  from {
    transform: translateX(10%) translateY(0);
  }
  to {
    transform: translateX(-10%) translateY(2%);
  }
}

.parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.parallax .pl {
  position: absolute;
  font-size: 1.25rem;
  opacity: 0.15;
}

.parallax .pl:nth-child(1) {
  top: 15%;
  left: 10%;
}

.parallax .pl:nth-child(2) {
  top: 50%;
  right: 12%;
}

.parallax .pl:nth-child(3) {
  bottom: 18%;
  left: 40%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, var(--accent-primary) 0%, transparent 50%);
  opacity: 0.1;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Let's Connect */
.connect-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 4rem;
}

.connect-content {
  text-align: center;
}

.connect-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.connect-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.connect-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-social {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  background: radial-gradient(
      120% 120% at 30% 30%,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 18px var(--shadow-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease;
}

.btn-social i {
  pointer-events: none;
}

.btn-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px var(--shadow-color);
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

/* Brand-tinted hovers */
.btn-social[aria-label="LinkedIn"]:hover {
  background: linear-gradient(135deg, #0a66c2, #2d9cf0);
}

.btn-social[aria-label="GitHub"]:hover {
  background: linear-gradient(135deg, #2f2f2f, #1f1f1f);
}

.btn-social[aria-label="Email"]:hover {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

@media (max-width: 768px) {
  .connect-title {
    font-size: 1.8rem;
  }
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Button ripple effect */
.ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
  mix-blend-mode: overlay;
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(14);
    opacity: 0;
  }
}

/* Back to Top Button */
.btn-back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  box-shadow: 0 10px 24px var(--shadow-color);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.btn-back-to-top.visible {
  display: flex;
}

.btn-back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Watery fluid effect layers */
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

/* Primary fluid layer */
.btn::before {
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.1) 75%,
    transparent 100%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  opacity: 0;
}

/* Secondary fluid layer */
.btn::after {
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    transparent 70%
  );
  transform: scale(0) translateY(100%);
  opacity: 0;
}

/* Hover animations for fluid effect */
.btn:hover::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
  opacity: 1;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover::after {
  transform: scale(1.5) translateY(-50%);
  opacity: 1;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  filter: brightness(1.1) contrast(1.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.3);
  border-color: transparent;
  filter: brightness(1.1) contrast(1.1);
}

.btn-close {
  background-color: transparent;
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-close::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  border-radius: 50%;
}

.btn-close:hover::before {
  left: 100%;
}

.btn-close:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-email {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-email:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

/* Resume Section */
.resume-section {
  background-color: var(--bg-secondary);
  padding: 3rem 0;
  display: none;
  min-height: 100vh;
}

.resume-toolbar {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.resume-pdf {
  width: 100%;
  height: min(80vh, 900px);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-primary);
  margin-bottom: 1rem;
}

.resume-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.resume-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-primary);
}

.resume-header h2 {
  font-size: 2.5rem;
  color: var(--accent-primary);
}

.resume-content {
  display: grid;
  gap: 2rem;
}

.resume-section-item {
  background-color: var(--bg-tertiary);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  background-image: radial-gradient(
    800px 300px at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.02),
    transparent 60%
  );
  position: relative;
  transform-style: preserve-3d;
}

.resume-section-item:hover .tilt-glow {
  opacity: 0.8;
}

.tilt-glow {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    600px 200px at var(--mx, 50%) var(--my, 50%),
    rgba(34, 197, 94, 0.15),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.resume-section-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.resume-section-item h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--accent-primary);
  padding-bottom: 0.5rem;
}

/* Make professional summary tagline blue like section headers */
.summary-tagline {
  color: var(--accent-primary) !important;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.resume-section-item p {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.resume-section-item .contact-detail {
  color: var(--text-primary);
  font-weight: 500;
}

.resume-section-item .contact-detail i {
  color: var(--accent-primary);
}

.resume-section-item .contact-detail a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
}

.resume-section-item .contact-detail a:hover {
  text-decoration: underline;
  filter: brightness(1.1);
}

.resume-section-item i {
  color: var(--accent-primary);
  margin-right: 0.5rem;
  width: 20px;
}

/* Skill Grid Styling */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.skills-grid .skill-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.5rem 0.5rem 0 0;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #1a1a1a;
  background-color: #c2e9fb;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(132, 204, 22, 0.1);
  transition: background-color 0.2s, transform 0.2s;
}

.skills-grid .skill-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--accent-primary);
}

.skill-tag {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.experience-item,
.education-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--bg-primary);
  border-radius: 8px;
  border-left: 4px solid var(--accent-primary);
}

.experience-item h4,
.education-item h4 {
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.date {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.experience-item ul {
  margin-left: 1.5rem;
}

.experience-item li {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--modal-overlay);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px var(--shadow-color);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.modal-body {
  text-align: center;
}

.modal-body p {
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Leaf trail */
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  font-size: 16px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 9999;
  animation: leafTrailFade 0.9s ease-out forwards;
}

@keyframes leafTrailFade {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 0.5;
  }
  60% {
    transform: translate(-50%, -60%) scale(1.1) rotate(12deg);
    opacity: 0.25;
  }
  100% {
    transform: translate(-50%, -70%) scale(0.9) rotate(20deg);
    opacity: 0;
  }
}

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .resume-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .modal-content {
    margin: 20px;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .resume-section-item {
    padding: 1.5rem;
  }
}

/* Hero Animations and Enhanced Styles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero visuals */
.hero-logo {
  border-radius: 32px;
  padding: 14px;
  background: rgba(224, 244, 255, 0.18);
  box-shadow: 0 4px 35px #80cfff44, 0 2px 3px #fff5;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: box-shadow 0.45s;
}

.hero-title,
.hero-subtitle,
.hero-buttons {
  opacity: 0;
  animation: fadeInUp 2s forwards;
}

/* For larger, bolder hero title and subtitle */
.hero-title {
  font-size: 3rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Flex display for buttons in hero section */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* Optional button style refinement */
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 40px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
}

/* Snowfall: small blurry snowballs */
.snowflake {
  position: fixed;
  top: -2em;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #dbeafe 60%, transparent 100%);
  opacity: 0.85;
  filter: blur(2px);
  animation: snowfall linear infinite;
}

@keyframes snowfall {
  0% {
    top: -2em;
    opacity: 0.9;
  }
  100% {
    top: 110vh;
    opacity: 0.1;
  }
}

/* Frosty borders */
.frosty-border-top,
.frosty-border-bottom {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.frosty-border-top {
  margin-bottom: -3px;
}

.frosty-border-bottom {
  margin-top: -3px;
}

/* Timeline */
.timeline {
  margin: 2.5rem 0 2rem 0;
  position: relative;
  padding-left: 30px;
  border-left: 3px solid var(--accent-primary, #22c55e);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
}

.timeline-point {
  position: absolute;
  left: -15px;
  top: 10px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #80cfff, #22c55e);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #80cfff55;
  animation: pulsePoint 1.6s infinite;
}

@keyframes pulsePoint {
  0% {
    box-shadow: 0 0 4px #80cfff99;
  }
  50% {
    box-shadow: 0 0 20px #baeaff88;
  }
  100% {
    box-shadow: 0 0 4px #80cfff99;
  }
}

.timeline-content {
  padding-left: 15px;
  background: rgba(180, 220, 250, 0.05);
  border-radius: 8px;
  box-shadow: 0 2px 14px #baeaff23;
  transition: background 0.25s;
}

.timeline-date {
  color: #80cfff;
  font-size: 0.98rem;
  font-weight: bold;
  margin-bottom: 2px;
  display: block;
}

.timeline-content h4 {
  margin: 0 0 4px 0;
  font-weight: 600;
  color: var(--accent-primary, #22c55e);
}

.timeline-content p {
  margin: 0;
  color: #bfefff;
  font-size: 1rem;
}

/* Skill chart container */
.skill-charts {
  margin: 2rem auto;
  max-width: 340px;
  background: rgba(180, 220, 250, 0.08);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: 0 4px 20px #baeaff23;
}
