/* ================================================================
   NEW LACONIA — Stylesheet
   Fonts: Akashi (primary, self-hosted), ADLaM Display (universe heading)
   ================================================================ */

@font-face {
    font-family: 'Akashi';
    src: url('assets/fonts/AA-Akashi.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --color-bg: #192F4C;
    --color-text: #ffffff;
    --color-orange: #E3A779;
    --color-teal: #50BBCB;
    --color-mauve: #84616F;
    --color-footer: #1B3F5C;
    --color-dim: #848080;

    --font-body: 'Akashi', 'Courier New', monospace;
    --font-display: 'ADLaM Display', serif;

    --container-max: 1440px;
    --container-pad: 80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================================================
   UTILITY
   ================================================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ================================================================
   HEADER / NAV
   ================================================================ */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-menu a {
    font-size: 22px;
    color: var(--color-text);
    transition: color 0.2s ease;
    letter-spacing: 0.04em;
}

.nav-menu a:hover {
    color: var(--color-orange);
}

.header-logo img {
    max-height: 169px;
    width: auto;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

/* ================================================================
   HERO
   ================================================================ */

.hero {
    width: 100%;
    height: auto;
    overflow: visible;
}

.hero-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
}

/* ================================================================
   ALBUM
   ================================================================ */



.album {
    position: relative;
    padding: 0 0 88px;
    background: var(--color-bg);
    border-top: 1px solid var(--color-mauve);
}

.album::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.line-left {
    position: absolute;
    top: 50px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #9C6B7E, #9D6D7E);
}


.line-right {
    position: absolute;
    top: 50px;
    left: 0;
    right: auto;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #9C6B7E, #9D6D7E);
}

.album .container {
    position: relative;
    z-index: 1;
}

.album-header {
    padding-top: 88px;
    margin-bottom: 52px;
}

.album-title {
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: 0.03em;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #9C6B7E 0%, #E3A779 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.album-desc {
    font-size: 18px;
    line-height: 1.75;
    max-width: 1024px;
    margin: 0 auto;
    color: var(--color-text);
    opacity: 0.92;
    text-align: center;
    padding-bottom: 20px;
}

.album-body {
    display: grid;
    grid-template-columns: 523px 1fr;
    gap: 56px;
    align-items: start;
}

.album-cover img {
    width: 100%;
    height: auto;
}

.album-aside {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.stream-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    flex-direction: row;
}

.btn-stream {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(var(--color-mauve), var(--color-mauve)) padding-box,
        linear-gradient(135deg, rgba(130, 100, 120, 0.35), rgba(240, 230, 235, 0.85), rgba(130, 100, 120, 0.35)) border-box;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 22px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0 48px;
    height: 60px;
    min-width: 220px;
    border-radius: 28px;
    border: 3px solid transparent;
    transition: filter 0.2s ease;
}

.tracklist {
    list-style: none;
    counter-reset: track;
    width: 100%;
}

.tracklist li {
    counter-increment: track;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 22px;
}

.tracklist li::before {
    content: counter(track) ".";
    min-width: 36px;
    flex-shrink: 0;
    opacity: 0.9;
}

.tracklist li a {
    display: flex;
    width: 100%;
}

.track-name {
    flex: 1;
    padding-right: 12px;
}

.track-time {
    flex-shrink: 0;
    opacity: 0.85;
    margin-left: auto;
}

/* ================================================================
   OUR SONGS
   ================================================================ */

.our-songs {
    position: relative;
    padding: 64px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.section-heading--orange {
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 400;
    color: var(--color-orange);
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    text-align: center;
}

.carousel {
    width: 100%;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-item {
    flex: 0 0 calc(25% - 18px);
    min-width: 0;
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
}

.carousel-controls {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    margin-bottom: 24px;
    justify-content: center;
}

.carousel-btn {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.2s ease;
}

.carousel-btn--prev {
    background: #F9F6F1;
    color: var(--color-orange);
}

.carousel-btn--prev img {
    filter: invert(71%) sepia(39%) saturate(471%) hue-rotate(340deg) brightness(101%) contrast(92%);
}

.carousel-btn--next {
    background: var(--color-orange);
    width: 84px;
    border-radius: 26px;
}

.carousel-btn--next img {
    filter: brightness(0) invert(1);
}

.carousel-btn:hover {
    filter: brightness(1.15);
}

/* ================================================================
   THE UNIVERSE / ABOUT
   ================================================================ */

.universe {
    padding: 0 0 60px;
    position: relative;
    /* background-image: url('assets/images/background2.jpg');
    background-size: cover;
    background-position: center; */
}

.universe::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/background2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

.universe-intro {

    padding: 40px 0 0;
}

.universe-title-row {
    position: relative;

    margin-bottom: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.universe-title {
    position: relative;
    max-width: 720px;
    padding-top: 10px;
    text-align: center;
}


.about-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--color-orange);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 18px;
    letter-spacing: 0.06em;
    padding: 5px 28px;
    border-radius: 50px;
    white-space: nowrap;
    position: absolute;
    top: 0;
    right: 0;
    rotate: -7deg;
}

.universe-layout {
    position: relative;
    padding-bottom: 80px;
    min-height: 480px;
}



.universe-text {
    position: relative;
    z-index: 1;
}

.universe-text p {
    font-size: 21px;
    line-height: 1.7;
    color: var(--color-text);
    opacity: 0.93;
}

.universe-text p:nth-child(1) {
    max-width: 50%;
}

.universe-text p:nth-child(2) {
    margin-left: 15%;
    max-width: 60%;
    margin-top: 24px;
}

.universe-text p:nth-child(3) {
    margin-left: 32%;
    max-width: 50%;
    margin-top: 24px;
}

.universe-deco {
    position: absolute;
    bottom: 0;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.universe-deco--ruster {
    left: 0;
    width: 565px;
    left: -228px;
}

.universe-deco--time {
    right: -80px;
    width: 345px;
}

/* Characters */

.characters-block {
    padding: 64px 0 0 0;
}

.characters-banner {
    display: flex;
    justify-content: center;
}

.characters-banner-img {
    display: block;
    max-height: 140px;
    width: auto;
    margin-bottom: 52px;
}

.characters-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    justify-items: center;
}

.character-card {
    display: flex;
    flex-direction: column;
    max-width: 420px;
    ;
}

.card-img-wrap {
    position: relative;

    /* overflow: hidden; */
    margin-bottom: 24px;
    max-width: 405px;
}

.card-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.character-badges {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.character-badge {
    background: rgba(10, 20, 35, 0.82);
    border: 1px solid rgba(200, 200, 200, 0.2);
    color: var(--color-text);
    font-size: 14px;
    font-family: var(--font-body);
    padding: 8px 14px;
    border-radius: 6px;
    text-align: center;
    max-width: 190px;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.character-name {
    font-family: var(--font-body);
    font-size: clamp(26px, 2vw, 45px);
    font-weight: 400;
    color: var(--color-orange);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.fates-bio,
.character-bio {
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0.9;
}

.fates-bio {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.character-bio--alert {
    opacity: 1;
}

/* The Fates */

.fates-block {
    margin-top: 64px;
}

.fates-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.fates-block .character-name {
    text-align: center;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
    background: var(--color-bg);
    padding: 60px var(--container-pad) 0;
}

.footer-inner {
    background: var(--color-footer);
    border-radius: 20px;
    padding: 44px 52px;
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 40px;
    align-items: center;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 20px;
    color: var(--color-text);
    letter-spacing: 0.03em;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.75;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-logo {
    max-height: 261px;
    width: auto;
}

.footer-bear {
    height: 172px;
    width: auto;
    align-self: flex-end;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    grid-column: 4;
    align-self: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.social-link:hover {
    opacity: 0.75;
}

.footer-copy-row {
    padding-top: 24px;
    padding-bottom: 28px;
}

.footer-copy {
    font-size: 18px;
    color: var(--color-dim);
    letter-spacing: 0.02em;
}

/* ================================================================
   RESPONSIVE — 1024px
   ================================================================ */

@media (max-width: 1024px) {
    :root {
        --container-pad: 40px;
    }

    .album-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .universe-layout {
        padding-bottom: 40px;
    }

    .album-cover img {
        max-width: 480px;
    }

    .universe-title {
        position: relative;
        max-width: 720px;
        padding-top: 30px;
        text-align: center;
    }

    .universe-text p:nth-child(1),
    .universe-text p:nth-child(2),
    .universe-text p:nth-child(3) {
        max-width: 100%;
        margin-left: 0;
    }

    /* .universe-text p:nth-child(2) {
        margin-left: 15%;
    }

    .universe-text p:nth-child(3) {
        margin-left: 25%;
    } */

    .universe-deco--ruster,
    .universe-deco--time {
        width: 180px;
        display: none;
    }

    /* .footer-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    } */

    /* .footer-center {
        grid-column: 1 / 3;
        order: -1;
    }

    .footer-bear {
        grid-column: 2;
        justify-self: end;
        align-self: end;
    } */

    .album-cover {
        display: flex;
        justify-content: center;
    }

    .album-aside {
        align-items: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 24px;
        text-align: center;
    }

    .footer-socials {
        flex-direction: row;
        flex-wrap: wrap;
        grid-column: 1 / 3;
        justify-content: center;
        gap: 16px;
        align-self: auto;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-center,
    .footer-bear,
    .footer-socials {
        grid-column: 1;
        justify-self: center;
        align-self: auto;
    }

    .footer-center {
        order: -1;
    }

    .tracklist {
        order: -1;
    }
}

/* ================================================================
   RESPONSIVE — 768px
   ================================================================ */

@media (max-width: 768px) {
    :root {
        --container-pad: 24px;
    }

    /* Header */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--color-bg);
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 12px 24px;
        font-size: 18px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero */
    .hero {
        height: auto;
        margin-top: 170px;
    }

    /* Album */
    .album-cover img {
        max-width: 100%;
    }

    /* .stream-buttons {
        flex-direction: column;
    } */

    .btn-stream {
        min-width: auto;
    }

    .tracklist li,
    .tracklist li::before,
    .track-time {
        font-size: 16px;
    }

    /* Songs */
    .carousel-item {
        flex: 0 0 calc(50% - 12px);
    }

    /* Universe */
    .about-badge {
        position: absolute;
        top: 0;
        right: 0;
    }

    .universe-title-row {
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        gap: 20px;
    }

    .universe-title {
        position: relative;
        max-width: 720px;
        padding-top: 30px;
        text-align: center;
    }

    .universe-layout {
        padding-bottom: 20px;
    }

    .universe-text p:nth-child(1),
    .universe-text p:nth-child(2),
    .universe-text p:nth-child(3) {
        max-width: 100%;
        margin-left: 0;
    }

    .universe-deco {
        display: none;
    }

    .universe-text p,
    .character-bio {
        font-size: 18px;
    }

    /* Characters */
    .characters-duo {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .fates-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-items: center;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 24px;
        text-align: center;
    }

    .footer-center,
    .footer-bear,
    .footer-socials {
        grid-column: 1;
        justify-self: center;
        align-self: auto;
    }

    .footer-socials {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-copy-row {
        text-align: center;
    }


}

/* ================================================================
   RESPONSIVE — 480px
   ================================================================ */

@media (max-width: 480px) {
    .hero {
        height: auto;
        margin-top: 140px;
    }

    .carousel-item {
        flex: 0 0 calc(100% - 0px);
    }

    .album-cover img {
        max-width: 100%;
    }

    .header-logo img {
        max-height: 120px;
    }


}

/* Hide decorative section lines */
.line-left,
.line-right {
    display: none !important;
}

