* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
    --bg: #0f0f14;
    --bg-alt: #171720;
    --card: #1c1c26;
    --accent: #6c8cff;
    --accent-2: #ff6c9c;
    --text: #f2f2f5;
    --text-dim: #a3a3b2;
    --border: #2a2a36;
}

[data-theme="light"] {
    --bg: #f5f6fb;
    --bg-alt: #ffffff;
    --card: #ffffff;
    --accent: #4a6bf0;
    --accent-2: #e0527a;
    --text: #1b1b24;
    --text-dim: #5c5c6c;
    --border: #dfe1ec;
    --topbar-bg: rgba(255, 255, 255, 0.92);
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.25s, color 0.25s;
    background-attachment: fixed;
    background-image: radial-gradient(circle at 20% 50%, rgba(108,140,255,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(255,108,156,0.08) 0%, transparent 50%);
}

h1, h2, h3, .logo, .cta-btn, .cta-btn-outline, .contact-submit-btn, .admin-btn {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Topbar ---- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--topbar-bg, rgba(15, 15, 20, 0.9));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.topbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { font-size: 1.3rem; font-weight: 700; }
.logo-accent { color: var(--accent); }
.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a { color: var(--text-dim); font-weight: 500; position: relative; }
.topnav a:hover { color: var(--text); text-decoration: none; }
.topnav a.active { color: var(--accent); }
.admin-btn {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
}
.admin-btn:hover { background: #5678e0; text-decoration: none; }

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
    margin-left: 10px;
}
.theme-toggle:hover { border-color: var(--accent); transform: scale(1.06); }
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
}
.menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--text);
    transition: transform 0.25s, opacity 0.25s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #5678e0; }

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at top, var(--bg-alt), var(--bg) 70%);
    padding: 60px 20px;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(108,140,255,0.25), transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; animation: fadeInUp 0.8s ease both; }
.hero-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    box-shadow: 0 0 0 6px rgba(108,140,255,0.15), 0 12px 40px rgba(0,0,0,0.5);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text), var(--accent) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub { color: var(--text-dim); font-size: 1.2rem; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(108,140,255,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s;
}
.cta-btn:hover::before { left: 100%; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108,140,255,0.5); text-decoration: none; }
.cta-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--text) !important;
    border: 1px solid var(--border);
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.2s;
}
.cta-btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; text-decoration: none; }

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

/* ---- Sections ---- */
.section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    scroll-margin-top: 70px;
}
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.section-head { margin-bottom: 28px; animation: fadeInDown 0.8s ease; }
.section-head.centered { text-align: center; }
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.section-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section h2 { font-size: 2.1rem; margin-bottom: 4px; }
.section p { color: var(--text-dim); max-width: 700px; }
.contact-section p { margin: 0 auto; }

/* ---- Gallery ---- */
.gallery-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    justify-content: center;
}
.gallery-cat-btn {
    background: var(--card, rgba(255,255,255,0.05));
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s;
}
.gallery-cat-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}
.gallery-cat-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.gallery-item {
    background: linear-gradient(135deg, var(--card), var(--bg-alt));
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
}
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108,140,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    border-color: var(--accent);
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { padding: 12px; color: var(--text-dim); font-size: 0.9rem; }

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 10, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s;
    z-index: 1000;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-close, .lightbox-nav {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---- Contact ---- */
.contact-section { text-align: center; }
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    background: var(--card);
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding: 16px 44px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.2s;
}
.contact-btn:hover { background: var(--accent); color: #fff !important; text-decoration: none; transform: translateY(-2px); }
.contact-icon { font-size: 1.2rem; }

.footer { text-align: center; padding: 30px; color: var(--text-dim); border-top: 1px solid var(--border); }

/* ---- Admin ---- */
.admin-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg); }
.admin-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    width: 100%;
    max-width: 380px;
}
.admin-box h2 { margin-bottom: 6px; }
.admin-hint { color: var(--text-dim); font-size: 0.85rem; margin-top: 16px; }
.admin-box form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.admin-box label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--text-dim); }
.admin-box input {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text);
    font-size: 1rem;
}
.admin-box button {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}
.admin-box button:hover { background: #5678e0; }
.form-error { color: var(--accent-2); background: rgba(255,108,156,0.1); padding: 10px; border-radius: 8px; font-size: 0.9rem; }
.form-success { color: #6cffb0; background: rgba(108,255,176,0.1); padding: 10px; border-radius: 8px; font-size: 0.9rem; }

/* ---- Admin dashboard ---- */
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 30px 24px; width: 100%; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.admin-user { color: var(--text-dim); margin-right: 16px; }
.logout-btn { background: var(--card); border: 1px solid var(--border); padding: 8px 18px; border-radius: 999px; color: var(--text) !important; }
.logout-btn:hover { background: var(--bg-alt); text-decoration: none; }

.stats-row { display: flex; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    min-width: 160px;
}
.stat-num { font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-label { color: var(--text-dim); font-size: 0.9rem; }

.search-form { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.search-form input {
    flex: 1;
    min-width: 220px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text);
}
.search-form button {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}
.clear-btn { color: var(--text-dim); align-self: center; }

.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.log-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.log-table th, .log-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.log-table th { color: var(--text-dim); font-weight: 600; background: var(--bg-alt); }
.log-table tr:hover td { background: rgba(108,140,255,0.06); }
.empty-row { text-align: center; color: var(--text-dim); padding: 30px; }

.pagination { display: flex; align-items: center; gap: 16px; justify-content: center; margin-top: 20px; color: var(--text-dim); }

/* ---- İletişim Formu ---- */
.contact-intro { max-width: 560px; margin: 0 auto; color: var(--text-dim); }
.contact-card {
    max-width: 640px;
    margin: 32px auto 0;
    background: linear-gradient(180deg, var(--card), var(--bg-alt));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(108,140,255,0.25), transparent 70%);
    pointer-events: none;
}
.contact-form { position: relative; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 0.85rem; color: var(--text-dim); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.form-icon { font-size: 0.95rem; }
.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(108,140,255,0.06);
    box-shadow: 0 0 0 3px rgba(108,140,255,0.15);
}
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    padding: 15px 34px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(108,140,255,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    align-self: center;
    margin-top: 4px;
    width: 100%;
}
.contact-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(108,140,255,0.55); }
.contact-submit-btn:active { transform: translateY(0); }
.contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-status { text-align: center; font-size: 0.95rem; min-height: 24px; margin-top: 2px; font-weight: 600; }
.status-ok { color: #6cffb0; }
.status-err { color: var(--accent-2); }

/* ---- Fotoğraf Koruma ---- */
.gallery-item img,
.hero-avatar {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

/* ---- Admin Fotoğraf Yönetimi ---- */
.photo-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.photo-admin-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.photo-admin-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.photo-admin-info { padding: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.photo-admin-info span { color: var(--text-dim); font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-delete-btn {
    background: var(--accent-2);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}
.photo-delete-btn:hover { background: #e0527a; }

/* ---- Admin Müzik Yönetimi ---- */
.music-admin-list { display: flex; flex-direction: column; gap: 12px; }
.music-admin-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.music-admin-info { flex: 1; }
.music-admin-info h3 { font-size: 1rem; margin-bottom: 4px; }
.music-admin-info p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 4px; }
.music-delete-btn {
    background: var(--accent-2);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}
.music-delete-btn:hover { background: #e0527a; }

/* ---- Müzik Bölümü ---- */
.music-intro { max-width: 560px; margin: 0 auto; color: var(--text-dim); }

.fav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.featured-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--card), var(--bg-alt));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin: 20px auto 0;
    max-width: 720px;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.featured-banner:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(108,140,255,0.25); }
.featured-cover {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-info { flex: 1; min-width: 0; }
.featured-tag { font-size: 0.72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }
.featured-info h3 { font-size: 1.15rem; margin: 2px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featured-info p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }
.featured-play {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    padding: 9px 18px;
    border-radius: 999px;
    flex-shrink: 0;
}
.quick-row { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; max-width: 900px; margin-left: auto; margin-right: auto; }
.quick-block { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quick-label { font-size: 0.8rem; font-weight: 700; color: var(--text-dim); }
.quick-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-chip {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.quick-chip:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.track-note { display: block; color: var(--text-dim); font-size: 0.78rem; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fav-filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fav-filter-btn:hover { border-color: var(--accent); color: var(--text); }
.fav-filter-btn.active { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; border-color: transparent; }
.fav-bar-hint { font-size: 0.78rem; color: var(--text-dim); opacity: 0.85; }

.recent-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.recent-label { font-size: 0.82rem; color: var(--text-dim); font-weight: 600; }
.recent-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.recent-chip {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.recent-chip:hover { border-color: var(--accent); color: var(--accent); }

.artist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 32px; scroll-margin-top: 70px; }
.artist-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.artist-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 14px 30px rgba(108,140,255,0.2);
}
.artist-card-cover {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.artist-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.artist-card h3 { font-size: 1.05rem; }
.artist-card p { color: var(--text-dim); font-size: 0.85rem; }

.music-tracks-view { display: none; margin-top: 32px; scroll-margin-top: 70px; }
.music-tracks-view.active { display: block; animation: fadeInUp 0.4s ease both; }
.artist-back-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    transition: border-color 0.2s, color 0.2s;
}
.artist-back-btn:hover { border-color: var(--accent); color: var(--text); }
.active-artist-name { font-size: 1.3rem; margin-bottom: 20px; color: var(--accent); }

.music-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.music-card {
    background: linear-gradient(135deg, var(--card), var(--bg-alt));
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.music-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 16px 40px rgba(108,140,255,0.25); }
.music-player { padding: 20px; }
.player-display { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.player-cover {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-soft, rgba(108,140,255,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-radius 0.3s;
}
.player-cover img { width: 100%; height: 100%; object-fit: cover; }
.player-cover-placeholder { font-size: 1.3rem; }
.music-card.spinning .player-cover img {
    animation: spinVinyl 10s linear infinite;
    -webkit-animation: spinVinyl 10s linear infinite;
    border-radius: 50%;
    width: 92%;
    height: 92%;
}
.music-card.spinning .player-cover {
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(108,140,255,0.25), inset 0 0 0 2px rgba(255,255,255,0.1);
}
.music-card.spinning .player-cover::after {
    content: '';
    position: absolute;
    width: 29%;
    height: 29%;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 28%, #d9def0 45%, #40506e 75%, #1b2333 100%);
    box-shadow: 0 0 4px rgba(0,0,0,0.6);
    z-index: 1;
}
@keyframes spinVinyl { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@-webkit-keyframes spinVinyl { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.player-info { flex: 1; min-width: 0; }
.player-info h3 { font-size: 1rem; margin: 0 0 4px 0; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-info p { font-size: 0.85rem; color: var(--accent); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.play-count { opacity: 0.85; font-weight: 600; }
.share-btn, .fav-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.share-btn:hover, .fav-btn:hover { border-color: var(--accent); color: var(--text); transform: scale(1.06); }
.fav-btn.dim { opacity: 0.5; }

.mini-spectrum {
    width: 96px;
    height: 24px;
    flex-shrink: 0;
    display: none;
}
body.spectrum-on .mini-spectrum { display: block; }
body.spectrum-on .mini-eq { display: none; }
.player-controls { display: flex; gap: 8px; }
.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
.play-btn:hover { transform: scale(1.08); box-shadow: 0 8px 20px rgba(108,140,255,0.4); }
.play-btn.playing { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.player-progress { border-top: 1px solid var(--border); padding-top: 12px; }

.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle at top, var(--bg-alt), var(--bg) 70%);
}
.error-code {
    font-family: 'Poppins', sans-serif;
    font-size: 7rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.error-page h1 { margin: 12px 0; font-size: 1.6rem; }
.error-page p { color: var(--text-dim); margin-bottom: 28px; max-width: 420px; }
.player-volume { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.volume-icon { font-size: 0.9rem; flex-shrink: 0; }
.volume-slider {
    flex: 1;
    accent-color: var(--accent);
    height: 4px;
    cursor: pointer;
}

/* ---- Şarkı Sözleri ---- */
.lyrics-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lyrics-btn:hover { border-color: var(--accent); color: var(--text); }
.lyrics-btn.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }
.lyrics-panel { display: none; margin-top: 12px; border-top: 1px dashed var(--border); padding-top: 12px; }
.music-card.lyrics-open .lyrics-panel { display: block; animation: fadeInUp 0.3s ease both; }
.lyrics-scroll {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    scroll-behavior: smooth;
}
.lyrics-meta { font-size: 0.75rem; color: var(--text-dim); opacity: 0.8; margin-bottom: 6px; }
.lyric-line {
    font-size: 0.9rem;
    color: var(--text-dim);
    opacity: 0.75;
    transition: opacity 0.2s, color 0.2s, transform 0.2s;
}
.lyric-line.active {
    color: var(--text);
    opacity: 1;
    font-weight: 700;
    transform: scale(1.03);
    text-shadow: 0 0 18px rgba(108,140,255,0.35);
}

/* ---- Toplam Dinlenme Rozeti ---- */
.total-plays-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ---- Mini Player (global alt çubuk) ---- */
.mini-player {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 110%);
    width: min(620px, calc(100% - 20px));
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px 16px 0 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-bottom: none;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.18);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mini-player.show { transform: translate(-50%, 0); }
.mini-player-cover {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-soft, rgba(108,140,255,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}
.mini-player-cover img { width: 100%; height: 100%; object-fit: cover; }
.mini-player-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mini-player-info strong {
    font-size: 0.85rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-player-info span { font-size: 0.72rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-eq { display: flex; align-items: flex-end; gap: 2px; height: 18px; flex-shrink: 0; }
.mini-eq i {
    width: 3px;
    height: 40%;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    opacity: 0.3;
}
.mini-player.playing .mini-eq i { animation: miniEq 0.9s ease-in-out infinite; opacity: 1; }
.mini-player.playing .mini-eq i:nth-child(2) { animation-delay: 0.2s; }
.mini-player.playing .mini-eq i:nth-child(3) { animation-delay: 0.45s; }
.mini-player.playing .mini-eq i:nth-child(4) { animation-delay: 0.7s; }
@keyframes miniEq {
    0%, 100% { height: 30%; }
    50% { height: 100%; }
}
.mini-player-controls { display: flex; gap: 4px; flex-shrink: 0; }
.mini-player-controls button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.mini-player-controls button:hover { background: var(--bg-soft, rgba(108,140,255,0.1)); transform: scale(1.08); }
.mini-player-controls #miniToggle {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 1.05rem;
}
.mini-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--border);
    cursor: pointer;
    border-radius: 4px 4px 0 0;
}
.mini-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 4px 4px 0 0;
    transition: width 0.15s linear;
}

/* ---- Tam Ekran Şimdi Çalıyor ---- */
.nowplaying-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nowplaying-overlay.show { opacity: 1; pointer-events: auto; }
.np-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 20, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.np-panel {
    position: relative;
    width: min(480px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: npPop 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes npPop {
    from { transform: translateY(24px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.np-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.np-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.np-close {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.np-close:hover { color: var(--text); border-color: var(--accent); transform: rotate(90deg); }
.np-disc-wrap { display: flex; justify-content: center; margin: 10px 0 18px; }
.np-disc {
    position: relative;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #222, #000 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(108, 140, 255, 0.25);
}
.np-disc img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); }
.np-disc #npDiscLabel { font-size: 3rem; }
.np-disc.spin img, .np-disc.spin #npDiscLabel {
    animation: spinVinyl 8s linear infinite;
    -webkit-animation: spinVinyl 8s linear infinite;
}
.np-title { font-size: 1.35rem; margin: 4px 0 2px; }
.np-artist { color: var(--accent); font-size: 0.95rem; margin: 0 0 8px; }
.np-spectrum { width: 100%; height: 70px; }
.np-progress {
    height: 6px;
    background: var(--border);
    border-radius: 6px;
    cursor: pointer;
    margin-top: 8px;
    overflow: hidden;
}
.np-progress .mini-progress-fill { border-radius: 6px; }
.np-time { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-dim); margin: 6px 0 12px; }
.np-controls { display: flex; justify-content: center; align-items: center; gap: 10px; }
.np-controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.np-controls button:hover { border-color: var(--accent); transform: scale(1.08); }
.np-controls .np-toggle {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    font-size: 1.3rem;
    box-shadow: 0 8px 24px rgba(108, 140, 255, 0.35);
}
.np-row { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.np-row button {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.np-row button:hover { border-color: var(--accent); color: var(--text); }
.np-row button.active { border-color: var(--accent-2); color: var(--accent-2); }

/* ---- Admin Grafik ---- */
.chart-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    overflow-x: auto;
}
.chart-wrap svg { display: block; min-width: 420px; }
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 8px;
}
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0%; }
.time-display { font-size: 0.75rem; color: var(--text-dim); text-align: center; }

/* ---- Scroll ilerleme çubuğu ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 999;
    transition: width 0.1s linear;
}

/* ---- Aşağı kaydır göstergesi ---- */
.scroll-down {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    border: 2px solid var(--border);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    z-index: 1;
}
.scroll-down span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(16px); opacity: 0; }
}

/* ---- Scroll'da beliren bölümler ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---- Özellik kartları ---- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 22px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 16px 34px rgba(0,0,0,0.35); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-dim); font-size: 0.9rem; }

/* ---- Footer ---- */
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-logo { font-size: 1.1rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-social { display: flex; gap: 14px; justify-content: center; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-dim);
    transition: border-color 0.2s, transform 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.footer-copy { color: var(--text-dim); font-size: 0.85rem; }

/* ---- Dinleyici Ad Modalı ---- */
.listener-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.listener-modal.show { opacity: 1; visibility: visible; }
.listener-modal-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    width: min(360px, 90vw);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.listener-modal-box h3 { font-size: 1.3rem; margin-bottom: 10px; }
.listener-modal-text { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 16px; line-height: 1.5; }
.listener-modal-box input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 12px;
}
.listener-modal-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.listener-modal-btn:hover { transform: scale(1.02); box-shadow: 0 8px 22px rgba(108,140,255,0.4); }
.listener-skip {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.82rem;
    cursor: pointer;
    margin-top: 10px;
    font-family: inherit;
    text-decoration: underline;
}
.listener-skip:hover { color: var(--text); }

/* ---- Mobil Optimizasyon ---- */
@media (max-width: 780px) {
    .menu-btn { display: flex; }
    .topnav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--bg-alt);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .topnav.open { max-height: 320px; }
    .topnav a, .topnav .admin-btn { width: 100%; padding: 14px 24px; border-radius: 0; }
    .topnav .admin-btn { text-align: center; }

    .hero { min-height: auto; padding: 90px 20px 60px; }
    .hero h1 { font-size: 2.1rem; }
    .hero-sub { font-size: 1rem; }
    .hero-avatar { width: 110px; height: 110px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .cta-btn, .cta-btn-outline { width: 100%; text-align: center; padding: 14px 20px; }

    .section { padding: 56px 18px; }
    .section h2 { font-size: 1.6rem; }

    .gallery { grid-template-columns: 1fr; gap: 16px; }
    .gallery-item img { height: 220px; }

    .lightbox-img { max-width: 95vw; max-height: 75vh; }
    .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-nav { width: 38px; height: 38px; }

    .form-row { flex-direction: column; }
    .contact-submit-btn { width: 100%; }
    .contact-card { padding: 22px; border-radius: 18px; }
    .feature-grid { grid-template-columns: 1fr; }
    .scroll-down { display: none; }
    .footer-links { gap: 14px; }
    .photo-admin-grid { grid-template-columns: 1fr 1fr; }

    .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }

    .stats-row { gap: 12px; }
    .stat-card { min-width: 130px; padding: 16px 20px; flex: 1 1 40%; }
    .search-form { flex-direction: column; }
    .search-form input { min-width: 0; }

    /* ---- Müzik bölümü mobil düzeni ---- */
    .artist-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
    .artist-card { padding: 18px 12px; gap: 8px; }
    .artist-card-cover { width: 64px; height: 64px; font-size: 1.5rem; }
    .artist-card h3 { font-size: 0.95rem; }
    .artist-card p { font-size: 0.78rem; }

    .music-tracks-view { margin-top: 24px; }
    .artist-back-btn { width: 100%; text-align: center; padding: 12px 16px; font-size: 0.95rem; }
    .active-artist-name { font-size: 1.15rem; margin-bottom: 16px; }

    .music-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 0; }

    .featured-banner { flex-direction: column; align-items: flex-start; text-align: left; padding: 14px; }
    .featured-cover { width: 56px; height: 56px; }
    .featured-play { width: 100%; text-align: center; }
    .quick-row { gap: 10px; }
    .quick-block { flex-direction: column; align-items: flex-start; gap: 6px; }
    .music-card { border-radius: 14px; }
    .music-player { padding: 16px; }
    .player-display { gap: 12px; margin-bottom: 12px; }
    .player-cover { width: 44px; height: 44px; border-radius: 8px; }
    .play-btn { width: 44px; height: 44px; font-size: 1.1rem; }
    .player-info h3 { font-size: 0.95rem; }
    .player-info p { font-size: 0.8rem; }
    .player-progress { padding-top: 10px; }
    .player-volume { margin-top: 8px; }

    /* ---- Admin müzik yönetimi mobil düzeni ---- */
    .music-admin-item { flex-direction: column; align-items: flex-start; }
    .music-admin-info { width: 100%; }
    .music-admin-info form { width: 100%; }
    .music-admin-info form input { flex: 1 1 100%; max-width: none; }
    .admin-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .admin-header > div { flex-wrap: wrap; }
    .admin-wrap { padding: 20px 14px; }
}

/* Dokunmatik cihazlarda hover kaydırma efektlerini kapat (mobilde kayma hissi yaratır) */
@media (hover: none) {
    .music-card:hover, .artist-card:hover, .feature-card:hover, .cta-btn:hover, .cta-btn-outline:hover {
        transform: none;
    }
    .play-btn:hover { transform: none; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 1.7rem; }
    .topbar-inner { padding: 12px 14px; }
    .logo { font-size: 1.05rem; }
    .theme-toggle, .menu-btn { width: 36px; height: 36px; }
    .theme-toggle { margin-left: 6px; }

    .artist-grid { gap: 10px; }
    .artist-card { padding: 14px 8px; }
    .artist-card-cover { width: 56px; height: 56px; font-size: 1.3rem; }
    .artist-card h3 { font-size: 0.85rem; }
    .artist-card p { font-size: 0.72rem; }

    .player-display { gap: 10px; }
    .player-cover { width: 40px; height: 40px; }
    .play-btn { width: 40px; height: 40px; }
    .player-info h3 { font-size: 0.9rem; }
    .player-info p { font-size: 0.75rem; }

    .mini-player { padding: 8px 10px; gap: 8px; }
    .mini-player-cover { width: 36px; height: 36px; }
    .mini-player-controls button { width: 30px; height: 30px; font-size: 0.85rem; }
    .mini-player-info strong { font-size: 0.78rem; }
    .mini-player-info span { font-size: 0.66rem; }
    .mini-eq, .mini-spectrum { display: none; }

    .np-panel { padding: 18px 14px; border-radius: 20px; }
    .np-disc { width: 160px; height: 160px; }
    .np-disc img { width: 100px; height: 100px; }
    .np-controls button, .np-row button { width: 40px; height: 40px; }
    .np-controls .np-toggle { width: 54px; height: 54px; }
    .share-btn, .fav-btn { width: 30px; height: 30px; }
}

/* ================= Onay Kodu (OTP) Pop-up ================= */
.otp-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 10, 20, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.otp-overlay.open {
    opacity: 1;
    visibility: visible;
}
.otp-modal {
    width: 100%;
    max-width: 380px;
    position: relative;
    background: linear-gradient(160deg, #1a1f35 0%, #12162a 60%, #0d1020 100%);
    border: 1px solid rgba(108, 140, 255, 0.28);
    border-radius: 22px;
    padding: 36px 28px 26px;
    text-align: center;
    color: #f2f4ff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 26px 60px rgba(0,0,0,0.6);
    transform: scale(0.92) translateY(14px);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.otp-overlay.open .otp-modal {
    transform: scale(1) translateY(0);
}
.otp-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #aab3d6;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.otp-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: rotate(90deg);
}
.otp-icon {
    font-size: 42px;
    margin-bottom: 10px;
    animation: otpWiggle 2.4s ease-in-out infinite;
}
@keyframes otpWiggle {
    0%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(-10deg); }
    10% { transform: rotate(10deg); }
    15% { transform: rotate(-6deg); }
    20%, 90% { transform: rotate(0deg); }
}
.otp-modal h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(90deg, #8fa9ff, #c6a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.otp-desc {
    margin: 0 0 18px;
    font-size: 14px;
    color: #aab3d6;
    line-height: 1.55;
}
.otp-input {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 10px;
    text-indent: 10px;
    padding: 13px 6px;
    border: 2px solid rgba(108, 140, 255, 0.35);
    border-radius: 14px;
    background: rgba(8, 12, 26, 0.75);
    color: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.otp-input:focus {
    border-color: #6c8cff;
    box-shadow: 0 0 0 4px rgba(108, 140, 255, 0.18);
}
.otp-btn {
    width: 100%;
    margin-top: 14px;
    padding: 13px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #6c8cff, #8f5cff);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
}
.otp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(108, 140, 255, 0.35);
}
.otp-btn:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}
.otp-status {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
    min-height: 18px;
    color: #aab3d6;
}
.otp-status.status-ok { color: #6ee7a0; }
.otp-status.status-err { color: #ff7d8e; }
.otp-hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: #7d86ab;
    line-height: 1.5;
}
@media (max-width: 480px) {
    .otp-modal { padding: 30px 18px 20px; }
    .otp-icon { font-size: 34px; }
}

/* ================= Müzik Arama Kutusu ================= */
.music-search-box {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 480px;
    margin: 6px auto 22px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(130, 150, 255, 0.28);
    border-radius: 40px;
    padding: 0 12px 0 0;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.music-search-box:focus-within {
    border-color: rgba(108, 140, 255, 0.75);
    box-shadow: 0 0 0 4px rgba(108, 140, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
}
.music-search-icon {
    padding-left: 14px;
    font-size: 15px;
    opacity: 0.8;
}
.music-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 15px;
    padding: 12px 10px;
    min-width: 0;
}
.music-search-input::placeholder { color: var(--text-dim); }
.music-search-clear {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.music-search-clear:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* ================= Dinamik Ambiyans Arkaplan ================= */
body.ambient-on {
    background:
        radial-gradient(1000px 520px at 50% -8%, rgba(var(--ambient-rgb, 108, 140, 255), 0.16), transparent 62%),
        var(--bg);
    transition: background 0.9s ease;
}
body.ambient-on::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(700px 400px at 85% 12%, rgba(var(--ambient-rgb, 140, 92, 255), 0.08), transparent 60%);
}
body.ambient-on > * { position: relative; z-index: 1; }
