/* ===== RESET & ROOT ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #050505;
  --bg-2: #0a0a0a;
  --bg-card: rgba(15,15,15,0.88);
  --bg-card-hover: rgba(25,25,25,0.96);
  --text: #ffffff;
  --text-2: #cccccc;
  --text-3: #888888;
  --accent: #f8f5db;
  --accent-dim: rgba(248, 245, 219, 0.1);
  --border: rgba(255,255,255,0.065);
  --border-hover: rgba(255,255,255,0.14);
  --radius: 18px;
  --radius-sm: 10px;
  --font: 'DM Sans', -apple-system, sans-serif;
  --font-display: 'Syne', -apple-system, sans-serif;
  --mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6; cursor: auto; }
body.loaded { cursor: none; }

/* ===== LOADER (PREMIUM) ===== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1), visibility 1.2s;
  overflow: hidden;
  cursor: default;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-content {
  display: flex; flex-direction: column; align-items: center; gap: 40px;
  position: relative; z-index: 2;
}

.loader-logo-wrapper {
  position: relative; width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
}

.loader-glyph {
  font-family: var(--font-display); font-size: 4rem; font-weight: 800;
  letter-spacing: -2px; color: var(--text);
  z-index: 2; white-space: nowrap;
  animation: logoShake 0.4s ease-in-out infinite;
}

@keyframes logoShake {
  0%{transform:translateX(0)}
  25%{transform:translateX(-2px) translateY(1px) rotate(-0.5deg)}
  50%{transform:translateX(2px) translateY(-1px) rotate(0.5deg)}
  75%{transform:translateX(-1px) translateY(1px)}
  100%{transform:translateX(0)}
}

.loader-particles {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
}
.loader-particle {
  position: absolute; width: var(--p-size, 2px); height: var(--p-size, 2px); 
  background: #fff; border-radius: 50%; 
  opacity: 0.8; filter: blur(0.5px);
  box-shadow: 0 0 8px #fff;
  transition: opacity 1.5s cubic-bezier(0.16,1,0.3,1);
}
.loader.hidden .loader-particle { opacity: 0; }


.loader-status {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}

.loader-pct {
  font-family: var(--font-display); font-size: 4rem; font-weight: 800;
  line-height: 1; color: var(--text); opacity: 0.15;
  font-variant-numeric: tabular-nums;
}

.loader-line-container {
  width: 200px; height: 2px; background: rgba(255,255,255,0.06);
  border-radius: 10px; overflow: hidden; position: relative;
}
.loader-line {
  height: 100%; width: 0; background: var(--text);
  transition: width 0.4s cubic-bezier(0.1,0,0.1,1);
}
.loader-msg {
  font-family: var(--mono); font-size: 0.65rem; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 3px;
}
.loader-enter {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.7rem; color: var(--text-2);
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 22px; border-radius: 100px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1), border-color 0.3s;
  transform: translateY(6px);
}
.loader-enter.visible {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.loader-enter:hover {
  border-color: rgba(255,255,255,0.35); color: var(--text);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Song Toast */
#songToast {
  position: fixed; top: 80px; left: 50%; z-index: 10000;
  transform: translateX(-50%) translateY(-20px);
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; border-radius: 100px;
  background: rgba(15,15,15,0.92); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
}
#songToast.visible {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.song-toast-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--accent);
  flex-shrink: 0;
}
.song-toast-info {
  display: flex; flex-direction: column; gap: 2px;
}
.song-toast-label {
  font-family: var(--mono); font-size: 0.55rem; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 2px;
}
.song-toast-title {
  font-family: var(--font); font-size: 0.82rem; font-weight: 500;
  color: var(--text);
}



/* ===== CURSOR ===== */
.cursor-dot {
  position: fixed; z-index: 10001; pointer-events: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text); transform: translate(-50%,-50%);
  transition: transform 0.08s ease, background 0.2s ease;
  mix-blend-mode: difference;
  opacity: 0;
}
body.loaded .cursor-dot { opacity: 1; }
.cursor-ring {
  position: fixed; z-index: 9997; pointer-events: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  transform: translate(-50%,-50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}
.cursor-dot.hovering { transform: translate(-50%,-50%) scale(2.5); background: var(--accent); }
.cursor-ring.hovering { width: 50px; height: 50px; border-color: var(--accent); }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 9000;
  background: linear-gradient(to right, var(--accent), var(--text));
  width: 0; transition: width 0.05s linear;
}

/* ===== BACKGROUND LAYERS ===== */
.cursor-spotlight {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(600px circle at 50% 50%, rgba(255,255,255,0.03), transparent 70%);
}

.cursor-trail {
  position: fixed; border-radius: 50%;
  background: var(--text); filter: blur(0.5px);
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  animation: cursorTrailFade 0.6s cubic-bezier(0.1, 0, 0.1, 1) forwards;
  will-change: transform, opacity;
}

@keyframes cursorTrailFade {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(0.1); }
}
.dot-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 100%);
}
#bgCanvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aurora-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35;
}
.aurora-layer::before {
  content: ''; position: absolute;
  width: 60vw; height: 50vh; top: -10%; left: -10%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
  animation: auroraMove1 18s ease-in-out infinite;
}
.aurora-layer::after {
  content: ''; position: absolute;
  width: 50vw; height: 50vh; bottom: 0; right: -10%;
  background: radial-gradient(ellipse, rgba(100,100,100,0.04) 0%, transparent 70%);
  animation: auroraMove2 22s ease-in-out infinite;
}
@keyframes auroraMove1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6%,4%) scale(1.1)} }
@keyframes auroraMove2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5%,-5%) scale(1.08)} }
.grain-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== NAV ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 0 40px;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(10,9,8,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-logo {
  text-decoration: none; font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--text);
  letter-spacing: 4px; transition: color 0.3s ease;
}
.logo-bracket { color: var(--accent); opacity: 0.8; transition: opacity 0.3s ease; }
.nav-logo:hover .logo-bracket { opacity: 1; }
.nav-links { display: flex; gap: 2px; }
.nav-link {
  text-decoration: none; color: var(--text-3);
  font-size: 0.8rem; font-weight: 500;
  padding: 6px 16px; border-radius: 6px;
  transition: all 0.25s ease; letter-spacing: 0.2px;
  position: relative;
}
.nav-link:hover { color: var(--text-2); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%;
  transform: translateX(-50%); width: 16px; height: 1.5px;
  background: var(--accent); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-3); cursor: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: all 0.25s ease;
}
.nav-btn:hover { border-color: var(--border-hover); color: var(--text); }
.nav-btn#musicToggle.playing { border-color: var(--accent); color: var(--accent); }
.nav-btn#musicToggle.playing #musicIconOff { display: none; }
.nav-btn:not(.playing) .music-eq { display: none; }
.music-eq { display: flex; align-items: flex-end; gap: 1.5px; height: 12px; }
.music-eq span {
  display: block; width: 2px; border-radius: 1px;
  background: var(--accent);
  animation: eq 0.9s ease-in-out infinite;
}
.music-eq span:nth-child(1){height:6px;animation-delay:0s}
.music-eq span:nth-child(2){height:10px;animation-delay:0.15s}
.music-eq span:nth-child(3){height:8px;animation-delay:0.3s}
.music-eq span:nth-child(4){height:5px;animation-delay:0.45s}
@keyframes eq {
  0%,100%{transform:scaleY(0.5)}
  50%{transform:scaleY(1.3)}
}
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); cursor: none;
}
.hamburger span { display: block; width: 16px; height: 1.5px; background: var(--text-2); transition: all 0.3s ease; border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 40px;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; width: 100%;
  padding-top: 80px; padding-bottom: 60px;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-bottom: 20px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.9); font-family: var(--mono);
  letter-spacing: 0.5px;
}
.status-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.4);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%{box-shadow:0 0 0 0 rgba(255,255,255,0.4)}
  70%{box-shadow:0 0 0 8px rgba(255,255,255,0)}
  100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}
}
.hero-tagline {
  font-family: var(--mono); font-size: 0.78rem;
  color: var(--text-3); letter-spacing: 1px;
}
.tagline-prefix { color: var(--accent); margin-right: 4px; }
.cursor-blink { animation: blink 1s step-end infinite; color: var(--accent); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Big name */
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
  display: flex; flex-direction: column; gap: 0;
}
.hero-first { display: block; color: var(--text); }
.hero-last {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #888888 40%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nameShimmer 5s ease-in-out infinite;
}
@keyframes nameShimmer {
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}
.accent-dot { -webkit-text-fill-color: var(--accent); color: var(--accent); }

/* Lower section */
.hero-lower {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; margin-bottom: 56px;
}
.hero-desc {
  font-size: 0.95rem; line-height: 1.8; color: var(--text-2);
  margin-bottom: 28px; max-width: 420px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px;
  background: var(--text); color: var(--bg);
  font-family: var(--font); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: all 0.3s ease;
  letter-spacing: 0.2px;
}
.btn-primary:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px;
  border: 1px solid var(--border-hover); color: var(--text-2);
  font-family: var(--font); font-size: 0.85rem; font-weight: 500;
  text-decoration: none; transition: all 0.3s ease;
}
.btn-outline:hover { border-color: var(--text-3); color: var(--text); transform: translateY(-2px); }

/* Avatar */
.hero-lower-right { position: relative; display: flex; justify-content: center; align-items: center; }
.avatar-frame {
  position: relative; width: 260px; height: 260px;
  border-radius: var(--radius);
}
.hero-avatar {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(15%);
  border: 1px solid var(--border);
  position: relative; z-index: 2;
}
.avatar-ring-outer {
  position: absolute; inset: -8px; border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  animation: ringPulse 3s ease-in-out infinite;
}
.avatar-ring-inner {
  position: absolute; inset: -3px; border-radius: 21px;
  border: 1px solid rgba(255,255,255,0.06);
}
@keyframes ringPulse { 0%,100%{opacity:0.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.02)} }
.avatar-holo {
  position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  z-index: 3; pointer-events: none;
}
.avatar-badge {
  position: absolute; bottom: -10px; right: -10px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 14px; z-index: 4;
}
.floating-tags { position: absolute; inset: -15px; z-index: 10; pointer-events: none; }
.f-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(10,9,8,0.92); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: 'Bebas Neue', var(--font); font-size: 0.85rem;
  letter-spacing: 0.08em; font-weight: 400; color: var(--text-2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4); white-space: nowrap;
}
.f-tag i { color: var(--accent); font-size: 0.65rem; }
.tag-1 { top: 5px; left: -75px; animation: tagFloat 4s ease-in-out infinite; }
.tag-2 { bottom: 60px; left: -65px; animation: tagFloat 4s ease-in-out 1.2s infinite; }
.tag-3 { top: 60px; right: -55px; animation: tagFloat 4s ease-in-out 2.4s infinite; }
@keyframes tagFloat { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-8px) rotate(1deg)} }

/* Stats */
.hero-stats {
  display: flex; align-items: center; gap: 32px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.h-stat { display: flex; flex-direction: column; gap: 2px; }
.h-stat-row { display: flex; align-items: baseline; gap: 1px; }
.h-stat-num {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  color: var(--text); line-height: 1;
}
.h-stat-plus { font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.h-stat-label { font-size: 0.65rem; font-family: var(--mono); color: var(--text-3); letter-spacing: 1px; text-transform: uppercase; }
.h-stat-divider { width: 1px; height: 32px; background: var(--border); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-3); font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 2px; text-transform: uppercase; z-index: 2;
  animation: scrollBob 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--text-3));
}
@keyframes scrollBob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(4px)} }

/* ===== MARQUEE ===== */
.marquee-strip {
  position: relative; z-index: 2; width: 100%; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01); padding: 14px 0;
}
.marquee-strip::before, .marquee-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.marquee-strip::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-strip::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee-track { display: flex; overflow: hidden; }
.marquee-inner {
  display: flex; gap: 0; animation: marqueeScroll 28s linear infinite;
  white-space: nowrap; flex-shrink: 0;
}
.marquee-strip:hover .marquee-inner { animation-play-state: paused; }
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.m-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 32px; font-family: var(--mono); font-size: 0.68rem;
  font-weight: 400; color: var(--text-3); letter-spacing: 1px; text-transform: uppercase;
  transition: color 0.3s ease;
}
.m-item:hover { color: var(--text-2); }
.m-item i { color: var(--accent); opacity: 0.7; font-size: 0.75rem; }

/* ===== SHARED SECTION ===== */
.section { position: relative; z-index: 2; padding: 100px 40px; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-header { margin-bottom: 52px; }
.section-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.65rem;
  color: var(--accent); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 14px; opacity: 0.8;
}
.section-title {
  font-family: 'Bebas Neue', var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; letter-spacing: 0.04em; margin-bottom: 10px; line-height: 1.1;
}
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nameShimmer 4s ease-in-out infinite;
}
.section-subtitle { font-size: 0.9rem; color: var(--text-3); max-width: 400px; }

/* ===== ABOUT — BENTO GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.bento-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }

/* Bio card: spans col 1, rows 1–2 */
.bento-bio {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex; flex-direction: column; gap: 0;
}
.about-bio {
  font-size: 0.92rem; line-height: 1.85; color: var(--text-2); margin-bottom: 16px;
}
.about-bio strong { color: var(--text); font-weight: 600; }
.about-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border);
}
.a-meta-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.72rem; color: var(--text-3); font-family: var(--mono);
}
.a-meta-item i { color: var(--text-2); font-size: 0.75rem; }

/* Skill cards */
.bento-skill {
  display: flex; flex-direction: column; gap: 8px;
}
.bento-icon {
  font-size: 1.4rem; color: var(--text-2); margin-bottom: 2px;
  transition: color 0.3s ease;
}
.bento-card:hover .bento-icon { color: var(--accent); }
.bento-skill-top { display: flex; justify-content: space-between; align-items: baseline; }
.bento-skill-name {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--text);
}
.bento-skill-pct { font-family: var(--mono); font-size: 0.65rem; color: var(--text-3); }
.bento-skill-desc { font-size: 0.72rem; color: var(--text-3); font-family: var(--mono); letter-spacing: 0.5px; }
.skill-bar {
  width: 100%; height: 3px; background: rgba(255,255,255,0.06);
  border-radius: 99px; overflow: hidden;
}
.skill-fill {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--text-3), var(--text));
  transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.skill-fill::after {
  content: ''; position: absolute; right: 0; top: -1px;
  width: 4px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

/* C++ or wide cards — spans full width */
.bento-wide { grid-column: 1 / 4; flex-direction: row; align-items: center; gap: 20px; }
.bento-wide .bento-icon { margin-bottom: 0; font-size: 1.2rem; }
.bento-wide .bento-skill-top { flex: 1; }
.bento-wide .skill-bar { width: 100%; margin-top: 0; }
.bento-wide .bento-skill-desc { white-space: nowrap; }
.bento-wide .bento-skill-pct { margin-left: 8px; }

/* Spotify Card */
.spotify-card {
  display: flex !important; align-items: center; gap: 24px;
  background: linear-gradient(135deg, rgba(10,12,11,0.9) 0%, rgba(18,25,21,0.95) 100%) !important;
  border-color: rgba(30,215,96,0.15) !important;
}
.spotify-card:hover { border-color: rgba(30,215,96,0.4) !important; }
.spotify-logo {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(30,215,96,0.1); border: 1px solid rgba(30,215,96,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #1ed760; flex-shrink: 0;
}
.spotify-content { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.spotify-header { display: flex; align-items: center; justify-content: space-between; }
.spotify-status-label {
  font-family: var(--mono); font-size: 0.6rem; color: #1ed760;
  text-transform: uppercase; letter-spacing: 2px;
}
.spotify-track-info { display: flex; flex-direction: column; }
.spotify-track-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.spotify-artist-name { font-size: 0.85rem; color: var(--text-3); }

/* Spotify Wave */
.spotify-wave { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.spotify-wave span {
  width: 2px; border-radius: 1px;
  background: #1ed760; animation: waveAnim 1s ease-in-out infinite;
}
.spotify-wave span:nth-child(2) { animation-delay: 0.2s; }
.spotify-wave span:nth-child(3) { animation-delay: 0.4s; }
@keyframes waveAnim {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}


/* ===== PROJECT LOADING ===== */
.projects-loading {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; padding: 80px 0;
  color: var(--text-3); font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 1px;
}
.loading-spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== PROJECTS ===== */
.projects-grid {
  display: flex; flex-direction: column; gap: 2px;
}
.project-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  cursor: none; transition: border-color 0.2s ease, background 0.2s ease;
}
.project-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.project-row-left { display: flex; align-items: center; gap: 16px; }
.project-row-right { display: flex; align-items: center; gap: 12px; }
.project-icon-box {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-3); flex-shrink: 0;
  transition: all 0.2s ease; overflow: hidden;
}
.project-logo-img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.3s ease; padding: 2px;
}
.project-card:hover .project-logo-img {
  transform: scale(1.15);
}
.project-card:hover .project-icon-box {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2);
  color: var(--accent);
}
.project-row-info { display: flex; flex-direction: column; gap: 4px; }
.project-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text); }
.project-status {
  font-family: var(--mono); font-size: 0.55rem; font-weight: 400;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 4px;
}
.status-dev { background: rgba(255,255,255,0.07); color: var(--accent); border: 1px solid rgba(255,255,255,0.15); }
.status-soon { background: rgba(251,191,36,0.08); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.status-discontinued { background: rgba(255,255,255,0.03); color: var(--text-3); border: 1px solid var(--border); }
.project-arrow {
  font-size: 0.65rem; color: var(--text-3);
  transition: transform 0.2s ease, color 0.2s ease;
}
.project-card:hover .project-arrow { transform: translateX(3px); color: var(--text-2); }
.project-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.p-tag {
  font-family: var(--mono); font-size: 0.55rem; color: var(--text-3);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 1px 7px; border-radius: 3px;
}

/* ===== CONNECT — ROW LIST ===== */
.connect-list { display: flex; flex-direction: column; gap: 2px; }
.connect-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.connect-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  opacity: 0; transition: opacity 0.3s ease;
}
.connect-row:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateX(4px); }
.connect-row:hover::before { opacity: 1; }
.cr-left { display: flex; align-items: center; gap: 16px; }
.cr-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all 0.3s ease; flex-shrink: 0;
}
.connect-row:hover .cr-icon { border-color: var(--border-hover); transform: scale(1.08); }
.cr-info { display: flex; flex-direction: column; gap: 2px; }
.cr-platform { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.cr-handle { font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); letter-spacing: 0.5px; }
.cr-right { display: flex; align-items: center; gap: 12px; }
.cr-cta {
  font-family: var(--mono); font-size: 0.62rem; color: var(--text-3);
  letter-spacing: 1px; text-transform: uppercase; opacity: 0;
  transition: opacity 0.3s ease;
}
.connect-row:hover .cr-cta { opacity: 1; }
.cr-arrow {
  font-size: 0.8rem; color: var(--text-3);
  transition: all 0.3s ease;
}
.connect-row:hover .cr-arrow { color: var(--text); transform: translate(3px, -3px); }

/* Platform colors on hover */
.ig-row::before { background: #e1306c; }
.ig-row:hover .cr-icon { color: #e1306c; border-color: rgba(225,48,108,0.3); }
.ig-row:hover .cr-arrow { color: #e1306c; }

.sp-row::before { background: #1ed760; }
.sp-row:hover .cr-icon { color: #1ed760; border-color: rgba(30,215,96,0.3); }
.sp-row:hover .cr-arrow { color: #1ed760; }

.gh-row::before { background: var(--text); }
.gh-row:hover .cr-icon { color: var(--text); border-color: var(--border-hover); }
.gh-row:hover .cr-arrow { color: var(--text); }

.dc-row::before { background: #5865f2; }
.dc-row:hover .cr-icon { color: #5865f2; border-color: rgba(88,101,242,0.3); }
.dc-row:hover .cr-arrow { color: #5865f2; }

.tg-row::before { background: #26a7de; }
.tg-row:hover .cr-icon { color: #26a7de; border-color: rgba(38,167,222,0.3); }
.tg-row:hover .cr-arrow { color: #26a7de; }

/* ===== FOOTER ===== */
.site-footer {
  position: relative; z-index: 2;
  padding: 56px 40px 36px;
  border-top: 1px solid var(--border);
}
.footer-content {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 40px; gap: 32px;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--text-2); letter-spacing: 4px; display: block; margin-bottom: 8px;
}
.footer-tagline { font-size: 0.8rem; color: var(--text-3); }
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a {
  color: var(--text-3); text-decoration: none; font-size: 0.8rem;
  padding: 4px 12px; border-radius: 6px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text); }
.footer-copyright {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.72rem; color: var(--text-3); gap: 16px; flex-wrap: wrap;
}
.footer-credit { font-family: var(--mono); color: var(--text-3); font-size: 0.65rem; letter-spacing: 0.5px; }

/* ===== MOBILE NAV OPEN ===== */
@media (max-width: 600px) {
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 66px; left: 0; right: 0;
    background: rgba(10,9,8,0.97); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 20px;
  }
  .nav-links.open .nav-link { padding: 10px 0; color: var(--text-2); font-size: 0.9rem; }
  .nav-links.open .nav-link.active { color: var(--text); }
  .hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  body.light .nav-links.open { background: rgba(232,228,220,0.97); border-bottom-color: rgba(0,0,0,0.07); }
}

/* ===== PROJECT MODAL ===== */
.project-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.project-modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(10px);
  cursor: pointer;
}
.modal-panel {
  position: relative; z-index: 1;
  background: var(--bg-2); border: 1px solid var(--border-hover);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 32px 28px 40px;
  width: 100%; max-width: 560px;
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.16,1,0.3,1);
  max-height: 90vh; overflow-y: auto;
}
.project-modal.open .modal-panel { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); cursor: pointer; font-size: 0.9rem;
  transition: all 0.2s ease;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.modal-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--accent); margin-bottom: 20px;
  overflow: hidden;
}
.modal-project-img {
  width: 100%; height: 100%; object-fit: cover;
}
.modal-header {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.modal-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.modal-status { flex-shrink: 0; }
.modal-desc {
  font-size: 0.88rem; color: var(--text-2); line-height: 1.75;
  margin-bottom: 20px;
}
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.modal-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.75rem; color: var(--accent);
  text-decoration: none; letter-spacing: 0.5px;
  padding: 10px 22px; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px; transition: all 0.2s ease;
}
.modal-link:hover { background: rgba(255,255,255,0.08); }
.modal-link.hidden { display: none; }
.modal-drag-handle {
  width: 36px; height: 4px; background: var(--border-hover);
  border-radius: 2px; margin: 0 auto 24px;
}
@media (min-width: 601px) {
  .project-modal { align-items: center; }
  .modal-panel {
    border-radius: var(--radius);
    width: calc(100% - 48px);
    transform: translateY(16px) scale(0.97);
    max-height: 80vh;
  }
  .project-modal.open .modal-panel { transform: translateY(0) scale(1); }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-48px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(48px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(0.88);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Hide custom cursor on touch / mobile devices */
@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring, .cursor-spotlight { display: none !important; }
}

/* ===== MAGNETIC BUTTON ===== */
.magnetic { transition: transform 0.3s ease; }

/* ===== LIGHT MODE ===== */
body.light {
  --bg: #e8e4dc;
  --bg-2: #f0ece4;
  --bg-card: rgba(248,244,236,0.9);
  --bg-card-hover: rgba(255,251,243,0.98);
  --text: #1a1815;
  --text-2: #4a4540;
  --text-3: #7a736a;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.18);
  background: #e8e4dc;
  color: #1a1815;
}
body.light .loader { background: #e8e4dc; }
body.light .loader-fill { background: #1a1815; }
body.light .loader-fill::after { background: var(--accent); }
body.light .navbar.scrolled {
  background: rgba(232,228,220,0.94);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
body.light .nav-btn { background: rgba(0,0,0,0.04); }
body.light .hamburger span { background: var(--text-2); }
body.light .dot-grid {
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
}
body.light .aurora-layer { opacity: 0.06; }
body.light #bgCanvas { opacity: 0.4; }
body.light .hero-last {
  background: linear-gradient(135deg, #1a1815 0%, #7a736a 50%, #1a1815 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.light .accent-dot { -webkit-text-fill-color: var(--accent); }
body.light .gradient-text {
  background: none; -webkit-background-clip: unset; background-clip: unset;
  -webkit-text-fill-color: #1a1815; color: #1a1815;
}
body.light .hero-badge { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.2); }
body.light .btn-primary { background: #1a1815; color: #e8e4dc; }
body.light .btn-primary:hover { background: #0a0908; }
body.light .f-tag { background: rgba(248,244,236,0.95); border-color: rgba(0,0,0,0.09); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
body.light .scroll-progress { background: linear-gradient(to right, var(--accent), #1a1815); }
body.light .marquee-strip { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
body.light .marquee-strip::before { background: linear-gradient(to right, #e8e4dc, transparent); }
body.light .marquee-strip::after { background: linear-gradient(to left, #e8e4dc, transparent); }
body.light .skill-fill { background: linear-gradient(90deg, #7a736a, #1a1815); }
body.light .project-placeholder { background: rgba(0,0,0,0.04); }
body.light .project-overlay { background: rgba(232,228,220,0.88); }
body.light .project-view { color: #1a1815; border-color: rgba(0,0,0,0.2); }
body.light .p-tag { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.07); }
body.light .site-footer { border-top-color: rgba(0,0,0,0.07); }
body.light .footer-copyright { border-top-color: rgba(0,0,0,0.07); }
body.light .cursor-dot { background: #1a1815; }
body.light .cursor-ring { border-color: rgba(0,0,0,0.3); }
body.light .cursor-spotlight { background: radial-gradient(500px circle at 50% 50%, rgba(0,0,0,0.02), transparent 70%); }
body.light .scroll-indicator { color: var(--text-3); }
body.light .scroll-line { background: linear-gradient(to bottom, transparent, var(--text-3)); }
body.light .h-stat-divider { background: rgba(0,0,0,0.1); }
body.light .modal-panel { background: #f0ece4; border-color: rgba(0,0,0,0.1); }
body.light .modal-close { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: #4a4540; }
body.light .modal-close:hover { background: rgba(0,0,0,0.08); color: #1a1815; }
body.light .modal-drag-handle { background: rgba(0,0,0,0.15); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { padding: 0 24px; }
  .hero-lower { grid-template-columns: 1fr; gap: 32px; }
  .hero-lower-right { justify-content: flex-start; }
  .avatar-frame { width: 200px; height: 200px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-bio { grid-column: 1 / 3; grid-row: auto; }
  .bento-wide { grid-column: 1 / 3; flex-direction: column; align-items: flex-start; }
  .projects-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 24px; }
  .footer-content { flex-direction: column; gap: 24px; }
  .footer-copyright { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 600px) {
  /* — Nav — */
  .navbar { padding: 0 16px; height: 58px; }
  .nav-inner { height: 58px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* — Hero — */
  .hero { padding: 0 18px; }
  .hero-inner { padding-top: 90px; padding-bottom: 60px; gap: 28px; }
  .hero-name { font-size: clamp(3rem, 15vw, 4.8rem); letter-spacing: -2px; }
  .hero-eyebrow { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-tagline { font-size: 0.78rem; }
  .hero-desc { font-size: 0.88rem; line-height: 1.7; }
  .hero-actions { flex-direction: column; gap: 10px; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; padding: 13px 20px; }
  .hero-lower { gap: 32px; }
  .hero-lower-right {
    align-items: center;
    flex-direction: column;
    gap: 16px;
  }
  .avatar-frame { width: 160px; height: 160px; }

  /* Float tags — switch from absolute to inline row on mobile */
  .floating-tags {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .tag-1, .tag-2, .tag-3 {
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    animation: tagFloat 4s ease-in-out infinite;
  }
  .tag-2 { animation-delay: 1.2s; }
  .tag-3 { animation-delay: 2.4s; }
  .f-tag { font-size: 0.72rem; padding: 6px 12px; }

  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .h-stat-num { font-size: 1.8rem; }
  .h-stat-divider { display: none; }
  .scroll-indicator { display: none; }

  /* — About / Bento — */
  .section { padding: 64px 18px; }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bento-bio { grid-column: auto; font-size: 0.88rem; }
  .bento-wide { grid-column: auto; flex-direction: row; align-items: center; gap: 14px; }
  .bento-card { padding: 20px; }
  .bento-icon { font-size: 1.6rem; margin-bottom: 10px; }

  /* — Projects — */
  .projects-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-card { cursor: pointer; }
  .project-name { font-size: 0.95rem; }
  .project-desc { font-size: 0.8rem; }
  .project-overlay { opacity: 1; background: rgba(10,9,8,0.5); }
  .project-view { font-size: 0.65rem; padding: 6px 14px; }

  /* — Connect — */
  .connect-row { padding: 14px 16px; }
  .connect-name { font-size: 0.9rem; }
  .connect-handle { font-size: 0.75rem; }

  /* — Footer — */
  .site-footer { padding: 40px 18px 24px; }
  .footer-content { gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }

  /* — Modal on mobile — */
  .modal-panel { padding: 24px 20px 36px; }
  .modal-title { font-size: 1.25rem; }
  .modal-desc { font-size: 0.85rem; }
}
