/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.nav-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-links button {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-links button:hover {
    background: #667eea;
    color: white;
}

.auth-section {
    display: flex;
    gap: 10px;
    align-items: center;
}

.free-badge {
    background: #4CAF50;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.credit-balance {
    background: #ffd700;
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.section:hover {
    transform: translateY(-5px);
}

.section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 24px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.stat-icon {
    font-size: 36px;
    opacity: 0.8;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-help {
    color: #666;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.genre-grid label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

/* Button Styles */
.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #28a745;
    margin-top: 10px;
}

.btn-secondary:hover {
    background: #218838;
}

.buy-credits-btn {
    background: #ffd700;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-credits-btn:hover {
    background: #ffed4a;
    transform: scale(1.05);
}

/* Credit System */
.credit-system {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.credit-info {
    background: rgba(255, 215, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0;
}

.credit-cost {
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
}

.acceptance-rate {
    color: #28a745;
    font-weight: bold;
}

/* Spotify Connect */
.spotify-connect {
    background: #1DB954;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.spotify-connect:hover {
    background: #1ed760;
    transform: scale(1.05);
}

.user-info {
    background: rgba(29, 185, 84, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Submission Item Status Indicators */
.submission-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    position: relative;
}

.submission-item.pending {
    border-left-color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
}

.submission-item.accepted {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.submission-item.rejected {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.pending {
    background: #ffc107;
    color: #333;
}

.status-badge.accepted {
    background: #28a745;
    color: white;
}

.status-badge.rejected {
    background: #dc3545;
    color: white;
}

/* Enhanced Submission Details */
.submission-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: 12px;
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
}

.detail-value {
    font-size: 14px;
    color: #333;
}

.submission-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.follow-btn {
    background: #1DB954;
    color: white;
}

.accept-btn {
    background: #28a745;
    color: white;
}

.reject-btn {
    background: #dc3545;
    color: white;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

/* Credit Packages */
.credit-packages {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.package {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package:hover {
    border-color: #667eea;
}

.package.featured {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.package strong {
    display: block;
    margin-bottom: 5px;
}

.package small {
    color: #666;
    font-size: 12px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.cookie-banner button {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stat-icon {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .submission-details {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .auth-section {
        flex-direction: column;
    }
    
    .genre-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .submission-actions {
        flex-direction: column;
    }
}