/* --- Global Styles & Variables --- */
:root {
    --c-brand: #8367D8;         /* Main brand purple */
    --c-brand-hover: #6a4cb3; /* A darker shade for hover */
    --c-fan-accent: #348ebe;       /* Vibrant fan blue */
    --c-fan-accent-hover: #2faadd; /* A darker shade for hover */
    --c-fan-accent-light: rgba(84, 193, 251, 0.08); /* Light tint for backgrounds */
     --c-grid: rgba(131, 103, 216, 0.08); /* A very light, semi-transparent purple */
    --c-bg: #e2c3f58e;            /* Main background */
    --c-bg-alt: #F8F9FA;      /* Off-white for alternate sections */
    --c-text-dark: #212529;      /* Primary text color */
    --c-text-light: #ffffff;
    --c-text-muted: #6c757d;      /* Secondary text */
    --c-border: #e9ecef;        /* Light gray for borders */
    --c-success: #1DB954;       /* Green for icons, etc. */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.07);
    --c-brand-light: rgba(131, 103, 216, 0.308); /* Light tint of brand purple */
    --c-fan-accent-light: rgba(84, 193, 251, 0.301); /* Light tint of fan blue */
    --c-earn-accent: #ffc400;                    /* A vibrant, warm gold */
    --c-earn-accent-light: rgba(255, 196, 0, 0.247); /* Light tint of the gold */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    
    /* --- NEW GRID BACKGROUND --- */
    /* 1. A solid fallback color is essential */
    background-color: var(--c-bg); 
    
    /* 2. Create the grid with two layered, repeating gradients */
    background-image: 
        /* Horizontal lines */
        repeating-linear-gradient(
            0deg, 
            var(--c-grid), 
            var(--c-grid) 1px, 
            transparent 1px, 
            transparent 40px
        ),
        /* Vertical lines */
        repeating-linear-gradient(
            90deg, 
            var(--c-grid), 
            var(--c-grid) 1px, 
            transparent 1px, 
            transparent 40px
        );
        
    /* 3. Define the size of each grid square */
    background-size: 40px 40px; 

    /* Keep your original text color */
    color: var(--c-text-dark); 
}

.container { max-width: 1500px; margin: 0 auto; padding: 0 1.5rem; }
h1, h2, h3 { line-height: 1.2; margin-bottom: 1rem; font-weight: 700; }
h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.25rem; text-align: center; margin-bottom: 3rem; margin-top: 4rem; }
a { color: var(--c-brand); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--c-brand-hover); }
ul { list-style: none; }
.section-padding { padding: 1rem 0; }
.section-alt { 
  background-color: rgba(248, 249, 250, 0.95);  
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.card { background-color: var(--c-bg); border-radius: 12px; border: 1px solid var(--c-border); box-shadow: var(--shadow); }

/* --- Buttons --- */
.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; text-align: center; transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background-color: var(--c-brand); color: var(--c-text-light); border-color: var(--c-brand); }
.btn-primary:hover { background-color: var(--c-brand-hover); border-color: var(--c-brand-hover); transform: translateY(-2px); }
.btn-secondary, .btn-outline { background-color: transparent; color: var(--c-brand); border-color: var(--c-brand); }
.btn-secondary:hover, .btn-outline:hover { background-color: var(--c-brand); color: var(--c-text-light); transform: translateY(-2px); }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }

/* --- Header & Navigation --- */
header { background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 1rem 0; border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 1000; }
header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
  font-size: 1.8rem;
  font-weight: 800; /* Increased for a bolder look like the image */
  color: var(--c-text-dark); /* This styles the "49" part */
  text-decoration: none; /* Ensures the logo is not underlined */
}
.logo span {
  color: var(--c-brand); /* This uses your existing brand purple */
}

#desktop-nav ul { display: flex; align-items: center; gap: 1.5rem; }
#desktop-nav ul li a { color: var(--c-text-muted); font-weight: 600; }
#desktop-nav ul li a:hover { color: var(--c-text-dark); }
#hamburger-btn { display: none; background: none; border: none; cursor: pointer; z-index: 1002; }
#hamburger-btn span { display: block; width: 25px; height: 3px; background-color: var(--c-text-dark); margin: 5px 0; transition: all 0.3s ease; }

#mobile-nav {
    display: none;
}

/* Nav Open State (for hamburger menu) */
.nav-open #hamburger-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open #hamburger-btn span:nth-child(2) { opacity: 0; }
.nav-open #hamburger-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Sections --- */
#hero {
    position: relative; /* Essential for positioning the slides inside */
    overflow: hidden;   /* Hides anything that might stick out */
    text-align: center;
    padding: 6rem 0;
    color: var(--c-text-light);
    background-color: #121212; /* Fallback color while images load */
}

@media (min-width: 768px) {
  #hero {
    /* On larger screens, give it a more generous height */
    height: 600px; 
  }
}

/* We move the overlay to a pseudo-element so it's always on top of the images */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.85) 0%, rgba(131, 103, 216, 0.5) 100%);
    z-index: 1; /* Sits above the slides but below the content */
}

/* Ensure the main content stays on top */
#hero .container {
    position: relative;
    z-index: 2;
}

/* --- ADD this new block for the slides --- */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* The magic for the smooth cross-fade */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    
    z-index: 0; /* Sits behind the overlay */
}

/* This class will be toggled by JS to make a slide visible */
.hero-slide.active {
    opacity: 1;
}

#hero h1 { color: var(--c-text-light); }
#hero .subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 1rem auto 2rem; }
#hero .cta-buttons { display: flex; justify-content: center; gap: 1rem; }
#hero .btn-secondary { color: var(--c-text-light); border-color: var(--c-text-light); }
#hero .btn-secondary:hover { background-color: var(--c-text-light); color: var(--c-text-dark); }
.featured-artists-section .card { padding: 2rem 1rem; }

.artist-grid { 
  display: flex; 
  justify-content: center; 
  gap: 5rem; 
  flex-wrap: wrap; 
  margin-bottom: 3rem; 
}

.artist-profile { text-align: center; }
.artist-profile img { width: 100px; height: 100px; border-radius: 50%; margin-bottom: 1rem; border: 2px solid var(--c-border); object-fit: cover; }
.artist-profile p { font-weight: 600; color: var(--c-text-dark); }
.testimonial { max-width: 600px; margin: 0 auto; background-color: var(--c-bg-alt); padding: 1.5rem; border-radius: 8px; border-left: 4px solid var(--c-brand); text-align: left; }
.testimonial blockquote { border: none; margin: 0 0 1rem 0; font-style: italic; color: var(--c-text-muted); }
.testimonial cite { font-weight: 700; color: var(--c-text-dark); font-style: normal; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-left: 2rem; margin-right: 2rem; }
.step-card { padding: 2.5rem; text-align: center; border-radius: 12px; border: 1px solid var(--c-border); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-card i { font-size: 3rem; color: var(--c-brand); margin-bottom: 1.5rem; }
.step-card h3 { font-size: 1.25rem; }

/* Card 1: Discover (Fan Blue) */
.steps-grid .step-card:nth-child(1) {
    background-color: var(--c-fan-accent-light);
    border-color: rgba(84, 193, 251, 0.3);
}

.steps-grid .step-card:nth-child(1) i {
    color: var(--c-fan-accent);
}

/* Card 2: Invest (Brand Purple) */
.steps-grid .step-card:nth-child(2) {
    background-color: var(--c-brand-light);
    border-color: rgba(131, 103, 216, 0.3);
}

.steps-grid .step-card:nth-child(2) i {
    color: var(--c-brand);
}

/* Card 3: Earn (Gold) */
.steps-grid .step-card:nth-child(3) {
    background-color: var(--c-earn-accent-light);
    border-color: rgba(255, 195, 0, 0.4);
}

.steps-grid .step-card:nth-child(3) i {
    color: var(--c-earn-accent);
}

.model-diagram { display: grid; grid-template-columns: 50fr 49fr 1fr; border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border); }
.model-segment { padding: 2rem; }
.model-segment.artist-share { background-color: rgba(131, 103, 216, 0.1); }
.model-segment.fan-share { background-color: rgba(131, 103, 216, 0.05); }
.model-segment.platform-share { background-color: rgba(108, 117, 125, 0.1); padding: 2rem 1rem; font-size: 0.9rem; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.audience-card {
    padding: 2rem;
    text-align: center; /* Keep this for the text elements */
    display: flex; /*  <-- Add this */
    flex-direction: column; /* <-- Add this */
    align-items: center; /* <-- Add this */
}

.audience-card > i { font-size: 2rem; margin-bottom: 1rem; color: var(--c-brand); }
.audience-card ul { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; display: inline-block; }
.audience-card li { margin-bottom: 0.75rem; display: flex; align-items: flex-start; }
.audience-card li i { color: var(--c-success); margin-right: 0.5rem; margin-top: 5px; }

.audience-card.fan-card {
    background-color: var(--c-fan-accent-light);
    border-color: rgba(84, 193, 251, 0.3);
    border-radius: 36px;
}

.audience-card.fan-card > i {
    color: var(--c-fan-accent);
}

/* Make the checkmarks blue as well */
.audience-card.fan-card li i {
    color: va
    r(--c-fan-accent);
}

.audience-card.artist-card {
    background-color: #8367d87e;;
    border-color: rgba(84, 193, 251, 0.3);
    border-radius: 36px;
}

.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-question { padding: 1.5rem 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question i { transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; padding: 0 1rem; color: var(--c-text-muted); line-height: 1.6; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 1.5rem; }
.final-cta-section { text-align: center; background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.6)), url('/images/Gemini_Generated_Image_l7lersl7lersl7le.png') no-repeat center center/cover;  color: var(--c-text-light); padding: 5rem 1.5rem; border-radius: 12px; }
.final-cta-section h2 { color: var(--c-text-light); font-size: 2rem; }
.final-cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.1rem; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .model-diagram { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    #desktop-nav { display: none; }
    #hamburger-btn { display: block; }
    
    /* The Dimmed Background Overlay */
    body.nav-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.3s ease-in-out;
    }
    
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        pointer-events: none; /* Allows clicks to pass through when hidden */
        transition: opacity 0.3s ease-in-out;
    }

    /* The Slide-Out Menu Panel */
    #mobile-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px; /* A fixed width for the panel */
        height: 100%;
        background-color: var(--c-bg);
        z-index: 1001;
        
        display: flex; /* We still use flexbox for alignment */
        flex-direction: column;
        justify-content: flex-start; /* Align items to the top */
        align-items: flex-start; /* Align text to the left */
        
        padding: 4rem 2rem; /* Give it some internal padding */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1); /* Nice shadow on the left */
        
        transform: translateX(100%); /* Start off-screen to the right */
        transition: transform 0.3s ease-in-out;
    }
    
    /* The "Open" State */
    .nav-open #mobile-nav {
        transform: translateX(0); /* Slide it into view */
    }

    #mobile-nav ul {
        text-align: left; /* Align links to the left */
        width: 100%;
    }

    #mobile-nav ul li a {
        font-size: 1.2rem; /* Slightly smaller font for a cleaner look */
        font-weight: 600;
        color: var(--c-text-dark);
        display: block; /* Make the whole area clickable */
        padding: 0.75rem 0; /* Add some vertical spacing */
    }
    
    #mobile-nav ul li a:hover {
        color: var(--c-brand); /* Use brand color for hover */
    }
}
@media (max-width: 576px) {
    .container { padding: 0 1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
    .artist-grid { gap: 2rem; }

    .artist-profile img { width: 80px; height: 80px; }
}

/* --- MERGED & NEW STYLES --- */

/* General Form & Dropdown Styles */
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--c-text-dark); font-weight: 600; }
.hidden { display: none !important; }

/* Enhanced Artist Modal Styles */
.artist-modal {
  max-width: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(131, 103, 216, 0.15);
  border: 1px solid rgba(131, 103, 216, 0.1);
}

/* Fan Modal Styles */
.fan-modal {
  max-width: 550px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(29, 185, 84, 0.15);
  border: 1px solid rgba(29, 185, 84, 0.1);
}

.fan-modal .modal-header {
  background: linear-gradient(135deg, var(--c-success) 0%, #138b4a 100%);
  color: var(--c-text-light);
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.fan-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30px, -30px);
}

.fan-modal .close {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.fan-modal .close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.fan-registration-fields {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--c-border);
}

.artist-modal .modal-header {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-hover) 100%);
  color: var(--c-text-light);
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.artist-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30px, -30px);
}

.modal-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.modal-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.modal-icon i {
  font-size: 1.5rem;
  color: var(--c-text-light);
}

.modal-title-section h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-text-light);
}

.modal-subtitle {
  margin: 0.25rem 0 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.artist-modal .close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.artist-modal .close:hover {
  color: var(--c-text-light);
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.artist-modal .modal-body {
  padding: 2.5rem;
  background: white;
}

/* Auth Header Styles */
.auth-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--c-bg-alt);
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin: 0 0 0.5rem 0;
}

.auth-subtitle {
  color: var(--c-text-muted);
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

.auth-switch {
  font-size: 0.9rem;
  color: var(--c-text-muted);
}

.auth-link {
  color: var(--c-brand);
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.25rem;
  transition: color 0.3s ease;
}

.auth-link:hover {
  color: var(--c-brand-hover);
}

/* Enhanced Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.auth-form .form-group {
  margin-bottom: 0;
}

.auth-form label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--c-text-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.auth-form label i {
  color: var(--c-brand);
  font-size: 0.9rem;
  width: 16px;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  background-color: var(--c-bg-alt);
  border: 2px solid var(--c-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--c-text-dark);
  font-size: 1rem;
  width: 100%;
  font-family: inherit;
  transition: all 0.3s ease;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(131, 103, 216, 0.1);
  background-color: var(--c-bg);
  transform: translateY(-1px);
}

.auth-form textarea {
  resize: vertical;
  min-height: 100px;
}

.password-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.5rem;
}

.password-hint i {
  color: var(--c-brand);
}

/* Artist Info Section */
.artist-info-section {
  background: var(--c-bg-alt);
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px dashed var(--c-border);
  transition: border-color 0.3s ease;
}

.artist-info-section:hover {
  border-color: var(--c-brand);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-border);
}

.section-header i {
  color: var(--c-brand);
  font-size: 1.1rem;
}

.section-header h5 {
  margin: 0;
  color: var(--c-text-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

.character-count {
  text-align: right;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.5rem;
}

/* Submit Button */
.auth-submit {
  margin-top: 1rem;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.auth-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.auth-submit:hover::before {
  left: 100%;
}

.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(131, 103, 216, 0.3);
}

/* Terms Notice */
.terms-notice {
  text-align: center;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.terms-notice i {
  color: var(--c-brand);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.terms-link {
  color: var(--c-brand);
  text-decoration: none;
  font-weight: 600;
}

.terms-link:hover {
  color: var(--c-brand-hover);
  text-decoration: underline;
}

/* Footer Links */
.form-footer-links {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

.forgot-password-link,
.resend-verification-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-brand);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem;
  border-radius: 6px;
}

.forgot-password-link:hover,
.resend-verification-link:hover {
  color: var(--c-brand-hover);
  background-color: rgba(131, 103, 216, 0.05);
}

.forgot-password-link i,
.resend-verification-link i {
  font-size: 0.8rem;
}

/* Resend Verification Form */
.resend-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--c-border);
}

.resend-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.resend-header h5 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem 0;
  color: var(--c-text-dark);
  font-size: 1.1rem;
  font-weight: 600;
}

.resend-header p {
  color: var(--c-text-muted);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-actions .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
}

.form-actions .btn-outline {
  background: transparent;
  border: 2px solid var(--c-border);
  color: var(--c-text-muted);
}

.form-actions .btn-outline:hover {
  background: var(--c-bg-alt);
  border-color: var(--c-brand);
  color: var(--c-brand);
}

/* Alert Enhancements */
.alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert i {
  font-size: 1rem;
  flex-shrink: 0;
}

.alert-danger {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.alert-success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

/* Responsive Design for Artist Modal */
@media (max-width: 768px) {
  .artist-modal {
    max-width: 95vw;
    margin: 2.5% auto;
  }
  
  .artist-modal .modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .artist-modal .modal-body {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .modal-header-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .modal-title-section h3 {
    font-size: 1.5rem;
  }
  
  .artist-modal .close {
    top: 1rem;
    right: 1rem;
  }
}

/* Legacy Modal Styles (for waitlist modal) */
#loginRegisterModal .login-title { font-size: 1.5rem; text-align: center; margin-bottom: 0.25rem; }
#loginRegisterModal .login-subtitle { font-size: 1rem; text-align: center; color: var(--c-text-muted); margin-bottom: 1.5rem; }
#loginRegisterModal .auth-form input,
#loginRegisterModal .auth-form select,
#loginRegisterModal .auth-form textarea {
  background-color: var(--c-bg); border: 1px solid var(--c-border); border-radius: 8px; padding: 0.8rem 1rem;
  color: var(--c-text-dark); font-size: 1rem; width: 100%; font-family: inherit;
}
#loginRegisterModal .auth-form input:focus,
#loginRegisterModal .auth-form select:focus,
#loginRegisterModal .auth-form textarea:focus {
  outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(131, 103, 216, 0.25);
}
#loginRegisterModal .form-footer-links { text-align: center; font-size: 0.9rem; }
#loginRegisterModal .form-footer-links p { color: var(--c-text-muted); margin-top: 0.5rem; }
#loginRegisterModal .form-footer-links a { color: var(--c-brand); }
#loginRegisterModal .form-footer-links a:hover { color: var(--c-brand-hover); }

/* Registration Form Specific Styles - Legacy (kept for backward compatibility) */
.radio-group { display: flex; flex-direction: column; gap: 1rem; }
.radio-option { display: block; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 8px; padding: 1rem; cursor: pointer; transition: border-color 0.2s; }
.radio-option:hover { border-color: var(--c-brand); }
.radio-option input { margin-right: 0.75rem; }
.radio-label { font-weight: 600; color: var(--c-text-dark); }
.radio-description { display: block; font-size: 0.85rem; color: var(--c-text-muted); margin-left: 1.75rem; }
.radio-option.disabled-option { opacity: 0.6; cursor: not-allowed; background-color: var(--c-bg-alt); }
.radio-option.disabled-option:hover { border-color: var(--c-border); }
.artist-fields { border-top: 1px dashed var(--c-border); margin-top: 1.5rem; padding-top: 1.5rem; }

/* Flash message alerts */
.alert { padding: 1rem; margin-bottom: 1rem; border-radius: 8px; font-size: 0.9rem; font-weight: 500; text-align: center; }
.alert-danger { background-color: rgba(220, 53, 69, 0.1); color: #dc3545; border: 1px solid rgba(220, 53, 69, 0.3); }
.alert-success { background-color: rgba(40, 167, 69, 0.1); color: #28a745; border: 1px solid rgba(40, 167, 69, 0.3); }

/* Generic Modal Styles */
.modal { display: none; position: fixed; z-index: 1001; inset: 0; overflow: auto; background-color: rgb(0, 0, 0, 0.6); animation: fadeIn 0.3s ease-out; }
.modal.show { display: block; }
.modal-content { background-color: var(--c-bg); margin: 5% auto; padding: 0; border: 1px solid var(--c-border); border-radius: 12px; width: 90%; max-width: 500px; box-shadow: var(--shadow-lg); animation: slideIn 0.3s ease-out; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; border-bottom: 1px solid var(--c-border); }
.modal-header h3 { margin: 0; font-size: 1.5rem; color: var(--c-text-dark); }
.close { color: var(--c-text-muted); font-size: 28px; font-weight: bold; cursor: pointer; transition: color 0.3s ease; line-height: 1; position: absolute; top: 1rem; right: 1.5rem; z-index: 1; }
.close:hover, .close:focus { color: var(--c-text-dark); }
#loginRegisterModal .modal-content .close { position: static; /* Override absolute position for login modal */ order: 1; align-self: flex-start; margin: -0.5rem -0.5rem 0 1rem;}
#waitlistModal .modal-content .close { position: static; /* Override absolute position for waitlist modal */ margin: 0; }


.modal-body { padding: 2rem; }
.modal-body p { color: var(--c-text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.modal-body .form-group { margin-bottom: 1.5rem; }
.modal-body label { display: block; margin-bottom: 0.5rem; color: var(--c-text-dark); font-weight: 600; text-align: left; }
.modal-body input { width: 100%; padding: 0.75rem 1rem; background-color: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: 8px; color: var(--c-text-dark); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.modal-body input:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(131, 103, 216, 0.25); }
.waitlist-submit-btn { width: 100%; position: relative; overflow: hidden; }
.btn-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.success-message { text-align: center; padding: 2rem 0; }
.success-message i { font-size: 3rem; color: var(--c-success); margin-bottom: 1rem; }
.success-message h4 { margin: 1rem 0 0.5rem 0; color: var(--c-text-dark); }
.success-message p { color: var(--c-text-muted); margin: 0; }
.g-recaptcha-waitlist { display: flex; justify-content: center; margin-top: 1rem; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } }

/* --- Testimonials Carousel Styles --- */
.carousel {
    position: relative;
    overflow: hidden; /* This is crucial for hiding the other slides */
    background: linear-gradient(135deg, #595970, #292944); /* Dark gradient */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 1200px; /* Constrain width for a better look */
    margin: 0 auto;   /* Center the carousel */
    color: var(--c-text-light);
}

.slides {
    display: flex;
    /* The transition is what makes the slide animation smooth */
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    /* Each slide takes up 100% of the carousel's width */
    min-width: 100%;
    box-sizing: border-box; /* Important for consistent sizing */
    
    /* Layout for avatar and text */
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 2.5rem;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--c-brand); /* Make the brand purple pop on the dark background */
}

.testimonial-content blockquote {
    border: none;
    margin: 0 0 0.75rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--c-text-light); /* Make the main quote white */
    font-size: 1.15rem; /* Slightly larger for impact */
}

.testimonial-content cite {
    font-weight: 700;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7); /* Muted white for the citation */
}

.carousel-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.carousel-controls button {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--c-text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.carousel-controls button:hover {
    background-color: var(--c-fan-accent); /* The blue will look amazing here */
    border-color: var(--c-fan-accent);
    color: white;
}

/* Responsive adjustments for the carousel */
@media (max-width: 576px) {
    .testimonial-card {
        padding: 1.5rem;
        grid-template-columns: 1fr; /* Stack avatar on top */
        text-align: center;
        gap: 1rem;
    }
    .avatar {
        margin: 0 auto; /* Center the avatar */
    }
}

/* --- Scroll Animation Styles --- */
.step-card, .audience-card, .faq-item, .model-diagram, .artist-profile {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Delay child animations for a staggered effect */
.steps-grid .step-card:nth-child(2) { transition-delay: 0.2s; }
.steps-grid .step-card:nth-child(3) { transition-delay: 0.4s; }
.audience-grid .audience-card:nth-child(2) { transition-delay: 0.2s; }

.step-card.visible, 
.audience-card.visible, 
.faq-item.visible, 
.model-diagram.visible,
.artist-profile.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Angled Section Dividers --- */
.section-alt {
    position: relative;
    background-color: var(--c-bg-alt);
}

/* This creates the angled top shape */
.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--c-bg);
    transform: skewY(-2deg);
    transform-origin: top left;
}

/* Style the new wrapper and add a connecting line */
.steps-grid-wrapper {
    position: relative;
}

/* On larger screens, draw a dotted line between the cards */
@media (min-width: 993px) {
    .steps-grid-wrapper::before {
        content: '';
        position: absolute;
        top: 65px; /* Adjust vertical position */
        left: 20%;
        width: 60%;
        height: 2px;
        background-image: linear-gradient(to right, var(--c-border) 50%, transparent 50%);
        background-size: 20px 2px;
        background-repeat: repeat-x;
        z-index: -1;
    }
}

/* CSS for the new infographic model */
.model-infographic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .model-infographic {
        grid-template-columns: 300px 1fr;
    }
}

.model-chart {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donut-chart {
    max-width: 300px;
}

.chart-bg {
    fill: none;
    stroke: var(--c-border);
    stroke-width: 3.8;
}

.chart-segment {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    animation: chart-progress 2s ease-out forwards;
}

.chart-segment.artist-share { stroke: var(--c-brand); }
.chart-segment.fan-share { stroke: #54c1fb; } /* A new accent color for fans */
.chart-segment.platform-share { stroke: var(--c-text-muted); }

.chart-center-text {
    position: absolute;
    text-align: center;
}

.chart-center-text strong {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    color: var(--c-text-dark);
}

.chart-center-text span {
    font-size: 1rem;
    color: var(--c-text-muted);
}

@keyframes chart-progress {
    from { stroke-dasharray: 0, 100; }
}

.model-legend .legend-item {
    padding-left: 1.5rem;
    border-left: 4px solid;
    margin-bottom: 2rem;
}
.legend-item.artist-share { border-color: var(--c-brand); }
.legend-item.fan-share { border-color: #54c1fb; }
.legend-item.platform-share { border-color: var(--c-text-muted); }

/* --- Styling for the CTA under the testimonials --- */
.section-cta-container {
    text-align: center; /* Center the button horizontally */
    margin-top: 3rem;   /* Add generous space above the button */
}

/* Style the button to handle the icon gracefully */
.section-cta-container .btn {
    display: inline-flex; /* Use flexbox for easy alignment */
    align-items: center;
    gap: 0.75rem; /* Add some space between the icon and the text */
}