@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ═══════════════════════════════════════════ */
/* RESET                                       */
/* ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════════ */
/* CUSTOM PROPERTIES                           */
/* ═══════════════════════════════════════════ */
:root {
    --color-base: #0a0a0a;
    --color-surface-1: #111111;
    --color-surface-2: #1a1a1a;
    --color-surface-3: #2a2a2a;
    --color-accent: #8b1a1a;
    --color-accent-bright: #a82020;
    --color-text: #d4c5a9;
    --color-text-muted: #6b6b6b;
    --color-text-dim: #3a3a3a;

    --color-bog: #2d4a2a;
    --color-fensalir: #4a6d8c;
    --color-mortis: #8b1a1a;

    --font-display: 'Cinzel Decorative', serif;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --header-h: 72px;
    --player-h: 72px;
}

/* ═══════════════════════════════════════════ */
/* BASE                                        */
/* ═══════════════════════════════════════════ */
html { scroll-behavior: smooth; }

body {
    background: var(--color-base);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    overflow-x: hidden;
    padding-bottom: var(--player-h);
}

/* Grain overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
    opacity: 0.035;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
}

::selection {
    background: var(--color-accent);
    color: var(--color-text);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-base); }
::-webkit-scrollbar-thumb { background: var(--color-surface-3); }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--color-accent); }

/* ═══════════════════════════════════════════ */
/* TYPOGRAPHY                                  */
/* ═══════════════════════════════════════════ */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.1;
}

/* ═══════════════════════════════════════════ */
/* HEADER                                      */
/* ═══════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 100;
    transition: background 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.header--scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--color-surface-2);
}

.header__inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.header__logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}

.header__logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.header__logo-sub {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.header__logo:hover { color: var(--color-text); }

.header__nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.header__link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.header__link--muted {
    color: var(--color-text-dim);
    cursor: default;
}
.header__link--muted::after {
    content: " (soon)";
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--color-text-dim);
}

/* Hamburger */
.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ═══════════════════════════════════════════ */
/* HERO                                        */
/* ═══════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 20%, var(--color-base) 80%);
    z-index: 1;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero__title {
    margin-bottom: 1rem;
}

.hero__title-main {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero__title-accent {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.hero__tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero__divider span:first-child,
.hero__divider span:last-child {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-accent), transparent);
}

.hero__divider-icon {
    font-size: 1.2rem;
    color: var(--color-accent);
}

.hero__subtitle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-bottom: 3rem;
}

.hero__cta {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--color-accent);
    color: var(--color-text);
    transition: all 0.4s ease;
}

.hero__cta:hover {
    background: var(--color-accent);
    color: var(--color-text);
    box-shadow: 0 0 30px rgba(139, 26, 26, 0.3);
}

/* Scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.hero__scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

.hero__scroll-arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--color-text-dim), transparent);
}

/* ═══════════════════════════════════════════ */
/* SECTION HEADER                              */
/* ═══════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-header__sub {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 300;
    font-style: italic;
}

/* ═══════════════════════════════════════════ */
/* BANDS                                       */
/* ═══════════════════════════════════════════ */
.bands {
    padding: 6rem 0 8rem;
}

.bands__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bands__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Band card */
.band-card {
    background: var(--color-surface-1);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-left: 3px solid var(--color-surface-3);
}

.band-card:hover {
    transform: translateY(-4px);
}

/* Band-specific accents */
[data-band="bog-ledger"] { border-left-color: var(--color-bog); }
[data-band="bog-ledger"]:hover { box-shadow: 0 8px 40px rgba(45, 74, 42, 0.15); }

[data-band="fensalir"] { border-left-color: var(--color-fensalir); }
[data-band="fensalir"]:hover { box-shadow: 0 8px 40px rgba(74, 109, 140, 0.15); }

[data-band="mortis-causa"] { border-left-color: var(--color-mortis); }
[data-band="mortis-causa"]:hover { box-shadow: 0 8px 40px rgba(139, 26, 26, 0.15); }

/* Card image placeholder */
.band-card__image {
    position: relative;
    height: 280px;
    background: var(--color-base);
    overflow: hidden;
}

.band-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        45deg,
        var(--color-surface-1),
        var(--color-surface-1) 10px,
        var(--color-base) 10px,
        var(--color-base) 20px
    );
    opacity: 0.4;
}

.band-card__sigil {
    font-size: 3rem;
    color: var(--color-text-dim);
    opacity: 0.5;
}

.band-card__image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--color-surface-1), transparent);
    pointer-events: none;
}

/* Card content */
.band-card__content {
    padding: 1.5rem 2rem 2rem;
}

.band-card__genre {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.band-card__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.band-card__lore {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.band-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.band-card__tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--color-surface-3);
    color: var(--color-text-dim);
}

.band-card__border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-surface-3), transparent);
}

/* ═══════════════════════════════════════════ */
/* ABOUT                                       */
/* ═══════════════════════════════════════════ */
.about {
    padding: 6rem 0;
    border-top: 1px solid var(--color-surface-2);
}

.about__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.about__text {
    flex: 1;
}

.about__description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
}

.about__description--muted {
    color: var(--color-text-dim);
    font-style: italic;
}

.about__sigil {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about__sigil-icon {
    font-size: 5rem;
    color: var(--color-surface-3);
    opacity: 0.4;
}

/* ═══════════════════════════════════════════ */
/* PLAYER                                      */
/* ═══════════════════════════════════════════ */
.player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--player-h);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-surface-2);
    z-index: 100;
}

.player__inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2rem;
}

.player__controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player__btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    padding: 4px;
}

.player__btn:hover { color: var(--color-text); }
.player__btn:disabled { opacity: 0.3; cursor: default; }

.player__btn--play {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-text-dim);
    color: var(--color-text);
}

.player__btn--play:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.player__info {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.player__track {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player__band {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.player__progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player__time {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-text-dim);
    min-width: 32px;
}

.player__progress {
    flex: 1;
    height: 2px;
    background: var(--color-surface-3);
    cursor: pointer;
    position: relative;
}

.player__progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    transition: width 0.1s linear;
}

.player__progress:hover .player__progress-fill {
    height: 4px;
    top: -1px;
}

.player__volume-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player__volume-icon { color: var(--color-text-dim); }

.player__volume {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 2px;
    background: var(--color-surface-3);
    outline: none;
    cursor: pointer;
}

.player__volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: var(--color-text-muted);
    cursor: pointer;
}

/* ═══════════════════════════════════════════ */
/* FOOTER                                      */
/* ═══════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--color-surface-2);
    padding: 4rem 0 3rem;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer__brand {
    margin-bottom: 2rem;
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.25rem;
}

.footer__est {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.footer__link:hover { color: var(--color-text); }

.footer__copy p {
    font-size: 0.7rem;
    color: var(--color-text-dim);
    line-height: 1.8;
}

.footer__copy--muted {
    font-style: italic;
    font-size: 0.65rem !important;
}

/* ═══════════════════════════════════════════ */
/* ANIMATIONS                                  */
/* ═══════════════════════════════════════════ */
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px var(--color-accent); }
    50% { box-shadow: 0 0 20px var(--color-accent); }
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════ */
/* RESPONSIVE                                  */
/* ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.4s ease;
        border-bottom: 1px solid var(--color-surface-2);
    }

    .nav--open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .header__toggle { display: flex; }

    .about__inner {
        flex-direction: column;
        gap: 2rem;
    }

    .about__sigil { display: none; }

    .player__volume-wrap { display: none; }

    .player__info { min-width: 80px; }

    .player__inner { gap: 0.75rem; padding: 0 1rem; }
}

@media (min-width: 768px) {
    .bands__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .band-card__image { height: 320px; }
}

@media (min-width: 1200px) {
    .band-card__image { height: 380px; }
}
