:root {
    --primary: #eac64f; 
    --primary-glow: rgba(234, 198, 79, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-muted: rgba(255, 255, 255, 0.6);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body, html {
    margin: 0; padding: 0; height: 100%;
    background-color: #2a2040; 
    /* Yerel resim yolunu kullanıyoruz */
    background-image: url("../images/pattern.png");
    background-repeat: repeat;
    background-position: center;
    font-family: 'Manrope', sans-serif;
    color: white;
    overflow-x: hidden;
}

.wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 20px; width: 100%; position: relative; z-index: 2; }
.content-container { width: 1000px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 25px; position: relative; z-index: 10; }
.dashboard-grid { display: grid; grid-template-columns: 1.2fr 1.6fr; gap: 25px; width: 100%; }
.card { background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 30px; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }

.profile-card { padding: 0; display: block; min-height: 450px; }
.profile-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.5s ease; }
.profile-card:hover img { transform: scale(1.05); }
.profile-overlay { position: absolute; bottom: 25px; left: 25px; right: 25px; background: rgba(15, 12, 25, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); padding: 15px 20px; border-radius: 16px; display: flex; align-items: center; gap: 15px; }
.heart-icon { font-size: 1.5rem; color: var(--primary); animation: beat 1.5s infinite; }
.overlay-text { color: #eac64f; font-weight: 600; letter-spacing: 0.5px; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 15px; }
.stat-card-large, .stat-card-small { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); }
.stat-card-large { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; }
.stat-card-small { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 140px; transition: transform 0.2s, border-color 0.2s; }
.stat-card-small:hover { border-color: var(--primary); transform: translateY(-4px); background: rgba(255,255,255,0.12); }
.stat-card-active { border-color: rgba(234, 198, 79, 0.5); box-shadow: 0 0 20px rgba(234, 198, 79, 0.1); background: rgba(234, 198, 79, 0.05); }
.stat-value { font-family: 'Manrope', sans-serif; font-size: 2.8rem; font-weight: 800; color: white; line-height: 1; }
.stat-value.large { font-size: 3.8rem; color: var(--primary); }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 10px; font-weight: 600; }
.stat-icon { font-size: 1.6rem; color: rgba(255,255,255,0.2); position: absolute; top: 25px; right: 25px; }

.bottom-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.btn-glass { padding: 20px; background: linear-gradient(135deg, #1e1b29 0%, #2a2238 100%); border: 1px solid rgba(234, 198, 79, 0.3); color: white; font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; border-radius: 24px; box-shadow: 0 15px 50px rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; }
.btn-glass:hover { border-color: var(--primary); box-shadow: 0 0 30px var(--primary-glow); transform: translateY(-3px); }
.btn-glass::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%; background: linear-gradient(90deg, transparent, rgba(234, 198, 79, 0.1), transparent); transition: width 0.5s; z-index: 1; }
.btn-glass:hover::before { width: 100%; }

.btn-wish { justify-content: space-between; }
.btn-wish.disabled { background: rgba(30, 30, 40, 0.6); border-color: rgba(255, 255, 255, 0.05); cursor: default; transform: none; box-shadow: none; }
.btn-wish.disabled i { color: #4cd137; }
.btn-wish.disabled .counter-badge { background: #444; color: #888; box-shadow: none; }
.btn-content-left { display: flex; align-items: center; gap: 12px; z-index: 2; }
.btn-icon-box { width: 40px; height: 40px; border-radius: 12px; background: rgba(234, 198, 79, 0.2); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; transition: all 0.3s; }
.counter-badge { z-index: 2; background: var(--primary); color: #1e1b29; padding: 5px 12px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; box-shadow: 0 5px 15px rgba(234, 198, 79, 0.4); flex-shrink: 0; }

.btn-music { justify-content: space-between; }
.music-info { display: flex; flex-direction: column; align-items: flex-start; z-index: 2; flex: 1; margin-left: 20px; overflow: hidden; }
.song-title { font-size: 0.95rem; font-weight: 700; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.artist-name { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.vinyl-box { font-size: 2.2rem; color: rgba(255,255,255,0.1); transition: all 0.5s; display: flex; align-items: center; margin-left: 10px; }
.btn-music.playing { border-color: var(--primary); box-shadow: 0 0 25px var(--primary-glow); }
.btn-music.playing .btn-icon-box { background: rgba(234, 198, 79, 0.1); border: 1px solid var(--primary); }
.btn-music.playing .vinyl-box { animation: spin 3s linear infinite; color: var(--primary); opacity: 1; filter: drop-shadow(0 0 10px rgba(234, 198, 79, 0.5)); }
@keyframes spin { 100% { transform: rotate(360deg); } }

.footer-container { margin-top: 40px; width: 100%; display: flex; justify-content: center; padding-bottom: 20px; }
.footer-glass { background: rgba(20, 15, 30, 0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.08); padding: 12px 30px; border-radius: 50px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: all 0.3s ease; }
.footer-glass:hover { background: rgba(20, 15, 30, 0.8); border-color: rgba(234, 198, 79, 0.2); transform: translateY(-2px); }
.footer-text { font-family: 'Manrope', sans-serif; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); font-weight: 500; letter-spacing: 0.5px; }
.footer-highlight { color: var(--primary); font-weight: 700; }
.footer-divider { width: 4px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 50%; }
.footer-link { color: var(--primary); text-decoration: none; font-weight: 800; position: relative; transition: all 0.3s ease; }
.footer-link:hover { color: #fff; text-shadow: 0 0 10px rgba(234, 198, 79, 0.8); }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.4s ease; display: flex; align-items: center; justify-content: center; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box { background: rgba(30, 25, 45, 0.95); border: 1px solid rgba(234, 198, 79, 0.3); width: 450px; max-width: 90%; border-radius: 30px; padding: 40px; text-align: center; transform: scale(0.8); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 0 50px rgba(234, 198, 79, 0.15); }
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-anim { margin-bottom: 25px; position: relative; height: 80px; }
.big-heart { font-size: 4rem; color: #ff4757; animation: heartPulse 1.2s infinite; filter: drop-shadow(0 0 20px rgba(255, 71, 87, 0.6)); }
.modal-title { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.modal-text { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.modal-close { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: rgba(255,255,255,0.5); font-size: 1.5rem; cursor: pointer; transition: 0.3s; }
.modal-close:hover { color: white; transform: rotate(90deg); }
@keyframes heartPulse { 0% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } 60% { transform: scale(1); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

@media (max-width: 960px) {
    .wrapper { padding: 40px 15px; height: auto; display: block; }
    .content-container { margin: 0 auto; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .profile-card { min-height: 400px; }
    .stats-grid { gap: 10px; }
    .stat-value { font-size: 2.2rem; }
    .stat-value.large { font-size: 3rem; }
    .bottom-actions { grid-template-columns: 1fr; gap: 15px; }
    .footer-glass { flex-direction: column; gap: 5px; padding: 15px 20px; border-radius: 20px; }
    .footer-divider { display: none; }
}