:root {

	--green: #1DB954;
	--green2: #1ed760;
	--green3: #001A00;
	--dark: #121212;
	--card: #1e1e1e;
	--card2: #2a2a2a;
	--border: #333;
	--text: #e0e0e0;
	--muted: #a0a0a0;
	--radius: 8px;
	--shadow: 0 8px 32px rgba(0, 0, 0, .5);
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: var(--dark);
	color: var(--text);
	font-family: "Saira", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	min-height: 100vh;
	padding: 0 0 5px;
}

.font-saira {
	font-family: "Saira Stencil", sans-serif !important;
	font-optical-sizing: auto;
	font-style: normal;
	font-variation-settings: "wdth" 100;
}


/* ── HEADER ─────────────────────────── */
header {
	background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 18px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo svg {
	width: 28px;
	height: 28px;
	fill: var(--green);
}

.logo span {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--green);
	letter-spacing: .3px;
}

/* ── LANG DROPDOWN ─────────────────── */
.lang-switcher {
	position: relative;
}

.lang-badge {
	background: var(--card2);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 4px 12px;
	font-size: .75rem;
	color: var(--muted);
	font-weight: 600;
	cursor: pointer;
	user-select: none;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: border-color .2s, color .2s;
}

.lang-badge:hover {
	border-color: var(--green);
	color: var(--green);
}

.lang-badge .arrow {
	font-size: .6rem;
	opacity: .7;
	transition: transform .2s;
}

.lang-switcher.open .lang-badge .arrow {
	transform: rotate(180deg);
}

.lang-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: var(--card2);
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow);
	min-width: 150px;
	z-index: 200;
}

.lang-switcher.open .lang-dropdown {
	display: block;
}

.lang-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	font-size: .8rem;
	color: var(--muted);
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, color .15s;
	white-space: nowrap;
}

.lang-option:hover {
	background: #333;
	color: var(--text);
}

.lang-option.active {
	color: var(--green);
	background: #1a2e1a;
}

.lang-flag {
	font-size: 1rem;
	line-height: 1;
}

/* ── CLOSED BANNER ──────────────────── */
.system-closed-banner {
	background: linear-gradient(135deg, #3a1010, #2a0a0a);
	border: 1px solid #8b2222;
	border-radius: var(--radius);
	padding: 10px 14px;
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	color: #ff6b6b;
	margin: 24px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}


/* ── GRID ───────────────────────────── */
.grid {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 20px;
	max-width: 1100px;
	margin: 24px auto;
	padding: 0 20px;
}

@media (max-width: 800px) {
	.grid {
		grid-template-columns: 1fr;
	}
}

/* ── CARDS ──────────────────────────── */
.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 22px;
	box-shadow: var(--shadow);
}

.card-yesil {
	background: var(--green3);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 8px 22px;
	box-shadow: var(--shadow);
}

.card-title {
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 16px;
}

/* ── NOW PLAYING ────────────────────── */
.now-playing {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.album-art {
	width: 200px;
	height: 200px;
	border-radius: 10px;
	object-fit: cover;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .6);
	background: var(--card2);
}

.album-placeholder {
	width: 200px;
	height: 200px;
	border-radius: 10px;
	background: var(--card2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	font-size: 3rem;
}

.song-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	max-width: 300px;
}

.artist-name {
	font-size: .9rem;
	color: var(--muted);
}

/* Progress */
.progress-wrap {
	width: 100%;
}

.progress-bar-bg {
	width: 100%;
	height: 4px;
	background: var(--border);
	border-radius: 2px;
	overflow: hidden;
	margin-bottom: 6px;
	cursor: pointer;
}

.progress-fill {
	height: 100%;
	background: var(--green);
	border-radius: 2px;
	width: 0%;
	transition: width .5s linear;
}

.progress-times {
	display: flex;
	justify-content: space-between;
	font-size: .72rem;
	color: var(--muted);
}

.nothing-playing {
	color: var(--muted);
	font-size: .9rem;
	padding: 20px 0;
}

/* ── QUEUE ──────────────────────────── */
/*
.queue-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
*/

.queue-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.queue-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: var(--card2);
	transition: background .2s;
}

.queue-item:hover {
	background: #333;
}

.queue-num {
	font-size: .7rem;
	color: var(--muted);
	width: 16px;
	text-align: center;
	flex-shrink: 0;
}

.queue-thumb {
	width: 36px;
	height: 36px;
	border-radius: 4px;
	object-fit: cover;
	background: var(--border);
	flex-shrink: 0;
}

.queue-info {
	flex: 1;
	min-width: 0;
}

.queue-name {
	font-size: .82rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.queue-artist {
	font-size: .72rem;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dikkat {
	font-size: .72rem;
	color: var(--muted);
	overflow: display;
	text-overflow: ellipsis;
	margin: 2px 0;
}

.queue-empty-msg {
	color: var(--muted);
	font-size: .85rem;
	padding: 10px 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ── SEARCH ─────────────────────────── */
.search-row {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
}

.search-row input {
	flex: 1;
	background: var(--card2);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 10px 14px;
	color: var(--text);
	font-size: .9rem;
	outline: none;
	transition: border-color .2s;
}

.search-row input:focus {
	border-color: var(--green);
}

.search-row input::placeholder {
	color: var(--muted);
}

.btn {
	font-family: "Saira", sans-serif !important;
	background: var(--green);
	color: #000;
	border: none;
	border-radius: 8px;
	padding: 10px 18px;
	cursor: pointer;
	font-weight: 700;
	font-size: .85rem;
	transition: background .2s, transform .1s;
}

.btn:hover {
	background: var(--green2);
	transform: scale(1.02);
}

.btn:active {
	transform: scale(.98);
}

.btn:disabled {
	background: #555;
	color: #888;
	cursor: not-allowed;
	transform: none;
}

/* Search results dropdown */
.results-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.result-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: var(--card2);
	cursor: pointer;
	border: 2px solid transparent;
	transition: border-color .2s, background .2s;
}

.result-item:hover {
	background: #333;
}

.result-item.selected {
	border-color: var(--green);
	background: #1a2e1a;
}

.result-cover {
	width: 44px;
	height: 44px;
	border-radius: 4px;
	object-fit: cover;
	background: var(--border);
	flex-shrink: 0;
}

.result-info {
	flex: 1;
	min-width: 0;
}

.result-title {
	font-size: .85rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.result-artist {
	font-size: .75rem;
	color: var(--muted);
}

.result-dur {
	font-size: .72rem;
	color: var(--muted);
	flex-shrink: 0;
}

/* Selected song card */
.selected-card {
	background: var(--card2);
	border: 1px solid var(--green);
	border-radius: 10px;
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.selected-card img {
	width: 60px;
	height: 60px;
	border-radius: 6px;
	object-fit: cover;
	background: var(--border);
	flex-shrink: 0;
}

.selected-info {
	flex: 1;
	min-width: 0;
}

.selected-title {
	font-weight: 700;
	font-size: .9rem;
}

.selected-artist {
	font-size: .8rem;
	color: var(--muted);
}

.selected-duration {
	font-size: .75rem;
	color: var(--green);
}

/* ── STATUS MESSAGE ─────────────────── */
.status-msg {
	display: none;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: .88rem;
	font-weight: 600;
	margin-bottom: 12px;
	text-align: center;
}

.status-msg.success {
	background: #0d2e0d;
	border: 1px solid var(--green);
	color: var(--green);
	display: block;
}

.status-msg.error {
	background: #2e0d0d;
	border: 1px solid #c0392b;
	color: #ff6b6b;
	display: block;
}

.status-msg.info {
	background: #1a1a2e;
	border: 1px solid #3b82f6;
	color: #93c5fd;
	display: block;
}

/* Countdown */
.countdown {
	font-size: .8rem;
	color: #ff6b6b;
	text-align: center;
	margin: 8px 0 0 0;
}

/* ── SPINNER ─────────────────────────── */
.spinner {
	width: 20px;
	height: 20px;
	border: 2px solid var(--border);
	border-top-color: var(--green);
	border-radius: 50%;
	animation: spin .6s linear infinite;
	display: inline-block;
	vertical-align: middle;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ── PLAYING INDICATOR ──────────────── */
.playing-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--green);
	display: inline-block;
	animation: pulse 1.2s ease-in-out infinite;
	margin-right: 6px;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: .5;
		transform: scale(.8);
	}
}

/* Admin link */
.admin-link {
	position: fixed;
	bottom: 16px;
	right: 16px;
	background: var(--card2);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 6px 14px;
	font-size: .72rem;
	color: var(--text);
	text-decoration: none;
	opacity: .5;
	transition: opacity .2s;
}

.admin-link:hover {
	opacity: 1;
}

/* Footer */
footer {
	text-align: center;
	padding: 20px;
	font-size: .72rem;
	color: var(--muted);
	border-top: 1px solid var(--border);
	margin-top: 32px;
	letter-spacing: .5px;
}

.uyari {
	margin: 0 0 2px 18px !important
}

.uyari::marker {
	content: "▫️ ";
}

.oda-kontrol-yok {
	display: none;
	background: linear-gradient(135deg, #3a1010, #2a0a0a);
	border: 1px solid #8b2222;
	border-radius: var(--radius);
	padding: 10px 14px;
	text-align: center;
	font-size: 0.72rem;
	color: #fff;
	margin: 20px 0px;
	align-items: center;
	justify-content: center;
}
.oda-kontrol-var {
	display: none;
	background: linear-gradient(0deg, #003300, #003300);
	border: 1px solid #00cc00;
	border-radius: var(--radius);
	padding: 10px 14px;
	text-align: center;
	font-size: 0.72rem;
	color: #fff;
	margin: 20px 0px;
	align-items: center;
	justify-content: center;
}

.oda-kontrol {
	font-size: 0.75rem;
	font-weight:600;
}