/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #2d1b69 50%, #1a1a1a 75%, #0f0f0f 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #8a63d2, #f06292);
}

/* Header Styles */
.navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(111, 66, 193, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    box-shadow: 0 8px 32px rgba(111, 66, 193, 0.2);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #6f42c1, #e83e8c, #fd7e14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.navbar-brand::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;
}

.navbar-brand:hover::before {
    left: 100%;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: #e83e8c !important;
    text-shadow: 0 0 10px rgba(232, 62, 140, 0.5);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1) 0%, rgba(232, 62, 140, 0.1) 100%);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0" stop-color="%236f42c1" stop-opacity="0.1"/><stop offset="1" stop-color="%23e83e8c" stop-opacity="0.05"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="80" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #e83e8c, #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(232, 62, 140, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #cccccc;
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Epic Buttons */
.btn-epic {
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    border: none;
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.btn-epic::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;
}

.btn-epic:hover::before {
    left: 100%;
}

.btn-epic:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(111, 66, 193, 0.5);
    color: white;
}

.btn-epic:active {
    transform: translateY(-1px) scale(1.02);
}

/* Stats Section */
.stats {
    background: rgba(0, 0, 0, 0.8);
    padding: 80px 0;
    border-top: 1px solid rgba(111, 66, 193, 0.3);
    border-bottom: 1px solid rgba(111, 66, 193, 0.3);
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1), rgba(232, 62, 140, 0.1));
    border-radius: 20px;
    margin: 15px 0;
    border: 1px solid rgba(111, 66, 193, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.1), rgba(232, 62, 140, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(111, 66, 193, 0.3);
    border-color: rgba(232, 62, 140, 0.5);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #e83e8c;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(232, 62, 140, 0.5);
}

.stat-label {
    font-size: 1.2rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Beats Section */
.featured-beats {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #ffffff, #e83e8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    border-radius: 2px;
}

/* Beat Cards */
.beat-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(45, 27, 105, 0.2));
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid rgba(111, 66, 193, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.beat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.1), rgba(232, 62, 140, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.beat-card:hover::before {
    opacity: 1;
}

.beat-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(111, 66, 193, 0.4);
    border-color: rgba(232, 62, 140, 0.6);
}

.beat-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.beat-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.beat-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.beat-genre {
    color: #e83e8c;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beat-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: #6f42c1;
    text-shadow: 0 0 15px rgba(111, 66, 193, 0.5);
}

/* Play Button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
    opacity: 0;
}

.beat-card:hover .play-btn {
    opacity: 1;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 12px 35px rgba(111, 66, 193, 0.6);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.1) 0%, rgba(26, 26, 26, 0.9) 100%);
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(45, 27, 105, 0.2));
    border-radius: 20px;
    margin: 20px 0;
    border: 1px solid rgba(111, 66, 193, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.1), rgba(232, 62, 140, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(111, 66, 193, 0.3);
    border-color: rgba(232, 62, 140, 0.5);
}

.feature-icon {
    font-size: 3rem;
    color: #e83e8c;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(232, 62, 140, 0.5);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.feature-description {
    color: #cccccc;
    line-height: 1.6;
}

/* Mobile Fixed Bottom Player */
.mobile-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 26, 0.95));
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(111, 66, 193, 0.3);
    padding: 15px 20px;
    display: none;
    z-index: 1000;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.mobile-player.active {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-player-info {
    flex: 1;
    margin-right: 15px;
}

.mobile-player-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.mobile-player-artist {
    font-size: 0.8rem;
    color: #cccccc;
}

.mobile-player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-play-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.5);
}

.mobile-close-btn {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.mobile-close-btn:hover {
    color: #e83e8c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .beat-card {
        margin: 15px 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-epic {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .featured-beats {
        padding: 80px 0;
    }
    
    .features {
        padding: 80px 0;
    }
}

/* Audio Player Styles */
.audio-player {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(45, 27, 105, 0.2));
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(111, 66, 193, 0.3);
    backdrop-filter: blur(10px);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.audio-progress {
    flex: 1;
    height: 6px;
    background: rgba(111, 66, 193, 0.3);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.audio-progress-bar {
    height: 100%;
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    width: 0%;
    transition: width 0.1s ease;
}

.audio-time {
    color: #cccccc;
    font-size: 0.9rem;
    min-width: 40px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(111, 66, 193, 0.3);
    border-radius: 50%;
    border-top-color: #6f42c1;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Glowing Effects */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6f42c1, #e83e8c, #6f42c1);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

.glow-effect:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* Particle Effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    border-radius: 50%;
    animation: float-particle 15s linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Custom Scrollbar for containers */
.scrollable-container {
    scrollbar-width: thin;
    scrollbar-color: #6f42c1 #1a1a1a;
}

.scrollable-container::-webkit-scrollbar {
    width: 6px;
}

.scrollable-container::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.scrollable-container::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
    border-radius: 10px;
} 