/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 600;
}

.font-heading {
    font-family: var(--font-heading);
}

.text-accent {
    color: var(--accent-color);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
    background: var(--accent-gradient);
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* New Header Layout */
.site-header {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05), transparent 60%);
}

.header-title {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: var(--spacing-xl);
}

.header-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.header-tags {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.header-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.header-tag span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5555;
    /* Default dot color */
}

/* Sticky Navigation */
.sticky-nav-container {
    position: sticky;
    top: 20px;
    /* Top margin when sticky */
    z-index: 1000;
    margin-bottom: var(--spacing-xxl);
    display: flex;
    justify-content: center;
    pointer-events: none;
    /* Allow clicking through container */
}

.sticky-nav {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 8px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    /* Re-enable pointer events for nav */
    transition: all 0.3s ease;
}

.sticky-nav.is-sticky {
    background: rgba(13, 13, 13, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
}

.nav-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-btn:hover,
.nav-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.nav-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    margin-bottom: 8px;
    opacity: 1;
    pointer-events: none;
}

/* Sidebar Navigation (Vertical) */
.sidebar-nav {
    position: fixed;
    top: 50%;
    /* Default for laptops (Macbook Air) */
    left: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
}

/* Responsive Sidebar & Container Logic */
@media (min-width: 1600px) {

    /* Studio Display / Large Screens */
    .sidebar-nav {
        /* Anchor to content: Center - Half Content (600px) - Gap (120px) */
        left: calc(50vw - 600px - 120px);
    }
}

@media (max-width: 1440px) {

    /* Prevent overlap on smaller desktops (1280px-1440px) */
    .container {
        max-width: 900px;
    }
}

/* Adjust tooltip for sidebar */
.sidebar-nav .nav-btn[data-tooltip]:hover::after {
    bottom: auto;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-bottom: 0;
    margin-left: 12px;
}

.hire-btn-sm {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 14px;
    margin-left: 8px;
    transition: var(--transition-fast);
}

.hire-btn-sm:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    /* Match the gap for consistent spacing */
}

/* Utility */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mt-md {
    margin-top: var(--spacing-md);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

/* Profile Card (Right Side) */
.profile-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.profile-img-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    padding: 4px;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #333;
    /* Placeholder color */
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Modules */
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.module-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--text-secondary);
}

.module-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #ff5555;
    /* Default dot color, can be customized */
    border-radius: 50%;
}

.view-all {
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.view-all:hover {
    color: var(--text-primary);
}

/* Vinyl Module */
.vinyl-card {
    grid-column: span 6;
    min-height: 520px;
    /* Portrait 3:4-ish feel */
    background-image: url('../assets/images/album-cover-reptiles.png');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.vinyl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.vinyl-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vinyl-card:hover .vinyl-overlay {
    opacity: 1;
}

.vinyl-play-btn {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(4px);
    color: #fff;
    transition: transform 0.2s ease;
}

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

.vinyl-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Stories Module */
.stories-card {
    grid-column: span 6;
}

.story-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.story-item:last-child {
    border-bottom: none;
}

.story-content h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.story-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Photos/Lyrics/Music Modules (Generic Grid Items) */
.grid-item-sm {
    grid-column: span 4;
}

.grid-item-md {
    grid-column: span 6;
}

/* Masonry Layout for Photos */
.masonry-grid {
    column-count: 3;
    column-gap: var(--spacing-lg);
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Horizontal Lyrics Card */
.lyrics-card-horizontal {
    display: flex;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    height: 160px;
    margin-bottom: var(--spacing-lg);
}

.lyrics-card-horizontal:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.lyrics-img {
    width: 200px;
    height: 100%;
    object-fit: cover;
}

.lyrics-content {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-card,
    .lyrics-carousel-container,
    .project-card-lg,
    .stories-card,
    .grid-item-sm,
    .grid-item-md {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 80px 0 40px;
    }

    .header-title {
        font-size: 48px;
    }

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

    .profile-card,
    .lyrics-carousel-container,
    .project-card-lg,
    .stories-card,
    .grid-item-sm,
    .grid-item-md {
        grid-column: span 1;
    }

    .masonry-grid {
        column-count: 1;
    }

    .lyrics-card-horizontal {
        flex-direction: column;
        height: auto;
    }

    .lyrics-img {
        width: 100%;
        height: 150px;
    }
}

/* Lyrics Grid Layout (New) */
.lyrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.lyrics-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lyrics-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lyrics-card-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.lyrics-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lyrics-card:hover .lyrics-card-img {
    transform: scale(1.05);
}

.lyrics-card-content {
    padding: var(--spacing-md);
    /* Reduced padding */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lyrics-card-meta {
    display: none;
    /* Hide metadata */
}

.lyrics-card-title {
    font-size: 18px;
    /* Slightly smaller title */
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.lyrics-card-summary {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lyrics-header-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.subtitle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    background: transparent;
    padding: 0;
}

.jay-avatar {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    /* Rounded square */
    object-fit: cover;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--bg-secondary);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-modal {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
}

#modal-title {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 24px;
    text-align: center;
}

#modal-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-wrap;
    /* Preserve formatting */
}


/* Hero Section Updates */
.hero-card-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-xl);
    align-items: center;
    height: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 10px;
}

/* Hero Flip Animation Styles */
.hero-flip-card {
    height: 480px;
    /* Fixed height to prevent flickering/jumping */
    display: flex;
    flex-direction: column;
}

.hero-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    /* Removed will-change to prevent global scroll jank and GPU memory bloat */
}

.hero-front,
.hero-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    /* Critical for scroll perf: skip rendering of backdrop-filter when inactive */
    display: flex;
    /* Ensure inner structure stays intact */
}

.hero-front.active,
.hero-back.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
}

.hero-front {
    /* Keep existing front background */
    background: transparent;
}

.hero-back {
    /* Dreamy Colorful Glassmorphism Gradient requested by User */
    background: radial-gradient(circle at 0% 0%, rgba(255, 69, 102, 0.45) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(0, 102, 255, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 153, 0, 0.35) 0%, transparent 60%),
        rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* E-Card Design */
.ecard-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.ecard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.ecard-back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.ecard-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateX(-4px);
}

.ecard-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ecard-logo-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-gradient);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-color);
    animation: pulse-glow 2s infinite;
}

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

    50% {
        box-shadow: 0 0 20px var(--accent-color);
    }

    100% {
        box-shadow: 0 0 5px var(--accent-color);
    }
}

.ecard-logo-text {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.ecard-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.ecard-name {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 32px;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ecard-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ecard-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 16px;
}

.ecard-detail-item i {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    opacity: 0.8;
}

.ecard-detail-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.ecard-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ecard-qr-wrapper {
    padding: 12px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.ecard-qr-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-color);
    border-radius: var(--radius-md);
    opacity: 0.3;
    animation: qr-scan 3s infinite linear;
}

@keyframes qr-scan {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.ecard-qr {
    width: 140px;
    height: 140px;
    display: block;
}

.ecard-qr-label {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* Ensure no flicker on normal card hover when flipped */
.hero-flip-card.flipped:hover {
    transform: none;
}

.hero-icon-box {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.hero-icon-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) {
    .hero-card-inner {
        grid-template-columns: 1fr;
    }

    .hero-icon-grid {
        display: none;
    }
}

/* Markdown Content Styling */
.markdown-body {
    line-height: 1.8;
    color: var(--text-secondary);
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.markdown-body p {
    margin-bottom: 16px;
}

.markdown-body strong {
    color: var(--accent-color);
}

.markdown-body hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 32px 0;
}

/* Audio Player Skinning */
audio::-webkit-media-controls-enclosure {
    background-color: rgba(255, 255, 255, 0.05);
}

audio::-webkit-media-controls-panel {
    background-color: transparent;
}

/* Lyrics Home Carousel Styles */
.lyrics-carousel-container {
    grid-column: span 5;
    position: relative;
    padding: 0 !important;
    /* Remove card padding for full-bleed feel if needed, but we used .card so let's keep it consistent */
    overflow: hidden;
    min-height: 480px;
}

.lyrics-carousel-container:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

.lyrics-carousel {
    height: 100%;
    position: relative;
}

.lyrics-slide {
    display: none;
    height: 100%;
    animation: fadeEffect 0.8s ease;
    padding: var(--spacing-xl);
    position: relative;
}

.lyrics-slide.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.now-playing-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.now-playing-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.album-art-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 40px;
}

.album-cover {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vinyl-disc {
    width: 115px;
    height: 115px;
    background: #111;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 45px;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background-image:
        radial-gradient(circle at center, #222 10%, transparent 10.5%),
        radial-gradient(circle at center, transparent 34%, #1a1a1a 35%, #1a1a1a 36%, transparent 37%),
        radial-gradient(circle at center, transparent 44%, #1a1a1a 45%, #1a1a1a 46%, transparent 47%),
        radial-gradient(circle at center, transparent 54%, #1a1a1a 55%, #1a1a1a 56%, transparent 57%),
        radial-gradient(circle at center, #111 0, #111 100%);
}

.lyrics-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.lyrics-author {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.8;
}

.lyrics-summary-excerpt {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: auto;
    /* Push footer to bottom */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Added line-clamp */
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    padding-left: 0;
}

.project-desc-sm {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lyrics-footer {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.release-date {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lyrics-arrow {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.lyrics-slide:hover .lyrics-arrow {
    transform: translateX(5px);
    color: var(--accent-color);
}

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 32px;
    left: 32px;
    /* Bottom left as per modern design, or center? Let's do center based on user request */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    width: 20px;
    border-radius: 3px;
}

/* Music Works Card Styles (Ref Image 1) */
.music-works-card {
    grid-column: span 6;
    min-height: 520px;
    /* Portrait 3:4-ish feel */
    display: flex;
    flex-direction: column;
}

#music-list-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.music-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.music-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.music-item.active {
    border-color: var(--accent-color);
    background: rgba(0, 255, 136, 0.05);
}

.music-art {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    /* Slightly squarer for new grid */
    object-fit: cover;
    background: #333;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.music-details {
    flex: 1;
}

.music-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.music-meta {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-pause-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.music-item.active .play-pause-btn {
    background: var(--accent-color);
    color: #000;
    border: none;
}

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

/* Photography Showcase Section (Ref Image 2) */
.photography-showcase {
    margin-top: 0;
    margin-bottom: 120px;
}

.photo-showcase-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    /* More square as per reference */
    overflow: hidden;
    position: relative;
    min-height: 600px;
}

.photo-feature-text {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    background: #0D0D0D;
}

.showcase-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.showcase-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 400px;
}

.photo-author-tag {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
}

.author-role {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

.btn-outline-gold {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid #C5A059;
    /* Gold/yellow accent from ref */
    color: #C5A059;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: #C5A059;
    color: #000;
}

.photo-main-display {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.main-image-wrapper {
    width: 100%;
    height: 100%;
}

#main-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.scroll-down-vertical {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #C5A059;
    font-size: 10px;
    letter-spacing: 2px;
    z-index: 5;
}

.scroll-down-vertical i {
    transform: rotate(90deg);
}

.photo-thumbnails-container {
    grid-column: span 2;
    background: #000;
    padding: 0 0 40px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-thumbnails-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1px;
    /* Divider effect */
}

.photo-thumbnails-track::-webkit-scrollbar {
    display: none;
}

.thumbnail-item {
    min-width: 25%;
    aspect-ratio: 16/9;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.5s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.thumbnail-item:hover,
.thumbnail-item.active {
    filter: grayscale(0%);
}

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

.explore-thumbs-btn {
    position: absolute;
    right: 40px;
    bottom: 40px;
    background: transparent;
    border: 1px solid #C5A059;
    color: #C5A059;
    padding: 10px 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

@media (max-width: 1024px) {
    .photo-showcase-inner {
        grid-template-columns: 1fr;
    }

    .photo-feature-text {
        padding: 40px;
    }

    .thumbnail-item {
        min-width: 50%;
    }
}

/* Minor refinements for Music and Photo interaction */
.music-item .play-pause-btn i {
    transition: transform 0.2s ease;
}

.music-item:hover .play-pause-btn {
    background: var(--accent-color);
    color: #000;
}

.photo-thumbnails-track::-webkit-scrollbar {
    height: 4px;
}

.photo-thumbnails-track::-webkit-scrollbar-thumb {
    background: #C5A059;
    border-radius: 2px;
}

.photo-thumbnails-track:hover::-webkit-scrollbar {
    display: block;
}