* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
  }
  
  body {
    background: #0a0a1a;
    color: #ff8800;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    flex-direction: column;
    background-color: #050523;
    color: #00f0ff;
  }
  
  #ui {
    text-align: center;
    width: 90%;
    max-width: 800px;
    /* Keeps the width consistent for larger screens */
  }
  
  #header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #ff4081;
    font-size: 1.2rem;
    width: 100%;
  }
  
  #beat-bar {
    flex: 1;
    height: 10px;
    background: #222;
    margin: 0 10px;
    border-radius: 5px;
    overflow: hidden;
  }
  
  #beat-fill {
    height: 100%;
    background: #00f0ff;
    width: 0%;
    transition: width 0.1s linear;
  }
  
  #game-title {
    font-size: 2.5rem;
    margin: 20px 0;
    color: #ff7733;
    letter-spacing: 3px;
  }
  
  #gameCanvas {
    border: 3px solid #0ff;
    background: #0d0d1a;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    border: 2px solid #ff36f0;
    box-shadow: 0 0 15px #ff36f0, inset 0 0 10px rgba(0, 240, 255, 0.5);
  }
  
  #controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 15px;
  }
  
  button {
    padding: 12px 30px;
    font-size: 1.1rem;
    border: 2px solid #ff4081;
    background: #1a1a2e;
    color: #ff7733;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: transparent;
    color: #00f0ff;
    border: 2px solid #00f0ff;
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    margin: 10px;
  }
  
  button:hover {
    background: #ff4081;
    color: #fff;
    transform: scale(1.05);
    background-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
  }
  
  /* Play Again Button */
  #playAgainBtn {
    background: #ff4081;
    color: #fff;
    display: none;
    /* Hidden initially */
    padding: 15px 32px;
    font-size: 1.2rem;
    border-radius: 10px;
    transition: all 0.2s ease;
  }
  
  #playAgainBtn:hover {
    background: #ff7733;
    color: #fff;
    transform: scale(1.05);
  }
  
  /* Final Score Display */
  #finalScore {
    font-size: 2rem;
    color: #ff4081;
    margin-top: 20px;
    display: none;
    /* Hidden initially */
  }
  
  #game-over-message {
    font-size: 1.5rem;
    color: #ff4081;
    margin-top: 10px;
    display: none;
    /* Hidden initially */
  }
  
  /* Rules container */
  #rules-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 26, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    overflow-y: auto;
    padding: 20px;
  }
  
  #rules-content {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #00f0ff;
    border-radius: 10px;
    padding: 30px;
    color: #00f0ff;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  }
  
  #rules-content h1 {
    color: #ff7733;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
  }
  
  #rules-content h2 {
    color: #ff4081;
    font-size: 1.5rem;
    margin: 20px 0 10px;
    border-bottom: 1px solid #ff4081;
    padding-bottom: 5px;
  }
  
  #rules-content p, #rules-content li {
    margin-bottom: 10px;
    line-height: 1.6;
  }
  
  #rules-content ul {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 15px;
  }
  
  #rules-content strong {
    color: #ffff00;
  }
  
  .pro-tip {
    background-color: rgba(255, 54, 240, 0.1);
    border-left: 3px solid #ff36f0;
    padding: 10px 15px;
    margin: 15px 0;
  }
  
  .power-up {
    display: flex;
    align-items: center;
    margin: 10px 0;
  }
  
  .power-up-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    border-radius: 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
  }
  
  .power-up-points {
    background-color: #ffff00;
    color: #000;
  }
  
  .power-up-shield {
    background-color: #0088ff;
    color: #fff;
  }
  
  .power-up-speed {
    background-color: #ff5500;
    color: #fff;
  }
  
  .warning-icon {
    color: #ffff00;
    font-weight: bold;
    font-size: 18px;
  }
  
  .footnote {
    margin-top: 40px;
    font-style: italic;
    color: #ff7733;
    text-align: center;
    font-size: 1.2rem;
  }
  
  /* Media queries for responsiveness */
  @media screen and (max-width: 1200px) {
    #game-title {
      font-size: 2rem;
      /* Adjust title size */
    }
  
    #header {
      font-size: 1rem;
      /* Reduce header font size */
    }
  
    #rules-content h1 {
      font-size: 1.8rem;
    }
  
    #rules-content h2 {
      font-size: 1.3rem;
    }
  }
  
  @media screen and (max-width: 900px) {
    #game-title {
      font-size: 1.5rem;
    }
  
    #beat-label,
    #score {
      font-size: 0.9rem;
      /* Make the beat label and score smaller */
    }
  
    #controls button {
      padding: 10px 20px;
      /* Slightly reduce button padding */
      font-size: 1rem;
      /* Reduce font size */
    }
  
    #ui {
      width: 95%;
    }
  
    #gameCanvas {
      width: 100%;
      height: auto;
    }
  
    #rules-content {
      padding: 20px;
    }
  
    #rules-content h1 {
      font-size: 1.5rem;
    }
  
    #rules-content h2 {
      font-size: 1.2rem;
    }
  }
  
  @media screen and (max-width: 600px) {
    body {
      flex-direction: column;
    }
  
    #header {
      flex-direction: column;
      /* Stack header items vertically */
      align-items: flex-start;
      /* Align to the left */
    }
  
    #game-title {
      font-size: 1.2rem;
      /* Adjust the title font for small screens */
    }
  
    #controls {
      flex-direction: column;
      /* Stack buttons vertically */
      align-items: center;
    }
  
    button {
      width: 100%;
      /* Buttons take full width */
      padding: 10px;
      font-size: 1rem;
    }
  
    #rules-content {
      padding: 15px;
    }
  
    #rules-content h1 {
      font-size: 1.3rem;
    }
  
    #rules-content h2 {
      font-size: 1.1rem;
    }
  
    .footnote {
      font-size: 1rem;
    }
  }
  
  .game-container {
    position: relative;
  margin: 20px auto;
    width: 800px;
    margin: 20px auto;
    width: 800px;
  }
  
  .ui-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #00f0ff;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 5px #00f0ff;
    z-index: 10;
  }
  
  .beat-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%); 
    width: 200px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
  }
  
  #playBtn, #playAgainBtn {
    color: #ff36f0;
    border-color: #ff36f0;
    box-shadow: 0 0 10px rgba(255, 54, 240, 0.5);
  }
  
  #playBtn:hover, #playAgainBtn:hover {
    background-color: rgba(255, 54, 240, 0.2);
    box-shadow: 0 0 20px rgba(255, 54, 240, 0.8);
  }
  
  /* Add a background hexagon pattern */
  .hex-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
      repeating-linear-gradient(0deg, transparent, transparent 20px, 
      rgba(0, 240, 255, 0.03) 20px, rgba(0, 240, 255, 0.03) 21px),
      repeating-linear-gradient(90deg, transparent, transparent 20px, 
      rgba(0, 240, 255, 0.03) 20px, rgba(0, 240, 255, 0.03) 21px);
  }
  
  /* Welcome Screen Styling */
  #welcome-screen {
    max-width: 600px;
    width: 90%;
    background-color: rgba(10, 10, 26, 0.9);
    border: 2px solid #00f0ff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
    margin-bottom: 30px;
  }
  
  .welcome-title {
    font-size: 3rem;
    color: #ff7733;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 119, 51, 0.7);
  }
  
  .welcome-logo {
    margin: 25px 0;
  }
  
  .logo-img {
    max-width: 200px;
    height: auto;
  }
  
  /* Welcome text styling */
  .welcome-text {
    color: #00f0ff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
  }
  
  /* Login incentive text */
  .login-incentive {
    color: #ff36f0;
    font-size: 0.9rem;
    margin-top: 20px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 54, 240, 0.5);
    padding: 10px;
    border-top: 1px solid rgba(255, 54, 240, 0.3);
  }
  
  .welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }
  
  .separator {
    position: relative;
    height: 1px;
    background: rgba(0, 240, 255, 0.3);
    margin: 10px 0;
  }
  
  .separator-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0a0a1a;
    padding: 0 15px;
    color: #00f0ff;
    font-size: 0.9rem;
  }
  
  .cyber-button {
    background-color: rgba(10, 10, 26, 0.8);
    border: 2px solid #ff36f0;
    color: #00f0ff;
    text-shadow: 0 0 5px #00f0ff;
    box-shadow: 0 0 10px rgba(255, 54, 240, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    padding: 15px 30px;
    font-size: 1.2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .cyber-button:hover {
    background-color: rgba(255, 54, 240, 0.2);
    box-shadow: 0 0 15px rgba(255, 54, 240, 0.8);
    transform: scale(1.05);
  }
  
  .orange-button {
    border-color: #ff7733;
    color: #ff7733;
    text-shadow: 0 0 5px #ff7733;
    box-shadow: 0 0 10px rgba(255, 119, 51, 0.5);
  }
  
  .orange-button:hover {
    background-color: rgba(255, 119, 51, 0.2);
    box-shadow: 0 0 15px rgba(255, 119, 51, 0.8);
  }
  
  /* ----------------------------- */
  /* ENHANCED LOGIN PAGE STYLING   */
  /* ----------------------------- */
  
  /* Improved Login Container - REDUCED HEIGHT */
  #auth-container {
    max-width: 600px;
    width: 90%;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.95), rgba(20, 20, 40, 0.9));
    border: 2px solid #00f0ff;
    border-radius: 15px;
    padding: 25px; /* Reduced from 35px */
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6), inset 0 0 20px rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
  }
  
  /* Add animated circuit pattern to background */
  #auth-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
      linear-gradient(90deg, transparent 90%, rgba(0, 240, 255, 0.1) 90%, rgba(0, 240, 255, 0.1) 91%, transparent 91%),
      linear-gradient(0deg, transparent 90%, rgba(0, 240, 255, 0.1) 90%, rgba(0, 240, 255, 0.1) 91%, transparent 91%);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.4;
  }
  
  /* Improved title styling - REDUCED SIZE */
  .auth-title {
    font-size: 2rem; /* Reduced from 2.2rem */
    color: #ff36f0;
    letter-spacing: 3px;
    margin-bottom: 15px; /* Reduced from 20px */
    text-shadow: 0 0 10px rgba(255, 54, 240, 0.7);
    position: relative;
    display: inline-block;
  }
  
  .auth-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, #ff36f0, transparent);
  }
  
  /* Improved logo styling - REDUCED MARGINS */
  .auth-logo {
    margin: 15px 0 20px; /* Reduced from 20px 0 25px */
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 119, 51, 0.6));
  }
  
  /* Input container with glowing effect - REDUCED MARGINS */
  .cyber-input-container {
    margin: 20px 0; /* Reduced from 25px 0 */
  }
  
  .cyber-input-wrapper {
    position: relative;
    margin-bottom: 20px; /* Reduced from 25px */
  }
  
  /* Enhanced input styling */
  .cyber-input {
    width: 100%;
    padding: 12px 20px; /* Reduced from 15px 20px */
    background: rgba(10, 10, 30, 0.8);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #00f0ff;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.3);
  }
  
  .cyber-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #00f0ff, 0 0 15px rgba(0, 240, 255, 0.5);
  }
  
  .cyber-input::placeholder {
    color: rgba(0, 240, 255, 0.5);
  }
  
  /* Input border animation */
  .cyber-input-border {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #ff36f0, #00f0ff);
    transition: width 0.4s ease;
  }
  
  .cyber-input:focus ~ .cyber-input-border {
    width: 100%;
  }
  
  /* Auth buttons with improved styling - REDUCED GAP */
  .auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced from 25px */
  }
  
  /* Social login section */
  .social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Reduced from 15px */
  }
  
  /* Individual social buttons */
  .social-btn {
    position: relative;
    overflow: hidden;
    padding-left: 50px;
  }
  
  .social-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .button-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
  }
  
  .google-btn {
    border-color: #4285F4;
    color: #4285F4;
    text-shadow: 0 0 5px rgba(66, 133, 244, 0.5);
  }
  
  .google-btn:hover {
    background-color: rgba(66, 133, 244, 0.15);
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.6);
  }
  
  .apple-btn {
    border-color: #ffffff;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }
  
  .apple-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  }
  
  /* Footer styling - REDUCED MARGINS */
  .cyber-footer {
    margin-top: 20px; /* Reduced from 25px */
    padding-top: 12px; /* Reduced from 15px */
    border-top: 1px solid rgba(0, 240, 255, 0.2);
  }
  
  .footer-text {
    font-size: 0.9rem;
    color: rgba(0, 240, 255, 0.7);
  }
  
  .cyber-link {
    color: #ff36f0;
    text-decoration: none;
    position: relative;
    padding: 0 2px;
  }
  
  .cyber-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ff36f0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
  }
  
  .cyber-link:hover:after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  /* FIXED BACK BUTTON - Repositioned to prevent overlap */
  .back-button {
    position: relative; /* Changed from absolute to relative */
    margin-top: 15px; /* Added margin-top instead of absolute positioning */
    padding: 8px 20px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid rgba(0, 240, 255, 0.5);
    color: rgba(0, 240, 255, 0.8);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block; /* Added to center the button properly */
  }
  
  .back-button:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: #00f0ff;
    color: #00f0ff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  }
  
  /* Create Identity Text - FIXED STYLING */
  .create-identity {
    display: block; /* Changed to block to ensure proper spacing */
    margin-bottom: 10px; /* Added margin for separation from back button */
    color: #ff36f0;
    font-size: 0.9rem;
  }
  
  /* Add glow pulse animation to buttons */
  .cyber-button {
    position: relative;
    animation: pulse 3s infinite alternate;
  }
  
  @keyframes pulse {
    0%, 100% {
      box-shadow: 0 0 10px rgba(255, 54, 240, 0.5);
    }
    50% {
      box-shadow: 0 0 20px rgba(255, 54, 240, 0.8), 0 0 30px rgba(255, 54, 240, 0.4);
    }
  }
  
  .orange-button {
    animation: orangePulse 3s infinite alternate;
  }
  
  @keyframes orangePulse {
    0%, 100% {
      box-shadow: 0 0 10px rgba(255, 119, 51, 0.5);
    }
    50% {
      box-shadow: 0 0 20px rgba(255, 119, 51, 0.8), 0 0 30px rgba(255, 119, 51, 0.4);
    }
  }
  
  /* User profile styling */
  #user-profile {
    max-width: 600px;
    width: 90%;
    margin-top: 20px;
    padding: 15px;
    background: rgba(10, 10, 26, 0.8);
    border: 1px solid #00f0ff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  }
  
  .profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  #user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 119, 51, 0.2);
    border: 2px solid #ff7733;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 10px rgba(255, 119, 51, 0.5);
  }
  
  #user-info {
    text-align: left;
  }
  
  #user-displayname {
    color: #ff7733;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 0 5px rgba(255, 119, 51, 0.5);
  }
  
  #user-id {
    color: rgba(0, 240, 255, 0.7);
    font-size: 0.8rem;
    margin: 5px 0 0;
  }
  
  #signout-button {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid rgba(255, 54, 240, 0.5);
    color: #ff36f0;
    border-radius: 5px;
    width: auto;
    margin: 0 auto;
  }
  
  #signout-button:hover {
    background: rgba(255, 54, 240, 0.1);
    box-shadow: 0 0 10px rgba(255, 54, 240, 0.5);
  }
  
  /* Responsive adjustments for auth container */
  @media screen and (max-width: 600px) {
    #auth-container {
      padding: 20px 15px; /* Further reduced padding */
    }
  
    .auth-title {
      font-size: 1.7rem; /* Further reduced size */
    }
  
    .cyber-input {
      padding: 10px 15px;
      font-size: 1rem;
    }
  
    .cyber-button {
      padding: cyber 20px;
      font-size: 1rem;
    }
  
    .social-btn {
      padding-left: 40px;
    }
  
    .button-icon {
      left: 12px;
    }
  }
  
  /* Add these styles to your existing style.css file */
  
  /* User profile styles */
  .user-profile {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #ff6b00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
  }
  
  .profile-icon {
    font-size: 24px;
    margin-right: 8px;
    color: #ff6b00;
  }
  
  .profile-name {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.7);
  }
  
  /* Options button styling */
  #optionsBtn {
    background: linear-gradient(to bottom, #444444, #222222);
    color: #ff6b00;
    border: 2px solid #ff6b00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    transition: all 0.3s ease;
  }
  
  #optionsBtn:hover {
    background: linear-gradient(to bottom, #333333, #111111);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.8);
  }
  
  /* Beat bar animations */
  #beat-fill {
    transition: width 0.1s linear;
    background: linear-gradient(to right, #ff6b00, #ffcc00);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.7);
  }
  
  /* Enhanced header for better visibility */
  #header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    z-index: 10;
  }
  
  /* Modal Styles - Add these to your style.css */
  
  .modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
  }
  
  .modal-content {
    position: relative;
    background: linear-gradient(to bottom, #222222, #111111);
    margin: 10% auto;
    padding: 30px;
    width: 60%;
    max-width: 500px;
    border: 2px solid #ff6b00;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.7);
    animation: modalGlow 2s infinite alternate;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
  }
  
  @keyframes modalGlow {
    from { box-shadow: 0 0 20px rgba(255, 107, 0, 0.7); }
    to { box-shadow: 0 0 30px rgba(255, 107, 0, 0.9); }
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #ff6b00;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .close-button:hover {
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
  }
  
  .modal h2 {
    text-align: center;
    color: #ff6b00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
  }
  
  .option-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .option-group label {
    color: #cccccc;
    min-width: 100px;
  }
  
  input[type="range"] {
    -webkit-appearance: none;
    width: 60%;
    height: 8px;
    background: #333;
    border-radius: 5px;
    margin: 0 10px;
    outline: none;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b00;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(255, 107, 0, 0.8);
  }
  
  /* To
    .social-btn {
      padding-left: 40px;
    }
  
    .button-icon {
      left: 12px;
    }
  }
  
  /* Add these styles to your existing style.css file */
  
  /* User profile styles */
  .user-profile {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #ff6b00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
  }
  
  .profile-icon {
    font-size: 24px;
    margin-right: 8px;
    color: #ff6b00;
  }
  
  .profile-name {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.7);
  }
  
  /* Options button styling */
  #optionsBtn {
    background: linear-gradient(to bottom, #444444, #222222);
    color: #ff6b00;
    border: 2px solid #ff6b00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    transition: all 0.3s ease;
  }
  
  #optionsBtn:hover {
    background: linear-gradient(to bottom, #333333, #111111);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.8);
  }
  
  /* Beat bar animations */
  #beat-fill {
    transition: width 0.1s linear;
    background: linear-gradient(to right, #ff6b00, #ffcc00);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.7);
  }
  
  /* Enhanced header for better visibility */
  #header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    z-index: 10;
  }
  
  /* Modal Styles - Add these to your style.css */
  
  .modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
  }
  
  .modal-content {
    position: relative;
    background: linear-gradient(to bottom, #222222, #111111);
    margin: 10% auto;
    padding: 30px;
    width: 60%;
    max-width: 500px;
    border: 2px solid #ff6b00;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.7);
    animation: modalGlow 2s infinite alternate;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
  }
  
  @keyframes modalGlow {
    from { box-shadow: 0 0 20px rgba(255, 107, 0, 0.7); }
    to { box-shadow: 0 0 30px rgba(255, 107, 0, 0.9); }
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #ff6b00;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .close-button:hover {
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
  }
  
  .modal h2 {
    text-align: center;
    color: #ff6b00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
  }
  
  .option-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .option-group label {
    color: #cccccc;
    min-width: 100px;
  }
  
  input[type="range"] {
    -webkit-appearance: none;
    width: 60%;
    height: 8px;
    background: #333;
    border-radius: 5px;
    margin: 0 10px;
    outline: none;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b00;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(255, 107, 0, 0.8);
  ggle Switch */
  .toggle/* To
    .social-btn {
      padding-left: 40px;
    }
  
    .button-icon {
      left: 12px;
    }
  }
  
  /* Add these styles to your existing style.css file */
  
  /* User profile styles */
  .user-profile {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #ff6b00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
  }
  
  .profile-icon {
    font-size: 24px;
    margin-right: 8px;
    color: #ff6b00;
  }
  
  .profile-name {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.7);
  }
  
  /* Options button styling */
  #optionsBtn {
    background: linear-gradient(to bottom, #444444, #222222);
    color: #ff6b00;
    border: 2px solid #ff6b00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    transition: all 0.3s ease;
  }
  
  #optionsBtn:hover {
    background: linear-gradient(to bottom, #333333, #111111);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.8);
  }
  
  /* Beat bar animations */
  #beat-fill {
    transition: width 0.1s linear;
    background: linear-gradient(to right, #ff6b00, #ffcc00);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.7);
  }
  
  /* Enhanced header for better visibility */
  #header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    z-index: 10;
  }
  
  /* Modal Styles - Add these to your style.css */
  
  .modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
  }
  
  .modal-content {
    position: relative;
    background: linear-gradient(to bottom, #222222, #111111);
    margin: 10% auto;
    padding: 30px;
    width: 60%;
    max-width: 500px;
    border: 2px solid #ff6b00;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.7);
    animation: modalGlow 2s infinite alternate;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
  }
  
  @keyframes modalGlow {
    from { box-shadow: 0 0 20px rgba(255, 107, 0, 0.7); }
    to { box-shadow: 0 0 30px rgba(255, 107, 0, 0.9); }
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #ff6b00;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .close-button:hover {
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
  }
  
  .modal h2 {
    text-align: center;
    color: #ff6b00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
  }
  
  .option-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .option-group label {
    color: #cccccc;
    min-width: 100px;
  }
  
  input[type="range"] {
    -webkit-appearance: none;
    width: 60%;
    height: 8px;
    background: #333;
    border-radius: 5px;
    margin: 0 10px;
    outline: none;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b00;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(255, 107, 0, 0.8);
  ggle Switch */
  : relative;
    display: inline-block;
    width: 60px;
    height: 30px;
  }
  
  .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
  }
  
  .toggle-switch label:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }
  
  .toggle-switch input:checked + label {
    background-color: #ff6b00;
  }
  
  .toggle-switch input:checked + label:before {
    transform: translateX(30px);
  }
  
  /* Button Styles */
  #saveOptions, #logoutBtn {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
  }
  
  #logoutBtn {
    background: linear-gradient(to bottom, #990000, #660000);
    border-color: #cc0000;
    margin-top: 10px;
  }
  
  #logoutBtn:hover {
    background: linear-gradient(to bottom, #cc0000, #990000);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  }


    #settings-btn {
      font-family: 'Orbitron', sans-serif;
      background: linear-gradient(45deg, #ff00ff, #0ff);
      color: black;
      font-weight: bold;
      padding: 0.75rem 2rem;
      border-radius: 1rem;
      box-shadow: 0 0 10px #ff00ff, 0 0 20px #0ff;
      border: none;
      transition: all 0.3s ease-in-out;
    }
    #settings-btn:hover {
      transform: scale(1.05);
      box-shadow: 0 0 20px #ff00ff, 0 0 30px #0ff;
    }
