/* Liquid Crystal Notch */
.dynamic-island {
    position: fixed;
    bottom: 5%;
    left: 90%;
    transform: translateX(-50%);
    min-width: 180px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1) !important; 
    backdrop-filter: blur(12px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 40px rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    cursor: pointer;
    padding: 15px 25px 10px 25px;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transition: width 0.5s ease, height 0.5s ease, transform 0.6s ease, bottom 0.6s ease, opacity 0.6s ease;
  }
  
  /* Shimmer effect */
  .dynamic-island::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.1) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    opacity: 0;
    border-radius: 50px;
  }
  .dynamic-island.shine::before {
    animation: shineSweep 1s ease forwards;
  }
  @keyframes shineSweep {
    0% { left: -60%; opacity: 0; }
    20% { opacity: 0.3; }
    80% { left: 100%; opacity: 0.3; }
    100% { left: 100%; opacity: 0; }
  }
  
  /* Notch Header */
  .island-header {
    z-index: 2;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s ease;
  }
  
  /* When hover/expanded, move header to top */
  .dynamic-island:hover .island-header {
    top: 15px;
    transform: translateY(0);
  }
  
  /* Hover expand menu */
  .dynamic-island:hover {
    height: 330px;
  }
  .menu-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .dynamic-island:hover .menu-buttons {
    opacity: 1;
  }
  .menu-buttons button {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  .menu-buttons button:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
  }