/* Custom styles for Disposable.music */

/* Global styles */
body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-light);
}

:root {
    --color-dark: #0a0a0a;
    --color-primary: #1a1a1a;
    --color-light: #f5f5f5;
    --color-secondary: #39ff14; /* Neon green */
    --color-accent: #ff36f7;    /* Neon pink */
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Header styles */
header {
    background-color: rgba(10, 10, 10, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Hero section */
.hero {
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/backgrounds/hero-background.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.hero > div {
    position: relative;
    z-index: 1;
}

/* Music wave animation for hero section */
.music-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 50%, rgba(29, 185, 84, 0.05) 50%);
    background-size: 50px 100%;
}

.music-waves::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(255, 0, 255, 0.05) 50%);
    background-size: 100% 50px;
}

/* Glow effects */
.glow-text {
    text-shadow: 0 0 10px rgba(29, 185, 84, 0.7);
}

.glow-accent {
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
}

/* Category cards */
.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(57, 255, 20, 0.2);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.category-card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0));
    transition: all 0.3s ease;
}

.category-card:hover .content {
    background: linear-gradient(to top, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0.8) 80%, rgba(10, 10, 10, 0));
}

/* Category filters */
.category-filter {
    transition: all 0.3s ease;
}

.category-filter:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Music player styling */
.music-player {
    background-color: var(--color-primary);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.progress-container {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 8px;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-tooltip {
    position: absolute;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    bottom: 15px;
    transform: translateX(-50%);
    pointer-events: none;
}

/* Mobile menu */
#mobile-menu {
    /* Styles handled by Tailwind classes */
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

/* For browsers that don't fully support the modern CSS in Tailwind */
.overflow-hidden {
    overflow: hidden !important;
}

/* Newsletter form */
.newsletter-form input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-card .content {
        padding: 15px;
    }
    
    .category-card h3 {
        font-size: 1rem;
    }
    
    .music-player {
        padding: 16px;
    }
}

/* Utility classes */
.text-secondary {
    color: var(--color-secondary);
}

.text-accent {
    color: var(--color-accent);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-accent {
    background-color: var(--color-accent);
}

.bg-dark {
    background-color: var(--color-dark);
}

.bg-primary {
    background-color: var(--color-primary);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}
