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

body {
  background-color: #0c1021;
  font-family: 'Inter', sans-serif;
  color: #f1f1f1;
  padding: 40px;
  cursor: none;
}

h1 {
  font-size: 40px;
  margin-bottom: 10px;
  text-align: center;
}

h2 {
  margin-top: 30px;
  font-size: 24px;
  border-bottom: 2px solid #2a3c6b;
  padding-bottom: 5px;
  color: #5bc0eb;
}

h3 {
  margin-top: 20px;
  color: #9fd3ff;
}

p {
  margin: 10px 0;
  line-height: 1.5;
}

.cursor {
  width: 8px;
  height: 8px;
  background-color: #5bc0eb;
}

.container {
  max-width: 960px;
  margin: auto;
  background: #141b2d;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.badge-container img {
  margin: 5px;
  transition: transform 0.2s ease-in-out;
}

.badge-container img:hover {
  transform: scale(1.05);
}

.project {
  background: #1a2238;
  padding: 20px;
  margin-top: 20px;
  border-left: 4px solid #5bc0eb;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.project:hover {
  background: #222d4e;
}

.project-img-link {
  display: inline-block;
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.project-img-link:hover {
  transform: scale(1.02);
  box-shadow: 0 0 18px rgba(91, 192, 235, 0.4);
}

.project-img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.img-placeholder {
  background: #34426e;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-radius: 8px;
  font-weight: bold;
  color: #ffffffaa;
/* cursor: pointer; */
  transition: background 0.3s ease, transform 0.2s ease;
}

.img-placeholder:hover {
  background: #3f4d7a;
  transform: scale(1.02);
}

.terminal-line {
  margin-bottom: 12px;
  white-space: pre;
}

.blinking-cursor::after {
  content: "_";
  animation: blink 1s step-start infinite;
}

.hidden-loader {
  opacity: 0;
  visibility: hidden;
}

.footer {
  margin-top: 40px;
  text-align: center;
}

.footer img {
  margin: 5px;
  transition: transform 0.2s ease-in-out;
}

.footer img:hover {
  transform: scale(1.1);
}

.fade-in {
  animation: fadeIn 1.5s ease-in-out;
}

.clickable {
  user-select: none;
}

.lang-block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.lang {
  background: #1a2238;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

.lang:hover {
  background: #2b3550;
}

.school {
  background: #192a49;
  border-left: 4px solid #7bdff2;
}

.school-logo {
  margin-top: 10px;
  width: 180px;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.school-logo:hover {
  transform: scale(1.05);
}

.cursor, .cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: #0c1021;
}

#terminal-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  color: #39ff14;
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  font-size: 18px;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
}

#skip-btn {
  margin-top: 30px;
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid #39ff14;
  color: #39ff14;
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
/*  cursor: pointer; */
  align-self: flex-start;
  transition: background 0.3s, color 0.3s;
}

#skip-btn:hover {
  background-color: #39ff1433;
  color: #ffffff;
}

#kv-bubble {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  background: #1a2238;
  color: #5bc0eb;
  padding: 10px 16px;
  font-size: 14px;
  font-family: 'Courier New', Courier, monospace;
  border: 1px solid #5bc0eb;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(91, 192, 235, 0.4);
  pointer-events: none;
  transition: top 0.05s linear, left 0.05s linear, opacity 0.3s;
  z-index: 1000;
  white-space: nowrap;
}

#kv-bubble.hide {
  opacity: 0;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes shine {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}