/* BASE TYPOGRAPHY & BODY */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    background: linear-gradient(135deg, #3c0d1c, #2b1a2f);
    background-image: url('texture.png');
    background-blend-mode: overlay;
    background-repeat: repeat;
    background-color: #333;
  }
  
  h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
  }
  
  h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
  }
  
  h2 {
    font-size: 2em;
    margin-top: 0;
  }
  
  p {
    max-width: 600px;
    margin: 0 auto 20px;
  }
  
  /* NAVIGATION */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #3c0d1c;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
  }
  
  .brand {
    font-weight: bold;
    font-size: 1.25rem;
  }
  
  .auth-action, .profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
  }
  
  .auth-action button,
  .profile button {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    height: auto;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
  }
  
  /* Sign In: minimal style */
  .signin-button {
    background: none;
    color: white;
    opacity: 0.8;
    transition: background-color 0.2s, opacity 0.2s;
  }
  
  .signin-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
  }
  
  /* Sign Up: always bright red */
  .signup-button {
    background-color: #ff3366;
    color: white;
  }
  
  .signup-button:hover {
    background-color: #e62e5d;
  }
  
  /* Sign Out */
  .signout-button {
    background-color: #dc3545;
    color: white;
  }
  
  .signout-button:hover {
    background-color: #c82333;
  }
  
  /* HEADER & SECTIONS */
  header, section {
    padding: 80px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* CTA BUTTON */
  .cta {
    margin-top: 30px;
    display: flex;
    justify-content: center;
  }
  
  .cta button {
    max-width: 240px;
    width: auto;
    padding: 12px 28px;
    font-size: 1rem;
    background: #ff3366;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
  }
  
  .cta button:hover {
    background: #e62e5d;
  }
  
  /* AUDIO PLAYER */
  .audio-samples {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  
  .audio-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    width: 120px;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.2);
    transition: transform 0.2s ease;
  }
  
  .audio-player:hover {
    transform: translateY(-4px);
  }
  
  .audio-player span {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .play-button {
    font-size: 1.5rem;
    background: #ff3366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .play-button:hover {
    background: #e62e5d;
  }
  
  /* FOOTER */
  footer {
    background: #111;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9em;
    color: #aaa;
  }
  
  /* AUTH PAGE */
  body.auth {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  .container {
    text-align: center;
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    color: white;
  }
  
  input, button {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
  }
  
  .auth-button {
    margin-top: 1rem;
  }

  input {
    border: 1px solid #555;
    background-color: #2a2a2a;
    color: white;
    margin-top: 1rem;
  }
  
  .primary-button {
    background-color: #ff3366;
    color: white;
    border: none;
  }
  
  .primary-button:hover {
    background-color: #e62e5d;
  }
  
  #googleButton {
    background-color: #4285F4;
    color: white;
    border: none;
  }
  
  .link {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
  }
  
  .link a {
    text-decoration: none;
    color: #ff3366;
  }
  
  .divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0 1rem;
  }
  
  .divider::before,
  .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #444;
  }
  
  .divider span {
    padding: 0 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
  }
  
  .message {
    margin-top: 1.5rem;
    padding: 1.5rem 1rem;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    text-align: center;
    display: none;
  }
  
  .message button {
    margin-top: 1.25rem;
    background-color: #ff3366;
    color: white;
  }
  
  .header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
  }
  
  .hidden {
    display: none !important;
  }
  
  .fade-slide {
    animation: fadeSlideIn 0.4s ease-out forwards;
    opacity: 0;
  }
  
  @keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  