* { box-sizing: border-box; margin: 0; padding: 0; }
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: #0e0f11;
	color: #d4d4d4;
	line-height: 1.6;
	font-size: 15px;
}
a { color: #f60; text-decoration: none; }
a:hover { color: #ff8533; }
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: #141518; border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: #f60; }
.logo img { height: 32px; }
.logo:hover { color: #ff8533; }
.header-nav { display: flex; gap: 20px; }
.header-nav a { color: rgba(255,255,255,0.5); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.header-nav a:hover { color: #f60; }

/* Hero */
.hero { background: linear-gradient(180deg, #141518 0%, #1a1b20 100%); padding: 55px 20px 60px; text-align: center; }
.hero h1 { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.hero-desc { color: rgba(255,255,255,0.5); font-size: 15px; margin-bottom: 30px; }
.search-box {
	display: flex; max-width: 680px; height: 52px; margin: 0 auto;
	background: #fff; border-radius: 26px; overflow: hidden;
	box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.search-box input {
	flex: 1; height: 100%; padding: 0 20px; border: none; outline: none;
	font-size: 15px; color: #333; background: transparent;
}
.search-box input::placeholder { color: #aaa; }
.search-box button {
	width: 120px; height: 100%; border: none; cursor: pointer;
	background: linear-gradient(135deg, #f60, #ff8533);
	color: #fff; font-size: 15px; font-weight: 600;
	transition: background 0.2s;
}
.search-box button:hover { background: linear-gradient(135deg, #e55a00, #f07020); }
.search-box button:disabled { opacity: 0.6; cursor: default; }
.status { text-align: center; margin-top: 16px; font-size: 14px; color: #f60; }
.status.error { color: #ef4444; }

/* Result */
.result-section { padding: 0 20px; }
#info { text-align: center; padding: 30px 0; }
#info img.cover { max-height: 280px; border-radius: 12px; margin-bottom: 16px; }
#info h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
#info .artist { color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.download-btn {
	display: inline-block; padding: 14px 40px; border-radius: 25px;
	background: linear-gradient(135deg, #f60, #ff8533);
	color: #fff; font-size: 15px; font-weight: 600; text-decoration: none;
	transition: transform 0.15s, box-shadow 0.2s;
	box-shadow: 0 4px 15px rgba(255,102,0,0.3);
}
.download-btn:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(255,102,0,0.4); color: #fff; }
.download-btn.loading {
	opacity: 0.6; cursor: default; pointer-events: none;
}
.download-btn.loading:before {
	content: ''; display: inline-block; width: 1em; height: 1em; margin-right: 0.5em;
	border: 2px solid #fff; border-radius: 50%;
	clip-path: polygon(0% 0%, 100% 0%, 100% 30%, 0% 30%);
	animation: spin 1s linear infinite; vertical-align: -10%;
}
.download-btn.failed { background: #555; box-shadow: none; cursor: default; pointer-events: none; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Playlist / Track list */
.track-list { text-align: left; margin-top: 20px; }
.track-item {
	display: flex; align-items: center; gap: 12px;
	padding: 12px; margin-bottom: 8px;
	background: rgba(255,255,255,0.04); border-radius: 10px;
}
.track-cover img { width: 50px; height: 50px; border-radius: 6px; display: block; }
.track-info { flex: 1; overflow: hidden; }
.track-num { color: #f60; font-weight: 600; }
.track-title { color: #fff; font-size: 14px; font-weight: 500; }
.track-user { color: rgba(255,255,255,0.45); font-size: 13px; }
.track-action { flex-shrink: 0; }
.download-btn.small {
	padding: 8px 18px; font-size: 13px; border-radius: 20px;
}
@media (max-width: 480px) {
	.track-item { flex-wrap: wrap; }
	.track-action { width: 100%; text-align: center; margin-top: 8px; }
	.download-btn.small { width: 100%; display: block; }
}

/* Steps */
.steps { padding: 50px 20px; }
.steps h2 { text-align: center; font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 30px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
	background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px; padding: 24px 16px; text-align: center;
}
.step-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: linear-gradient(135deg, #f60, #ff8533); color: #fff;
	font-size: 20px; font-weight: 700; margin-bottom: 12px;
}
.step p { font-size: 14px; color: rgba(255,255,255,0.6); }

/* Features */
.features { padding: 50px 20px; }
.features h2 { text-align: center; font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 30px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
	background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px; padding: 24px; transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(255,102,0,0.3); transform: translateY(-3px); }
.feature-card h3 { color: #f60; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: rgba(255,255,255,0.55); }

/* FAQ */
.faq { padding: 50px 20px; }
.faq h2 { text-align: center; font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 30px; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 18px 0; }
.faq-item h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.faq-item p { color: rgba(255,255,255,0.55); font-size: 14px; }

/* Legal pages */
.legal { padding: 50px 20px; }
.legal h1 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.legal h3 { font-size: 17px; font-weight: 600; color: #f60; margin: 24px 0 8px; }
.legal p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.legal ul { margin: 8px 0 16px 20px; list-style: disc; }
.legal ul li { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; margin-bottom: 4px; }

/* Footer */
.footer { background: #141518; padding: 30px 20px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: #f60; }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 13px; }

/* Mobile */
@media (max-width: 768px) {
	.hero h1 { font-size: 22px; }
	.search-box { height: 48px; }
	.search-box input { padding: 0 14px; font-size: 14px; }
	.search-box button { width: 100px; font-size: 14px; }
	.steps-grid { grid-template-columns: repeat(2, 1fr); }
	.features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.steps-grid { grid-template-columns: 1fr; }
	.header-nav { gap: 12px; }
	.header-nav a { font-size: 13px; }
}
