@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
    color-scheme:dark;
    --ink:#0d0718;
    --pink:#ff75d7;
    --violet:#b48aff;
    --text:#f8f0ff;
    --muted:#d0bfdc
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    background:var(--ink);
    color:var(--text);
    font-family:Manrope,Arial,sans-serif;
    overflow-x:hidden
}

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

button {
    font:inherit
}

.ambient {
    position:fixed;
    inset:0;
    pointer-events:none;
    background:radial-gradient(ellipse at 85% 15%,#a536aa20,transparent 40%),radial-gradient(ellipse at 5% 70%,#5d3dd01d,transparent 40%);
    z-index:-1
}

.hero {
    min-height:100svh;
    position:relative;
    display:flex;
    align-items:center;
    padding:110px max(7%,calc((100vw - 1200px)/2));
    isolation:isolate;
    overflow:hidden
}

.hero-art {
    position:absolute;
    inset:0;
    z-index:-2;
    background:linear-gradient(90deg,#0d0718f5 0%,#0d0718bd 43%,#0d07183d 100%),linear-gradient(0deg,#0d0718 0%,transparent 36%),url('/assets/images/idol-party-2.jpg') center/cover;
    animation:drift 22s ease-in-out infinite alternate
}

.hero:after {
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:-1;
    background:radial-gradient(circle at 75% 42%,#ff67d31b,transparent 42%)
}

.hero-content {
    max-width:720px
}

.eyebrow {
    font-size:11px;
    letter-spacing:.25em;
    color:#f5c9ff;
    font-weight:800
}

.overline {
    margin:35px 0 4px;
    font-size:13px;
    letter-spacing:.32em;
    color:#ffc1f2
}

.hero h1 {
    font-size:clamp(62px,10vw,144px);
    line-height:.98;
    letter-spacing:-.06em;
    margin:12px 0 30px;
    font-weight:800;
    text-shadow:0 0 50px #f746b24a
}

.hero h1 span {
    display:block;
    color:#ffa4e9
}

.intro {
    font-size:clamp(15px,1.5vw,19px);
    line-height:1.8;
    max-width:520px;
    color:#e8d9ed
}

.actions {
    display:flex;
    flex-wrap:wrap;
    gap:13px;
    margin-top:35px
}

.primary,.secondary {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:12px 23px;
    border-radius:100px;
    font-size:13px;
    font-weight:800;
    transition:transform .25s,box-shadow .25s
}

.primary {
    background:linear-gradient(110deg,#ff85d7,#b894ff);
    color:#240c2d;
    box-shadow:0 10px 35px #c453c94a
}

.secondary {
    border:1px solid #ffffff55;
    background:#ffffff0d
}

.primary:hover,.secondary:hover {
    transform:translateY(-3px)
}

.scroll-hint {
    position:absolute;
    bottom:30px;
    left:7%;
    font-size:10px;
    letter-spacing:.2em;
    color:#e2cbe9
}

.scroll-hint span {
    margin-left:8px
}

.content {
    padding:115px 7%;
    max-width:1400px;
    margin:auto
}

.section-heading {
    text-align:center;
    max-width:720px;
    margin:0 auto 70px
}

.section-heading h2,.community h2 {
    font-family:Cinzel,serif;
    font-weight:500;
    font-size:clamp(35px,5vw,65px);
    line-height:1.25;
    margin:17px 0
}

.section-heading p,.feature-copy p,.community p {
    color:var(--muted);
    line-height:1.9
}

.feature {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7%;
    align-items:center
}

.feature-art {
    border-radius:24px;
    overflow:hidden;
    border:1px solid #ffffff24;
    box-shadow:0 25px 90px #0009,0 0 50px #ef70dc18
}

.feature-art img {
    width:100%;
    display:block;
    aspect-ratio:4/3;
    object-fit:cover
}

.feature-copy h3 {
    font-family:Cinzel,serif;
    font-size:clamp(28px,3vw,45px);
    font-weight:500;
    line-height:1.35
}

.tags {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:25px
}

.tags span {
    border:1px solid #d58ddf70;
    border-radius:100px;
    padding:7px 14px;
    font-size:11px;
    color:#f6c9f6
}

.community {
    text-align:center;
    padding:125px 7%;
    background:radial-gradient(ellipse at center,#70276e60,transparent 70%),linear-gradient(180deg,#120a1d,#1a0c28);
    border-top:1px solid #ffffff12
}

.community h2 em {
    font-style:normal;
    color:#f4a7e9
}

.community p {
    margin:20px auto 30px;
    max-width:500px
}

.community .primary {
    margin:auto
}

footer {
    padding:30px 7%;
    display:flex;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    color:#b8a2c5;
    font-size:11px;
    letter-spacing:.1em;
    border-top:1px solid #ffffff1c
}

.portal {
    position:fixed;
    bottom:26px;
    right:26px;
    z-index:20;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:12px
}

.portal-toggle {
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:9px;
    border-radius:60px;
    border:1px solid #f2d2a777;
    padding:9px 17px 9px 9px;
    background:#1b1735e8;
    color:#f7e6c3;
    box-shadow:0 0 35px #bc7ff93d;
    backdrop-filter:blur(15px);
    font-family:Cinzel,serif;
    font-size:12px;
    letter-spacing:.14em
}

.portal-toggle img {
    width:39px;
    height:39px;
    object-fit:contain;
    filter:drop-shadow(0 0 8px #e9d2ff88)
}

.portal-menu {
    min-width:230px;
    background:#17122beF;
    border:1px solid #a687bd88;
    border-radius:18px;
    padding:16px;
    box-shadow:0 20px 60px #000b;
    backdrop-filter:blur(18px)
}

.portal-menu[hidden] {
    display:none
}

.portal-title {
    display:block;
    color:#e4c7f1;
    font-size:10px;
    letter-spacing:.19em;
    margin-bottom:12px
}

.portal-menu a {
    display:block;
    padding:11px;
    border-radius:9px;
    font-size:12px
}

.portal-menu a:hover,.portal-menu a:focus-visible {
    background:#ffffff14
}

.portal-toggle:focus-visible,a:focus-visible {
    outline:2px solid #ffd3f3;
    outline-offset:4px
}

@keyframes drift {
    from {
        transform:scale(1.02)
    }
    to {
        transform:scale(1.12) translateX(-1%)
    }
}

@media(max-width:720px) {
    .hero {
        padding:110px 7% 100px
    }
    .hero-art {
        background:linear-gradient(0deg,#0d0718 0%,#0d0718b8 45%,#0d071858),url('/assets/images/idol-party-2.jpg') center/cover
    }
    .hero h1 {
        font-size:clamp(55px,14vw,92px)
    }
    .feature {
        grid-template-columns:1fr;
        gap:35px
    }
    .content {
        padding:80px 7%
    }
    .scroll-hint {
        bottom:18px
    }
    .portal {
        right:15px;
        bottom:15px
    }
}

@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation:none!important;
        scroll-behavior:auto!important;
        transition:none!important
    }
}

/* ASHEN MEMORIES GALLERY */
.memories {
    max-width:1400px;
    margin:auto;
    padding:105px 7% 120px
}

.memories .section-heading {
    margin-bottom:44px
}

.gallery {
    max-width:900px;
    margin:auto;
    padding:20px;
    border:1px solid #c88bdf40;
    border-radius:25px;
    background:linear-gradient(140deg,#251435b8,#120c22e8);
    box-shadow:0 25px 85px #0005
}

.gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 17px;
    background: transparent;
}

.gallery-image-button {
    width:100%;
    display:block;
    position:relative;
    border:0;
    padding:0;
    background:transparent;
    cursor:zoom-in;
    color:white
}

.gallery-image-button img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(460px, 48vh);
    object-fit: contain;
    aspect-ratio: auto;
}

.gallery-expand {
    position:absolute;
    right:14px;
    bottom:14px;
    padding:9px 13px;
    background:#140d27d9;
    border:1px solid #ffffff38;
    border-radius:40px;
    font-size:11px;
    opacity:0;
    transition:opacity .25s
}

.gallery-image-button:hover .gallery-expand,.gallery-image-button:focus-visible .gallery-expand {
    opacity:1
}

.gallery-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:2;
    border:1px solid #ffffff40;
    background:#160d28bf;
    color:#fff;
    width:43px;
    height:43px;
    border-radius:50%;
    font-size:32px;
    cursor:pointer;
    backdrop-filter:blur(8px);
    transition:background .25s
}

.gallery-arrow:hover {
    background:#6e398f
}

.gallery-prev {
    left:15px
}

.gallery-next {
    right:15px
}

.gallery-details {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin:22px 4px 14px
}

.gallery-details h3 {
    margin:7px 0 0;
    font-family:Cinzel,serif;
    font-weight:500;
    font-size:22px
}

.gallery-position {
    color:#d3b7e6;
    font-size:12px;
    letter-spacing:.12em
}

.gallery-thumbnails {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px
}

.gallery-thumb {
    border:2px solid transparent;
    border-radius:11px;
    overflow:hidden;
    background:#0e0919;
    padding:0;
    cursor:pointer;
    opacity:.63;
    transition:opacity .3s,border-color .3s,transform .3s
}

.gallery-thumb:hover {
    opacity:1;
    transform:translateY(-2px)
}

.gallery-thumb[aria-current="true"] {
    opacity:1;
    border-color:#e4a7ff;
    box-shadow:0 0 18px #d779ff38
}

.gallery-thumb img {
    display:block;
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover
}

.gallery-reactions {
    border-top:1px solid #ffffff1a;
    margin-top:22px;
    padding:22px 3px 5px
}

.gallery-reactions-label {
    font-size:10px;
    font-weight:800;
    letter-spacing:.19em;
    color:#dcb8ee
}

.gallery-reaction-list {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    padding:18px 0 7px
}

.gallery-reaction {
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 13px;
    border:1px solid #684878;
    border-radius:14px;
    background:#2b1c43;
    color:#f4eaff;
    cursor:pointer;
    transition:background .45s,border-color .45s,box-shadow .45s
}

.gallery-reaction:hover {
    background:#3c2855
}

.gallery-reaction[aria-pressed="true"] {
    background:#503469;
    border-color:#c99bea;
    box-shadow:0 0 20px #b976ed35
}

.gallery-reaction-emoji {
    display:inline-block;
    font-size:23px;
    line-height:1.3;
    transform-origin:center
}

.gallery-reaction-emoji.pulse {
    animation:gallery-scale 1.15s cubic-bezier(.45,0,.25,1) both
}

.gallery-reaction-emoji.undo {
    animation:gallery-undo .55s ease-in-out
}

@keyframes gallery-scale {
    0% {
        transform:scale(1)
    }
    45% {
        transform:scale(1.5)
    }
    100% {
        transform:scale(1)
    }
}

@keyframes gallery-undo {
    0%,100% {
        transform:scale(1)
    }
    50% {
        transform:scale(.85)
    }
}

.gallery-particle {
    position:absolute;
    left:40%;
    top:30%;
    pointer-events:none;
    font-size:11px;
    opacity:0;
    animation:gallery-float 1.3s ease-out forwards
}

@keyframes gallery-float {
    0% {
        opacity:0;
        transform:translate(0,0) scale(.5)
    }
    20% {
        opacity:.95
    }
    70% {
        opacity:.65
    }
    100% {
        opacity:0;
        transform:translate(var(--x),var(--y)) scale(1.1)
    }
}

.gallery-reaction-count {
    font-size:13px;
    font-weight:700
}

.gallery-reaction-note {
    font-size:11px;
    color:#a995bc;
    margin:13px 0 0;
    line-height:1.6
}

.gallery-lightbox {
    position:fixed;
    inset:0;
    z-index:100;
    background:#08040ef5;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px 65px;
    backdrop-filter:blur(15px)
}

.gallery-lightbox[hidden] {
    display:none
}

.gallery-lightbox img {
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    box-shadow:0 20px 80px #0009
}

.gallery-lightbox-close,.gallery-lightbox-nav {
    position:absolute;
    z-index:1;
    border:1px solid #ffffff55;
    background:#2c1a41cf;
    color:white;
    border-radius:50%;
    cursor:pointer
}

.gallery-lightbox-close {
    top:20px;
    right:25px;
    width:43px;
    height:43px;
    font-size:28px
}

.gallery-lightbox-nav {
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    font-size:30px
}

.gallery-lightbox-prev {
    left:15px
}

.gallery-lightbox-next {
    right:15px
}

.gallery-lightbox-counter {
    position:absolute;
    bottom:20px;
    font-size:12px;
    letter-spacing:.2em;
    color:#e7d4f2
}

@media(max-width:720px) {
    .memories {
        padding:75px 5%
    }
    .gallery {
        padding:11px
    }
    .gallery-arrow {
        width:32px;
        height:32px;
        font-size:24px
    }
    .gallery-prev {
        left:7px
    }
    .gallery-next {
        right:7px
    }
    .gallery-details h3 {
        font-size:18px
    }
    .gallery-reaction-list {
        gap:8px
    }
    .gallery-reaction {
        padding:9px 11px
    }
    .gallery-lightbox {
        padding:60px 8px
    }
    .gallery-lightbox-nav {
        top:auto;
        bottom:16px;
        transform:none
    }
    .gallery-lightbox-prev {
        left:15px
    }
    .gallery-lightbox-next {
        right:15px
    }
    .gallery-lightbox-counter {
        bottom:31px
    }
}

@media(prefers-reduced-motion:reduce) {
    .gallery-reaction-emoji.pulse,.gallery-reaction-emoji.undo,.gallery-particle {
        animation:none!important
    }
}

/* Gallery sizing: compact on laptops, comfortable on phones */
@media(max-width:720px) {
    .gallery-image-button img {
        max-height:300px
    }
}

/* Center gallery navigation arrows */

.gallery-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    font-family: Arial, sans-serif;
    font-size: 0;
}

.gallery-prev::after {
    content: "‹";
    font-size: 32px;
    line-height: 1;
    transform: translateY(-2px);
}

.gallery-next::after {
    content: "›";
    font-size: 32px;
    line-height: 1;
    transform: translateY(-2px);
}