/* Homepage - Clean Rock Band Design */

/* Homepage local color tokens (not in global design-tokens) */
:root {
    --hp-primary: #ff3366;
    --hp-primary-dark: #d91e47;
    --hp-white: #ffffff;
    --hp-light-gray: #d4d4d8;
    --hp-dark-surface: #1a1a1f;
    --z-music-player: 2000;
}

/* Hero Section */
/* Mobile fix: 100svh avoids iOS/Android browser chrome overlap; 100vh fallback */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background picture {
    display: contents;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    filter: saturate(0.9) brightness(0.85);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.5) 0%,
            rgba(10, 10, 10, 0.15) 40%,
            rgba(10, 10, 10, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: var(--space-md);
}

.hero-brand {
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 var(--space-sm) 0;
    background: linear-gradient(135deg, var(--hp-white) 0%, var(--hp-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: var(--hp-light-gray);
    margin: 0 0 var(--space-xs) 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-years {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--hp-primary) 0%, var(--hp-primary-dark) 100%);
    color: var(--hp-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--hp-primary-dark) 0%, #b31735 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 51, 102, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--hp-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--hp-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 0 10px rgba(255, 51, 102, 0.5));
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Featured Content */
.featured-content {
    padding: var(--space-xl) 0;
    background: #1a1a1f;
}

.content-block {
    margin-bottom: var(--space-xl);
}

.content-block:last-child {
    margin-bottom: 0;
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.block-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0;
    color: var(--hp-white);
}

.view-all {
    color: #ff5588;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #ff7799;
}

/* Albums Grid */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.album-card {
    background: #2a2a30;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.album-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--hp-primary);
    border: none;
    color: var(--hp-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.album-card:hover .play-button {
    transform: scale(1);
    background: var(--hp-primary-dark);
}

.album-info {
    padding: var(--space-md);
}

.album-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 var(--space-xs) 0;
    color: var(--hp-white);
}

.album-year {
    font-size: 1rem;
    color: var(--hp-light-gray);
    margin: 0;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-md);
}

.news-card {
    background: #2a2a30;
    padding: var(--space-md);
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--hp-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--hp-primary);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-meta {
    margin-bottom: var(--space-sm);
}

.news-meta time {
    font-size: 0.9rem;
    color: var(--hp-light-gray);
}

.news-title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 var(--space-sm) 0;
    color: var(--hp-white);
    line-height: 1.4;
}

.news-excerpt {
    font-size: 1rem;
    color: var(--hp-light-gray);
    margin: 0;
    line-height: 1.5;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Memorial Section */
.memorial-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #1a1a24 0%, #222230 100%);
    text-align: center;
}

.memorial-content {
    max-width: 600px;
    margin: 0 auto;
}

.memorial-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.memorial-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 var(--space-sm) 0;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.memorial-description {
    font-size: 1.2rem;
    color: #e0e0e4;
    margin: 0 0 var(--space-sm) 0;
}

.memorial-years {
    font-size: 1.2rem;
    color: #ff6699;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 16px rgba(255, 85, 136, 0.25);
}

/* Gallery Skeleton Loading */
.skeleton-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.skeleton-gallery-item {
    aspect-ratio: 1;
    border-radius: 10px;
    background: #2a2a30;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes skeleton-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Loading States */
.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    color: var(--hp-light-gray);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #3a3a40;
    border-top: 3px solid var(--hp-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-sm);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Error & No Content States */
.error-message,
.no-content {
    text-align: center;
    padding: var(--space-lg);
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.error-message {
    color: #ff6b6b;
}

/* Music Player Z-Index Fix */
.gmp-container {
    z-index: var(--z-music-player) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding: var(--space-sm);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .albums-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .featured-content {
        padding: var(--space-md) 0;
    }

    .content-block {
        margin-bottom: var(--space-md);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-hint {
        animation: none;
    }
}

@media (prefers-contrast: high) {
    .hero-title {
        color: var(--hp-white) !important;
        -webkit-text-fill-color: var(--hp-white) !important;
    }
}

/* Homepage Ultra Modern */

:root {
    --glass-surface: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --neon-accent: #ff0055;
    --neon-glow: 0 0 20px rgba(255, 0, 85, 0.4);
    --space-unit: clamp(1rem, 2vw, 2rem);
    --easing-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* --- Utilities --- */

.glass-panel {
    background: var(--glass-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}


.text-gradient {
    color: #ffffff;
    /* Fallback */
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; Removed to ensure visibility if background fails or in compatibility modes, though normally needed for gradient text */
}

@supports (-webkit-background-clip: text) {
    .text-gradient {
        -webkit-text-fill-color: transparent;
    }
}

.article-hero-title .text-gradient {
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.text-gradient-accent {
    background: linear-gradient(135deg, #ff3366 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Hero Section Overhaul --- */

.hero-section {
    perspective: 1000px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    transform-origin: center center;
    will-change: transform;
    /* Transformation controlled by JS, base state here */
}

.hero-title-wrapper {
    overflow: hidden;
}

.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: revealText 0.8s var(--easing-elastic) forwards;
}

.hero-title span:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title span:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-title span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quick Play Widget */
.quick-play-widget {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 300px;
    padding: 1.5rem;
    border-radius: 20px;
    transform: translateX(100px);
    opacity: 0;
    animation: slideInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
    z-index: 20;
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.quick-play-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.quick-play-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-btn-pulse {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-red);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(255, 51, 102, 0.7);
    animation: pulse-red 2s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
}

.play-btn-pulse:hover {
    transform: scale(1.1);
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 51, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
    }
}

/* --- Albums Spotlight --- */

.albums-spotlight-display {
    display: flex;
    gap: 1rem;
    padding: 2rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.albums-spotlight-display::-webkit-scrollbar {
    display: none;
}

.spotlight-card {
    flex: 0 0 300px;
    height: 400px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    scroll-snap-align: center;
    overflow: hidden;
}


.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9));
    opacity: 0.8;
    transition: opacity 0.3s;
}

.spotlight-card:hover {
    flex: 0 0 350px;
    transform: translateY(-10px);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.albums-spotlight-display:hover .spotlight-card:not(:hover) {
    opacity: 0.5;
    filter: grayscale(0.8) blur(2px);
}

.spotlight-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;

    transform: translateY(20px);
    transition: transform 0.3s;
}

.spotlight-card:hover .spotlight-content {
    transform: translateY(0);
}

/* --- Bento Grid (News) --- */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

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

    .bento-item.large {
        grid-column: auto;
        grid-row: auto;
        height: 400px;
    }
}

/* --- Marquee Gallery --- */

.gallery-marquee {
    display: flex;
    overflow-x: hidden;
    gap: 1rem;
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 1rem;
    animation: scrollMarquee 40s linear infinite;
    min-width: 100%;
}

.marquee-item {
    flex: 0 0 250px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.3s;
}

.marquee-item:hover img {
    filter: grayscale(0);
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Scroll Animations */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll="in-view"] {
    opacity: 1;
    transform: translateY(0);
}

/* --- Historical Modernization Additions --- */

/* Film Grain Overlay */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Archival Tapes Section */
.section-archive {
    position: relative;
    overflow: hidden;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.archive-item {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.archive-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.archive-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.archive-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.archive-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-red);
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0;
    transition: color 0.2s;
}

.btn-text:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--accent-red);
}

/* Timeline Highlights (Horizontal) */
/* Timeline Highlights (Horizontal Scrollable) */
.timeline-highlights {
    display: flex;
    justify-content: flex-start;
    /* Changed from space-between */
    align-items: flex-start;
    margin-top: 3rem;
    position: relative;
    padding: 2rem 0;
    overflow-x: auto;
    padding-bottom: 2rem;
    /* Space for scrollbar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar for cleaner look but keep functionality */
.timeline-highlights::-webkit-scrollbar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.timeline-highlights::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 3px;
}

.timeline-highlights::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: max(100%, 1200px);
    /* Ensure line stretches */
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-point {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 0 0 200px;
    /* Fixed width for items */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 2rem;
    /* Spacing between items */
}

/* Ensure last item has margin */
.timeline-point:last-child {
    margin-right: 0;
}



.timeline-point .year {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
    margin-bottom: 1rem;
}

.timeline-point:hover .year {
    color: var(--accent-red);
}

.timeline-point::after {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--text-muted);
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.timeline-point:hover::after {
    background: var(--accent-red);
    border-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--accent-red);
}

.timeline-point .event {
    max-width: 200px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.timeline-point:hover .event {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .timeline-highlights {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-highlights::before {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
    }

    .timeline-point .event {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Golden Lineup Section */
.section-lineup {
    position: relative;
    padding: 6rem 0;
}

.members-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.member-card-home {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.member-card-home:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.member-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.member-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.member-role {
    color: var(--accent-red);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* Press Reviews Section */
.section-press {
    padding: 6rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(20, 20, 30, 0.5));
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.press-card {
    background: rgba(20, 20, 20, 0.6);
    border-left: 4px solid var(--accent-red);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.press-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.press-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    z-index: -1;
}

.press-source {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.source-name {
    font-weight: bold;
    color: var(--accent-red);
    font-size: 0.9rem;
}

.source-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOMEPAGE ULTRA MODERN - SUPER POWERFUL EDITION
   Cutting-edge effects for ÐžÐ±Ð»Ð°Ñ‡Ð½Ñ‹Ð¹ ÐšÑ€Ð°Ð¹ rock band website
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CSS Custom Properties - Dynamic Theming
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
    /* Neon Accent Colors - Boosted */
    --neon-red: #ff003c;
    --neon-red-glow: rgba(255, 0, 60, 0.9);
    --neon-orange: #ff5e00;
    --neon-purple: #b000ff;
    --neon-cyan: #00f0ff;
    /* Cyberpunk addition */

    /* Glassmorphism 4.0 - Ultra Premium */
    --glass-bg: rgba(8, 8, 10, 0.4);
    /* Darker, more transparent */
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shimmer: linear-gradient(125deg, rgba(255, 255, 255, 0.15) 0%, transparent 40%, rgba(255, 255, 255, 0.02) 100%);
    --glass-blur: blur(25px);
    /* Heavy premium blur */

    /* 3D Depth */
    --shadow-elevation-low: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-elevation-medium: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-elevation-high: 0 25px 80px rgba(0, 0, 0, 0.6);
    --shadow-glow-red: 0 0 60px var(--neon-red-glow);

    /* Animation Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Cursor */
    --cursor-x: 50%;
    --cursor-y: 50%;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CINEMATIC HERO SECTION
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.hero-cinematic {
    position: relative;
    width: 100% !important;
    height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #020202;
    /* Fallback */
    isolation: isolate;
    padding-top: 100px;
    /* Compensation for fixed header */
    /* Create new stacking context */
    perspective: 1000px;
    /* Enable 3D space */
}

/* Procedural 3D Aurora Background */
.hero-procedural-bg {
    position: absolute;
    inset: -20%;
    width: 140%;
    height: 140%;
    background: #050505;
    z-index: 0;
    transform: translateZ(-100px);
    overflow: hidden;
}

.hero-procedural-bg::before,
.hero-procedural-bg::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 50% 50%,
            rgba(255, 0, 85, 0.15) 0%,
            hsla(280, 85%, 60%, 0.1) 20%,
            rgba(0, 0, 0, 0) 50%);
    opacity: 0.6;
    animation: aurora-flow 25s linear infinite alternate;
    mix-blend-mode: screen;
}

.hero-procedural-bg::after {
    background: radial-gradient(circle at 40% 60%,
            rgba(0, 240, 255, 0.1) 0%,
            hsla(200, 90%, 50%, 0.08) 25%,
            rgba(0, 0, 0, 0) 50%);
    animation: aurora-flow-reverse 35s linear infinite alternate;
}

@keyframes aurora-flow {
    0% {
        transform: rotate(0deg) translate(0, 0) scale(1);
        opacity: 0.4;
    }

    100% {
        transform: rotate(15deg) translate(-20px, 20px) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes aurora-flow-reverse {
    0% {
        transform: rotate(0deg) translate(0, 0) scale(1.1);
        opacity: 0.3;
    }

    100% {
        transform: rotate(-15deg) translate(20px, -20px) scale(1);
        opacity: 0.5;
    }
}

@keyframes bg-pulse-3d {
    0% {
        transform: translateZ(-100px) scale(1);
    }

    100% {
        transform: translateZ(-50px) scale(1.05);
    }
}

/* Hero background uses animated WebP with JPEG fallback via <picture> */

/* Scroll Hint - Mouse Style */
.scroll-hint-modern {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    opacity: 0.7;
    animation: fade-in-up 1s var(--ease-out-expo) 1.5s forwards;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Updated Quick Play Widget - Repositioned to avoid overlap */
.quick-play-ultra {
    position: absolute;
    bottom: 4rem;
    /* Moved up slightly */
    right: 4rem;
    /* More spacing */
    z-index: 30;
    /* Ensure on top */
    display: flex;
    align-items: center;
    background: rgba(20, 10, 10, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    transform: translateX(100px);
    opacity: 0;
    animation: fade-in-left 1s var(--ease-out-expo) 1.2s forwards;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustment for Quick Play */
@media (max-width: 1200px) {
    .quick-play-ultra {
        bottom: 2rem;
        right: 2rem;
    }
}

@media (max-width: 768px) {
    .quick-play-ultra {
        display: none;
        /* Hide on mobile to prevent overlap */
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 2rem;
    }

    .btn-magnetic {
        width: 100% !important;
    }
}

.quick-play-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-play-btn-ultra {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-orange));
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--neon-red-glow);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quick-play-btn-ultra:hover {
    transform: scale(1.1) rotate(10deg);
}

.quick-play-info {
    text-align: left;
}

.quick-play-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.quick-play-album {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Particle Canvas Layer */
.hero-particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

/* CSS Particle System (Fallback & Enhancement) */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: var(--color, rgba(255, 45, 85, 0.6));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color, rgba(255, 45, 85, 0.4));
    animation: particle-rise var(--duration, 10s) linear infinite;
    animation-delay: var(--delay, 0s);
    left: var(--x, 50%);
    bottom: -20px;
    opacity: 0;
}

@keyframes particle-rise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) translateX(calc(var(--drift, 0) * 50px)) scale(0.5);
        opacity: 0;
    }
}

/* Smoke/Mist Effect */
.hero-smoke {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
    animation: smoke-drift 30s linear infinite;
    pointer-events: none;
}

@keyframes smoke-drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-5%, -5%) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Audio Visualizer */
.hero-visualizer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    padding: 0 10%;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

.visualizer-bar {
    width: 4px;
    min-height: 4px;
    background: linear-gradient(to top, var(--neon-red), var(--neon-orange));
    border-radius: 2px;
    transform-origin: bottom;
    animation: visualizer-idle 1.5s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 0 10px var(--neon-red-glow);
}

.visualizer-bar.active {
    animation: none;
}

@keyframes visualizer-idle {

    0%,
    100% {
        transform: scaleY(0.3);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Hero Content Layer */
.hero-content-layer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    padding-top: 30vh;
    /* Increased significantly to ensure title is below header */
    padding-bottom: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Changed from center to ensure top padding governs position */
    align-items: center;
    /* Ensure horizontal centering */
    height: 100%;
}

/* 3D Parallax Title */
.hero-title-3d {
    font-size: clamp(3.5rem, 12vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.85;
    margin-bottom: 2rem;
    text-transform: uppercase;
    perspective: 1000px;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 15px rgba(255, 0, 60, 0.3));
}

.hero-title-3d .title-line {
    display: block;
    transform: translateZ(0);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: linear-gradient(180deg,
            #ffffff 0%,
            #e0e0e0 40%,
            #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    /* Liquid sheen effect */
}

.hero-title-3d:hover .title-line:first-child {
    transform: translateZ(60px) rotateX(-8deg) rotateY(2deg);
    background: linear-gradient(180deg, #fff 0%, #ffcbdc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-3d:hover .title-line:last-child {
    transform: translateZ(90px) rotateX(-5deg) rotateY(-2deg);
    background: linear-gradient(180deg, #fff 0%, #d8b4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    animation: glitch-skew 4s infinite linear alternate-reverse;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text:hover::before {
    animation: glitch-effect 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: var(--neon-red);
    opacity: 0.8;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-text:hover::after {
    animation: glitch-effect 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
    color: var(--neon-purple);
    opacity: 0.8;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-effect {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-3px, 3px);
    }

    40% {
        transform: translate(-3px, -3px);
    }

    60% {
        transform: translate(3px, 3px);
    }

    80% {
        transform: translate(3px, -3px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }

    10% {
        transform: skew(-0.5deg);
    }

    20% {
        transform: skew(0.5deg);
    }

    30% {
        transform: skew(0deg);
    }

    100% {
        transform: skew(0deg);
    }
}

/* Cinematic Text Reveal */
.text-reveal {
    overflow: hidden;
}

.text-reveal-inner {
    display: inline-block;
    transform: translateY(120%);
    animation: text-reveal-up 1s var(--ease-out-expo) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes text-reveal-up {
    to {
        transform: translateY(0);
    }
}

/* Hero Subtitle */
.hero-subtitle-ultra {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fade-in-up 1s var(--ease-out-expo) 0.5s forwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Years Badge */
.hero-years-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    animation: fade-in-up 1s var(--ease-out-expo) 0.7s forwards;
}

.hero-years-badge::before {
    content: 'ðŸŽ¸';
    font-size: 1.2rem;
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    opacity: 0;
    animation: fade-in-up 1s var(--ease-out-expo) 0.9s forwards;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   MAGNETIC BUTTON EFFECTS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
    --magnetic-x: 0;
    --magnetic-y: 0;
    transform: translate(calc(var(--magnetic-x) * 0.3), calc(var(--magnetic-y) * 0.3));
}

.btn-magnetic-primary {
    background: linear-gradient(135deg, var(--neon-red), var(--neon-orange));
    color: white;
    box-shadow: var(--shadow-glow-red);
}

.btn-magnetic-primary:hover {
    box-shadow: 0 0 60px var(--neon-red-glow), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-magnetic-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.btn-magnetic-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Button Liquid Fill Effect */
.btn-magnetic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(255, 255, 255, 0.3) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-magnetic:hover::before {
    opacity: 1;
}

/* Button Icon Animation */
.btn-magnetic .btn-icon {
    display: inline-flex;
    transition: transform 0.3s var(--ease-out-back);
}

.btn-magnetic:hover .btn-icon {
    transform: scale(1.2) rotate(5deg);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   3D ALBUM CARDS / VINYL CAROUSEL
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.albums-carousel-3d {
    perspective: 2000px;
    padding: 4rem 0;
    overflow-x: visible;
}

.carousel-track-3d {
    display: flex;
    gap: 2rem;
    padding: 2rem 4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track-3d::-webkit-scrollbar {
    display: none;
}

.album-card-3d {
    flex: 0 0 300px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out-expo);
    scroll-snap-align: center;
    cursor: pointer;
    --rotateX: 0deg;
    --rotateY: 0deg;
    transform: rotateX(var(--rotateX)) rotateY(var(--rotateY));
}

.album-card-3d:hover {
    z-index: 10;
}

.album-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    box-shadow:
        var(--shadow-elevation-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
}

.album-card-3d:hover .album-card-inner {
    box-shadow:
        var(--shadow-elevation-high),
        var(--shadow-glow-red),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.album-cover-3d {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease-out-expo);
}

.album-card-3d:hover .album-cover-3d {
    transform: scale(1.1);
}

/* Vinyl Record Reveal on Hover */
.vinyl-disc {
    position: absolute;
    width: 85%;
    height: 85%;
    top: 50%;
    left: 100%;
    transform: translate(-30%, -50%) rotate(0deg);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #1a1a1a 15%, transparent 16%),
        radial-gradient(circle at 50% 50%, #0a0a0a 30%, transparent 31%),
        repeating-radial-gradient(circle at 50% 50%,
            transparent 0%, transparent 2%,
            rgba(20, 20, 20, 0.3) 2.5%,
            transparent 3%),
        linear-gradient(135deg, #1a1a1a, #2a2a2a);
    box-shadow:
        0 0 0 10px #111,
        0 0 0 12px #222,
        var(--shadow-elevation-medium);
    transition: transform 0.6s var(--ease-out-expo);
    opacity: 0;
}

.album-card-3d:hover .vinyl-disc {
    transform: translate(-60%, -50%) rotate(30deg);
    opacity: 1;
}

/* Vinyl Spin Animation */
@keyframes vinyl-spin {
    from {
        transform: translate(-60%, -50%) rotate(30deg);
    }

    to {
        transform: translate(-60%, -50%) rotate(390deg);
    }
}

.album-card-3d.playing .vinyl-disc {
    animation: vinyl-spin 3s linear infinite;
    opacity: 1;
}

/* Album Info Overlay */
.album-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out-expo);
}

.album-card-3d:hover .album-info-overlay {
    transform: translateY(0);
}

.album-title-3d {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.album-year-3d {
    font-size: 0.9rem;
    color: var(--neon-red);
    font-weight: 600;
}

/* Play Button on Album */
.album-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 45, 85, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease-out-back), box-shadow 0.3s ease;
    box-shadow: 0 0 40px var(--neon-red-glow);
    z-index: 10;
}

.album-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

.album-card-3d:hover .album-play-btn {
    transform: translate(-50%, -50%) scale(1);
}

.album-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 60px var(--neon-red-glow);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ENHANCED BENTO GRID (NEWS)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.bento-grid-ultra {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.5rem;
    perspective: 1500px;
}

.bento-item-ultra {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.bento-item-ultra.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item-ultra.wide {
    grid-column: span 2;
}

.bento-item-ultra:hover {
    z-index: 10;
    box-shadow: var(--shadow-elevation-high);
}

.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease;
}

.bento-item-ultra:hover .bento-bg {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.bento-overlay-ultra {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.bento-item-ultra:hover .bento-overlay-ultra {
    opacity: 1;
}

.bento-date {
    font-size: 0.8rem;
    color: var(--neon-red);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.bento-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.bento-item-ultra.large .bento-title {
    font-size: 2rem;
}

.bento-item-ultra:hover .bento-title {
    transform: translateY(0);
    opacity: 1;
}

.bento-excerpt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.bento-item-ultra:hover .bento-excerpt {
    transform: translateY(0);
    opacity: 1;
}

/* Read Time Indicator */
.bento-read-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.75rem;
}

.bento-read-time::before {
    content: 'ðŸ“–';
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .bento-grid-ultra {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }

    .bento-item-ultra.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .bento-grid-ultra {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 280px);
    }

    .bento-item-ultra.large,
    .bento-item-ultra.wide {
        grid-column: span 1;
    }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ENHANCED TIMELINE
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.timeline-ultra {
    position: relative;
    padding: 4rem 0;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-red) transparent;
}

.timeline-track {
    display: flex;
    gap: 0;
    min-width: max-content;
    padding: 0 5%;
    position: relative;
}

/* Animated Timeline Line */
.timeline-line {
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-orange));
    box-shadow: 0 0 20px var(--neon-red-glow);
    transition: width 0.8s var(--ease-out-expo);
}

.timeline-point-ultra {
    flex: 0 0 200px;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.timeline-year {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    transition: all 0.4s var(--ease-out-expo);
    line-height: 1;
}

.timeline-point-ultra:hover .timeline-year {
    color: var(--neon-red);
    text-shadow: 0 0 30px var(--neon-red-glow);
    transform: scale(1.1);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
    transition: all 0.3s var(--ease-out-back);
    position: relative;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.timeline-point-ultra:hover .timeline-dot {
    background: var(--neon-red);
    border-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 30px var(--neon-red-glow);
}

.timeline-point-ultra:hover .timeline-dot::after {
    border-color: rgba(255, 45, 85, 0.3);
}

.timeline-event {
    text-align: center;
    max-width: 180px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.timeline-point-ultra:hover .timeline-event {
    transform: translateY(0);
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   MEMBER CARDS - GLASS MORPHISM 2.0
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.members-grid-ultra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.member-card-ultra {
    position: relative;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    text-align: center;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.member-card-ultra::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-shimmer);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card-ultra:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 45, 85, 0.3);
    box-shadow:
        var(--shadow-elevation-high),
        0 0 40px rgba(255, 45, 85, 0.1);
}

.member-card-ultra:hover::before {
    opacity: 1;
}

.member-icon-ultra {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    transition: transform 0.4s var(--ease-out-back);
}

.member-card-ultra:hover .member-icon-ultra {
    transform: scale(1.15) rotate(5deg);
}

.member-name-ultra {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-role-ultra {
    font-size: 0.85rem;
    color: var(--neon-red);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio-ultra {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   SCROLL ANIMATIONS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-up"] {
    transform: translateY(60px);
}

[data-animate="fade-left"] {
    transform: translateX(-60px);
}

[data-animate="fade-right"] {
    transform: translateX(60px);
}

[data-animate="scale"] {
    transform: scale(0.9);
}

[data-animate="rotate"] {
    transform: rotate(-5deg);
}

/* Stagger delays */
[data-animate-delay="100"] {
    transition-delay: 0.1s;
}

[data-animate-delay="200"] {
    transition-delay: 0.2s;
}

[data-animate-delay="300"] {
    transition-delay: 0.3s;
}

[data-animate-delay="400"] {
    transition-delay: 0.4s;
}

[data-animate-delay="500"] {
    transition-delay: 0.5s;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   QUICK PLAY WIDGET - ENHANCED
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.quick-play-ultra {
    position: absolute;
    bottom: 8%;
    right: 5%;
    width: 320px;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 20;
    opacity: 0;
    transform: translateX(50px);
    animation: slide-in-right 0.8s var(--ease-out-expo) 1.5s forwards;
}

@keyframes slide-in-right {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quick-play-header-ultra {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.quick-play-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-play-btn-ultra {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-orange));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-back);
    box-shadow: var(--shadow-glow-red);
    flex-shrink: 0;
}

.quick-play-btn-ultra:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px var(--neon-red-glow);
}

.quick-play-btn-ultra::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent white;
    margin-left: 3px;
}

.quick-play-info {
    flex: 1;
    min-width: 0;
}

.quick-play-album {
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-play-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   LOADING STATES
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.skeleton-ultra {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 100%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 12px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESPONSIVE ADJUSTMENTS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media (max-width: 768px) {
    .hero-title-3d {
        font-size: clamp(2.5rem, 15vw, 5rem);
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-magnetic {
        width: 100%;
        max-width: 300px;
    }

    .quick-play-ultra {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 350px;
        margin: 2rem auto 0;
        transform: none;
        animation: fade-in-up 0.8s var(--ease-out-expo) 1s forwards;
    }

    .hero-visualizer {
        height: 100px;
    }

    .album-card-3d {
        flex: 0 0 260px;
        height: 350px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 
   ==========================================================================
   HERO GIF OPTIMIZATION
   ==========================================================================
*/

.hero-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    overflow: hidden;
    /* Ensure it stays behind content but above procedural bg if needed */
}

/* The GIF Itself */
.hero-bg-media {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    /* Perfect fit */
    object-position: center;
    /* Visual Optimization */
    opacity: 0.8;
    /* Slight transparency to blend */
    filter: contrast(1.15) brightness(0.9) saturate(1.1);
    /* Cinema look */
    /* Performance */
    will-change: transform;
    transform: scale(1.05);
    /* Prevent edge bleeding & slight zoom for effect */
}

/* Cinematic Gradient Overlay */
.hero-media-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* On top of GIF */
    background: radial-gradient(circle at 50% 50%,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.85) 90%);
    mix-blend-mode: multiply;
    /* Darkens the scene for text pop */
    pointer-events: none;
}

/* Ensure title pops over the GIF */
.hero-brand-ultra {
    position: relative;
    z-index: 10;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    /* Stronger shadow for readability */
}

@media (max-width: 768px) {
    .hero-bg-media {
        opacity: 0.6;
        /* Dimmer on mobile to ensure text is super readable */
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CSS FIXES - Navigation Overflow & News Title Contrast
   ═══════════════════════════════════════════════════════════════════════════ */

/* Fix navigation overflow - reduce padding and font size */
.nav-links {
    gap: 0.25rem !important;
    flex-wrap: wrap;
}

.nav-link {
    padding: 0.5rem 0.6rem !important;
    font-size: 0.8rem !important;
    gap: 0.25rem !important;
    white-space: nowrap;
}

/* Fix news/bento title contrast - ensure white text on dark backgrounds */
.bento-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.bento-overlay-ultra {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.97) 0%,
            rgba(0, 0, 0, 0.75) 30%,
            rgba(0, 0, 0, 0.3) 60%,
            transparent 100%) !important;
}

.bento-date {
    color: #ff6b6b !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.bento-excerpt {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Fix active nav link underline styling */
.nav-link.active {
    color: #ff3366 !important;
}

.nav-link::after {
    transform: scaleX(0);
}

.nav-link.active::after {
    transform: scaleX(1);
    background: #ff3366;
}

/* Block header styling for sections */
.block-title {
    color: #ffffff !important;
    font-weight: 700;
}

.section-subtitle {
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* View all button styling */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 50px;
    color: #ff3366;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: rgba(255, 51, 102, 0.2);
    border-color: #ff3366;
    color: #ffffff;
    text-decoration: none;
}

/* Block header layout */
.block-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DESIGN ENHANCEMENTS
   Modern glassmorphism, micro-interactions, 3D effects, and premium visuals
   ═══════════════════════════════════════════════════════════════════════════════ */

/* === GLASSMORPHISM HEADER === */
.site-header.scrolled,
.navbar.scrolled {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* === GRADIENT TEXT FOR SECTION TITLES === */
.section-title,
.block-title,
.content-title {
    background: var(--gradient-hero);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* === 3D BENTO CARD HOVER EFFECT === */
.bento-item-ultra {
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    transform-style: preserve-3d;
    perspective: var(--perspective);
}

.bento-item-ultra:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 51, 102, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bento-item-ultra::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.bento-item-ultra:hover::before {
    opacity: 1;
}

/* === VINYL SPIN EFFECT FOR ALBUMS === */
.album-card,
.spotlight-card {
    position: relative;
    overflow: hidden;
}

.album-card::after,
.spotlight-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center,
            transparent 30%,
            rgba(0, 0, 0, 0.8) 31%,
            rgba(0, 0, 0, 0.8) 49%,
            transparent 50%);
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    transition: transform 0.6s var(--ease-elastic);
    pointer-events: none;
    z-index: 1;
}

.album-card:hover::after,
.spotlight-card:hover::after {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
}

.album-card:hover,
.spotlight-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 51, 102, 0.2);
}

/* === ENHANCED NAVIGATION ANIMATIONS === */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    background-size: 200% auto;
    transform: translateX(-50%);
    transition: width 0.4s var(--ease-smooth);
    animation: gradientShift 2s ease infinite;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.5);
}

/* === GLOW BUTTON EFFECTS === */
.btn-primary,
.hero-cta,
.view-all-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.btn-primary::before,
.hero-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-hero);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before,
.hero-cta:hover::before {
    opacity: 0.7;
}

.btn-primary:hover,
.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 35px rgba(255, 51, 102, 0.4),
        0 0 30px rgba(255, 51, 102, 0.3);
}

/* Ripple Effect on Click */
.btn-primary:active::after,
.hero-cta:active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* === FLOATING CARD SHADOWS === */
.bento-card,
.news-card,
.gallery-item {
    transition: all 0.4s var(--ease-smooth);
}

.bento-card:hover,
.news-card:hover,
.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 51, 102, 0.1);
}

/* === SHIMMER EFFECT REMOVED === */
/* The shimmer pseudo-element created a visible gray box behind the hero title.
   Removed to allow clean text over background image. */

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* === SCROLL REVEAL ANIMATIONS === */
/* Note: data-animate elements default to visible, animation is progressive enhancement */
[data-animate="fade-up"] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

[data-animate="fade-up"].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="scale-in"] {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-elastic);
}

[data-animate="scale-in"].visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation for grid items */
.bento-grid-ultra>*:nth-child(1) {
    transition-delay: 0ms;
}

.bento-grid-ultra>*:nth-child(2) {
    transition-delay: 100ms;
}

.bento-grid-ultra>*:nth-child(3) {
    transition-delay: 200ms;
}

.bento-grid-ultra>*:nth-child(4) {
    transition-delay: 300ms;
}

.bento-grid-ultra>*:nth-child(5) {
    transition-delay: 400ms;
}

.bento-grid-ultra>*:nth-child(6) {
    transition-delay: 500ms;
}

/* === GLASSMORPHIC AUDIO PLAYER === */
.gmp-container,
.music-player-container {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

/* === ENHANCED SECTION BACKGROUNDS === */
.content-block,
.featured-content {
    position: relative;
}

.content-block::before,
.featured-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center top,
            rgba(255, 51, 102, 0.05) 0%,
            transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* === FOCUS STATES FOR ACCESSIBILITY === */
.nav-link:focus-visible,
.btn-primary:focus-visible,
.view-all-btn:focus-visible {
    outline: 2px solid var(--neon-pink);
    outline-offset: 4px;
    border-radius: 4px;
}

/* === REDUCED MOTION RESPECT === */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-title::after {
        animation: none;
    }

    .section-title,
    .block-title {
        animation: none;
        background-position: 0% 50%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PHASE 2: DESIGN ENHANCEMENTS
   Skeleton loading, timeline animations, mobile improvements
   ═══════════════════════════════════════════════════════════════════════════════ */

/* === SKELETON LOADING STATES === */
.skeleton {
    background: linear-gradient(90deg,
            var(--medium-gray) 0%,
            rgba(75, 75, 85, 0.8) 50%,
            var(--medium-gray) 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    background: #1e1e22;
    border-radius: 16px;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.skeleton-title {
    height: 24px;
    width: 70%;
    margin-bottom: 0.75rem;
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* === ENHANCED TIMELINE SECTION === */
.timeline-ultra {
    position: relative;
}

.timeline-ultra .timeline-year {
    transition: all 0.5s var(--ease-smooth);
    transform-origin: center;
}

.timeline-ultra .timeline-year:hover,
.timeline-ultra .timeline-year.active {
    transform: scale(1.2);
    color: var(--neon-pink);
    text-shadow: 0 0 30px rgba(255, 51, 102, 0.7);
}

.timeline-ultra .timeline-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s var(--ease-smooth);
    opacity: 0.7;
}

.timeline-ultra .timeline-card:hover,
.timeline-ultra .timeline-card.in-view {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 51, 102, 0.1);
    border-color: rgba(255, 51, 102, 0.3);
}

.timeline-ultra::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--black), transparent);
    pointer-events: none;
    z-index: 1;
}

/* === ENHANCED MUSIC PLAYER === */
.smp-container,
.simple-music-player {
    background: rgba(15, 15, 20, 0.9) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 -15px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Glow effect when playing */
.smp-container.playing,
.simple-music-player.playing {
    border-top-color: rgba(255, 51, 102, 0.3);
    box-shadow:
        0 -15px 50px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(255, 51, 102, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.smp-progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.smp-progress-filled {
    background: var(--gradient-hero);
    background-size: 200% auto;
    animation: gradientShift 2s ease infinite;
}

/* === MOBILE RESPONSIVE IMPROVEMENTS === */
@media (max-width: 768px) {

    /* Better touch targets */
    .nav-link,
    .btn-primary,
    .view-all-btn,
    .bottom-nav-item {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Improved mobile navigation spacing */
    .nav-menu .nav-links {
        padding: 1rem 1.5rem;
    }

    .nav-item {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .site-dropdown-menu {
        padding: 0.5rem;
    }

    .dropdown-item {
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }

    /* Hero mobile scaling */
    .hero-section {
        min-height: 80vh;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    /* Compact music player on mobile */
    .smp-container,
    .simple-music-player,
    .gmp-container {
        padding: 0.75rem 1rem;
    }

    /* Bento grid mobile */
    .bento-grid-ultra {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Timeline mobile */
    .timeline-ultra {
        padding: 2rem 1rem;
    }

    .timeline-year {
        font-size: 1.5rem;
    }

    /* Cards mobile */
    .bento-item-ultra,
    .news-card,
    .album-card {
        border-radius: 16px;
    }
}

/* Small mobile (375px and below) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-primary,
    .hero-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .bento-item-ultra {
        padding: 1rem;
    }

    /* Mobile fix: tighter padding on timeline button for narrow screens */
    .timeline-expand-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    /* Mobile fix: reduce stat card padding on small screens */
    .stats-section .stat-card {
        padding: 1rem 0.5rem;
    }

    .stats-section .stat-card .stat-number {
        font-size: 1.3rem;
    }
}

/* Mobile fix: disable hover transform on touch devices to prevent layout shift */
@media (hover: none) {
    .stats-section .stat-card:hover,
    .homepage .stats-section .stat-card:hover {
        transform: none;
    }
}

/* === SMOOTH SCROLL BEHAVIOR === */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* === LOADING STATE FOR SECTIONS === */
.section-loading {
    position: relative;
    min-height: 200px;
}

.section-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--neon-pink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================================
   HOMEPAGE 2026 REDESIGN - Extracted Inline Styles + Improvements
   Cinematic memorial site for Oblachny Kray (1981-2011)
   ========================================================================= */

/* --- Hero Section: Cinematic Entrance --- */

.hero-section.hero-modern {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-modern .hero-content {
    animation: hero-fade-in 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-modern .hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.95;
    text-align: center;
    margin: 0;
    animation: hero-title-reveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-modern .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0;
    margin-top: 1rem;
    animation: hero-subtitle-reveal 1s ease 1s both;
}

.hero-modern .hero-years {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    margin-top: 0.5rem;
    animation: hero-subtitle-reveal 1s ease 1.3s both;
}

.hero-modern .hero-actions {
    animation: hero-subtitle-reveal 1s ease 1.5s both;
    opacity: 0;
}

@keyframes hero-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hero-title-reveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes hero-subtitle-reveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.85;
        transform: translateY(0);
    }
}

/* --- Section Headers: Editorial Style --- */

.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.section-header-modern .block-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    margin-bottom: 0 !important;
}

.section-header-modern h2,
.section-header-modern .block-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 0;
}

.section-header-modern a,
.section-header-modern .view-all {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.section-header-modern a:hover,
.section-header-modern .view-all:hover {
    opacity: 1;
    transform: translateX(4px);
}

/* --- Album Cards: Image-Dominant with Refined Hover --- */

.albums-grid-modern {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
    scrollbar-width: none;
}

.albums-grid-modern::-webkit-scrollbar {
    display: none;
}

.album-card-modern {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
    flex: 0 0 auto;
    width: min(280px, 75vw);
    scroll-snap-align: start;
}

.album-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(255, 51, 102, 0.1);
}

.album-card-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.4s ease;
}

.album-card-modern:hover img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.album-card-modern .album-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease;
}

.album-card-modern:hover .album-info-overlay {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
}

.album-card-modern h3 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.album-card-modern .album-year {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
    font-size: 0.875rem;
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    letter-spacing: 0.05em;
}

/* --- News Section: Editorial List --- */

.news-list-modern {
    display: flex;
    flex-direction: column;
    gap: 0;
}

a.news-item-modern,
.news-item-modern {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.25rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease, padding-left 0.3s ease;
}

.news-item-modern:hover {
    background: rgba(255, 255, 255, 0.07);
    padding-left: 0.75rem;
}

.news-item-modern .news-date {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    opacity: 1;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.news-item-modern:hover .news-date {
    color: #c8cdd4;
}

.news-item-modern h3 {
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-family: var(--font-primary, 'Inter', sans-serif);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item-modern:hover h3 {
    color: var(--primary-color, #ff3366);
}

.news-item-modern .news-arrow {
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    font-size: 1.1rem;
}

.news-item-modern:hover .news-arrow {
    opacity: 1;
    transform: translateX(6px);
    color: var(--primary-color, #ff3366);
}

/* --- Gallery Section: Horizontal Scroll with Snap --- */

.gallery-scroll-modern {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
    scrollbar-width: none;
}

.gallery-scroll-modern::-webkit-scrollbar {
    display: none;
}

.gallery-scroll-modern a,
.gallery-scroll-modern .gallery-photo-item {
    flex: 0 0 auto;
    width: min(300px, 70vw);
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    display: block;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-scroll-modern a:hover,
.gallery-scroll-modern .gallery-photo-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.gallery-scroll-modern a:focus-visible {
    outline: 3px solid var(--accent-red, #dc2626);
    outline-offset: 2px;
}

.gallery-scroll-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-scroll-modern a:hover img {
    transform: scale(1.08);
}

/* --- Stats Section: Cards without Inline Styles --- */

.stats-section {
    padding: 3rem 0;
    background: #18181f;
}

.stats-section .block-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.stats-section .stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-6, 1.5rem);
}

.stats-section .stat-card {
    background: #2a2a32;
    padding: var(--space-6, 1.5rem);
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stats-section .stat-card:hover {
    border-color: rgba(255, 85, 136, 0.5);
    background: #32323c;
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5),
                0 0 24px rgba(255, 85, 136, 0.12);
}

.stats-section .stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-3, 0.75rem);
    filter: brightness(1.4) saturate(1.2);
    display: block;
}

.stats-section .stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: var(--space-2, 0.5rem);
    color: #ff6699;
    text-shadow: 0 0 20px rgba(255, 85, 136, 0.3);
}

.stats-section .stat-card .stat-label {
    color: #d4d4dc;
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- Timeline Section: Clean Styling --- */

.timeline-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #1a1a24 0%, #12121a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-section .block-title {
    color: #ffffff;
}

.timeline-section #homepage-timeline {
    margin-bottom: 1rem;
}

/* --- Memorial Section: Respectful & Cinematic --- */

.memorial-section.memorial-modern {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a24 0%, #222230 50%, #1a1a24 100%);
}

.memorial-section.memorial-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 85, 136, 0.18) 0%, rgba(255, 85, 136, 0.08) 40%, transparent 70%);
    pointer-events: none;
}

.memorial-modern .memorial-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.memorial-modern .memorial-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 1;
    animation: memorial-glow 4s ease-in-out infinite alternate;
}

@keyframes memorial-glow {
    from { filter: brightness(1.0); }
    to { filter: brightness(1.5) drop-shadow(0 0 24px rgba(255, 200, 100, 0.4)); }
}

.memorial-modern .memorial-title {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.memorial-modern .memorial-description {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.8;
    color: #e0e0e4;
    opacity: 1;
    margin-bottom: 1.25rem;
}

.memorial-modern .memorial-years {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: #ff6699;
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 0 16px rgba(255, 85, 136, 0.25);
}

/* --- Content Block Spacing: Tighter Editorial --- */

.homepage .featured-content {
    padding: 3rem 0;
    margin-bottom: 0;
}

.homepage .content-block {
    margin-bottom: 2rem;
}

.homepage .content-block + .content-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsive: 2026 Redesign --- */

@media (min-width: 768px) {
    .albums-grid-modern {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0;
    }

    .album-card-modern {
        width: auto;
        flex: unset;
        scroll-snap-align: unset;
    }
}

@media (max-width: 767px) {

    .news-item-modern {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .news-item-modern .news-arrow {
        display: none;
    }

    .section-header-modern .block-header {
        flex-direction: row;
        align-items: baseline;
    }

    .hero-modern .hero-title {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .memorial-section.memorial-modern {
        padding: 2.5rem 1rem;
    }

    .stats-section .stats-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stats-section .stat-card .stat-icon {
        font-size: 1.8rem;
    }

    .stats-section .stat-card .stat-number {
        font-size: 1.6rem;
    }

    .stats-section .stat-card .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-section .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-scroll-modern a,
    .gallery-scroll-modern .gallery-photo-item {
        width: 80vw;
    }

    /* Mobile fix: reduce hero min-height so it doesn't force scroll on short screens */
    .hero-section {
        min-height: 480px;
    }

    /* Mobile fix: full-width timeline button on narrow screens */
    .timeline-expand-btn {
        width: calc(100% - 2rem);
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* --- Loading Skeletons: Extracted from inline --- */

.album-skeleton {
    aspect-ratio: 1;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.08) 100%);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.news-skeleton {
    height: 3.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

.news-skeleton:nth-child(2) { animation-delay: 0.15s; }
.news-skeleton:nth-child(3) { animation-delay: 0.3s; }

/* ============================================================
   HOMEPAGE CONTENT VISIBILITY IMPROVEMENTS (Dark Theme)
   Ensures sections below the hero are clearly visible with
   sufficient contrast, visible card borders, and readable text.
   Updated: Feb 2026 - Significantly improved contrast ratios
   ============================================================ */

/* Featured Content section: clearly distinct from hero */
.homepage .featured-content {
    background: #1a1a1f;
    position: relative;
    padding: 3rem 0;
}

/* Top separator line between hero and content */
.homepage .featured-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 1200px);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 102, 0.6), transparent);
}

/* Content block titles: bright and prominent - override gradient text */
.homepage .block-title {
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    animation: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.1);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* View All links: clearly visible accent color */
.homepage .view-all {
    color: #ff5588;
    opacity: 1;
    font-weight: 600;
}

.homepage .view-all:hover {
    color: #ff7799;
}

/* --- Album Cards: visible borders and elevated surface --- */
.homepage .album-card-modern {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.06);
    background: #222228;
}

.homepage .album-card-modern:hover {
    border-color: rgba(255, 51, 102, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(255, 51, 102, 0.2);
}

/* Album info overlay: high text readability */
.homepage .album-card-modern .album-info-overlay {
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.95) 100%);
}

.homepage .album-card-modern h3 {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.homepage .album-card-modern .album-year {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

/* --- News Items: visible separators, readable text, clear hover --- */
.homepage a.news-item-modern,
.homepage .news-item-modern {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem 1rem;
    text-decoration: none;
}

.homepage .news-item-modern:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.homepage .news-item-modern:hover {
    background: rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 51, 102, 0.35);
}

.homepage .news-item-modern h3 {
    color: #e8e8ee;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.homepage .news-item-modern:hover h3 {
    color: #ff5588;
}

.homepage .news-item-modern .news-date {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
    font-weight: 500;
}

.homepage .news-item-modern .news-excerpt,
.homepage .news-item-modern .news-summary,
.homepage .news-item-modern p {
    color: rgba(255, 255, 255, 0.75);
}

.homepage .news-item-modern .news-arrow {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.homepage .news-item-modern:hover .news-arrow {
    color: #ff5588;
}

/* --- Gallery photos: fully visible with border and shadow --- */
.homepage .gallery-scroll-modern .gallery-photo-item,
.homepage .gallery-scroll-modern a {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    background: #1a1a24;
}

.homepage .gallery-scroll-modern .gallery-photo-item img,
.homepage .gallery-scroll-modern a img {
    opacity: 1 !important;
    filter: none !important;
    visibility: visible !important;
    display: block;
}

.homepage .gallery-scroll-modern .gallery-photo-item:hover,
.homepage .gallery-scroll-modern a:hover {
    border-color: rgba(255, 51, 102, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(255, 51, 102, 0.15);
}

/* --- Stats Section: clearly visible cards with good contrast --- */
.homepage .stats-section {
    background: #18181f;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.homepage .stats-section .block-title {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
    animation: none;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.homepage .stats-section .stat-card {
    background: #2a2a32;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 1.5rem 1rem;
}

.homepage .stats-section .stat-card:hover {
    background: #32323c;
    border-color: rgba(255, 85, 136, 0.5);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5),
                0 0 24px rgba(255, 85, 136, 0.12);
    transform: translateY(-4px);
}

.homepage .stats-section .stat-card .stat-icon {
    filter: brightness(1.4) saturate(1.2);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.homepage .stats-section .stat-card .stat-number {
    color: #ff6699;
    font-weight: 800;
    font-size: 2.2rem;
    text-shadow: 0 0 20px rgba(255, 85, 136, 0.3);
}

.homepage .stats-section .stat-card .stat-label {
    color: #e0e0e8;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* --- Timeline Section: distinct background with subtle warmth --- */
.homepage .timeline-section {
    background: linear-gradient(180deg, #1a1a24 0%, #12121a 100%);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.homepage .timeline-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 85, 136, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.homepage .timeline-section .block-title {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
    animation: none;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.1);
}

.homepage .timeline-section .view-all {
    color: #ff6699;
    font-weight: 600;
}

/* --- Timeline Section: text contrast overrides for compact mode --- */
.homepage .timeline-section .timeline-container.compact .year-marker-label {
    color: #ff6b6b;
    opacity: 1;
}

.homepage .timeline-section .timeline-container.compact .timeline-event-title {
    color: #e8e8ee;
}

.homepage .timeline-section .timeline-container.compact .event-date {
    color: rgba(255, 255, 255, 0.65);
}

.homepage .timeline-section .timeline-container.compact .event-type-badge {
    color: #ffffff;
}

.homepage .timeline-section .timeline-container.compact .timeline-event-content {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

/* --- Memorial Section: warm, respectful, readable --- */
.homepage .memorial-section.memorial-modern {
    background: linear-gradient(135deg, #1e1e2a 0%, #2a2a38 50%, #1e1e2a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: clamp(3rem, 6vw, 5rem) 1rem;
}

.homepage .memorial-modern .memorial-icon {
    opacity: 1;
    filter: brightness(1.8) saturate(1.4);
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: 0 0 30px rgba(255, 200, 100, 0.5);
}

.homepage .memorial-modern .memorial-title {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.25rem;
}

.homepage .memorial-modern .memorial-description {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.8;
    max-width: 550px;
    margin: 0 auto 1.25rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.homepage .memorial-modern .memorial-years {
    color: #ff6699;
    opacity: 1;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(255, 85, 136, 0.4), 0 0 40px rgba(255, 85, 136, 0.15);
}

.homepage .memorial-modern .memorial-dates {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    color: #ff6699;
    margin: 0 0 0.5rem;
    text-shadow: 0 0 16px rgba(255, 85, 136, 0.2);
}

.homepage .memorial-modern .memorial-role {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: #c0c0c8;
    margin: 0 0 1rem;
    line-height: 1.6;
}

.homepage .memorial-modern .memorial-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 153, 0.5), transparent);
    margin: 1.25rem auto;
}

.homepage .memorial-modern .memorial-quote-text {
    font-style: italic;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.8;
    color: #e0e0e4;
    max-width: 520px;
    margin: 0 auto 1.5rem;
    padding: 0;
    border: none;
    position: relative;
}

.homepage .memorial-modern .memorial-quote-text p {
    margin: 0;
}

.homepage .memorial-modern .memorial-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.homepage .memorial-modern .memorial-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: 1px solid rgba(255, 102, 153, 0.4);
    border-radius: 6px;
    color: #ff6699;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    background: transparent;
}

.homepage .memorial-modern .memorial-link:hover {
    background: rgba(255, 102, 153, 0.1);
    border-color: #ff6699;
    color: #ffb3cc;
    transform: translateY(-1px);
}

.homepage .memorial-modern .memorial-link-secondary {
    border-color: rgba(255, 255, 255, 0.15);
    color: #c0c0c8;
}

.homepage .memorial-modern .memorial-link-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.homepage .memorial-modern .memorial-link-icon {
    font-size: 1.1rem;
}

/* --- Homepage always uses dark aesthetic regardless of theme ---
   Override text/border CSS variables so content remains legible
   on the homepage's hardcoded dark backgrounds in light theme. */
.homepage {
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-secondary: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.1);
    --bg-primary: #030303;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #18181b;
    --bg-elevated: #27272a;
    color-scheme: dark;
}

/* --- Content blocks: always fully visible (override any scroll-reveal remnants) --- */
.homepage .content-block {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
}

.homepage .content-block .section-header-modern {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.homepage .gallery-preview,
.homepage .gallery-scroll-modern {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 2;
}

/* Gallery section heading: bright and distinct */
.homepage .gallery-preview .block-title,
.homepage .gallery-preview .block-header .block-title {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.1);
}

/* --- Content block separators: more visible dividers --- */
.homepage .content-block + .content-block {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* --- Skeleton loading: visible in dark mode --- */
.homepage .card-skeleton {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- No content / error messages: clearly visible --- */
.homepage .no-content {
    color: #d4d4d8;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 2rem;
}

.homepage .error-message {
    color: #ff6b6b;
    background: rgba(255, 51, 102, 0.08);
    border-radius: 12px;
    border: 1px dashed rgba(255, 51, 102, 0.3);
    padding: 2rem;
}

/* ============================================================
   SECTION SEPARATORS - Visual distinction between homepage sections
   Subtle gradient dividers to prevent sections blending together
   on the dark background. Feb 2026.
   ============================================================ */

/* --- Base spacing for all homepage sections --- */
.homepage .animated-counters {
    padding: 2.5rem 0;
    position: relative;
}

.homepage .on-this-day-section {
    padding: 2.5rem 0;
    position: relative;
}

/* --- Alternating subtle background tints --- */
.homepage .animated-counters {
    background: rgba(255, 255, 255, 0.015);
}

.homepage .on-this-day-section {
    background: rgba(255, 255, 255, 0.008);
}

/* .featured-content already has background: #1a1a1f (slightly lighter) */
/* .timeline-section already has background: #1c1c24 */
/* .stats-section already has background: #18181f */

/* --- Gradient accent lines between sections --- */

/* Separator: hero -> animated-counters */
.homepage .animated-counters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 102, 0.25), transparent);
}

/* Separator: animated-counters -> on-this-day */
.homepage .on-this-day-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Separator: on-this-day -> featured-content (enhance existing ::before) */
/* .featured-content::before already exists with a pink gradient at line ~4240 */

/* Separator: featured-content -> timeline-section */
.homepage .timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 102, 0.3), transparent);
    z-index: 1;
}

/* Separator: timeline -> stats (enhance existing border-top) */
.homepage .stats-section {
    position: relative;
}

.homepage .stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 102, 0.25), transparent);
    z-index: 1;
}

/* Separator: stats -> memorial (warm tones for memorial)
   Note: ::before is used for the existing radial glow effect, so use ::after */
.homepage .memorial-section.memorial-modern {
    position: relative;
}

.homepage .memorial-section.memorial-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 200, 100, 0.25), rgba(255, 102, 153, 0.3), rgba(255, 200, 100, 0.25), transparent);
    z-index: 1;
    pointer-events: none;
}

/* --- Thin border-top fallback for all major sections --- */
.homepage .animated-counters,
.homepage .on-this-day-section,
.homepage .featured-content,
.homepage .timeline-section,
.homepage .stats-section,
.homepage .memorial-section.memorial-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
   CLS Prevention: Reserve space for JS-populated sections
   min-height values match typical rendered content heights so
   that layout does not shift when JS injects content.
   NOTE: Do NOT use :empty — JS immediately injects a loading
   skeleton, so :empty stops matching after the first frame.
   ============================================================ */

/* On This Day widget: rendered card is ~220px (padding + header + body).
   Reserve that height on the SECTION so the space exists from first paint. */
.homepage .on-this-day-section {
    min-height: 220px;
}

/* Timeline section: compact 5-event timeline is ~480px.
   Reserve space on the container div that JS populates. */
.homepage #homepage-timeline {
    min-height: 480px;
}

/* Stats section: use tabular-nums so numbers don't cause width shifts */
.homepage .stats-section .stat-number {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}

/* ══════════════════════════════════════════════════════════════════════════════
   2026–2027 DESIGN UPGRADE
   Trends: Bento Grid · Editorial Layout · 3D Depth · Ambient Color · Kinetics
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── 1. BENTO GRID — Albums ──────────────────────────────────────────────── */

@media (min-width: 640px) {
    .homepage .featured-content .albums-grid-modern {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: repeat(2, minmax(190px, 1fr));
        gap: 10px;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .homepage .featured-content .album-card-modern {
        flex: none;
        width: auto;
        scroll-snap-align: none;
        aspect-ratio: unset;
        min-height: 190px;
    }

    /* Hero card: first album is full left column */
    .homepage .featured-content .album-card-modern:first-child {
        grid-row: span 2;
    }
}

@media (min-width: 1024px) {
    .homepage .featured-content .albums-grid-modern {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        grid-template-rows: repeat(2, minmax(210px, 1fr));
        gap: 12px;
    }
}

/* Mobile: keep horizontal scroll */
@media (max-width: 639px) {
    .homepage .featured-content .albums-grid-modern {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }

    .homepage .featured-content .album-card-modern {
        flex: 0 0 auto;
        width: min(240px, 70vw);
        aspect-ratio: 1;
        scroll-snap-align: start;
    }
}

/* ── 2. BENTO GRID — Gallery ─────────────────────────────────────────────── */

@media (min-width: 640px) {
    .homepage .gallery-preview.gallery-scroll-modern {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: repeat(2, minmax(130px, 1fr));
        gap: 8px;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
        -webkit-overflow-scrolling: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .homepage .gallery-preview .gallery-photo-item {
        width: auto;
        height: auto;
        flex: none;
        min-height: 130px;
        scroll-snap-align: none;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
    }

    .homepage .gallery-preview .gallery-photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* First item: tall hero spanning 2 rows */
    .homepage .gallery-preview .gallery-photo-item:first-child {
        grid-row: span 2;
        min-height: 278px;
    }
}

/* Mobile: horizontal scroll */
@media (max-width: 639px) {
    .homepage .gallery-preview.gallery-scroll-modern {
        display: flex;
        overflow-x: auto;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }
}

/* ── 3. EDITORIAL FIRST NEWS ITEM ────────────────────────────────────────── */

.homepage .news-list-modern .news-item-modern:first-child {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    padding: 1.6rem 1.25rem;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 2px;
}

.homepage .news-list-modern .news-item-modern:first-child h3 {
    font-size: clamp(1.1rem, 2.8vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: #fff;
}

.homepage .news-list-modern .news-item-modern:first-child .news-date {
    color: #ff6b9d;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ── 4. ARCHIVE CARDS — FEATURED FIRST ───────────────────────────────────── */

@media (min-width: 900px) {
    .homepage .archive-cards-grid .archive-card:first-child {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 0;
        align-items: stretch;
    }

    .homepage .archive-cards-grid .archive-card:first-child .archive-card-thumb {
        border-radius: 12px 0 0 12px;
        aspect-ratio: unset;
        min-height: 260px;
    }

    .homepage .archive-cards-grid .archive-card:first-child .archive-card-body {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .homepage .archive-cards-grid .archive-card:first-child .archive-card-title {
        font-size: clamp(1.2rem, 2.2vw, 1.7rem);
        line-height: 1.3;
    }
}

/* ── 5. 3D CARD TILT SYSTEM ──────────────────────────────────────────────── */

/* CSS custom properties set via JS mousemove */
.album-card-modern {
    --card-rx: 0deg;
    --card-ry: 0deg;
    --card-gx: 50%;
    --card-gy: 50%;
    transform: perspective(900px) rotateX(var(--card-rx)) rotateY(var(--card-ry));
    transform-style: preserve-3d;
    will-change: transform;
}

/* Prevent the existing hover transform from fighting the tilt */
.homepage .featured-content .album-card-modern:hover {
    transform: perspective(900px) rotateX(var(--card-rx)) rotateY(var(--card-ry)) scale(1.02);
}

/* Glare overlay responds to tilt direction */
.album-card-modern .album-card-glare {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--card-gx) var(--card-gy),
        rgba(255, 255, 255, 0.13) 0%,
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 6;
    pointer-events: none;
    border-radius: inherit;
}

.album-card-modern:hover .album-card-glare {
    opacity: 1;
}

/* Reset when mouse leaves */
.album-card-modern.tilt-reset {
    transform: perspective(900px) rotateX(0deg) rotateY(0deg) !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ── 6. AMBIENT SECTION BACKGROUNDS ─────────────────────────────────────── */

.homepage .home-live-stats {
    background:
        radial-gradient(ellipse 55% 40% at 10% 50%, rgba(255, 0, 60, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 45% 55% at 90% 30%, rgba(140, 0, 255, 0.03) 0%, transparent 70%);
}

.homepage .quote-rotator-section {
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 51, 102, 0.04) 0%, transparent 70%);
}

.homepage .memorial-section.memorial-enhanced {
    background:
        radial-gradient(ellipse 55% 45% at 50% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 60%);
}

/* ── 7. CSS SCROLL-DRIVEN ANIMATIONS (Progressive Enhancement) ───────────── */

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .homepage .archive-section,
        .homepage .home-live-stats,
        .homepage .guestbook-teaser-section,
        .homepage .quote-rotator-section,
        .homepage .memorial-section,
        .homepage .timeline-section {
            animation: hp-section-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 28%;
        }

        @keyframes hp-section-rise {
            from { opacity: 0.55; transform: translateY(22px); filter: blur(1.5px); }
            to   { opacity: 1;    transform: translateY(0);    filter: blur(0);     }
        }
    }
}

/* ── 8. SECTION TITLE ACCENT UNDERLINE ───────────────────────────────────── */

.block-header .block-title {
    position: relative;
    padding-bottom: 0.55rem;
}

.block-header .block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.25rem;
    height: 2px;
    background: linear-gradient(90deg, #ff3366 0%, transparent 100%);
    border-radius: 2px;
}

/* ── 9. STATS CARDS: HOVER DEPTH ─────────────────────────────────────────── */

.live-stat-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}

.live-stat-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.live-stat-card::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle at 40% 30%,
        rgba(255, 255, 255, 0.045) 0%, transparent 55%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.live-stat-card:hover::after {
    opacity: 1;
}

.live-stat-card:hover .live-stat-number {
    text-shadow: 0 0 28px rgba(255, 51, 102, 0.3), 0 0 60px rgba(255, 51, 102, 0.08);
}

/* ── 10. QUOTE ROTATOR: TYPOGRAPHIC DRAMA ────────────────────────────────── */

.quote-rotator-card {
    position: relative;
    overflow: hidden;
}

.quote-rotator-card::before {
    content: '\201C';
    position: absolute;
    top: -1.5rem;
    left: 0.75rem;
    font-size: clamp(7rem, 14vw, 13rem);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    color: rgba(255, 51, 102, 0.055);
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.04em;
    font-style: italic;
    user-select: none;
}

.quote-rotator-text,
.quote-rotator-author,
.quote-rotator-icon,
.quote-rotator-dots {
    position: relative;
    z-index: 1;
}

/* ── 11. HERO GRADIENT LAYER ANIMATION ───────────────────────────────────── */

.hero-gradient-layer {
    animation: hero-ambient-pulse 9s ease-in-out infinite alternate;
}

@keyframes hero-ambient-pulse {
    0%   { opacity: 0.65; }
    40%  { opacity: 1;    }
    100% { opacity: 0.75; }
}

/* ── 12. SCROLL PROGRESS BAR GLOW ────────────────────────────────────────── */

.hp-scroll-progress {
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.5), 0 0 2px rgba(255, 51, 102, 0.8);
}

/* ── 13. FACTS TICKER GLASS EFFECT ──────────────────────────────────────── */

.hp-facts-ticker {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 10, 15, 0.82);
    border-top: 1px solid rgba(255, 51, 102, 0.18);
    border-bottom: 1px solid rgba(255, 51, 102, 0.10);
}

/* ── 14. LATEST ALBUM SHOWCASE: AMBIENT GLOW ─────────────────────────────── */

.latest-album-cover-wrap::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center,
        rgba(255, 51, 102, 0.12) 0%, transparent 65%);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    animation: album-glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes album-glow-pulse {
    from { opacity: 0.6; transform: scale(0.95); }
    to   { opacity: 1;   transform: scale(1.05); }
}

/* ── 15. ERA FILTER PILLS: ACTIVE GLOW ───────────────────────────────────── */

.hp-era-pill--active {
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.2);
    transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.3s;
}

/* ── 16. ON THIS DAY CARD: DEPTH TREATMENT ───────────────────────────────── */

.on-this-day-card {
    position: relative;
    overflow: hidden;
}

.on-this-day-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right,
        rgba(255, 51, 102, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── 17. ARCHIVE CARD HOVER LIFT ─────────────────────────────────────────── */

.archive-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
}

.archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45),
                0 0 0 1px rgba(255, 51, 102, 0.15);
}

/* ══════════════════════════════════════════════════════════════════════════════
   2026–2027 DESIGN LAYER 2
   Ghost Text · Immersive Stats · Animated Borders · Split Memorial · Grain
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── 1. HERO GENRE CHIPS ─────────────────────────────────────────────────── */

.hero-genre-chips {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero-genre-chip {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255, 107, 157, 0.9);
    border: 1px solid rgba(255, 51, 102, 0.3);
    padding: 3px 11px;
    border-radius: 100px;
    text-transform: uppercase;
    background: rgba(255, 51, 102, 0.07);
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-genre-chip:hover {
    background: rgba(255, 51, 102, 0.15);
    border-color: rgba(255, 51, 102, 0.5);
}

/* ── 2. GHOST / WATERMARK BACKGROUND TEXT ─────────────────────────────────── */

/* Each section container gets oversized ghost text via ::before */

.homepage .home-live-stats {
    position: relative;
    overflow: hidden;
}

.homepage .home-live-stats > .container {
    position: relative;
}

.homepage .home-live-stats > .container::after {
    content: '45';
    position: absolute;
    top: 50%;
    right: -4%;
    transform: translateY(-55%);
    font-size: clamp(12rem, 28vw, 26rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
    letter-spacing: -0.06em;
    line-height: 1;
    z-index: 0;
    user-select: none;
    overflow: hidden;
}

.homepage .timeline-section > .container {
    position: relative;
}

.homepage .timeline-section > .container::after {
    content: '1981';
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translateY(-55%);
    font-size: clamp(8rem, 18vw, 18rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    letter-spacing: -0.06em;
    line-height: 1;
    z-index: 0;
    user-select: none;
}

.homepage .memorial-section > .container {
    position: relative;
}

.homepage .memorial-section > .container::after {
    content: '♪';
    position: absolute;
    top: 50%;
    left: -3%;
    transform: translateY(-50%);
    font-size: clamp(10rem, 22vw, 22rem);
    font-weight: 400;
    color: rgba(245, 158, 11, 0.035);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
    user-select: none;
}

.homepage .guestbook-teaser-section > .container {
    position: relative;
}

.homepage .guestbook-teaser-section > .container::after {
    content: '★';
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    font-size: clamp(10rem, 20vw, 18rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
    user-select: none;
}

/* Ghost text containers: z-index context */
.homepage .home-live-stats .live-stats-grid,
.homepage .timeline-section .hp-tl-wrapper,
.homepage .memorial-section .memorial-content,
.homepage .guestbook-teaser-section .guestbook-teaser-inner {
    position: relative;
    z-index: 1;
}

/* ── 3. IMMERSIVE STATS SECTION ──────────────────────────────────────────── */

/* Stats title: centered above the number wall */
.homepage .home-live-stats .block-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
    z-index: 1;
}

/* Unified stat band — no individual card borders */
.homepage .live-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.homepage .live-stat-card {
    background: transparent;
    border: none;
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2.5vw, 2.5rem);
    text-align: center;
    box-shadow: none;
    transform: none !important;
}

.homepage .live-stat-card:last-child {
    border-right: none;
}

/* Massive gradient number */
.homepage .live-stat-number {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: none;
    transition: filter 0.4s ease;
}

.homepage .live-stat-card:hover .live-stat-number {
    filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.4));
}

/* Small icon above number */
.homepage .live-stat-icon {
    color: rgba(255, 51, 102, 0.5);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    transition: color 0.3s ease;
}

.homepage .live-stat-card:hover .live-stat-icon {
    color: rgba(255, 107, 157, 0.85);
}

/* Uppercase label */
.homepage .live-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    transition: color 0.3s ease;
}

.homepage .live-stat-card:hover .live-stat-label {
    color: rgba(255, 255, 255, 0.6);
}

/* Remove the accent bar element */
.live-stat-accent {
    display: none;
}

/* Stats responsive: 2-col on narrow */
@media (max-width: 599px) {
    .homepage .live-stats-grid {
        grid-template-columns: 1fr 1fr;
        border-radius: 16px;
    }

    .homepage .live-stat-card:nth-child(2) {
        border-right: none;
    }

    .homepage .live-stat-card:nth-child(1),
    .homepage .live-stat-card:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .homepage .live-stat-number {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}

/* ── 4. ANIMATED GRADIENT TOP BORDERS ON SECTIONS ────────────────────────── */

@keyframes border-flow {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Override the static ::before divider with an animated gradient */
.homepage .home-live-stats::before,
.homepage .guestbook-teaser-section::before,
.homepage .timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 51, 102, 0.0) 10%,
        rgba(255, 51, 102, 0.6) 30%,
        rgba(255, 150, 100, 0.8) 50%,
        rgba(255, 51, 102, 0.6) 70%,
        rgba(255, 51, 102, 0.0) 90%,
        transparent 100%);
    background-size: 300% 100%;
    animation: border-flow 6s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    transform: none;
    border-radius: 0;
}

/* ── 5. MEMORIAL SPLIT LAYOUT ────────────────────────────────────────────── */

.memorial-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .memorial-split {
        display: grid;
        grid-template-columns: 240px 1fr;
        gap: clamp(2rem, 5vw, 5rem);
        align-items: start;
        text-align: left;
    }

    /* Override the memorial-section's forced text-align:center */
    .memorial-section .memorial-split .memorial-col-text {
        text-align: left;
    }

    .memorial-split .memorial-title {
        text-align: left;
    }

    .memorial-split .memorial-actions {
        justify-content: flex-start;
    }

    .memorial-split .memorial-divider {
        margin: 1rem 0;
    }
}

.memorial-col-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .memorial-col-visual {
        position: sticky;
        top: 100px;
    }
}

.memorial-col-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Photo: slightly larger and cinematic in split layout */
.memorial-split .memorial-photo {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(245, 158, 11, 0.25);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 0 0 1px rgba(245, 158, 11, 0.1);
    filter: sepia(0.15) contrast(1.05);
}

/* Override memorial-section's `::before` to not clash with the split layout container */
.memorial-section .memorial-split {
    position: relative;
    z-index: 1;
}

/* Dates badge in visual column */
.memorial-col-visual .memorial-dates {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(245, 158, 11, 0.75);
    text-transform: uppercase;
    text-align: center;
    padding: 4px 12px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 100px;
    background: rgba(245, 158, 11, 0.06);
}

/* ── 6. FILM GRAIN TEXTURE ON HERO ───────────────────────────────────────── */

/* Subtle noise over the hero for analog/film texture feel */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    mix-blend-mode: overlay;
}

/* Grain on stat section too */
.homepage .home-live-stats::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    z-index: 0;
    mix-blend-mode: screen;
}

/* ── 7. SECTION HEADING: NUMBERED LABELS ─────────────────────────────────── */

/* Each major section heading gets a subtle count prefix */
.homepage .featured-content .block-header .block-title::before {
    content: '01 ';
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 51, 102, 0.45);
    vertical-align: middle;
    font-family: var(--font-display, 'Bebas Neue', monospace);
}

.homepage .archive-section .block-header .block-title::before {
    content: '02 ';
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 51, 102, 0.45);
    vertical-align: middle;
    font-family: var(--font-display, 'Bebas Neue', monospace);
}

.homepage .timeline-section .block-header .block-title::before {
    content: '03 ';
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 51, 102, 0.45);
    vertical-align: middle;
    font-family: var(--font-display, 'Bebas Neue', monospace);
}

/* ── 8. GUESTBOOK: BETTER ENTRY CARD DESIGN ──────────────────────────────── */

/* Avatar initial badge for each guestbook entry */
.guestbook-teaser-entry {
    position: relative;
}

/* ── 9. SECTION TRANSITION GLOW (section -> section color bleed) ────────────*/

/* Warm glow bleeds DOWN from stats into guestbook */
.homepage .home-live-stats {
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* Guestbook has a faint top gradient from above */
.homepage .guestbook-teaser-section {
    background:
        linear-gradient(to bottom, rgba(255, 51, 102, 0.03) 0%, transparent 40%),
        rgba(18, 18, 24, 0.9);
}

/* Timeline bleed: subtle upward amber from memorial below */
.homepage .timeline-section {
    background:
        linear-gradient(to bottom, transparent 70%, rgba(245, 158, 11, 0.03) 100%),
        rgba(18, 18, 24, 0.9);
}

/* ── 10. HERO TEXT HIERARCHY IMPROVEMENT ─────────────────────────────────── */

/* Horizontal rule between title and tagline */
.hero-title {
    margin-bottom: 0.75rem;
}

.hero-tagline {
    position: relative;
    padding-top: 1rem;
    margin-bottom: 0.5rem;
}

.hero-tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}
