/* ChainLynk - Global Styles */
:root {
    /* Vibrant Color Palette: Slime Green, Hot Pink, Sky Blue */
    --slime-green: #39FF14;
    --hot-pink: #FF1493;
    --sky-blue: #00BFFF;
    
    --primary-color: var(--sky-blue);
    --primary-dark: #0099CC;
    --secondary-color: var(--hot-pink);
    --accent-color: var(--slime-green);
    --success-color: var(--slime-green);
    --danger-color: #FF006E;
    --warning-color: #FFD700;
    
    --dark-bg: #0a0a0a;
    --light-bg: #f0f4f8;
    --card-bg: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(255, 20, 147, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 191, 255, 0.2);
    --glow-pink: 0 0 20px rgba(255, 20, 147, 0.5);
    --glow-green: 0 0 20px rgba(57, 255, 20, 0.5);
    --glow-blue: 0 0 20px rgba(0, 191, 255, 0.5);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--slime-green) 0%, var(--hot-pink) 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Auth Screens */
.auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--slime-green) 0%, var(--hot-pink) 100%);
    padding: 20px;
    animation: gradientShift 10s ease infinite;
    background-size: 200% 200%;
}

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

.auth-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--hot-pink);
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sky-blue) 0%, #0099CC 100%);
    color: white;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0099CC 0%, var(--sky-blue) 100%);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.5), 0 0 30px rgba(0, 191, 255, 0.4);
    border: 2px solid var(--sky-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--hot-pink) 0%, #CC0066 100%);
    color: white;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #CC0066 0%, var(--hot-pink) 100%);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.5), 0 0 30px rgba(255, 20, 147, 0.4);
    border: 2px solid var(--hot-pink);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--slime-green) 0%, #2EE600 100%);
    color: #0a0a0a;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.5), 0 0 30px rgba(57, 255, 20, 0.4);
    border: 2px solid var(--slime-green);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #FF006E 0%, #CC0055 100%);
    color: white;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(255, 0, 110, 0.5), 0 0 30px rgba(255, 0, 110, 0.4);
    border: 2px solid #FF006E;
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer a {
    color: var(--sky-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-shadow: var(--glow-blue);
}

.auth-footer a:hover {
    color: var(--hot-pink);
    text-shadow: var(--glow-pink);
}

.demo-accounts {
    margin-top: 30px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
    font-size: 0.9rem;
}

.demo-accounts h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.demo-accounts p {
    margin: 5px 0;
    color: var(--text-secondary);
}

.demo-accounts code {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, var(--dark-bg) 0%, #1a1a1a 100%);
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--hot-pink);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--slime-green) 0%, var(--hot-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--slime-green);
    background: rgba(57, 255, 20, 0.1);
    box-shadow: var(--glow-green);
}

.nav-link.active {
    color: var(--hot-pink);
    font-weight: 600;
    background: rgba(255, 20, 147, 0.15);
    box-shadow: var(--glow-pink);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-user span {
    font-weight: 600;
    color: var(--sky-blue);
    text-shadow: var(--glow-blue);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

.view {
    animation: fadeIn 0.3s ease-in;
}

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

.view-header {
    margin-bottom: 30px;
}

.view-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.view-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Dashboard */
.dashboard {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 18px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
    background: rgba(255, 255, 255, 0.25);
}

.stat-card h3 {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dashboard-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.content-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 191, 255, 0.4), 0 0 40px rgba(0, 191, 255, 0.3);
    border: 2px solid var(--sky-blue);
    background: rgba(255, 255, 255, 0.35);
}

.content-card.purchased {
    border: 2px solid var(--slime-green);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.3);
}

.content-card.purchased:hover {
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.5), 0 0 40px rgba(57, 255, 20, 0.4);
    border: 2px solid var(--slime-green);
}

.purchased-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--slime-green) 0%, #2EE600 100%);
    color: #0a0a0a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: var(--glow-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-card .content-body {
    cursor: default;
}

.content-card .content-actions {
    cursor: default;
}

.content-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--slime-green) 0%, var(--hot-pink) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.content-image[alt]:after {
    content: attr(alt);
    display: block;
}

.content-body {
    padding: 20px;
}

.content-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.content-artist {
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.content-type {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--slime-green) 0%, #2EE600 100%);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #0a0a0a;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--glow-green);
}

.content-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hot-pink);
    margin: 10px 0;
}

.content-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.btn-buy,
.btn-download,
.btn-lynk,
.btn-play,
.btn-preview,
.btn-edit {
    padding: 12px 8px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-buy {
    background: linear-gradient(135deg, var(--sky-blue) 0%, #0099CC 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
    border: 2px solid transparent;
}

.btn-buy:hover {
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.5), 0 0 30px rgba(0, 191, 255, 0.4);
    transform: translateY(-2px);
    border: 2px solid var(--sky-blue);
    background: linear-gradient(135deg, #0099CC 0%, var(--sky-blue) 100%);
}

.btn-download {
    background: linear-gradient(135deg, var(--slime-green) 0%, #2EE600 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
    border: 2px solid transparent;
}

.btn-download:hover {
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.5), 0 0 30px rgba(57, 255, 20, 0.4);
    transform: translateY(-2px);
    border: 2px solid var(--slime-green);
    background: linear-gradient(135deg, #2EE600 0%, var(--slime-green) 100%);
}

.btn-lynk {
    background: linear-gradient(135deg, var(--hot-pink) 0%, #CC0066 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
    border: 2px solid transparent;
}

.btn-lynk:hover {
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.5), 0 0 30px rgba(255, 20, 147, 0.4);
    transform: translateY(-2px);
    border: 2px solid var(--hot-pink);
    background: linear-gradient(135deg, #CC0066 0%, var(--hot-pink) 100%);
}

/* Filters */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.filters input,
.filters select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.filters input:focus,
.filters select:focus {
    outline: none;
    border-color: var(--sky-blue);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.filters input {
    flex: 1;
}

/* Chain Feed */
.chain-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chain-post {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--hot-pink);
    transition: all 0.3s;
}

.chain-post:hover {
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
    transform: translateX(5px);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--slime-green) 0%, var(--hot-pink) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--glow-pink);
    border: 3px solid white;
}

.post-info h3 {
    font-size: 1rem;
    color: var(--hot-pink);
    font-weight: 700;
}

.post-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.post-content {
    margin: 15px 0;
    line-height: 1.6;
    color: var(--text-primary);
}

.post-content a {
    color: var(--sky-blue);
    font-weight: 600;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

/* QR Code */
.qr-container {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin-top: 15px;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 15px auto;
    border: 2px solid var(--border-color);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(255, 20, 147, 0.4);
    border: 2px solid var(--hot-pink);
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--slime-green) 0%, var(--hot-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.close-modal {
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
}

.close-modal:hover {
    color: var(--hot-pink);
    transform: rotate(90deg);
}

/* Tables */
.user-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.user-table th,
.user-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.user-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--text-primary);
}

.user-table tr:hover {
    background: var(--light-bg);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: var(--warning-color);
    color: white;
}

.status-approved {
    background: var(--success-color);
    color: white;
}

.status-rejected {
    background: var(--danger-color);
    color: white;
}

/* Commission Form */
.commission-form {
    max-width: 800px;
}

.commission-form .form-row {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 10px;
}

.success-message {
    color: var(--success-color);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* Media Player Styles */
.media-player-content {
    max-width: 900px;
    width: 100%;
}

.media-player-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.player-container {
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    min-height: 60px;
}

.player-container audio {
    width: 100%;
    outline: none;
}

.player-container video {
    width: 100%;
    max-height: 500px;
    display: block;
}

.player-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.player-artwork {
    flex-shrink: 0;
}

.player-artwork img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.player-details {
    flex: 1;
}

.player-details h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.player-details p {
    color: var(--text-secondary);
    margin: 5px 0;
    line-height: 1.6;
}

.player-controls-custom {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 auto;
}

.control-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-container span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 45px;
    text-align: center;
}

#progressBar {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

#progressBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
}

#progressBar::-webkit-slider-thumb:hover {
    background: var(--primary-dark);
    transform: scale(1.2);
}

#progressBar::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

#progressBar::-moz-range-thumb:hover {
    background: var(--primary-dark);
    transform: scale(1.2);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 250px;
    margin: 0 auto;
}

.volume-container span {
    font-size: 1.2rem;
}

#volumeBar {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

#volumeBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

#volumeBar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

.preview-notice {
    background: linear-gradient(135deg, var(--warning-color) 0%, #f97316 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.preview-notice p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.preview-notice .btn-primary {
    background: white;
    color: var(--warning-color);
}

.preview-notice .btn-primary:hover {
    background: var(--light-bg);
}

/* Play button on content cards */
.btn-play {
    background: linear-gradient(135deg, var(--slime-green) 0%, #2EE600 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
    border: 2px solid transparent;
}

.btn-play:hover {
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.5), 0 0 30px rgba(57, 255, 20, 0.4);
    transform: translateY(-2px);
    border: 2px solid var(--slime-green);
    background: linear-gradient(135deg, #2EE600 0%, var(--slime-green) 100%);
}

.btn-preview {
    background: linear-gradient(135deg, var(--hot-pink) 0%, #CC0066 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
    border: 2px solid transparent;
}

.btn-preview:hover {
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.5), 0 0 30px rgba(255, 20, 147, 0.4);
    transform: translateY(-2px);
    border: 2px solid var(--hot-pink);
    background: linear-gradient(135deg, #CC0066 0%, var(--hot-pink) 100%);
}

/* Responsive media player */
@media (max-width: 768px) {
    .player-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .player-artwork img {
        width: 120px;
        height: 120px;
    }

    .progress-container span {
        min-width: 40px;
        font-size: 0.8rem;
    }

    .volume-container {
        max-width: 200px;
    }

    .media-player-content {
        max-width: 100%;
    }
}

/* Upload Interface Styles */
.upload-options {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.upload-tabs {
    display: flex;
    background: var(--light-bg);
    border-bottom: 2px solid var(--border-color);
}

.upload-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.upload-tab.active {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.upload-tab:hover:not(.active) {
    background: rgba(99, 102, 241, 0.1);
}

.upload-section {
    padding: 20px;
}

.upload-section input[type="file"] {
    width: 100%;
    padding: 15px;
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    background: rgba(99, 102, 241, 0.05);
    transition: all 0.3s;
}

.upload-section input[type="file"]:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-dark);
}

.upload-section input[type="url"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.file-preview {
    margin-top: 15px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
    display: none;
}

.file-preview.active {
    display: block;
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
}

.file-preview-item:last-child {
    margin-bottom: 0;
}

.file-preview-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.file-preview-info {
    flex: 1;
}

.file-preview-info h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.file-preview-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.file-preview-remove {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.file-preview-remove:hover {
    background: #dc2626;
}

.help-text {
    margin: 10px 0 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.album-tracks-list {
    margin-top: 15px;
}

.album-track-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    margin-bottom: 8px;
}

.track-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.track-info {
    flex: 1;
}

.track-info h5 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.track-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Content Detail Modal */
.content-detail-modal .modal-content {
    max-width: 800px;
}

.content-detail-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.content-detail-artwork {
    flex-shrink: 0;
    position: relative;
}

.content-detail-artwork img {
    width: 300px;
    height: 300px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(255, 20, 147, 0.3);
    border: 3px solid var(--hot-pink);
}

.content-detail-artwork .purchased-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--slime-green) 0%, #2EE600 100%);
    color: #0a0a0a;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: var(--glow-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-detail-info {
    flex: 1;
}

.content-detail-info h2 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, var(--slime-green) 0%, var(--hot-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.content-detail-artist {
    font-size: 1.2rem;
    color: var(--hot-pink);
    margin: 0 0 15px 0;
    font-weight: 600;
}

.content-detail-type {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--slime-green) 0%, #2EE600 100%);
    color: #0a0a0a;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: var(--glow-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hot-pink);
    margin: 20px 0;
}

.content-detail-description {
    line-height: 1.8;
    color: var(--text-primary);
    margin: 20px 0;
}

.content-detail-meta {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.content-detail-meta-item {
    display: flex;
    flex-direction: column;
}

.content-detail-meta-item label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.content-detail-meta-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.content-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.content-detail-actions button {
    flex: 1;
    padding: 15px;
    font-size: 1rem;
}

/* Edit Button - inherits from .content-actions button base styles but needs override */
.btn-edit {
    background: linear-gradient(135deg, var(--warning-color) 0%, #f97316 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    border: 2px solid transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-edit:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    border: 2px solid var(--warning-color);
    background: linear-gradient(135deg, #f97316 0%, var(--warning-color) 100%);
}

/* Responsive content detail */
@media (max-width: 768px) {
    .content-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .content-detail-artwork img {
        width: 200px;
        height: 200px;
    }

    .content-detail-meta {
        flex-direction: column;
        gap: 15px;
    }

    .content-detail-actions {
        flex-direction: column;
    }
}

/* Custom Notification System */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    max-width: 400px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.error {
    border-left-color: var(--danger-color);
}

.notification.warning {
    border-left-color: var(--warning-color);
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.notification-message {
    font-size: 14px;
    color: var(--text-secondary);
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.notification-close:hover {
    background: var(--border-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.notification.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

/* Success Card Overlay */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(57, 255, 20, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
    z-index: 10;
    border-radius: 12px;
}

.success-overlay-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.success-overlay-text {
    font-size: 20px;
}

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

/* Chain Post Form Styling */
#chainPostForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#chainPostText {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
}

#chainPostText:focus {
    outline: none;
    border-color: var(--hot-pink);
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2);
    background: white;
}

/* Dashboard Charts Styles */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

.chart-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chart-container h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.chart-container canvas {
    height: 300px !important;
    max-height: 300px;
}

.time-period-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.period-btn {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.period-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.period-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--glow-blue);
}

/* Purchase Table Styles */
#purchaseListContainer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow-x: auto;
}

.purchase-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.purchase-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.purchase-table thead th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.purchase-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.purchase-table tbody tr:hover {
    background-color: rgba(0, 191, 255, 0.05);
}

.purchase-table tbody td {
    padding: 15px;
    color: var(--text-primary);
}

.content-type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-type-badge.single {
    background: linear-gradient(135deg, #FF1493, #FF69B4);
    color: white;
}

.content-type-badge.album {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.content-type-badge.video {
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    color: white;
}

.content-type-badge.podcast {
    background: linear-gradient(135deg, #39FF14, #32CD32);
    color: white;
}

.content-type-badge.merch {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .purchase-table {
        font-size: 0.85rem;
    }
    
    .purchase-table thead th,
    .purchase-table tbody td {
        padding: 10px 8px;
    }
    
    .chart-container canvas {
        height: 250px !important;
        max-height: 250px;
    }
}

/* Media Player Tracklist Styles */
.tracklist-container {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 2px solid rgba(0, 191, 255, 0.2);
}

.tracklist-container h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.track-item:hover {
    border-color: var(--primary-color);
    background: rgba(0, 191, 255, 0.05);
    transform: translateX(5px);
}

.track-item.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(255, 20, 147, 0.1));
    font-weight: 600;
}

.track-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.track-item.active .track-number {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 191, 255, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 191, 255, 0);
    }
}

.track-title {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.track-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Responsive tracklist */
@media (max-width: 768px) {
    .track-item {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .track-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .track-title {
        font-size: 0.9rem;
    }
}
