/* =========================
   Design tokens
   ========================= */

:root {
    --bg: #0e1116;
    --panel: #141924;
    --panel-soft: rgba(255, 255, 255, 0.04);

    --text: #e7eaf0;
    --muted: #a5adbb;
    --muted2: #7d8596;

    --border: rgba(255, 255, 255, 0.08);

    --accent: #7dd3fc;
    --accent-soft: rgba(125, 211, 252, 0.12);
    --accent-hover: rgba(125, 211, 252, 0.18);

    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;

    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* =========================
   Base
   ========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(
            1200px 500px at 20% -10%,
            rgba(125, 211, 252, 0.08),
            transparent 60%
    ),
    var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.55;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   Layout
   ========================= */

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

.section {
    padding: 56px 0;
}

/* =========================
   Header / Nav
   ========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(14, 17, 22, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--text);
}

.brand .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.badge {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
}

nav a {
    margin-left: 18px;
    color: var(--muted);
    font-weight: 600;
}

nav a:hover {
    color: var(--text);
}

/* =========================
   Hero
   ========================= */

.heroGrid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.heroImage img {
    width: 100%;
    height: auto;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05);
    margin-bottom: 32px;

    /* never animate/hover the hero image */
    transition: none !important;
    transform: none !important;
    filter: none !important;
}

/* subtle polish */
.heroImage {
    transform: translateY(8px);
}

/* responsive */
@media (max-width: 900px) {
    .heroGrid {
        grid-template-columns: 1fr;
    }

    .heroImage {
        order: -1;
    }
}

h1 {
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    margin: 0 0 14px;
}

.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 60ch;
}

/* =========================
   Buttons / CTAs
   ========================= */

.ctaRow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(125, 211, 252, 0.35);
    background: var(--accent-soft);
    color: var(--text);
    font-weight: 700;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn.ghost {
    border-color: var(--border);
    background: var(--panel-soft);
    color: var(--text);
}

/* =========================
   Pills (stats)
   ========================= */

.pillRow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .pillRow {
        grid-template-columns: 1fr;
    }
}

.pill {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px;
}

.pillKicker {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted2);
}

.pillValue {
    font-size: 17px;
    font-weight: 800;
    margin-top: 2px;
}

.pillMeta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

.note {
    font-size: 13px;
    color: var(--muted2);
    margin-top: 14px;
}

/* =========================
   Cards
   ========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.card h3 {
    margin-top: 0;
}

.muted {
    color: var(--muted);
}

.bullets {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

/* =========================
   Tabs / Explore
   ========================= */

.tabRow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0;
}

.tab {
    cursor: pointer;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    border: 1px solid var(--border);
    background: var(--panel-soft);
    color: var(--text);
    font-weight: 700;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.06);
}

.tab[data-active="true"] {
    border-color: rgba(125, 211, 252, 0.4);
    background: var(--accent-soft);
}

/* =========================
   Panel
   ========================= */

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.25);
    padding: 16px;
}

/* =========================
   Footer
   ========================= */

.footer {
    padding: 40px 0 50px;
}

.footerInner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.soundcloudEmbed {
    margin-top: 16px;
    max-width: 520px;
    opacity: 0.9;
}

.soundcloudEmbed iframe {
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* =========================
   Scroll to top button
   ========================= */

.scrollTopBtn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.35);
    background: var(--accent-soft);
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;

    display: flex;          /* 👈 always on */
    align-items: center;
    justify-content: center;

    box-shadow: var(--shadow);
    z-index: 50;
}

.scrollTopBtn:hover {
    background: var(--accent-hover);
}

/* =========================
   YouTube embed
   ========================= */

.youtubeEmbed {
    margin-top: 32px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.youtubeEmbed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* =========================
   Mini cards (fragments)
   ========================= */

.miniCard {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

/* =========================
   Global hover system (PUT LAST)
   Applies to every "pill / element" except hero image
   ========================= */

:root {
    --panel-glow:
            0 0 0 1px rgba(125, 211, 252, 0.30),
            0 14px 34px rgba(125, 211, 252, 0.14),
            0 0 22px rgba(125, 211, 252, 0.20);
}

/* Make sure hover scaling can rise above neighbors */
.card,
.pill,
.panel,
.miniCard,
.tab,
.btn {
    position: relative;
    z-index: 0;
    transition:
            transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 360ms ease,
            border-color 360ms ease,
            background-color 360ms ease,
            filter 360ms ease;
    will-change: transform;
}

.card:hover,
.pill:hover,
.panel:hover,
.miniCard:hover,
.tab:hover,
.btn:hover,
.scrollTopBtn:hover {
    z-index: 2;
    transform: translateY(-0.5px);
    box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.12),
    0 4px 10px rgba(125, 211, 252, 0.08);
    border-color: rgba(125, 211, 252, 0.14);
}





/* Optional: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .card,
    .pill,
    .panel,
    .miniCard,
    .contactCard,
    .tab,
    .btn,
    .scrollTopBtn {
        transition: none;
    }

    .card:hover,
    .pill:hover,
    .panel:hover,
    .miniCard:hover,
    .tab:hover,
    .btn:hover,
    .scrollTopBtn:hover {
        transform: none;
    }
}

/* Explicit hard block: never hover/scale the hero image */
.heroImage,
.heroImage img {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/*.contact .contactCard:hover {*/
/*    transform: none;*/
/*    box-shadow: none;*/
/*    border-color: var(--border);*/
/*    z-index: auto;*/
/*}*/

