/* ===================================================================
   404 DEEP RECORDS - Complete Production Stylesheet
   Version: 4.0 | 2500+ lines | All components styled
   =================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-light: #33ddff;
    --primary-glow: rgba(0, 212, 255, 0.3);
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --accent: #ff6b35;
    --accent-dark: #e65a2a;
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.15);
    --danger: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.15);
    --info: #3b82f6;
    --info-light: rgba(59, 130, 246, 0.15);
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-surface: #1a1a2e;
    --bg-hover: #252540;
    --text: #e8e8f0;
    --text-secondary: #b0b0c0;
    --text-muted: #6b6b80;
    --text-white: #ffffff;
    --border: #2a2a3e;
    --border-light: #3a3a50;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-glow-lg: 0 0 40px rgba(0, 212, 255, 0.4);
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    --header-height: 70px;
    --player-height: 80px;
    --sidebar-width: 250px;
    --container-max: 1200px;
    --container-wide: 1400px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-white);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

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

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.page-content {
    min-height: calc(100vh - var(--header-height) - 300px);
    padding: 40px 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo:hover {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: var(--transition-fast);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-actions,
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions a,
.header-actions a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-actions a:hover,
.header-actions a:hover {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
    color: var(--text);
}

.cart-icon .badge,
.cart-icon .count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    margin-right: 8px;
}

.lang-switcher a {
    font-size: 0.75rem;
    padding: 3px 6px !important;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    border: 1px solid transparent;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-card);
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
}

.mobile-nav.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(10, 10, 15, 0.7));
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-white), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: var(--header-height);
    border-bottom: 1px solid var(--border);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.85) 0%, rgba(18, 18, 26, 0.95) 100%);
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #000;
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
    color: #fff;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-success:hover {
    background: #059669;
    color: #fff;
}

.btn-warning {
    background: var(--warning);
    color: #000;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-xs {
    padding: 4px 10px;
    font-size: 0.75rem;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.btn-icon.btn-sm {
    width: 32px;
    height: 32px;
}

.btn[disabled],
.btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 212, 255, 0.3);
}

.card-body {
    padding: 24px;
}

.card-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

/* ===== TRACK CARDS ===== */
.track-grid,
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.track-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.4);
}

.track-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-surface);
}

.track-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.track-card:hover .track-card-image img {
    transform: scale(1.08);
}

.track-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: var(--transition);
}

.track-card:hover .track-card-play {
    opacity: 1;
}

.track-card-play button,
.track-card-play .play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #000;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.track-card-play button:hover,
.track-card-play .play-btn:hover {
    transform: scale(1.1);
}

.track-card-body,
.track-card-info {
    padding: 16px;
}

.track-card-body h3,
.track-card-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-card-body h3 a,
.track-card-info h3 a {
    color: var(--text-white);
}

.track-card-body h3 a:hover,
.track-card-info h3 a:hover {
    color: var(--primary);
}

.track-card-body .artist,
.track-card-artist {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.track-meta,
.track-card-meta {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    flex-wrap: wrap;
}

.track-meta span,
.track-card-meta span {
    background: var(--bg-surface);
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.track-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
}

.track-card-footer .price,
.track-card-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.15rem;
}

.track-card-footer .price .original,
.track-card-price .original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 6px;
    font-weight: 400;
}

.track-card-actions {
    display: flex;
    gap: 8px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-control::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b80' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-grid .full-width,
.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.span-2 {
    grid-column: span 2;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-check,
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 12px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.form-check label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    margin-bottom: 0;
}

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
}

.form-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 4px;
}

.input-group {
    display: flex;
    gap: 0;
}

.input-group input {
    border-radius: var(--radius) 0 0 var(--radius);
}

.input-group .btn {
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== ALERTS & MESSAGES ===== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid;
}

.alert-success {
    background: var(--success-light);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-danger,
.alert-error {
    background: var(--danger-light);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-danger ul {
    padding-left: 20px;
    list-style: disc;
}

.alert-warning {
    background: var(--warning-light);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.alert-info {
    background: var(--info-light);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--info);
}

.flash-message {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 20px;
    z-index: 1100;
    min-width: 300px;
    max-width: 450px;
    animation: slideInRight 0.3s ease;
}

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

/* ===== DATA TABLES ===== */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.data-table th {
    background: var(--bg-surface);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.data-table tr:hover td {
    background: rgba(0, 212, 255, 0.03);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table .actions {
    display: flex;
    gap: 6px;
}

/* ===== BADGES ===== */
.badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-success, .badge-completed, .badge-active,
.status-completed, .status-active {
    background: var(--success-light);
    color: var(--success);
}

.badge-warning, .badge-pending,
.status-pending {
    background: var(--warning-light);
    color: var(--warning);
}

.badge-danger, .badge-refunded, .badge-disabled,
.status-refunded {
    background: var(--danger-light);
    color: var(--danger);
}

.badge-info {
    background: var(--info-light);
    color: var(--info);
}

.badge-primary, .badge-buyer {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary);
}

.badge-secondary, .badge-seller {
    background: rgba(124, 58, 237, 0.15);
    color: var(--secondary);
}

.badge-admin {
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent);
}

.badge-draft {
    background: rgba(107, 107, 128, 0.15);
    color: var(--text-muted);
}

.role-badge {
    font-size: 0.75rem;
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link,
.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.page-link.active,
.page-link:hover,
.pagination a:hover,
.pagination .active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ===== AUTH PAGES ===== */
.auth-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.auth-switch,
.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-switch a,
.auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.forgot-link:hover {
    color: var(--primary);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 12px;
}

/* ===== ACCOUNT SECTION ===== */
.account-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.account-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 30px;
}

.account-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.account-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.account-user {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.account-user h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.account-user p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.account-nav a:hover,
.account-nav a.active {
    background: rgba(0, 212, 255, 0.08);
    color: var(--primary);
}

.account-nav a i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.account-content h1 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.stat-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.stat-card span,
.stat-card .value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-card small,
.stat-card .label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* ===== SELLER SECTION ===== */
.seller-section {
    padding-top: calc(var(--header-height) + 30px);
}

.seller-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.seller-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.seller-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.seller-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.earnings-chart {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 30px;
}

.earnings-chart canvas {
    width: 100% !important;
    max-height: 300px;
}

.payout-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.payout-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.payout-card .amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.payout-card .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ===== CART ===== */
.cart-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.cart-item:hover {
    border-color: var(--border-light);
}

.cart-item img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.cart-item-info .artist {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.cart-item .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.cart-item .remove-btn {
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-fast);
    background: none;
    border: none;
}

.cart-item .remove-btn:hover {
    color: var(--danger);
    background: var(--danger-light);
}

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.cart-summary h3 {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    border-top: 2px solid var(--border);
    margin-top: 12px;
    padding-top: 16px;
    color: var(--text-white);
}

.summary-row.total .price {
    color: var(--primary);
}

.coupon-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.coupon-form input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
}

.empty-state,
.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i,
.empty-cart i {
    font-size: 3.5rem;
    color: var(--border);
    margin-bottom: 16px;
    display: block;
}

.empty-state h3,
.empty-cart h2 {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.empty-state p,
.empty-cart p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ===== CHECKOUT ===== */
.checkout-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.checkout-section-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.checkout-section-block h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-method-option input {
    display: none;
}

.payment-method-card {
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method-card:hover {
    border-color: var(--border-light);
}

.payment-method-option input:checked + .payment-method-card {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.payment-method-card i {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.payment-method-card .name {
    font-weight: 600;
    font-size: 0.9rem;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.checkout-item .info {
    flex: 1;
}

.checkout-item .info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.checkout-item .info .artist {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.checkout-item .price {
    font-weight: 600;
    color: var(--primary);
}

.secure-notice {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.secure-notice i {
    color: var(--success);
}

/* ===== SUCCESS & CANCEL PAGES ===== */
.success-section,
.cancel-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    text-align: center;
}

.success-icon,
.cancel-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-icon {
    color: var(--success);
}

.cancel-icon {
    color: var(--danger);
}

.order-details-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 24px auto;
    max-width: 400px;
    text-align: left;
}

.order-details-box .row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.order-details-box .row:last-child {
    border-bottom: none;
}

.success-actions,
.cancel-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ===== SHOP & FILTERS ===== */
.shop-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.shop-filters select,
.shop-filters input {
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    min-width: 150px;
    transition: var(--transition-fast);
}

.shop-filters select:focus,
.shop-filters input:focus {
    border-color: var(--primary);
    outline: none;
}

.shop-results {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== TRACK DETAIL ===== */
.track-detail {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.track-detail-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
}

.track-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.track-cover img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.track-info h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.track-info .artist {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.track-info .price-tag {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.track-info .price-tag .original {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 10px;
    font-weight: 400;
}

.track-metadata {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.track-metadata .meta-item {
    background: var(--bg-surface);
    padding: 14px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.track-metadata .meta-item small {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.track-metadata .meta-item strong {
    font-size: 1rem;
    color: var(--text-white);
}

.track-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.waveform-container {
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.waveform-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.waveform-controls .play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.waveform-controls .play-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.waveform-time {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.waveform-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.waveform-volume input[type="range"] {
    width: 80px;
    accent-color: var(--primary);
}

.track-includes {
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.track-includes h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.track-includes .include-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.track-includes .include-item i {
    color: var(--success);
    width: 20px;
    text-align: center;
}

.demo-notice {
    background: var(--warning-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

/* ===== RADIO PAGE ===== */
.radio-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.radio-player-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.radio-player-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.radio-player-container h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    position: relative;
}

.radio-player-container h1 i {
    color: var(--primary);
    margin-right: 10px;
}

.radio-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
}

.radio-visualizer {
    height: 80px;
    margin: 24px 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    position: relative;
}

.radio-visualizer .bar {
    width: 4px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: radioBar 1s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes radioBar {
    0%, 100% { height: 10px; }
    50% { height: 100%; }
}

.radio-visualizer .bar:nth-child(1) { animation-delay: 0s; }
.radio-visualizer .bar:nth-child(2) { animation-delay: 0.1s; }
.radio-visualizer .bar:nth-child(3) { animation-delay: 0.2s; }
.radio-visualizer .bar:nth-child(4) { animation-delay: 0.3s; }
.radio-visualizer .bar:nth-child(5) { animation-delay: 0.4s; }
.radio-visualizer .bar:nth-child(6) { animation-delay: 0.5s; }
.radio-visualizer .bar:nth-child(7) { animation-delay: 0.6s; }
.radio-visualizer .bar:nth-child(8) { animation-delay: 0.7s; }
.radio-visualizer .bar:nth-child(9) { animation-delay: 0.8s; }
.radio-visualizer .bar:nth-child(10) { animation-delay: 0.9s; }
.radio-visualizer .bar:nth-child(11) { animation-delay: 0.15s; }
.radio-visualizer .bar:nth-child(12) { animation-delay: 0.25s; }
.radio-visualizer .bar:nth-child(13) { animation-delay: 0.35s; }
.radio-visualizer .bar:nth-child(14) { animation-delay: 0.45s; }
.radio-visualizer .bar:nth-child(15) { animation-delay: 0.55s; }
.radio-visualizer .bar:nth-child(16) { animation-delay: 0.65s; }
.radio-visualizer .bar:nth-child(17) { animation-delay: 0.75s; }
.radio-visualizer .bar:nth-child(18) { animation-delay: 0.85s; }
.radio-visualizer .bar:nth-child(19) { animation-delay: 0.95s; }
.radio-visualizer .bar:nth-child(20) { animation-delay: 0.05s; }

.radio-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    border: none;
    margin: 0 auto 24px;
    transition: var(--transition);
    box-shadow: 0 0 30px var(--primary-glow);
    position: relative;
}

.radio-play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-lg);
}

.radio-now-playing {
    padding: 14px 20px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    margin-top: 20px;
    position: relative;
}

.radio-now-playing .label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.radio-now-playing .track-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
}

.radio-volume {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    position: relative;
}

.radio-volume input[type="range"] {
    width: 120px;
    accent-color: var(--primary);
}

.radio-history {
    margin-top: 40px;
}

.radio-history h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.radio-history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    transition: var(--transition-fast);
}

.radio-history-item:hover {
    border-color: var(--border-light);
}

.radio-history-item .time {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    min-width: 55px;
}

.radio-history-item .track-info {
    flex: 1;
}

.radio-history-item .track-info .title {
    font-weight: 500;
    color: var(--text-white);
    font-size: 0.95rem;
}

.radio-history-item .track-info .artist {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.radio-history-item .buy-link {
    font-size: 0.8rem;
}

/* ===== SELL YOUR MUSIC PAGE ===== */
.sell-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.sell-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.sell-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
}

.sell-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
}

.sell-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.info-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.info-card h3 i {
    font-size: 1.2rem;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li i {
    color: var(--success);
    margin-top: 3px;
    flex-shrink: 0;
}

.application-form {
    max-width: 700px;
    margin: 40px auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.application-form h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ===== SEND DEMO PAGE ===== */
.demo-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.demo-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.demo-intro h1 {
    margin-bottom: 12px;
}

.demo-form {
    max-width: 650px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.demo-form h2 {
    text-align: center;
    margin-bottom: 24px;
}

/* ===== BLOG ===== */
.blog-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-surface);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 20px;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-body h3 a {
    color: var(--text-white);
}

.blog-card-body h3 a:hover {
    color: var(--primary);
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Post */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.blog-post-header {
    margin-bottom: 30px;
}

.blog-post-header h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.blog-post-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-post-image img {
    width: 100%;
}

.blog-post-content {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.05rem;
}

.blog-post-content h2,
.blog-post-content h3 {
    margin: 2rem 0 1rem;
    color: var(--text-white);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content img {
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.blog-post-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 20px;
    margin: 1.5rem 0;
    background: var(--bg-surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-post-content ul,
.blog-post-content ol {
    padding-left: 24px;
    margin: 1rem 0;
}

.blog-post-content li {
    margin-bottom: 8px;
    list-style: disc;
}

.blog-post-content code {
    background: var(--bg-surface);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9em;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
    width: 24px;
    text-align: center;
}

.contact-info-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.contact-form h2 {
    margin-bottom: 24px;
}

/* ===== DOWNLOADS PAGE ===== */
.downloads-section {
    padding: 40px 0;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.download-item:hover {
    border-color: var(--border-light);
}

.download-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

.download-item .info {
    flex: 1;
}

.download-item .info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.download-item .info .meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-item .actions {
    display: flex;
    gap: 8px;
}

/* ===== FAQ PAGE ===== */
.faq-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.03);
}

.faq-question i {
    transition: var(--transition);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq-item.active .faq-question {
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 18px 20px;
    max-height: 500px;
}

/* ===== ERROR PAGES ===== */
.error-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
}

.error-section .error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.7;
    text-shadow: 0 0 30px var(--primary-glow);
}

.error-section h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.error-section p {
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand .logo img {
    height: 32px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-white);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 5px 0;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
}

.newsletter-section h2 {
    margin-bottom: 8px;
    position: relative;
}

.newsletter-section p {
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    border-color: var(--primary);
    outline: none;
}

.newsletter-form button {
    padding: 14px 24px;
    white-space: nowrap;
}

/* ===== GENRE TAGS & CARDS ===== */
.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.genre-tag {
    padding: 8px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.genre-tag:hover,
.genre-tag.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.genre-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}

.genre-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.1);
}

.genre-card i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.genre-card h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.genre-card .count,
.genre-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 1.5rem;
}

.section-header a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-header a:hover {
    color: var(--primary);
}

/* ===== STATIC PAGES ===== */
.static-page {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
}

.static-page-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

.static-page-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.static-page-content h2 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--text-white);
}

.static-page-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    color: var(--text-white);
}

.static-page-content p {
    margin-bottom: 1rem;
}

.static-page-content ul,
.static-page-content ol {
    margin: 1rem 0;
    padding-left: 24px;
}

.static-page-content li {
    margin-bottom: 8px;
    list-style: disc;
    color: var(--text-secondary);
}

.static-page-content a {
    color: var(--primary);
}

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

/* ===== INSTALLER PAGE ===== */
.installer-page {
    min-height: 100vh;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.installer-card {
    width: 100%;
    max-width: 600px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.installer-card h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.installer-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.installer-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--border);
    color: var(--text-muted);
    transition: var(--transition);
}

.installer-step.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #000;
}

.installer-step.completed {
    border-color: var(--success);
    background: var(--success);
    color: white;
}

.check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.check-item:last-child {
    border-bottom: none;
}

.check-item .status {
    font-weight: 600;
    font-size: 0.85rem;
}

.check-item .status.pass {
    color: var(--success);
}

.check-item .status.fail {
    color: var(--danger);
}

/* ===== PLAYER BAR (Bottom Fixed) ===== */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--player-height);
    background: rgba(18, 18, 26, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    z-index: 900;
    display: none;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.player-bar.active {
    display: flex;
}

.player-bar .track-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.player-bar .track-info img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.player-bar .track-info .title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.player-bar .track-info .artist {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.player-bar .controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-bar .controls button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
    padding: 4px;
}

.player-bar .controls button:hover {
    color: var(--primary);
}

.player-bar .controls .play-pause {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.player-bar .controls .play-pause:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.player-bar .progress {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.player-bar .progress .fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.player-bar .progress:hover .fill {
    background: var(--primary-light);
}

.player-bar .volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-bar .volume input[type="range"] {
    width: 80px;
    accent-color: var(--primary);
}

.player-bar .time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    min-width: 80px;
    text-align: center;
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease;
}

.cookie-banner-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
    margin: 0;
}

.cookie-banner .buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 800;
    border: none;
    font-size: 1rem;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-lg);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    font-size: 0.85rem;
    margin-top: var(--header-height);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    color: var(--border);
}

.breadcrumb .current {
    color: var(--text);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--danger);
    background: var(--danger-light);
}

/* ===== TOOLTIP ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-surface);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 100;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* ===== LOADING & ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-hover) 50%, var(--bg-surface) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

/* ===== ORDER DETAIL ===== */
.order-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.order-items-list {
    margin-bottom: 24px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.order-item .info {
    flex: 1;
}

.order-item .price {
    font-weight: 600;
    color: var(--primary);
}

/* ===== WISHLIST ===== */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .site-footer,
    .player-bar,
    .back-to-top,
    .cookie-banner,
    .mobile-toggle,
    .mobile-nav {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
    a {
        color: #000;
    }
    .card, .track-card, .stat-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}

/* ===================================================================
   LAYOUT-SPECIFIC CLASS OVERRIDES
   These match the actual class names used in the PHP views
   =================================================================== */

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 0.8rem;
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-right a {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-right a:hover {
    color: var(--primary);
}

.language-switcher {
    display: flex;
    gap: 6px;
}

.language-switcher a {
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.language-switcher a.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

/* ===== MAIN HEADER (layout uses .main-header) ===== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    transition: var(--transition);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
}

.main-header .logo img {
    height: 40px;
    width: auto;
}

.main-header .logo:hover {
    color: var(--primary);
}

.main-header .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-header .main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.main-header .main-nav a:hover,
.main-header .main-nav a.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
}

.main-header .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-header .cart-icon {
    position: relative;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 8px;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.main-header .cart-icon:hover {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent, #ff6b35);
    color: white;
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
}

/* ===== HERO OVERLAY & SUBTITLE ===== */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(10, 10, 15, 0.7));
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ===== MAIN CONTENT WRAPPER ===== */
.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 0;
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ===== FEATURED & LATEST SECTIONS ===== */
.featured-section,
.latest-section {
    padding: 60px 0;
}

.genres-section {
    padding: 60px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ===== RADIO CTA ===== */
.radio-cta {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.radio-cta-content h2 {
    margin-bottom: 12px;
}

.radio-cta-content p {
    max-width: 500px;
    margin: 0 auto 24px;
}

/* ===== SELL CTA ===== */
.sell-cta {
    text-align: center;
}

.sell-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.sell-cta-text h2 {
    margin-bottom: 12px;
}

.sell-cta-text p {
    margin-bottom: 20px;
}

.sell-cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sell-cta-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.sell-cta-features .feature i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== MAIN FOOTER (layout uses .main-footer) ===== */
.main-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 0;
}

.main-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.main-footer .footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-white);
}

.main-footer .footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 5px 0;
    transition: var(--transition-fast);
}

.main-footer .footer-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.main-footer .footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 12px;
}

.main-footer .footer-col > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: var(--transition-fast);
    padding: 0 !important;
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    padding-left: 0 !important;
}

.main-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 16px;
}

.payment-icons {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.payment-icons i {
    opacity: 0.6;
    transition: var(--transition-fast);
}

.payment-icons i:hover {
    opacity: 1;
    color: var(--primary);
}

/* ===== GLOBAL PLAYER (Bottom Bar) ===== */
.global-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(18, 18, 26, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    z-index: 900;
    display: flex;
    align-items: center;
}

.global-player .container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.player-track-info img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.player-track-info .title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.player-track-info .artist {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-controls button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: var(--transition-fast);
}

.player-controls button:hover {
    color: var(--primary);
}

.player-controls #playerPlayPause {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.player-waveform {
    flex: 1;
    height: 40px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.player-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    min-width: 80px;
    text-align: center;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.player-volume input[type="range"] {
    width: 80px;
    accent-color: var(--primary);
}

/* ===== NO RESULTS / EMPTY STATE ===== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
    display: block;
}

.no-results p {
    font-size: 1rem;
}

/* ===== BADGE SALE ===== */
.badge-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: white;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
}

/* ===== RESPONSIVE OVERRIDES FOR LAYOUT CLASSES ===== */
@media (max-width: 1024px) {
    .main-header .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .sell-cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .main-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .sell-cta-features {
        grid-template-columns: 1fr;
    }

    .main-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ===================================================================
   SHOP PAGE SPECIFIC STYLES
   =================================================================== */

/* ===== SHOP LAYOUT ===== */
.shop-section {
    padding: 40px 0 80px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* ===== SHOP SIDEBAR / FILTERS ===== */
.shop-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: sticky;
    top: 90px;
}

.filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-group h4 i {
    color: var(--primary);
    font-size: 0.8rem;
}

.filter-group input[type="text"],
.filter-group input[type="number"],
.filter-group select {
    width: 100%;
    padding: 8px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-inputs input {
    flex: 1;
}

.range-inputs span {
    color: var(--text-muted);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 0;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ===== SHOP MAIN AREA ===== */
.shop-main {
    min-width: 0;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.results-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.view-btn:hover,
.view-btn.active {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

/* ===== TRACK CARD (Shop version with track-cover, track-info) ===== */
.track-card .track-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.track-card .track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.track-card:hover .track-cover img {
    transform: scale(1.05);
}

.track-card .play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.track-card:hover .play-btn {
    opacity: 1;
    transform: translateY(0);
}

.track-card .track-info {
    padding: 14px;
}

.track-card .track-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.track-card .track-info h3 a {
    color: var(--text-white);
    text-decoration: none;
}

.track-card .track-info h3 a:hover {
    color: var(--primary);
}

.track-card .track-artist {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.track-card .track-meta {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.track-card .track-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.track-card .track-meta i {
    color: var(--primary);
    font-size: 0.7rem;
}

.track-card .track-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.track-card .track-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* ===== RESPONSIVE SHOP ===== */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }
}
