/* General Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
    padding-bottom: 60px;
}

a {
    color: #818cf8;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #a5b4fc;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header & Navigation */
header {
    border-bottom: 1px solid #334155;
    background-color: #1e293b;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #f8fafc;
}

.logo span {
    color: #6366f1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav ul a {
    font-weight: 500;
    color: #94a3b8;
}

nav ul a:hover {
    color: #f8fafc;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at top, #1e1b4b 0%, #0f172a 100%);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Common */
section {
    padding: 60px 0;
    border-bottom: 1px solid #1e293b;
}

section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background-color: #6366f1;
    border-radius: 2px;
}

/* Music Section Grid */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.music-card {
    background-color: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cover-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #4338ca 0%, #1e1b4b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cover-placeholder svg {
    width: 64px;
    height: 64px;
    color: #a5b4fc;
}

.music-info {
    padding: 24px;
}

.music-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.music-artist {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 16px;
}

.lyrics-box {
    background-color: #0f172a;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    max-height: 120px;
    overflow-y: auto;
    color: #cbd5e1;
    margin-bottom: 20px;
    white-space: pre-line;
    border-left: 3px solid #6366f1;
}

.links-container {
    display: flex;
    gap: 12px;
}

.btn-platform {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background-color: #334155;
    color: #f8fafc;
}

.btn-platform:hover {
    background-color: #475569;
}

/* Apps Section Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.app-card {
    background-color: #1e293b;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #334155;
}

.app-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background: linear-gradient(135deg, #6366f1 0%, #312e81 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.app-icon-placeholder svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.app-icon-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.app-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-desc {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 24px;
    min-height: 45px;
}

.store-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.badge-placeholder {
    background-color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #334155;
}

.app-legal-links {
    display: flex;
    gap: 16px;
    font-size: 13px;
    border-top: 1px solid #334155;
    padding-top: 16px;
}

/* Legal Pages Styling */
.legal-content {
    background-color: #1e293b;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #334155;
}

.legal-content h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.legal-content .date {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 14px;
}

.legal-content h2 {
    font-size: 20px;
    margin: 24px 0 12px 0;
    background: none;
    padding: 0;
}
.legal-content h2::after { display: none; }

.legal-content p, .legal-content ul {
    color: #cbd5e1;
    margin-bottom: 16px;
    font-size: 15px;
}

.legal-content ul {
    padding-left: 20px;
}

/* Footer Section */
footer {
    background-color: #0f172a;
    border-top: 1px solid #1e293b;
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-size: 14px;
}

footer p {
    margin-bottom: 10px;
}

/* Coming Soon Card */
.app-card-soon .app-icon-placeholder,
.app-card-soon .app-title,
.app-card-soon .app-desc {
    opacity: 0.6;
}

.coming-soon-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a5b4fc;
    background-color: rgba(99, 102, 241, 0.12);
    border: 1px dashed #6366f1;
}
