/* ═══════════════════════════════════════════════════════════════
   ARIRANG — BTS New Album  |  Dark Mode Landing Page
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────────────────────── */
:root {
    --gold:          #f01942;
    --gold-light:    #f5516f;
    --gold-glow:     rgba(240, 25, 66, 0.25);
    --purple:        #7b68ee;
    --purple-light:  #c9b1ff;
    --purple-glow:   rgba(123, 104, 238, 0.25);
    --bg-void:       #07070d;
    --bg-surface:    #0f0f18;
    --bg-card:       #13131f;
    --bg-card-hover: #191926;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --text-primary:  #e8e8f2;
    --text-muted:    #7070a0;
    --radius-card:   12px;
    --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    background-color: var(--bg-void);
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    background-color: transparent !important;
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-void);
    overflow: hidden;
    padding: 6rem 1.5rem;
}

/* Ambient glow blobs */
.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite;
}

.hero-glow-purple {
    width: 600px;
    height: 600px;
    background: var(--purple-glow);
    top: -150px;
    left: -150px;
}

.hero-glow-gold {
    width: 500px;
    height: 500px;
    background: var(--gold-glow);
    bottom: -100px;
    right: -100px;
    animation-delay: 4s;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 0.9; transform: scale(1.08); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-artist-label {
    letter-spacing: 0.6em;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(4rem, 14vw, 10rem);
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 1;
    margin: 0 0 1.25rem;
    background: linear-gradient(135deg, var(--gold-light) 0%, #ffb3c0 40%, var(--gold) 70%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: shimmer 4s linear infinite;
    background-size: 200% 200%;
}

@keyframes shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    letter-spacing: 0.5em;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 2rem;
}

.hero-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.03);
}

.coming-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 1.5s ease-in-out infinite;
}

.coming-dot:last-child { animation-delay: 0.75s; }

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.btn-hero-scroll {
    display: inline-flex;
    align-items: center;
    margin-top: 2.5rem;
    padding: 0.75rem 2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    background: transparent;
}

.btn-hero-scroll:hover {
    background: var(--gold);
    color: var(--bg-void);
    box-shadow: 0 0 24px var(--gold-glow);
}

/* ═══════════════════════════════════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════════════════════════════════ */
.intro-section {
    background: linear-gradient(to bottom, var(--bg-void), var(--bg-surface));
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.45em;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.section-desc {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════
   VERSIONS SECTION
   ═══════════════════════════════════════════════════════════════ */
.versions-section {
    background: var(--bg-surface);
}

/* ── Album Card ───────────────────────────────────────────────── */
.album-card {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.album-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent, #f01942), transparent 60%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.album-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5),
                0 0 0 1px var(--accent, #f01942),
                0 0 32px color-mix(in srgb, var(--accent, #f01942) 20%, transparent);
}

.album-card:hover::before {
    opacity: 1;
}

/* ── Cover Image ──────────────────────────────────────────────── */
.album-cover-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0a0a12;
}

.album-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover-img {
    transform: scale(1.04);
}

.album-edition-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--accent, #f01942);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.album-id-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.35);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

/* ── Card Body ────────────────────────────────────────────────── */
.album-card-body {
    padding: 1.25rem 1.25rem 0.75rem;
    flex: 1;
}

.version-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Tracklist ────────────────────────────────────────────────── */
.tracklist-section {
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.75rem;
}

.tracklist-header {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.tracklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 192px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.tracklist-list::-webkit-scrollbar {
    width: 3px;
}
.tracklist-list::-webkit-scrollbar-track {
    background: transparent;
}
.tracklist-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
}

.tracklist-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.28rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.72rem;
}

.tracklist-item:last-child {
    border-bottom: none;
}

.track-num {
    color: var(--text-muted);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    min-width: 20px;
    flex-shrink: 0;
}

.track-title-text {
    flex: 1;
    color: var(--text-muted);
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-duration {
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    font-size: 0.68rem;
    opacity: 0.6;
    flex-shrink: 0;
}

/* ── Card Footer / Buy Buttons ────────────────────────────────── */
.album-card-footer {
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-buy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    line-height: 1;
    gap: 0.2rem;
}

.buy-cta {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.buy-store {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    opacity: 0.75;
    font-weight: 400;
}

/* Gold button — nutport.com */
.btn-buy-gold {
    background: linear-gradient(135deg, rgba(240,25,66,0.15), rgba(240,25,66,0.05));
    border-color: rgba(240,25,66,0.4);
    color: var(--gold-light);
}

.btn-buy-gold:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-color: var(--gold);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(240,25,66,0.35);
}

/* Purple button — crystalbutterfly.shop */
.btn-buy-purple {
    background: linear-gradient(135deg, rgba(123,104,238,0.15), rgba(123,104,238,0.05));
    border-color: rgba(123,104,238,0.4);
    color: var(--purple-light);
}

.btn-buy-purple:hover {
    background: linear-gradient(135deg, var(--purple), #9d8df5);
    border-color: var(--purple);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(123,104,238,0.35);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--bg-void);
    border-top: 1px solid var(--border-subtle);
}

.footer-brand {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 576px) {
    .hero-title {
        letter-spacing: 0.1em;
    }
    .hero-artist-label {
        letter-spacing: 0.4em;
    }
    .album-card-footer {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1rem;
    }
}
