@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #f4f6f9;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --primary: #0066ff;
    --primary-hover: #0052cc;
    --danger: #ef4444;
    --success: #10b981;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Layout */
.container {
    width: min(1200px, 95%);
    margin: 0 auto;
}

/* Header */
.site-header {
    background: #1f2937; /* Koyu modern header */
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: #facc15; /* Distrokid sarısı dokunuş */
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 1px solid #374151;
    padding-left: 16px;
}

/* Main Content */
main.container {
    padding: 40px 0 80px;
    min-height: 60vh;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
    opacity: 1;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: #eff6ff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

.btn-danger:hover {
    background: #dc2626;
}

/* Music List (Dashboard) */
.music-list {
    display: flex;
    flex-direction: column;
}

.music-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 16px;
    transition: var(--transition);
}

.music-item:last-child {
    border-bottom: none;
}

.music-item:hover {
    background: #f9fafb;
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 -8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-dot.pending { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }
.status-dot.removed { background: var(--danger); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2); }

.cover-art {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    background: #e5e7eb;
}

.music-info {
    flex: 1;
}

.music-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.music-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.platform-icons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    max-width: 200px;
    justify-content: flex-end;
}

.platform-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Tables */
.table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    text-align: left;
}

th {
    background: #f9fafb;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

td {
    padding: 16px;
    font-size: 0.875rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
}

tr:last-child td {
    border-bottom: none;
}

/* Promo Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.promo-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    background: #fff;
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #d1d5db;
}

.promo-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.promo-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.promo-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.badge-new {
    position: absolute;
    top: 12px;
    right: -24px;
    background: #facc15;
    color: #854d0e;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 24px;
    transform: rotate(45deg);
    text-transform: uppercase;
}

/* Forms */
.form-card {
    max-width: 480px;
    margin: 0 auto;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 4px;
    display: block;
}

input, textarea, select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fff;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* Footer */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 64px 0 24px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--text-main);
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.3s ease;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 768px) {
    .nav {
        height: auto;
        padding: 10px 0;
        flex-wrap: wrap;
        gap: 10px;
    }
    .nav-links {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px 14px;
        order: 3;
        padding-top: 8px;
    }
    .nav-links a {
        font-size: 12px;
        background: #2d3748;
        border-radius: 999px;
        padding: 6px 10px;
    }
    .user-menu {
        border-left: none;
        padding-left: 0;
        margin-left: auto;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .card-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .card-header .btn-group { width: 100%; display: flex; flex-direction: column; }
}
