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

:root {
  --bg: #130e1e37;
  --bg-card: #12122a;
  --bg-dark: #080816;
  --accent: #6c5ce7;
  --accent2: #a29bfe;
  --gold: #ffd700;
  --silver: #c0c0c0;
  --text: #e8eaf0;
  --text-muted: #8888aa;
  --radius: 16px;
}

body {
  font-family: comic-sans, papyrus;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(108,92,231,0.25) 0%, transparent 70%),
              var(--bg);
  overflow: hidden;
}

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

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 60px rgba(108,92,231,0.5);
  animation: float 3s ease-in-out infinite;
}

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

.hero__title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Comic Sans MS', 'Comic Sans', cursive;
  color: var(--accent2);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
}

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

/* ====== SECTIONS ====== */
.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--bg-dark);
}

.section__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ====== CATEGORIES ====== */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid rgba(108,92,231,0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(108,92,231,0.2);
}

.category-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.category-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.category-card__count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ====== ACHIEVEMENTS ====== */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.achievement-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.achievement-card--gold {
  border-color: rgba(255,215,0,0.3);
}

.achievement-card--gold::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #ffaa00);
}

.achievement-card--silver {
  border-color: rgba(192,192,192,0.2);
}

.achievement-card--silver::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--silver), #e0e0e0);
}

.achievement-card__badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.achievement-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.achievement-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.achievement-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.achievement-card__date {
  font-family: 'Comic Sans MS', 'Comic Sans', cursive;
  font-size: 0.8rem;
  color: var(--accent2);
}

/* ====== TIMELINE ====== */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  width: 50%;
  padding: 1.5rem 3rem;
}

.timeline__item--left {
  left: 0;
  text-align: right;
  padding-right: 3rem;
  padding-left: 1.5rem;
}

.timeline__item--right {
  left: 50%;
  text-align: left;
  padding-left: 3rem;
  padding-right: 1.5rem;
}

.timeline__dot {
  position: absolute;
  top: 1.8rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  z-index: 1;
}

.timeline__item--left .timeline__dot {
  right: -8px;
}

.timeline__item--right .timeline__dot {
  left: -8px;
}

.timeline__content {
  background: var(--bg-card);
  border: 1px solid rgba(108,92,231,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline__content:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(108,92,231,0.15);
}

.timeline__year {
  font-family: 'Comic Sans MS', 'Comic Sans', cursive;
  font-weight: 700;
  color: var(--accent2);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.timeline__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.timeline__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ====== SKILLS ====== */
.skills-grid {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill__info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.skill__percent {
  font-family: 'Comic Sans MS', 'Comic Sans', cursive;
  color: var(--accent2);
}

.skill__bar {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
  overflow: hidden;
}

.skill__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 5px;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ====== QUOTE ====== */
.section--quote {
  background: radial-gradient(ellipse at 50% 50%, rgba(108,92,231,0.1) 0%, transparent 70%),
              var(--bg-dark);
}

.quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.quote__text {
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quote__author {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ====== FOOTER ====== */
.footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ====== ANIMATIONS ====== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== PARTICLE ====== */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: drift linear infinite;
}

@keyframes drift {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-40px) translateX(20px); }
  100% { transform: translateY(0) translateX(0); }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline__item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px !important;
    padding-right: 1rem !important;
    text-align: left !important;
  }
  .timeline__dot {
    left: 12px !important;
    right: auto !important;
  }
  .hero__stats {
    gap: 1.5rem;
  }
}
