/* ===========================
   KMHD Menu Bar Player
   Record Sleeve Direction
   =========================== */

:root {
    --black: #0A0A0A;
    --gold: #D4A843;
    --gold-light: #E2BB5A;
    --off-white: #F0F0F0;
    --grey: #888888;
    --blue: #1A2744;
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "JetBrains Mono", monospace;
    background: var(--black);
    color: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- Noise grain overlay ---- */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ---- Layout ---- */
.section-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- Section labels (uppercase monospace) ---- */
.section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
}

/* ===========================
   HERO
   =========================== */
.hero {
    text-align: center;
    padding: 48px 32px 40px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(26, 39, 68, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.version-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.title-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--off-white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.tagline {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

/* Hero image — vinyl-inspired frame */
.hero-image {
    margin-top: 16px;
}

.vinyl-frame {
    position: relative;
    display: inline-block;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.vinyl-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), transparent 50%, rgba(26, 39, 68, 0.15));
    pointer-events: none;
}

.app-screenshot {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* ===========================
   FEATURES
   =========================== */
.features {
    padding: 64px 0;
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature {
    padding: 28px 24px;
    border-left: 2px solid var(--gold);
    background: var(--surface);
    border-radius: 12px;
}

.feature h3 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--off-white);
    margin-bottom: 8px;
}

.feature p {
    font-size: 0.85rem;
    color: var(--grey);
    line-height: 1.7;
}

/* ===========================
   ABOUT
   =========================== */
.about {
    padding: 64px 0;
    border-top: 1px solid var(--border);
}

.about-content {
    max-width: 560px;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.8;
}

/* ===========================
   DOWNLOAD
   =========================== */
.download {
    padding: 64px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 20px 48px;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s;
    text-align: center;
}

.btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-text {
    display: block;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 400;
}

.btn-sub {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    opacity: 0.6;
    margin-top: 4px;
}

.meta {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--grey);
}

.github-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}

.github-link:hover {
    opacity: 0.7;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    padding: 60px 0 48px;
    border-top: 1px solid var(--border);
}

.credits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.credit-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credit-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey);
}

.credit-value {
    font-size: 0.85rem;
    color: var(--off-white);
}

.credit-value a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.2s;
}

.credit-value a:hover {
    opacity: 0.7;
}

.support {
    margin-bottom: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.support p {
    font-size: 0.85rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 8px;
}

.support-link {
    font-size: 0.85rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.support-link:hover {
    opacity: 0.7;
}

.disclaimer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
}

/* ===========================
   GEOMETRIC ACCENTS
   =========================== */

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 520px) {
    .hero {
        padding: 48px 20px 32px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .section-inner {
        padding: 0 20px;
    }

    .features,
    .about,
    .download {
        padding: 48px 0;
    }

    .vinyl-frame {
        padding: 16px;
    }

    .app-screenshot {
        max-width: 260px;
    }

    .btn {
        padding: 16px 36px;
    }

    .btn-text {
        font-size: 1.1rem;
    }

    .credits {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
