
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

:root {
  --bg:         #000000; 
  --text:       #ffffff; 
  --muted:      #bbbbbb;
  --determination-red: #e91e63; 
  
  --font-pixel: 'Press Start 2P', monospace;   
  --font-retro: 'VT323', monospace;             
}

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

body {
  font-family: var(--font-retro);
  font-size: 24px;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.4;
}

.bg-gif {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.hdqwalls.com/download/undertale-hang-in-there-yl-1366x768.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.92); 
}

.dialogue-box {
  background: #000000 !important;
  color: #ffffff !important;
  border: 4px solid #ffffff !important;
  box-shadow: 0 0 0 4px #000000, 0 0 0 8px #ffffff !important; 
  border-radius: 0px !important; 
  image-rendering: pixelated;
}

.nav-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 4px 10px;
  display: flex;
  gap: 4px;
  border: 3px solid #ffffff !important;
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #ffffff !important;
}
.nav-link {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 12px;
}
.nav-link:hover {
  color: #ffeb3b; 
  background: rgba(255, 255, 255, 0.15);
}

.wrapper {
  position: relative;
  z-index: 3;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.hero {
  min-height: auto;
  padding: 90px 0 16px; 
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: #ffffff;
  margin-bottom: 8px;
}

.hero-profile-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  margin-bottom: 8px;
}

.hero-text-block {
  flex-grow: 0; 
}

.hero-avatar-block {
  display: flex;
  align-items: center;
}

.gif-link {
  display: block;
  text-decoration: none;
  cursor: pointer; 
}

.hero-avatar {
  width: 150px; 
  height: auto;
  image-rendering: pixelated;
  display: block;
  margin-left: 25px; 
}

.hero-name {
  font-family: var(--font-pixel);
  font-size: clamp(20px, 4.5vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}
.hero-name .first { 
  color: #ffffff !important; 
  background: none !important;
  display: block; 
}

.hero-name .last { 
  display: block; 
  background: linear-gradient(135deg, #ff1744 0%, #ff5252 50%, #ff8686 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 6px rgba(255, 23, 68, 0.8)) drop-shadow(0 0 12px rgba(255, 82, 82, 0.4)) !important;
}

.hero-subtitle {
  font-family: var(--font-retro);
  font-size: 24px;
  color: var(--muted);
}
.hero-subtitle span { color: #ffffff; }

.hero-badges {
  display: flex;
  margin-top: 12px;
  gap: 10px;
}
.badge {
  font-family: var(--font-pixel);
  font-size: 10px;
  padding: 6px 14px;
  background: #000000;
  color: #ffffff;
  border: 3px solid #ffffff !important;
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #ffffff !important;
}

.secret-link {
  color: inherit;
  text-decoration: none;
  cursor: text; 
}

.divider {
  height: 4px;
  background: #ffffff;
  margin: 20px 0;
}

.section { margin-bottom: 32px; } 

.section-label {
  font-family: var(--font-pixel);
  font-size: 11px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 4px;
  background: #ffffff;
}

.about-card {
  padding: 20px;
  font-size: 24px;
}
.dialogue-text {
  display: flex;
  flex-direction: column;
}
.compact-text p {
  margin-top: 0;
  margin-bottom: 8px;
}
.compact-text p:last-child {
  margin-bottom: 2px;
}
.quote-author {
  display: block;
  text-align: right;
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 10px;
  margin-top: 4px;
}

.course-list { display: flex; flex-direction: column; gap: 20px; }

.course-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  text-decoration: none;
}
.course-item:hover {
  border-color: #ffeb3b !important;
}
.course-item:hover .course-arrow {
  color: #ffeb3b;
}

.course-info { flex: 1; }
.course-name {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: #ffffff;
  margin-bottom: 2px;
}
.course-prof {
  font-family: var(--font-retro);
  font-size: 17px;
  color: var(--muted);
}
.course-arrow { 
  color: #ffffff; 
  font-family: var(--font-pixel); 
  font-size: 12px; 
}

a.course-item, .prof-link {
  text-decoration: none !important;
  color: inherit !important;
}

.prof-link {
  cursor: pointer;
}

.prof-link:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  text-decoration: none;
  font-family: var(--font-pixel);
  font-size: 11px;
}
.contact-link:hover {
  border-color: var(--determination-red) !important;
}
.contact-link .contact-icon {
  color: var(--determination-red); 
  font-size: 16px;
  transition: transform 0.1s;
}
.contact-link:hover .contact-icon {
  transform: scale(1.2);
}
.contact-label {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: #ffeb3b; 
  margin-bottom: 4px;
}

.footer {
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 9px;
  color: #666666;
  padding-top: 16px;
  margin-top: 32px;
  border-top: 4px solid #ffffff;
}
.footer span { color: #ffffff; }

@media (max-width: 600px) {
  .nav-bar  { padding: 4px; width: 92%; }
  .nav-link { font-size: 8px; padding: 4px 6px; }
  .hero     { padding: 90px 0 12px; }
  .hero-profile-container { gap: 8px; flex-direction: column; align-items: flex-start; }
  .hero-avatar { width: 110px; margin-left: 0; margin-top: 10px; } 
  .about-card { font-size: 20px; }
}