body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0f0f1e;
    font-family: 'Arial', sans-serif;
    color: #fff;
  }
  
  #canvas-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  #content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    text-align: center;
    opacity: 1;
    transition: opacity 1s ease;
  }
  
  h1 {
    font-size: 4rem;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s ease-out;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    color: #ff14b5;
    -webkit-text-stroke: 2px black;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s ease-out;
    transition-delay: 0.5s;
    color: #ff14b5;
    -webkit-text-stroke: 1.5px black;
  }
  
  .btn {
    margin-top: 40px;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #ff14b5;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s ease-out;
    transition-delay: 1s;
    -webkit-text-fill-color: #ff14b5;
    -webkit-text-stroke: .25px black;
    outline: 1px black;
  }
  
  .btn:hover {
    background: rgb(57, 57, 57);
    color: #0f0f1e;
  }
  
  .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    z-index: 3;
  }
  
  @keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  .fade-out {
    animation: fadeOut 1s forwards;
  }
  
  /* Added CSS for visibility */
  .visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  /* Back button styling */
  #back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    z-index: 10;
  }
  
  /* Planet content styling */
  #planet-content {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    color: white;
    z-index: 10;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  /* Enhanced styling for planet content */
  #planet-content h2 {
    color: #ff14b5;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 20, 181, 0.5);
    -webkit-text-stroke: 1px black;
    opacity: 1;
    transform: none;
  }
  
  #planet-content h3 {
    color: #ff14b5;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(255, 20, 181, 0.5);
    padding-bottom: 5px;
  }
  
  #planet-content p {
    margin-bottom: 10px;
    line-height: 1.6;
  }
  
  #planet-content .contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  /* Social link button styling */
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid #ff14b5;
    color: #ff14b5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
  }
  
  .social-link:hover {
    background-color: rgba(255,20,181,0.2);
    transform: scale(1.05);
  }
  
  .social-link img {
    width: 20px;
    height: 20px;
    background-color: #ff14b5;
    border-radius: 50%;
  }
  
  #explore-project {
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
  }
  
  #explore-project:hover {
    background: rgba(255,255,255,0.4);
  }
  
  #hover-content {
    position: fixed;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ff14b5;
    border-radius: 12px;
    padding: 20px;
    max-width: 300px;
    color: white;
    font-family: 'Arial', sans-serif;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(255, 20, 181, 0.3),
                inset 0 0 20px rgba(255, 20, 181, 0.2);
    pointer-events: none;
    transition: opacity 0.2s ease;
    user-select: none;
    transform: translateZ(0);
    will-change: transform;
    animation: glowPulse 2s infinite;
  }
  
  @keyframes glowPulse {
    0% { box-shadow: 0 0 30px rgba(255, 20, 181, 0.3); }
    50% { box-shadow: 0 0 50px rgba(255, 20, 181, 0.5); }
    100% { box-shadow: 0 0 30px rgba(255, 20, 181, 0.3); }
  }
  
  .hover-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 12px;
    color: #ff14b5;
    text-shadow: 0 0 10px rgba(255, 20, 181, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .hover-description {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  
  .hover-hint {
    font-size: 0.9em;
    color: #ff14b5;
    font-style: italic;
    text-align: center;
    margin-top: 12px;
    text-shadow: 0 0 8px rgba(255, 20, 181, 0.5);
    animation: hintPulse 1.5s infinite;
  }
  
  @keyframes hintPulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
  }
  
  #spot-content {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 300px;
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.2s ease;
    box-shadow: 0 0 30px rgba(255, 20, 181, 0.3),
                inset 0 0 20px rgba(255, 20, 181, 0.2);
    border: 2px solid #ff14b5;
    backdrop-filter: blur(10px);
    animation: glowPulse 2s infinite;
  }
  
  #spot-content h3 {
    margin: 0 0 12px 0;
    color: #ff14b5;
    font-size: 1.4em;
    text-shadow: 0 0 10px rgba(255, 20, 181, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  #spot-content p {
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  
  @keyframes glowPulse {
    0% { box-shadow: 0 0 30px rgba(255, 20, 181, 0.3); }
    50% { box-shadow: 0 0 50px rgba(255, 20, 181, 0.5); }
    100% { box-shadow: 0 0 30px rgba(255, 20, 181, 0.3); }
  }
  
  .interactive-spots-info {
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.9em;
    color: #ccc;
  }
  
  #profile-image-container {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, #ff14b5, #ff69b4);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s ease-out;
    box-shadow: 0 0 20px rgba(255, 20, 181, 0.5);
    display: block;
    position: relative;
    z-index: 3;
  }
  
  #profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0f0f1e;
    transition: all 0.3s ease;
  }
  
  #profile-image-container.visible {
    opacity: 1;
    transform: translateY(0);
  }