@font-face {
  font-family: 'Press Start 2P';
  src: url('stuff/press-start-2p.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Press Start 2P', cursive;
  margin: 0;
  padding: 0;
  color: white;
  text-shadow: 2px 2px 4px #000;
  background-color: #000;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.content-wrapper {
  max-width: 900px;
  width: 95%;
  padding: 50px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 5px dashed #00ffff;
  text-align: center;
  margin: 40px auto;
  animation: floating 4s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
  transition: filter 0.5s ease;
}

body.modal-open .content-wrapper {
  filter: blur(8px) brightness(0.5);
}

.hobbies button.pink-style {
  color: #ff69b4;
  border-color: #ff69b4;
  text-shadow: 0 0 10px #ff69b4;
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.2);
}

.hobbies button.pink-style a {
  color: #ff69b4 !important;
}

.hobbies button.pink-style:hover {
  background-color: #ff69b4;
  box-shadow: 0 0 20px #ff69b4, 0 0 40px #ff69b4;
}

.hobbies button.pink-style:hover a {
  color: #000 !important;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.modal-content {
  background: rgba(20, 20, 20, 0.95);
  padding: 40px;
  border-radius: 40px;
  border: 4px solid #00ffff;
  text-align: center;
  max-width: 625px;
  width: 90%;
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content video {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 25px;
  border: 3px solid #ff69b4;
}

.modal-btn {
  background: #ff69b4;
  color: white;
  border: none;
  padding: 15px 30px;
  font-family: 'Press Start 2P', cursive;
  font-size: 14px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 15px #ff69b4;
  margin-top: 10px;
}

.modal-btn:hover {
  background: #ff1493;
  transform: scale(1.1);
  box-shadow: 0 0 25px #ff1493;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal-overlay.hidden .modal-content {
  transform: scale(0.8);
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

img.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #ff69b4;
  box-shadow: 0 0 25px #ff69b4;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

img.profile-pic:hover {
  transform: scale(1.15) rotate(7deg);
}

h1 {
  margin-top: 25px;
  font-size: 2em;
  color: #ffb6c1;
  letter-spacing: 2px;
}

p {
  font-size: 16px;
  line-height: 1.8;
}

a {
  text-decoration: none !important;
  color: #ff69b4 !important;
  transition: 0.3s;
}

a.highlight-name {
  color: #00ffff !important;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
  font-weight: bold;
}

a:hover {
  color: #ff1493 !important;
  text-shadow: 0 0 15px #ff1493;
}

.quote {
  font-style: italic;
  margin: 25px 0;
  color: #ff69b4;
  font-size: 0.9em;
}

.hobbies {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.hobbies h2 {
  width: 100%;
  margin-bottom: 20px;
}

.hobbies button {
  flex: 1 1 200px;
  max-width: 250px;
  margin: 0;
  padding: 15px;
  font-size: 12px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.4);
  color: #00ffff;
  border: 3px solid #00ffff;
  border-radius: 20px;
  font-family: 'Press Start 2P', cursive;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-shadow: 0 0 10px #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.hobbies button a {
  color: #00ffff !important;
  width: 100%;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: bold;
}

.hobbies button:hover {
  background-color: #00ffff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
}

.hobbies button:hover a {
  color: #000 !important;
  text-shadow: none;
}

.map-container {
  margin: 30px auto;
  width: 100%;
  height: 450px;
  border-radius: 30px;
  overflow: hidden;
  border: 4px solid #ff69b4;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.floating-stuff {
  position: fixed;
  pointer-events: none;
  z-index: 10;
  width: 155px;
  height: 155px;
  object-fit: contain;
  animation: fall ease-in-out infinite;
}

@keyframes fall {
  from { transform: translateY(-140vh) rotate(-15deg); }
  to { transform: translateY(140vh) rotate(15deg); }
}