/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
    color: white;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo img {
    height: 40px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


/* ============================================
   BUTTONS
   ============================================ */

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ff0054, #ff4081);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 0, 84, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 84, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}


/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 10rem 2rem 2rem;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 0, 84, 0.1);
    border: 1px solid rgba(255, 0, 84, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #ff0054, #ff4081);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Container */
.search-container {
    max-width: 700px;
    margin: 0 auto 0;
}

.search-form {
    margin-bottom: 1rem;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #ff0054;
    box-shadow: 0 0 0 4px rgba(255, 0, 84, 0.1);
}

.search-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    opacity: 0.6;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
    padding: 0.75rem 0;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    background: linear-gradient(135deg, #ff0054, #ff4081);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 84, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 84, 0.4);
}

.search-hint {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
    padding: 2rem 2rem 4rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ff0054;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
        min-height: auto;
    }

    .search-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
    }

    .search-icon {
        display: none;
    }

    .search-input {
        padding: 0.75rem;
        text-align: center;
    }

    .search-btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 0.5rem;
    }

    .nav-actions .btn-secondary:first-child {
        display: none;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}


/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}


/* ============================================
   SEARCH RESULTS PAGE
   ============================================ */

.search-bar-section {
    padding: 6rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.search-bar-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-results {
    padding: 5rem 2rem 4rem;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Creator Header */
.creator-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.creator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-name {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 0.375rem;
}

.recordings-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff0054 0%, #ff4e88 100%);
    padding: 0.4rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 20px rgba(255, 0, 84, 0.3);
}

.creator-bio {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
    line-height: 1.4;
}

.creator-followers {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.375rem;
}

.creator-stats {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* CTA Section */
.cta-section {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    max-width: 600px;
    width: 100%;
}

.cta-card-featured {
    background: rgba(255, 0, 84, 0.05);
    border: 2px solid rgba(255, 0, 84, 0.3);
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(255, 0, 84, 0.15);
}

.cta-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.cta-intro {
    margin-bottom: 1rem !important;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.cta-benefits li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.cta-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff0054;
    font-weight: 700;
    font-size: 1rem;
}

.cta-price-wrapper {
    margin-bottom: 1.5rem;
}

.cta-price-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.cta-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ff0054;
}

/* When price is standalone (not in wrapper) */
.cta-card > .cta-price {
    margin-bottom: 1.5rem;
}

/* Recordings Section */
.recordings-section {
    margin-top: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.recordings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.recording-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.recording-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.recording-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* 3:4 aspect ratio */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.recording-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recording-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    z-index: 2; /* Appear above lock overlay */
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Below duration badge */
}

.lock-icon {
    font-size: 2rem;
}

.recording-info {
    padding: 1rem;
}

.recording-date {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.recording-likes {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.recordings-note {
    text-align: center;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.search-another-link {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.search-another-link p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

/* Not Found State */
.search-results.not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8rem;
}

.not-found-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.not-found-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found-icon svg {
    width: 80px;
    height: 80px;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 1.5;
}

.not-found-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.not-found-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.not-found-cta {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.not-found-cta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.not-found-cta p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.not-found-alternative {
    margin-top: 2rem;
}

.not-found-alternative p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.text-link {
    color: #ff0054;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #ff4081;
}

/* Inline Search Form */
.inline-search-form {
    max-width: 500px;
    margin: 0 auto;
}

.inline-search-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.inline-search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: white;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s ease;
}

.inline-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.inline-search-input:focus {
    border-color: #ff0054;
    background: rgba(255, 255, 255, 0.08);
}

/* Responsive - Search Results */
@media (max-width: 768px) {
    .creator-header {
        flex-direction: column;
        text-align: center;
    }

    .cta-card {
        padding: 2rem;
    }

    .recordings-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .search-bar-section {
        padding: 5rem 1rem 1.5rem;
    }

    .creator-name {
        font-size: 1.5rem;
    }

    .not-found-title {
        font-size: 1.5rem;
    }

    .inline-search-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .inline-search-wrapper button {
        width: 100%;
    }
}
