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

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

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease-out;
  overflow: hidden;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #333;
  border-top: 4px solid #f8bbd9;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #f8bbd9;
  margin: 0 0 20px 0;
}

.loading-progress {
  width: 200px;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f8bbd9, #ff69b4);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.progress-text {
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
  color: #f8bbd9;
  text-align: center;
  font-weight: 500;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #ffb6c1, #e6e6fa, #add8e6);
  color: #333;
  overflow-x: hidden;
  height: 100vh;
  margin: 0;
  padding: 0;
  /* Performance optimizations */
  will-change: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Prevent scrolling when loading screen is present */
body.loading {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

/* Audio Player */
.audio-player {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px;
  z-index: 1000;
  min-width: 300px;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.control-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
}

#volume {
  width: 80px;
}

.track-info {
  margin-bottom: 10px;
}

.track-title {
  font-weight: bold;
  font-size: 14px;
}

.track-artist {
  font-size: 12px;
  opacity: 0.8;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: white;
  width: 0%;
  transition: width 0.1s;
}

.time-display {
  font-size: 12px;
  opacity: 0.8;
  white-space: nowrap;
}

/* Contact Links */
.contact-links {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}

.contact-label {
  font-size: 14px;
  opacity: 0.8;
}

.contact-link {
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-link:hover {
  opacity: 0.7;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 3D Room Container */
.room-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#room-canvas {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  /* Performance optimizations for 3D canvas */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
}

.room-reflection {
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.2) 100%
  );
  transform: scaleY(-1);
  pointer-events: none;
  z-index: 1;
}

/* Modal Navigation - Always hidden */
.modal {
  position: fixed;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 30px;
  z-index: 1000;
  border: 2px solid rgba(255, 182, 193, 0.5);
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.3);
  display: none !important; /* Always hidden */
}

.modal-content {
  text-align: center;
}

.name-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

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

.nav-link {
  color: #ff69b4;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 15px;
  transition: all 0.3s;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  background: rgba(255, 182, 193, 0.1);
}

.nav-link:hover {
  background: rgba(255, 105, 180, 0.2);
  transform: translateX(5px) scale(1.05);
  color: #ff1493;
}

/* Content Sections */
.content-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.content-section.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
  animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
  }
}

.section-content h2 {
  font-size: 36px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-content p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal {
    right: 10px;
    left: 10px;
    padding: 15px;
  }

  .name-title {
    font-size: 2rem;
  }

  .navigation {
    flex-direction: column;
    gap: 15px;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 20px;
  }

  .audio-player {
    min-width: 250px;
  }

  .contact-links {
    right: 10px;
    gap: 10px;
  }

  .contact-label {
    display: none;
  }
}

/* Animation for modal entrance */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.modal {
  animation: slideIn 0.5s ease-out;
}

/* Cute Font */
* {
  font-family: "Fredoka", cursive;
  transition: all 0.3s ease;
}

/* Music Player - Top Left */
.music-player {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 3000;
  min-width: 280px;
  max-width: 320px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 182, 193, 0.3);
}

.music-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
  border-radius: 13px 13px 0 0;
  cursor: pointer;
}

.music-icon {
  font-size: 20px;
  margin-right: 8px;
}

.music-title {
  flex: 1;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.music-toggle {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ff69b4;
  font-size: 12px;
  transition: all 0.3s ease;
}

.music-toggle:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.music-content {
  padding: 16px;
  display: none;
}

.music-content.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.track-info {
  text-align: center;
  margin-bottom: 16px;
}

.track-title {
  font-weight: 600;
  color: #333;
  font-size: 16px;
  margin-bottom: 4px;
}

.track-artist {
  color: #666;
  font-size: 12px;
}

.music-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.control-btn {
  background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
}

.control-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 182, 193, 0.5);
}

.control-btn:active {
  transform: scale(0.95);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.volume-control i {
  color: #ff69b4;
  font-size: 14px;
}

.volume-control input[type="range"] {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #ffb6c1;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff69b4;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-container {
  margin-top: 8px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #ffb6c1;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #ff69b4, #ff1493);
  width: 0%;
  transition: width 0.1s ease;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #666;
}

/* Spotify Integration Styles */
.spotify-login {
  text-align: center;
  padding: 20px;
}

/* Clean up Spotify embed iframe */
#spotify-default-embed,
#spotify-embed {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
}

/* Ensure embed is visible when music content is shown */
.music-content.show #spotify-default-embed,
.music-content.show #spotify-embed {
  display: block !important;
  visibility: visible !important;
}

/* General iframe cleanup */
iframe {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.login-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.spotify-login p {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}

.spotify-btn {
  background: #1db954;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.spotify-btn:hover {
  background: #1ed760;
  transform: scale(1.05);
}

.spotify-btn i {
  font-size: 16px;
}

.search-container {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 36px; /* Ensure consistent height */
}

.search-container input {
  flex: 1;
  padding: 8px 12px;
  border: 2px solid #ffb6c1;
  border-radius: 20px;
  outline: none;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.search-container input:focus {
  border-color: #ff69b4;
}

.search-btn {
  background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-btn:hover {
  transform: scale(1.1);
}

.track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.album-art {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-placeholder {
  font-size: 20px;
}

.track-details {
  flex: 1;
  min-width: 0;
}

.track-title {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  color: #666;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-results {
  margin-top: 16px;
  max-height: 200px;
  overflow-y: auto;
}

.search-results h4 {
  color: #333;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 600;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(255, 182, 193, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.result-item:hover {
  background: rgba(255, 182, 193, 0.2);
  transform: translateX(2px);
}

.result-item img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.result-info {
  flex: 1;
  min-width: 0;
}

.result-title {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-artist {
  font-size: 10px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.play-preview {
  background: #1db954;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 10px;
  transition: all 0.3s ease;
}

.play-preview:hover {
  background: #1ed760;
  transform: scale(1.1);
}

/* Error and Loading Messages */
.loading-message,
.error-message {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 12px;
}

.error-message {
  color: #e74c3c;
}

.error-message i {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.error-message p {
  margin: 8px 0;
  line-height: 1.4;
}

.retry-btn {
  background: #ff69b4;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.retry-btn:hover {
  background: #ff1493;
  transform: translateY(-1px);
}

/* Whitelist Message */
.whitelist-message {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 12px;
  margin-bottom: 16px; /* Match search container margin */
  min-height: 36px; /* Match search container height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.whitelist-message i {
  font-size: 32px;
  color: #ff69b4;
  margin-bottom: 12px;
  display: block;
}

.whitelist-message h4 {
  color: #333;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.whitelist-message p {
  margin: 6px 0;
  line-height: 1.4;
}

.whitelist-message a {
  color: #ff69b4;
  text-decoration: none;
  font-weight: 600;
}

.whitelist-message a:hover {
  color: #ff1493;
  text-decoration: underline;
}

.logout-btn {
  background: #ff69b4;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logout-btn:hover {
  background: #ff1493;
  transform: translateY(-1px);
}

.logout-btn i {
  font-size: 10px;
}

/* Music Player Responsive */
@media (max-width: 768px) {
  .music-player {
    top: 10px;
    left: 10px;
    min-width: 250px;
    max-width: 280px;
  }

  .music-header {
    padding: 10px 12px;
  }

  .music-title {
    font-size: 12px;
  }

  .music-toggle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .music-content {
    max-height: 70vh;
    overflow-y: auto;
    padding: 12px;
  }

  /* Better Spotify embed styling on mobile */
  #spotify-default-embed,
  #spotify-embed {
    width: 100% !important;
    max-width: 100% !important;
    height: 152px !important;
    border-radius: 8px !important;
    margin: 8px 0 !important;
  }
}

@media (max-width: 480px) {
  .music-player {
    top: 5px;
    left: 5px;
    min-width: 220px;
    max-width: 250px;
  }

  .music-header {
    padding: 8px 10px;
  }

  .music-title {
    font-size: 11px;
  }

  .music-toggle {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .music-content {
    padding: 10px;
  }

  /* Even better Spotify embed styling on very small screens */
  #spotify-default-embed,
  #spotify-embed {
    width: 100% !important;
    max-width: 100% !important;
    height: 140px !important;
    border-radius: 6px !important;
    margin: 6px 0 !important;
  }
}

/* Additional mobile music player controls */
@media (max-width: 480px) {
  .control-btn {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .search-container input {
    font-size: 11px;
    padding: 6px 10px;
  }

  .album-art {
    width: 40px;
    height: 40px;
  }

  .track-title {
    font-size: 12px;
  }

  .track-artist {
    font-size: 10px;
  }
}

/* Scrapbook Style About Me Modal */
.scrapbook-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: pointer;
}

.close-instruction {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #666;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  z-index: 2001;
}

.scrapbook-content {
  background: #f5f5dc;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  width: 90%;
  max-width: 800px;
  height: 90%;
  max-height: 600px;
  border-radius: 15px;
  padding: 40px;
  position: relative;
  cursor: default;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section.active .scrapbook-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.scrapbook-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #8b4513;
  margin-bottom: 30px;
  font-family: "Arial", sans-serif;
}

.scrapbook-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 20px;
  height: 100%;
}

.profile-section {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.photo-frame {
  border: 8px solid #8b4513;
  border-radius: 15px;
  background: white;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.profile-photo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  overflow: hidden;
  border-radius: 8px;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.children-photo {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.art-photo {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  width: 100px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.cat-photo {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.concert-photo {
  grid-column: 2 / 3;
  grid-row: 4 / 5;
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.text-box {
  background: #f0f0f0;
  border-radius: 10px;
  padding: 15px;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: "Arial", sans-serif;
}

.intro-box {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  align-self: flex-start;
  margin-top: 20px;
}

.passion-box {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  align-self: flex-start;
  margin-top: 20px;
}

.thanks-box {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  align-self: flex-start;
  margin-top: 20px;
}

.text-box p {
  color: #8b4513;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

.star-decoration {
  position: absolute;
  font-size: 20px;
  color: #ffd700;
  z-index: 1;
}

.intro-box .star-decoration {
  top: -10px;
  right: -10px;
}

.thanks-box .star-decoration {
  top: -10px;
  left: -10px;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border-radius: 8px;
}

/* Responsive adjustments for scrapbook */
@media (max-width: 768px) {
  .scrapbook-content {
    width: 95%;
    height: 95%;
    padding: 20px;
  }

  .scrapbook-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .profile-section {
    grid-column: 1;
    flex-direction: column;
    align-items: center;
  }

  .children-photo,
  .art-photo,
  .cat-photo,
  .concert-photo {
    grid-column: 1;
  }

  .intro-box,
  .passion-box,
  .thanks-box {
    grid-column: 1;
  }
}

/* Desktop Style Projects Modal */
.desktop-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: pointer;
}

.desktop-window {
  background: #d3d3d3;
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  height: 80%;
  max-height: 600px;
  position: relative;
  cursor: default;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 8px solid #a0a0a0;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section.active .desktop-window {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.desktop-header {
  background: #666;
  color: white;
  padding: 12px 20px;
  border-radius: 12px 12px 0 0;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: bold;
}

.desktop-title {
  text-align: center;
}

.desktop-content {
  display: flex;
  height: calc(100% - 120px);
  background: #2c2c2c;
  overflow: hidden;
}

.desktop-sidebar {
  width: 120px;
  background: #404040;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  height: 20px;
  background: #666;
  border-radius: 4px;
  width: 100%;
}

.desktop-main {
  flex: 1;
  padding: 30px;
  background: #2c2c2c;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 182, 193, 0.5) transparent;
}

/* Custom scrollbar for webkit browsers */
.desktop-main::-webkit-scrollbar {
  width: 8px;
}

.desktop-main::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.desktop-main::-webkit-scrollbar-thumb {
  background: rgba(255, 182, 193, 0.5);
  border-radius: 4px;
}

.desktop-main::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 182, 193, 0.7);
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  align-items: start;
  padding: 30px 0 50px 0;
  max-width: 1000px;
  margin: 0 auto;
  min-height: fit-content;
}

.project-folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 25px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  max-width: 280px;
  margin: 0 auto;
}

.project-folder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 182, 193, 0.1),
    rgba(255, 192, 203, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.project-folder:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 182, 193, 0.3);
  border-color: rgba(255, 182, 193, 0.3);
}

.project-folder:hover::before {
  opacity: 1;
}

.project-folder:hover .folder-icon {
  transform: scale(1.1) rotateY(5deg);
  box-shadow: 0 15px 30px rgba(255, 182, 193, 0.4);
}

.project-folder:hover .project-description,
.project-folder:hover .project-tech {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255, 255, 255, 1);
}

.folder-icon {
  width: 100px;
  height: 80px;
  background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.folder-tab {
  position: absolute;
  top: -10px;
  left: 12px;
  width: 24px;
  height: 18px;
  background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
  border-radius: 6px 6px 0 0;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.folder-preview {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  border-radius: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

.folder-name {
  color: white;
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 8px;
  z-index: 1;
  position: relative;
}

.project-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 10px;
  opacity: 0.7;
  transform: translateY(0);
  transition: all 0.3s ease;
  z-index: 1;
  position: relative;
}

.project-tech {
  color: rgba(255, 182, 193, 0.9);
  font-size: 12px;
  text-align: center;
  font-weight: 500;
  opacity: 0.7;
  transform: translateY(0);
  transition: all 0.3s ease;
  z-index: 1;
  position: relative;
}

/* Project-specific preview styles */
.goldenbook-preview {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.triangle-preview {
  background: linear-gradient(135deg, #4a90e2, #357abd);
}

.leftover-preview {
  background: linear-gradient(135deg, #ff6b9d, #c44569);
}

.eco-calc-preview {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.compiler-preview {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.qoom-preview {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.portfolio-preview {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.more-preview {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Hackathon Winner Badge */
.hackathon-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
  font-size: 11px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
  z-index: 10;
  animation: badgeGlow 2s ease-in-out infinite alternate;
  border: 2px solid #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  transform: rotate(5deg);
  transition: all 0.3s ease;
}

.hackathon-badge:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

@keyframes badgeGlow {
  0% {
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
    transform: rotate(5deg) scale(1);
  }
  100% {
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.7);
    transform: rotate(5deg) scale(1.02);
  }
}

.desktop-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #a0a0a0;
  border-radius: 0 0 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.footer-icons {
  display: flex;
  gap: 8px;
}

.footer-right {
  display: flex;
  gap: 8px;
}

.footer-icon {
  width: 16px;
  height: 16px;
  background: #808080;
  border-radius: 2px;
}

/* Responsive adjustments for desktop modal */
@media (max-width: 1200px) {
  .folder-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
  }
}

@media (max-width: 900px) {
  .folder-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 600px;
  }

  .desktop-main {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .desktop-window {
    width: 95%;
    height: 90%;
  }

  .folder-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
    max-width: 500px;
  }

  .desktop-sidebar {
    width: 80px;
    padding: 15px 5px;
  }

  .desktop-main {
    padding: 20px;
  }

  .project-folder {
    min-height: 200px;
    padding: 20px 15px;
    max-width: 220px;
  }

  .folder-icon {
    width: 80px;
    height: 65px;
  }

  .folder-name {
    font-size: 16px;
  }

  .project-description {
    font-size: 12px;
  }

  .project-tech {
    font-size: 11px;
  }

  .project-icon {
    font-size: 26px;
  }

  .hackathon-badge {
    top: 12px;
    right: 12px;
    font-size: 10px;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .folder-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px 0;
    max-width: 300px;
  }

  .project-folder {
    min-height: 180px;
    padding: 18px 12px;
    max-width: 250px;
  }

  .folder-icon {
    width: 70px;
    height: 55px;
  }

  .folder-name {
    font-size: 15px;
  }

  .project-description {
    font-size: 11px;
  }

  .project-tech {
    font-size: 10px;
  }

  .project-icon {
    font-size: 22px;
  }

  .hackathon-badge {
    top: 10px;
    right: 10px;
    font-size: 9px;
    padding: 4px 8px;
  }
}

/* Resume Style Work Experience Modal */
.resume-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: pointer;
}

.resume-content {
  background: white;
  width: 90%;
  max-width: 800px;
  height: 90%;
  max-height: 700px;
  border-radius: 10px;
  padding: 40px;
  position: relative;
  cursor: default;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.resume-header {
  text-align: center;
  margin-bottom: 30px;
}

.resume-name {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.resume-location {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}

.contact-item i {
  color: #666;
  width: 16px;
}

.resume-section {
  margin-bottom: 30px;
}

.section-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
}

.education-item,
.experience-item,
.project-item {
  margin-bottom: 20px;
}

.education-header,
.experience-header,
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.institution,
.company,
.project-name {
  font-weight: bold;
  color: #000;
  font-size: 16px;
}

.date {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}

.degree {
  color: #333;
  font-size: 14px;
  margin-bottom: 10px;
}

.tech-stack {
  color: #666;
  font-size: 14px;
  font-style: italic;
}

.involvements,
.awards {
  margin-bottom: 10px;
}

.involvements strong,
.awards strong {
  color: #000;
  font-size: 14px;
}

.involvements ul,
.awards ul,
.responsibilities,
.project-description {
  margin: 5px 0 0 20px;
  padding: 0;
}

.involvements li,
.awards li,
.responsibilities li,
.project-description li {
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 3px;
}

.responsibilities li,
.project-description li {
  margin-bottom: 5px;
}

.resume-footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #8b4513;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #a0522d;
  color: white;
}

.download-btn i {
  font-size: 16px;
}

/* Responsive adjustments for resume modal */
@media (max-width: 768px) {
  .resume-content {
    width: 95%;
    height: 95%;
    padding: 20px;
  }

  .resume-name {
    font-size: 24px;
  }

  .contact-info {
    gap: 15px;
  }

  .contact-item {
    font-size: 12px;
  }

  .education-header,
  .experience-header,
  .project-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .date {
    white-space: normal;
  }
}

/* Briefcase Experience Modal - Cute & Playful Design */
.briefcase-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: pointer;
}

.briefcase-container {
  position: relative;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  animation: briefcaseAppear 0.8s ease-out forwards;
}

.content-section.active .briefcase-container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

@keyframes briefcaseAppear {
  0% {
    transform: translateY(50px) scale(0.8) rotateX(20deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-10px) scale(1.02) rotateX(-5deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
  }
}

/* Briefcase Handle */
.briefcase-handle {
  width: 80px;
  height: 20px;
  background: linear-gradient(145deg, #8b4513, #a0522d);
  border-radius: 10px 10px 0 0;
  margin: 0 auto 0;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  animation: handleSwing 2s ease-in-out infinite;
}

@keyframes handleSwing {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.briefcase-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 8px;
  background: linear-gradient(90deg, #654321, #8b4513);
  border-radius: 4px;
}

/* Briefcase Body */
.briefcase-body {
  width: 90vw;
  max-width: 1000px;
  height: 80vh;
  max-height: 800px;
  background: #f5f5dc;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 25px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: briefcaseOpen 1.2s ease-out 0.3s forwards;
  transform-origin: top center;
  border: 3px solid #ffb6c1;
}

@keyframes briefcaseOpen {
  0% {
    transform: perspective(1000px) rotateX(90deg);
  }
  100% {
    transform: perspective(1000px) rotateX(0deg);
  }
}

/* Briefcase Lock */
.briefcase-lock {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 10;
  animation: lockGlow 3s ease-in-out infinite;
}

@keyframes lockGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
  }
}

.lock-circle {
  width: 20px;
  height: 20px;
  background: linear-gradient(145deg, #ffd700, #ffa500);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lock-line {
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffa500);
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Briefcase Content */
.briefcase-content {
  padding: 40px;
  height: 100%;
  overflow-y: auto;
  background: #f5f5dc;
  animation: contentReveal 1s ease-out 1s forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes contentReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Experience Header */
.experience-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.header-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.experience-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff6b9d;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(255, 107, 157, 0.3);
  font-family: "Fredoka", sans-serif;
}

.experience-subtitle {
  font-size: 1.2rem;
  color: #8b4513;
  margin-bottom: 30px;
  font-weight: 500;
  font-family: "Fredoka", sans-serif;
}

.experience-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-badge {
  background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
  color: #8b4513;
  padding: 15px 25px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: statFloat 3s ease-in-out infinite;
  border: 2px solid white;
  font-family: "Fredoka", sans-serif;
}

.stat-badge:nth-child(2) {
  animation-delay: 0.5s;
}

.stat-badge:nth-child(3) {
  animation-delay: 1s;
}

@keyframes statFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.stat-badge:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 182, 193, 0.4);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Experience Cards */
.experience-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.experience-card {
  background: white;
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardSlideIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(-50px);
  border: 3px solid #ffb6c1;
}

.experience-card:nth-child(1) {
  animation-delay: 1.2s;
}
.experience-card:nth-child(2) {
  animation-delay: 1.4s;
}
.experience-card:nth-child(3) {
  animation-delay: 1.6s;
}
.experience-card:nth-child(4) {
  animation-delay: 1.8s;
}
.experience-card:nth-child(5) {
  animation-delay: 2s;
}

@keyframes cardSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ffb6c1, #ffc0cb, #ffb6c1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 25px 25px 0 0;
}

.experience-card:hover::before {
  transform: scaleX(1);
}

.experience-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 182, 193, 0.4);
  border-color: #ff69b4;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.company-logo {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.3);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  border: 3px solid white;
}

.company-logo:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 12px 25px rgba(255, 182, 193, 0.5);
}

.instagram-logo {
  background: linear-gradient(45deg, #ff6b9d, #ffc0cb);
}

.inkeep-logo {
  background: linear-gradient(45deg, #87ceeb, #98fb98);
}

.meta-logo {
  background: linear-gradient(45deg, #ffb6c1, #ffc0cb);
}

.nasdaq-logo {
  background: linear-gradient(45deg, #98fb98, #90ee90);
}

.nasa-logo {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
}

.scale-logo {
  background: linear-gradient(45deg, #87ceeb, #98fb98);
}

.company-info {
  flex: 1;
  min-width: 200px;
}

.company-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8b4513;
  margin-bottom: 5px;
  font-family: "Fredoka", sans-serif;
}

.job-title {
  font-size: 1.1rem;
  color: #ff6b9d;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: "Fredoka", sans-serif;
}

.company-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
  border: 2px solid white;
  font-family: "Fredoka", sans-serif;
}

.meta-badge {
  background: linear-gradient(45deg, #ffb6c1, #ffc0cb);
  color: #8b4513;
}

.yc-badge {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #8b4513;
}

.nasdaq-badge {
  background: linear-gradient(45deg, #98fb98, #90ee90);
  color: #2d5016;
}

.nasa-badge {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #8b4513;
}

.scale-badge {
  background: linear-gradient(45deg, #87ceeb, #98fb98);
  color: #2d5016;
}

.duration {
  text-align: right;
  flex-shrink: 0;
}

.duration-text {
  font-size: 0.9rem;
  color: #8b4513;
  font-weight: 600;
  background: #fff0f5;
  padding: 8px 16px;
  border-radius: 25px;
  border: 2px solid #ffb6c1;
  font-family: "Fredoka", sans-serif;
  box-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
}

/* Card Body */
.card-body {
  position: relative;
}

.achievement-highlights {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 150px;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.highlight-icon {
  font-size: 1.5rem;
}

.highlight-text {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
}

.highlight-label {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.achievement-description {
  margin-bottom: 25px;
}

.achievement-description p {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 1rem;
}

.achievement-description strong {
  color: #2c3e50;
  font-weight: 600;
}

.tech-stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tech-tag {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.tech-tag:hover {
  transform: translateY(-2px) scale(1.05);
}

/* Experience Footer */
.experience-footer {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.experience-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 20px;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-text h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.footer-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.footer-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.resume-download-btn,
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resume-download-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.contact-btn {
  background: white;
  color: #667eea;
  border: 2px solid white;
}

.resume-download-btn:hover,
.contact-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.resume-download-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.contact-btn:hover {
  background: #f8f9fa;
  color: #5a6fd8;
}

/* Fellowships Section */
.fellowships-section {
  margin: 60px 0 40px 0;
}

.research-section {
  margin: 60px 0 120px 0;
}

.leadership-section {
  margin: 60px 0 40px 0;
}

.section-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.fellowship-cards,
.research-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.fellowship-card,
.research-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  padding-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardSlideIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(-50px);
  width: 100%;
}

.fellowship-card:nth-child(1) {
  animation-delay: 2.2s;
}
.research-card:nth-child(1) {
  animation-delay: 2.4s;
}
.research-card:nth-child(2) {
  animation-delay: 2.6s;
}
.research-card:nth-child(3) {
  animation-delay: 2.8s;
}
.research-card:nth-child(4) {
  animation-delay: 3s;
}
.research-card:nth-child(5) {
  animation-delay: 3.2s;
}

.fellowship-card::before,
.research-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.fellowship-card:hover::before,
.research-card:hover::before {
  transform: scaleX(1);
}

.fellowship-card:hover,
.research-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(102, 126, 234, 0.2);
}

.fellowship-header,
.research-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.fellowship-logo,
.research-logo {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.fellowship-logo:hover,
.research-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.jane-street-logo {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.mit-lab-logo {
  background: linear-gradient(45deg, #a31f34, #c41e3a);
}

.neuroscience-logo {
  background: linear-gradient(45deg, #6a4c93, #9b59b6);
}

.medical-logo {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.protein-logo {
  background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.cardiovascular-logo {
  background: linear-gradient(45deg, #e91e63, #f06292);
}

.fellowship-info,
.research-info {
  flex: 1;
  min-width: 200px;
}

.fellowship-name,
.research-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

.fellowship-title,
.research-title {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 10px;
  font-weight: 500;
}

.fellowship-badge,
.research-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jane-street-badge {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
}

.mit-badge {
  background: linear-gradient(45deg, #a31f34, #c41e3a);
  color: white;
}

.neuroscience-badge {
  background: linear-gradient(45deg, #6a4c93, #9b59b6);
  color: white;
}

.medical-badge {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  color: white;
}

.protein-badge {
  background: linear-gradient(45deg, #27ae60, #2ecc71);
  color: white;
}

.cardiovascular-badge {
  background: linear-gradient(45deg, #e91e63, #f06292);
  color: white;
}

.google-cssi-logo {
  background: linear-gradient(45deg, #4285f4, #34a853);
}

.google-mentorship-logo {
  background: linear-gradient(45deg, #ea4335, #fbbc05);
}

.google-badge {
  background: linear-gradient(45deg, #4285f4, #34a853);
  color: white;
}

.fellowship-duration,
.research-duration {
  text-align: right;
  flex-shrink: 0;
}

.fellowship-body,
.research-body {
  position: relative;
}

/* Leadership Section */
.leadership-section {
  margin: 60px 0 40px 0;
}

.leadership-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.leadership-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  padding-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardSlideIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(-50px);
  width: 100%;
}

.leadership-card:nth-child(1) {
  animation-delay: 3.4s;
}
.leadership-card:nth-child(2) {
  animation-delay: 3.6s;
}
.leadership-card:nth-child(3) {
  animation-delay: 3.8s;
}
.leadership-card:nth-child(4) {
  animation-delay: 4s;
}

.leadership-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.leadership-card:hover::before {
  transform: scaleX(1);
}

.leadership-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(102, 126, 234, 0.2);
}

.leadership-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.leadership-logo {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.leadership-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.house-logo {
  background: linear-gradient(45deg, #8b4513, #a0522d);
}

.county-logo {
  background: linear-gradient(45deg, #2e86ab, #a23b72);
}

.eecs-logo {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

.hackmit-logo {
  background: linear-gradient(45deg, #667eea, #764ba2);
}

.leadership-info {
  flex: 1;
  min-width: 200px;
}

.leadership-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

.leadership-title {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 10px;
  font-weight: 500;
}

.leadership-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.house-badge {
  background: linear-gradient(45deg, #8b4513, #a0522d);
  color: white;
}

.county-badge {
  background: linear-gradient(45deg, #2e86ab, #a23b72);
  color: white;
}

.eecs-badge {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: white;
}

.hackmit-badge {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.leadership-duration {
  text-align: right;
  flex-shrink: 0;
}

.leadership-body {
  position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
  .briefcase-body {
    width: 95vw;
    height: 90vh;
  }

  .briefcase-content {
    padding: 20px;
  }

  .experience-title {
    font-size: 2rem;
  }

  .experience-stats {
    gap: 15px;
  }

  .stat-badge {
    padding: 10px 15px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .duration {
    text-align: left;
  }

  .achievement-highlights {
    flex-direction: column;
    gap: 15px;
  }

  .highlight-item {
    min-width: auto;
  }

  .footer-actions {
    flex-direction: column;
    align-items: center;
  }

  .resume-download-btn,
  .contact-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .briefcase-body {
    width: 98vw;
    height: 95vh;
  }

  .briefcase-content {
    padding: 15px;
  }

  .experience-title {
    font-size: 1.5rem;
  }

  .company-logo {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .company-name {
    font-size: 1.2rem;
  }

  .job-title {
    font-size: 1rem;
  }
}

/* Education Modal - Cute & Playful Design */
.education-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: pointer;
}

.education-content {
  background: #f5f5dc;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  width: 90%;
  max-width: 1000px;
  height: 90%;
  max-height: 700px;
  border-radius: 25px;
  padding: 40px;
  position: relative;
  cursor: default;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid #ffb6c1;
}

.content-section.active .education-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Education Header */
.education-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.header-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(255, 182, 193, 0.3));
}

.education-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff69b4;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(255, 105, 180, 0.3);
  font-family: "Fredoka", sans-serif;
}

/* Education Timeline */
.education-timeline {
  position: relative;
  margin-bottom: 40px;
}

.education-card {
  background: white;
  border-radius: 25px;
  padding: 0;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardSlideIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(-50px);
  border: 3px solid #ffb6c1;
}

.education-card:nth-child(1) {
  animation-delay: 0.2s;
}
.education-card:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes cardSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.education-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ffb6c1, #ffc0cb, #ffb6c1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 25px 25px 0 0;
}

.education-card:hover::before {
  transform: scaleX(1);
}

.education-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 182, 193, 0.4);
  border-color: #ff69b4;
}

/* Card Timeline */
.card-timeline {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #ffb6c1, #ffc0cb, #ffb6c1);
  z-index: 1;
  border-radius: 2px;
}

.timeline-dot {
  position: absolute;
  top: 40px;
  left: -10px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ffb6c1, #ff69b4);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(255, 182, 193, 0.4);
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.timeline-line {
  position: absolute;
  top: 60px;
  left: -1px;
  width: 5px;
  height: calc(100% - 60px);
  background: linear-gradient(180deg, #ffb6c1, #ffc0cb);
  z-index: 1;
  border-radius: 2px;
}

/* Card Content */
.card-content {
  margin-left: 80px;
  padding: 30px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.institution-logo {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.3);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  border: 3px solid white;
}

.institution-logo:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 12px 25px rgba(255, 182, 193, 0.5);
}

.mit-logo {
  background: linear-gradient(45deg, #ff6b9d, #ffc0cb);
}

.high-school-logo {
  background: linear-gradient(45deg, #87ceeb, #98fb98);
}

.institution-info {
  flex: 1;
  min-width: 200px;
}

.institution-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8b4513;
  margin-bottom: 5px;
  font-family: "Fredoka", sans-serif;
}

.degree {
  font-size: 1.1rem;
  color: #ff69b4;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: "Fredoka", sans-serif;
}

.gpa-badge,
.honors-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
  border: 2px solid white;
  font-family: "Fredoka", sans-serif;
}

.gpa-badge {
  background: linear-gradient(45deg, #ffb6c1, #ffc0cb);
  color: #8b4513;
}

.honors-badge {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #8b4513;
}

.gpa-number {
  font-size: 1.2rem;
  font-weight: 700;
}

.duration {
  text-align: right;
  flex-shrink: 0;
}

.duration-text {
  font-size: 0.9rem;
  color: #8b4513;
  font-weight: 600;
  background: #fff0f5;
  padding: 8px 16px;
  border-radius: 25px;
  border: 2px solid #ffb6c1;
  font-family: "Fredoka", sans-serif;
  box-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
}

/* Card Body */
.card-body {
  position: relative;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #8b4513;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Fredoka", sans-serif;
}

.achievements,
.relevant-courses {
  margin-bottom: 25px;
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff0f5, #ffe4e1);
  padding: 12px 16px;
  border-radius: 15px;
  border-left: 4px solid #ffb6c1;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 182, 193, 0.2);
}

.achievement-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 15px rgba(255, 182, 193, 0.3);
  background: linear-gradient(135deg, #ffe4e1, #ffb6c1);
}

.achievement-item i {
  color: #ff69b4;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.achievement-item span {
  color: #8b4513;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: "Fredoka", sans-serif;
}

.course-tags,
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-tag,
.skill-tag {
  background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
  color: #8b4513;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
  border: 2px solid white;
  font-family: "Fredoka", sans-serif;
}

.course-tag:hover,
.skill-tag:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 182, 193, 0.4);
}

/* Skills Section */
.skills-section {
  background: white;
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.3);
  margin-top: 20px;
  border: 3px solid #ffb6c1;
}

.skills-section .section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #ff69b4;
  font-family: "Fredoka", sans-serif;
  text-shadow: 0 2px 4px rgba(255, 105, 180, 0.3);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.skill-category {
  background: linear-gradient(135deg, #fff0f5, #ffe4e1);
  padding: 25px;
  border-radius: 20px;
  border-left: 4px solid #ffb6c1;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
  border: 2px solid #ffc0cb;
}

.skill-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(255, 182, 193, 0.3);
}

.category-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #8b4513;
  margin-bottom: 15px;
  text-align: center;
  font-family: "Fredoka", sans-serif;
}

/* Contact Card Styles */
.contact-card {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px solid #ffb6c1;
  border-radius: 15px;
  padding: 15px 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: default;
  box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 182, 193, 0.3);
  border-color: #ff69b4;
}

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: pointer;
}

.contact-content {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 182, 193, 0.2);
  min-width: 500px;
  max-width: 650px;
  cursor: default;
  display: flex;
  gap: 50px;
  align-items: center;
  position: relative;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid #ffb6c1;
  overflow: hidden;
}

.contact-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ffb6c1, #ffc0cb, #ffb6c1);
  border-radius: 25px 25px 0 0;
}

.content-section.active .contact-content {
  transform: translateY(0) scale(1);
  opacity: 1;
  animation: contactSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.contact-info {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.contact-name {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: 1px;
  font-family: "Fredoka", sans-serif;
  text-shadow: 0 2px 4px rgba(255, 107, 157, 0.3);
  animation: nameGlow 3s ease-in-out infinite alternate;
}

@keyframes nameGlow {
  0% {
    filter: drop-shadow(0 0 5px rgba(255, 107, 157, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(255, 107, 157, 0.5));
  }
}

.contact-title {
  font-size: 1.2rem;
  color: #6c757d;
  margin: 0;
  font-weight: 500;
  font-family: "Fredoka", sans-serif;
}

.contact-email {
  font-size: 1.1rem;
  color: #495057;
  margin: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: #ff6b9d;
}

.contact-email::before {
  content: "📧";
  font-size: 1.2rem;
}

.contact-website {
  font-size: 1.1rem;
  color: #495057;
  margin: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.contact-website:hover {
  color: #ff6b9d;
}

.contact-website::before {
  content: "🌐";
  font-size: 1.2rem;
}

.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
  color: #8b4513;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.3);
  border: 3px solid white;
  position: relative;
  overflow: hidden;
}

.contact-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.contact-icon:hover::before {
  left: 100%;
}

.contact-icon:hover {
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
  border-color: #ff69b4;
}

.contact-icon:nth-child(1) {
  animation: iconFloat 3s ease-in-out infinite;
}

.contact-icon:nth-child(2) {
  animation: iconFloat 3s ease-in-out infinite 0.5s;
}

.contact-icon:nth-child(3) {
  animation: iconFloat 3s ease-in-out infinite 1s;
}

.contact-icon:nth-child(4) {
  animation: iconFloat 3s ease-in-out infinite 1.5s;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.contact-label {
  color: #6c757d;
  font-size: 14px;
  margin-right: 10px;
  font-weight: 600;
  font-family: "Fredoka", sans-serif;
}

/* Add decorative elements to contact content */
.contact-content::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 182, 193, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

/* Add floating particles animation */
.contact-content {
  position: relative;
}

.contact-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ffb6c1, #ffc0cb, #ffb6c1);
  border-radius: 25px 25px 0 0;
  z-index: 3;
}

/* Contact Card Responsive */
@media (max-width: 768px) {
  .contact-card {
    top: 10px;
    right: 10px;
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 12px;
  }

  .contact-label {
    font-size: 12px;
    margin-right: 8px;
    display: none; /* Hide on mobile to save space */
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .contact-card {
    top: 5px;
    right: 5px;
    padding: 8px 12px;
    gap: 8px;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

/* Contact Modal Responsive */
@media (max-width: 768px) {
  .contact-content {
    min-width: 350px;
    max-width: 400px;
    padding: 30px;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin: 20px;
  }

  .contact-name {
    font-size: 2rem;
  }

  .contact-title {
    font-size: 1.1rem;
  }

  .contact-email,
  .contact-website {
    font-size: 1rem;
    justify-content: center;
  }

  .contact-icons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .contact-content {
    min-width: 300px;
    max-width: 350px;
    padding: 25px;
    gap: 25px;
    margin: 15px;
  }

  .contact-name {
    font-size: 1.8rem;
  }

  .contact-title {
    font-size: 1rem;
  }

  .contact-email,
  .contact-website {
    font-size: 0.9rem;
  }

  .contact-icons {
    gap: 15px;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

/* Responsive adjustments for education page */
@media (max-width: 768px) {
  .education-content {
    width: 95%;
    height: 95%;
    padding: 20px;
  }

  .education-title {
    font-size: 2rem;
  }

  .education-subtitle {
    font-size: 1rem;
  }

  .card-content {
    margin-left: 60px;
    padding: 20px;
  }

  .card-timeline {
    left: 20px;
  }

  .timeline-dot {
    left: -6px;
    width: 14px;
    height: 14px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .duration {
    text-align: left;
  }

  .achievement-list {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .education-content {
    width: 98%;
    height: 98%;
    padding: 15px;
  }

  .education-title {
    font-size: 1.5rem;
  }

  .card-content {
    margin-left: 50px;
    padding: 15px;
  }

  .card-timeline {
    left: 15px;
  }

  .institution-logo {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .institution-name {
    font-size: 1.2rem;
  }

  .degree {
    font-size: 1rem;
  }
}

/* Modern layout for About Me */
.modern-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.hero-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 20px;
}

.photo-container {
  position: relative;
  flex-shrink: 0;
}

.photo-frame {
  width: 250px;
  height: 250px;
  border: 6px solid #ff6b9d;
  border-radius: 20px;
  background: white;
  padding: 8px;
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(255, 107, 157, 0.4);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 20px;
  animation: sparkle 2s infinite;
}

.sparkle-1 {
  top: 20px;
  right: 20px;
  animation-delay: 0s;
}

.sparkle-2 {
  bottom: 30px;
  left: 15px;
  animation-delay: 0.7s;
}

.sparkle-3 {
  top: 50%;
  right: 10px;
  animation-delay: 1.4s;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.intro-content {
  flex: 1;
  padding: 20px 0;
}

.intro-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, #ff6b9d, #c44569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin: 0 0 25px 0;
  font-weight: 500;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #34495e;
}

.intro-text p {
  margin: 0 0 15px 0;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

.interests-section {
  margin: 30px 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 20px 0;
  text-align: center;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.interest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #ff6b9d;
}

.interest-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.interest-icon {
  font-size: 1.5rem;
}

.interest-item span {
  font-weight: 500;
  color: #2c3e50;
}

.fun-facts {
  margin: 30px 0;
}

.facts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
  transition: transform 0.3s ease;
}

.fact-item:hover {
  transform: translateY(-3px);
}

.fact-emoji {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.fact-item span:last-child {
  font-weight: 500;
  color: #2c3e50;
}

/* Responsive design for modern layout */
@media (max-width: 768px) {
  .scrapbook-content {
    width: 95%;
    height: 95%;
    padding: 15px;
    overflow-y: auto;
  }

  .scrapbook-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .modern-layout {
    gap: 20px;
    margin-top: 10px;
  }

  .hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .photo-frame {
    width: 180px;
    height: 180px;
  }

  .intro-name {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .intro-subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .intro-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
  }

  .stat-card {
    padding: 20px 15px;
  }

  .stat-icon {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .interests-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .interest-item {
    padding: 12px 15px;
  }

  .interest-icon {
    font-size: 1.3rem;
  }

  .facts-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fact-item {
    padding: 15px;
  }

  .fact-emoji {
    font-size: 1.5rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .scrapbook-content {
    width: 98%;
    height: 98%;
    padding: 10px;
  }

  .scrapbook-title {
    font-size: 20px;
  }

  .photo-frame {
    width: 150px;
    height: 150px;
  }

  .intro-name {
    font-size: 1.6rem;
  }

  .intro-subtitle {
    font-size: 0.9rem;
  }

  .intro-text {
    font-size: 0.9rem;
  }

  .stats-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 15px 12px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .interest-item {
    padding: 10px 12px;
  }

  .fact-item {
    padding: 12px;
  }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
  .nav-link {
    min-height: 44px; /* Apple's recommended touch target size */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-icon {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .music-toggle {
    min-height: 44px;
    min-width: 44px;
  }

  .stat-card,
  .interest-item,
  .fact-item {
    min-height: 44px;
  }
}

/* Prevent zoom on input focus */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="range"] {
    font-size: 16px;
  }
}

/* Collapsible Section Styles */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-title {
  margin: 0;
  text-align: left;
}

.collapse-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  flex-shrink: 0;
}

.collapse-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.collapse-btn i {
  transition: transform 0.3s ease;
}

.collapse-btn.collapsed i {
  transform: rotate(-90deg);
}

.section-content {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  max-height: 2000px;
  opacity: 1;
}

.section-content.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Responsive adjustments for collapsible sections */
/* Prevent scrolling on Spotify embeds */
iframe[src*="spotify"] {
  overflow: hidden !important;
  pointer-events: auto !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

/* Prevent scrolling on restricted access message */
#search-results {
  overflow: hidden !important;
  max-height: 100vh !important;
  position: relative !important;
}

.whitelist-message {
  overflow: hidden !important;
  position: relative !important;
}

/* Prevent all scrolling within the music modal */
#music-content {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: touch !important;
}

#music-content * {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* Prevent page scrolling when restricted interface is shown */
body.restricted-scroll-lock {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

html.restricted-scroll-lock {
  overflow: hidden !important;
}

/* Hide any overflow content that might appear when scrolling */
#spotify-default-embed,
#spotify-embed,
#default-embed {
  overflow: hidden !important;
  max-height: 152px !important;
}

/* Prevent any grey bottom from appearing */
iframe[src*="spotify"]::-webkit-scrollbar {
  display: none !important;
}

iframe[src*="spotify"] {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .collapse-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
