/* BloomRecordz Custom Styles */
:root {
    --primary-purple: #8b5cf6;
    --primary-blue: #3b82f6;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --success-green: #10b981;
    --warning-yellow: #f59e0b;
    --error-red: #ef4444;
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
}

/* Advanced Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.logo-svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.logo-svg:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    background: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: var(--darker-bg) !important;
    border-bottom: 1px solid var(--card-bg);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-purple) !important;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.card-header {
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-purple);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-graphic svg {
    max-width: 100%;
    height: auto;
}

/* Stats Section */
.stat-number {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-purple);
    line-height: 1;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Features Section */
.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.platform-item {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.platform-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-purple);
}

.platform-logo {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    background: var(--primary-purple);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Responsive Design - Mobile First */
@media (max-width: 576px) {
    .hero {
        padding: 2rem 0;
        min-height: 70vh;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .hero .row.mt-5 {
        margin-top: 2rem !important;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .hero-graphic {
        margin-top: 2rem;
    }
    
    .hero-graphic svg {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .platform-item {
        padding: 0.8rem;
    }
    
    .platform-logo {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* ENHANCED DESKTOP STYLES - Large Screens (1200px+) */
@media (min-width: 1200px) {
    .hero {
        min-height: 80vh;
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 4rem !important;
        line-height: 1.1;
        margin-bottom: 2rem;
    }
    
    .hero .lead {
        font-size: 1.4rem !important;
        line-height: 1.6;
        margin-bottom: 3rem;
    }
    
    .stat-number {
        font-size: 3rem !important;
        font-weight: 800;
    }
    
    .stat-label {
        font-size: 1rem !important;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }
    
    .btn-lg {
        font-size: 1.25rem !important;
        padding: 1rem 2.5rem !important;
        border-radius: 12px;
        width: auto !important;
    }
    
    .d-flex.gap-3 {
        flex-direction: row !important;
        gap: 1.5rem !important;
    }
    
    .container {
        max-width: 1400px;
    }
    
    .hero-content {
        text-align: left !important;
    }
    
    .hero .row {
        flex-direction: row !important;
    }
    
    .hero .col-lg-6:first-child {
        margin-top: 0 !important;
    }
}

/* ENHANCED TABLET STYLES - Medium Screens (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero {
        min-height: 70vh;
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 3.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem !important;
        margin-bottom: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
        font-weight: 700;
    }
    
    .stat-label {
        font-size: 0.95rem !important;
    }
    
    .btn-lg {
        font-size: 1.1rem !important;
        padding: 0.9rem 2rem !important;
        width: auto !important;
    }
    
    .d-flex.gap-3 {
        flex-direction: row !important;
        gap: 1.2rem !important;
    }
    
    .hero-content {
        text-align: left !important;
    }
}

/* Tablet Styles */
@media (min-width: 577px) and (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
    
    .d-flex.gap-3 {
        gap: 1rem !important;
    }
    
    .btn-lg {
        padding: 0.9rem 1.8rem;
    }
    
    .hero-graphic svg {
        max-width: 450px;
    }
    
    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 769px) and (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop */
@media (min-width: 1201px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Navigation Mobile Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--darker-bg);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid var(--card-bg);
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
}

/* Form Responsive */
@media (max-width: 576px) {
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .card {
        margin: 0.5rem;
    }
}

/* Section Spacing Mobile */
@media (max-width: 576px) {
    section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
    }
    
    .row > [class*="col-"] {
        margin-bottom: 1rem;
    }
}

.btn-outline-primary:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
}

.btn-success {
    background: var(--success-green);
    border: none;
}

.btn-warning {
    background: var(--warning-yellow);
    border: none;
    color: var(--dark-bg);
}

.btn-danger {
    background: var(--error-red);
    border: none;
}

/* Forms */
.form-control, .form-select {
    background: var(--darker-bg);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    background: var(--darker-bg);
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
    color: var(--text-primary);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Tables */
.table {
    color: var(--text-primary);
}

.table-dark {
    --bs-table-bg: var(--card-bg);
    --bs-table-border-color: rgba(139, 92, 246, 0.2);
}

.table-dark th {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.1);
}

/* Alerts */
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success-green);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error-red);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning-yellow);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    min-height: 60vh;
    display: flex;
    align-items: 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" cx="50%" cy="50%"><stop offset="0%" style="stop-color:%238b5cf6;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%238b5cf6;stop-opacity:0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Stats Cards */
.stat-card {
    background: var(--card-bg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

/* Upload Progress */
.upload-progress {
    background: var(--darker-bg);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.progress {
    height: 8px;
    background: var(--darker-bg);
    border-radius: 4px;
}

.progress-bar {
    background: var(--gradient-purple);
    border-radius: 4px;
}

/* Status Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-yellow);
}

.badge-approved {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-green);
}

.badge-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error-red);
}

.badge-distributed {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-purple);
}

/* Music Player Styles */
.track-item {
    background: var(--card-bg);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.track-item:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.track-artwork {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Subscription Plans */
.plan-card {
    background: var(--card-bg);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card.featured {
    border-color: var(--primary-purple);
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.2);
}

.plan-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.plan-features li i {
    color: var(--success-green);
    margin-right: 0.5rem;
}

/* File Upload */
.file-upload {
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload:hover {
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.05);
}

.file-upload.dragover {
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
}

.file-upload i {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.8);
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-purple);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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