/* ==========================================================================
   Noise Petal Collective - Main Styles
   ========================================================================== */

/* Fonts */
@font-face {
    font-family: 'SiteFont';
    src: url('/assets/fonts/site.ttf') format('truetype');
}

/* CSS Variables */
:root {
    --primary: #6B46C1;
    --secondary: #EC4899;
    --dark: #0a0a0a;
    --light: #ffffff;
    --section-spacing: 80px;
    --card-radius: 12px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'SiteFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
    background: #000;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ==========================================================================
   Background
   ========================================================================== */

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('/assets/imgs/background.gif') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: -2;
    opacity: 0.3;
    transform: translateZ(0);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

/* ==========================================================================
   News Ticker
   ========================================================================== */

.news-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 8px 0;
    overflow: hidden;
    z-index: 101;
    height: 36px;
    display: flex;
    align-items: center;
}

.news-ticker-content {
    display: flex;
    animation: scroll-news 30s linear infinite;
    white-space: nowrap;
}

.news-item {
    padding: 0 40px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    display: inline-block;
}

@keyframes scroll-news {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Main Layout
   ========================================================================== */

.main {
    position: relative;
    z-index: 1;
    padding-top: 36px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(107, 70, 193, 0.4);

}

.title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.motto-text {
    font-size: 1.2rem;
    opacity: 0.7;
    font-style: italic;
}

/* ==========================================================================
   Section Base Styles
   ========================================================================== */

section {
    padding: var(--section-spacing) 20px;
    position: relative;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Featured Releases - DARKER CARDS
   ========================================================================== */

.featured-section {
    background: linear-gradient(180deg, transparent, rgba(107, 70, 193, 0.05), transparent);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.featured-card {
    background: rgba(0, 0, 0, 0.6); /* Dark background */
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.featured-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(107, 70, 193, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.featured-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.featured-content {
    padding: 25px;
    text-align: center;
}

.featured-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.featured-content p {
    opacity: 0.7;
    margin-bottom: 20px;
    font-size: 14px;
}

.featured-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.featured-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 70, 193, 0.4);
}

/* ==========================================================================
   Artists Section - DARKER CARDS
   ========================================================================== */

.artists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.artist-card {
    background: rgba(0, 0, 0, 0.6); /* Dark background */
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--light);
    display: block;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.artist-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(107, 70, 193, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.artist-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.artist-info {
    padding: 25px;
}

.artist-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.artist-genre {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.newsletter-section {
    background: linear-gradient(180deg, transparent, rgba(236, 72, 153, 0.05), transparent);
    text-align: center;
}

.newsletter-content {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-text {
    opacity: 0.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.4); /* Darker input */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(107, 70, 193, 0.5);
}

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

.newsletter-form button {
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 70, 193, 0.4);
}

.newsletter-message {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    text-align: center;
    padding: 60px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

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

.footer p {
    opacity: 0.6;
    margin-bottom: 10px;
    font-size: 13px;
}

/* ==========================================================================
   Mobile Responsive - KEEP 2 COLUMNS
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    .hero-section {
        padding: 80px 20px;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 35px;
    }
    
    .artists-grid,
    .featured-grid {
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .artists-grid,
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
    
    .featured-content,
    .artist-info {
        padding: 15px;
    }
    
    .featured-content h3,
    .artist-name {
        font-size: 16px;
    }
    
    .featured-content p,
    .artist-genre {
        font-size: 12px;
    }
    
    .featured-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-section {
        padding: 60px 20px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}