/* ===================================
   HERO SECTION - DARK THEME REDESIGN
   =================================== */

/* Body override for hero page */
body {
    padding-top: 0 !important;
    background: #121212;
}

/* Main nav for hero page */
.main-nav {
    position: fixed !important;
    z-index: 1000;
}

/* Chrome Extension Banner */
.chrome-banner {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(29, 185, 84, 0.3);
}

.chrome-banner-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
}

.chrome-banner-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: #000;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.chrome-banner-button .chrome-banner-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.chrome-banner-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chrome-banner-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: #000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.chrome-banner-close:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Hero section with album covers background */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    overflow: hidden;
    padding: 2rem 1rem;
    padding-top: 110px; /* Account for nav + smaller banner */
}

/* Film roll carousel - 5 columns x 3 rows */
.hero-covers-wall {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    padding: 0.8rem;
    opacity: 0.4;
    z-index: 1;
}

.hero-cover-column {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    animation: scrollDown 25s linear infinite;
}

/* Stagger animation for each column */
.hero-cover-column:nth-child(1) { animation-delay: 0s; }
.hero-cover-column:nth-child(2) { animation-delay: 3s; }
.hero-cover-column:nth-child(3) { animation-delay: 6s; }
.hero-cover-column:nth-child(4) { animation-delay: 9s; }
.hero-cover-column:nth-child(5) { animation-delay: 12s; }

.hero-cover-column img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    filter: brightness(0.7);
    transition: all 0.5s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hero-cover-column img:hover {
    filter: brightness(1);
    transform: scale(1.05);
    z-index: 10;
}

/* Film roll scrolling animation */
@keyframes scrollDown {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.75) 0%, rgba(29, 185, 84, 0.08) 100%);
    z-index: 2;
}

/* Hero content container */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* Hero title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title-highlight {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Glassmorphism input card */
.hero-input-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.hero-input-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(29, 185, 84, 0.3);
    box-shadow: 0 12px 48px rgba(29, 185, 84, 0.2);
}

/* Input group */
.hero-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

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

.hero-input:focus {
    outline: none;
    border-color: #1DB954;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.1);
}

.hero-button {
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(29, 185, 84, 0.3);
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(29, 185, 84, 0.5);
}

.hero-button:active {
    transform: translateY(0);
}

/* Hint text */
.hero-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
}

/* Collapsible supported links */
.hero-supported-links {
    margin-top: 1rem;
    text-align: left;
}

.hero-supported-links summary {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.hero-supported-links summary:hover {
    color: #1DB954;
}

.hero-supported-links ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.hero-supported-links li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.3rem 0;
    line-height: 1.5;
}

.hero-supported-links strong {
    color: rgba(255, 255, 255, 0.7);
}

.hero-supported-links em {
    color: #1DB954;
    font-style: normal;
}

/* Features row */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.hero-feature-icon {
    color: #1DB954;
    font-size: 1.2rem;
}

/* Chrome extension promo - dark theme */
.hero-chrome-promo {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.hero-chrome-promo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.hero-chrome-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-chrome-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #1DB954;
    transform: translateY(-2px);
}

.hero-chrome-button img {
    width: 24px;
    height: 24px;
}

/* Hero feature icon styling */
.hero-feature-icon {
    color: #1DB954;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .chrome-banner {
        padding: 0.5rem;
        flex-direction: column;
        gap: 0.8rem;
        top: 60px;
        min-height: auto;
    }

    .chrome-banner-content {
        font-size: 0.85rem;
        text-align: center;
    }

    .chrome-banner-button {
        width: 100%;
        justify-content: center;
    }

    .chrome-banner-close {
        top: 0.5rem;
        right: 0.5rem;
    }

    .hero-section {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-input-card {
        padding: 1.5rem;
    }

    .hero-input-group {
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }

    .hero-features {
        gap: 1rem;
    }

    .hero-covers-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .hero-covers-wall img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-covers-wall img {
        height: 150px;
    }
}
