/* ===== BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: #2d3424;
}

.font-oswald { font-family: 'Oswald', sans-serif; }
.font-source  { font-family: 'Source Sans 3', sans-serif; }

/* ===== PALETTE ===== */
:root {
  --camo-1: #2d3424;   /* dark olive */
  --camo-2: #3d4a2c;   /* medium olive */
  --camo-3: #4a5e34;   /* lighter green */
  --camo-4: #5c4a2a;   /* brown */
  --camo-5: #3b3220;   /* dark brown */
  --olive:  #6b7c3e;
  --amber:  #f59e0b;
  --stone1: #e7e5e4;
}

.bg-camo      { background-color: var(--camo-1); }
.bg-camo-dark { background-color: #232b1a; }

/* ===== CAMO PATTERN ===== */
.camo-pattern {
  background-color: var(--camo-1);
  background-image:
    radial-gradient(ellipse 80px 60px at 15% 25%, #3d4a2c 0%, transparent 100%),
    radial-gradient(ellipse 120px 80px at 60% 10%, #4a5e34 0%, transparent 100%),
    radial-gradient(ellipse 60px 90px at 80% 50%, #5c4a2a 0%, transparent 100%),
    radial-gradient(ellipse 100px 70px at 30% 70%, #3b3220 0%, transparent 100%),
    radial-gradient(ellipse 70px 50px at 90% 80%, #3d4a2c 0%, transparent 100%),
    radial-gradient(ellipse 90px 110px at 5%  90%, #4a5e34 0%, transparent 100%),
    radial-gradient(ellipse 110px 60px at 50% 55%, #5c4a2a 0%, transparent 100%),
    radial-gradient(ellipse 80px 80px at 75% 30%, #3b3220 0%, transparent 100%),
    radial-gradient(ellipse 50px 70px at 40% 40%, #3d4a2c 0%, transparent 100%);
}

/* ===== SCANLINES ===== */
.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
}

/* ===== NAV ===== */
#navbar { backdrop-filter: blur(4px); }

.nav-link {
  color: #d6d3d1;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-link:hover { color: var(--amber); }
.nav-link:hover::after { transform: scaleX(1); }

.rank-badge {
  display: inline-block;
  width: 28px; height: 28px;
  background: var(--amber);
  color: #232b1a;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 14px;
  font-weight: 900;
}

.burger-line {
  display: block;
  width: 24px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ===== BUTTONS ===== */
.cta-btn {
  display: inline-block;
  background: var(--amber);
  color: #1c1a14;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  border: 2px solid var(--amber);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
}
.cta-btn:hover {
  background: transparent;
  color: var(--amber);
  transform: translateY(-2px);
}

.ghost-btn {
  display: inline-block;
  background: transparent;
  color: var(--stone1);
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  border: 2px solid #a8a29e;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}
.ghost-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.avatar-ring {
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 4px solid var(--amber);
  background: linear-gradient(135deg, var(--camo-2), var(--camo-5));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(245,158,11,0.15), 0 0 40px rgba(245,158,11,0.12);
  position: relative;
}
.avatar-inner { user-select: none; }

.stamp-label {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 4px 16px;
  border-radius: 1px;
}

.stat-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 4px;
  padding: 1rem 0.5rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: #a8a29e;
  margin-top: 4px;
  line-height: 1.3;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--amber);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION COMMONS ===== */
.section-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    var(--camo-3) 0px, var(--camo-3) 20px,
    var(--camo-4) 20px, var(--camo-4) 40px,
    var(--camo-1) 40px, var(--camo-1) 60px
  );
}

.section-header { text-align: center; }
.section-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.4);
  padding: 3px 14px;
  border-radius: 1px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f5f5f4;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  margin: 8px auto 0;
  width: 60px; height: 3px;
  background: var(--amber);
  border-radius: 2px;
}

/* ===== ABOUT ===== */
.info-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(107,124,62,0.3);
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-icon { font-size: 1.5rem; }
.info-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #78716c;
  font-family: 'Oswald', sans-serif;
}
.info-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--amber);
  font-weight: 600;
}

/* ===== TIMELINE ===== */
.timeline-line {
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--olive), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: 10px; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--olive);
  border: 3px solid #232b1a;
  box-shadow: 0 0 0 3px var(--olive);
}
.timeline-dot.gold {
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber), 0 0 16px rgba(245,158,11,0.4);
}

.timeline-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(107,124,62,0.25);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}
.timeline-card:hover { border-color: rgba(245,158,11,0.4); }
.timeline-card.highlight {
  border-color: rgba(245,158,11,0.4);
  background: rgba(245,158,11,0.06);
}

.timeline-date {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #78716c;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #e7e5e4;
  margin-bottom: 8px;
}
.timeline-title.gold { color: var(--amber); }
.timeline-desc {
  font-size: 0.95rem;
  color: #a8a29e;
  line-height: 1.6;
  margin-bottom: 12px;
}
.timeline-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(107,124,62,0.25);
  color: #a8a29e;
  border: 1px solid rgba(107,124,62,0.3);
  padding: 2px 8px;
  border-radius: 2px;
}
.gold-tag {
  background: rgba(245,158,11,0.15);
  color: var(--amber);
  border-color: rgba(245,158,11,0.3);
}

/* ===== SKILLS ===== */
.skill-category {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(107,124,62,0.25);
  border-radius: 4px;
  padding: 1.75rem;
}
.skill-cat-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}
.skill-item { }
.skill-name {
  font-size: 0.9rem;
  color: #d6d3d1;
  margin-bottom: 5px;
}
.skill-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: var(--w, 0%);
  background: linear-gradient(to right, var(--olive), var(--amber));
  border-radius: 3px;
  animation: growBar 1.2s ease forwards;
  transform-origin: left;
}
@keyframes growBar {
  from { width: 0; }
  to   { width: var(--w); }
}

.badge-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(107,124,62,0.25);
  border-radius: 4px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #d6d3d1;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  cursor: default;
}
.badge-card:hover {
  border-color: rgba(245,158,11,0.5);
  color: var(--amber);
  transform: translateY(-2px);
}

/* ===== AWARDS ===== */
.award-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(107,124,62,0.25);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.award-card:hover {
  border-color: rgba(245,158,11,0.4);
  transform: translateY(-4px);
}
.award-medal { font-size: 3rem; margin-bottom: 1rem; }
.award-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e7e5e4;
  margin-bottom: 0.5rem;
}
.award-desc {
  font-size: 0.85rem;
  color: #78716c;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.award-year {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.3);
  display: inline-block;
  padding: 2px 10px;
}

/* ===== CONTACT ===== */
.contact-card {
  display: block;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(107,124,62,0.25);
  border-radius: 4px;
  padding: 1.75rem 1rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.contact-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
}
.contact-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #78716c;
  margin-bottom: 4px;
}
.contact-val {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  color: var(--amber);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .timeline-line { left: 12px; }
  .timeline-item { padding-left: 40px; }
  .timeline-dot  { left: 3px; }
}
