/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    font-weight: 700;
    font-size: 1.6rem;
    color: #ffffff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - With Background Slideshow */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Slideshow Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual Slides - Instagram Carousel Style */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(100%);
    transition: transform 1.5s ease;
}

/* Specific positioning for pp.jpg - Show face higher */
.hero-slide:nth-child(2) {
    background-position: center 30%;
}

/* Active Slide - Centered on screen */
.hero-slide.active {
    transform: translateX(0);
    z-index: 1;
}

/* Exiting Slide - Moves left off-screen */
.hero-slide.exiting {
    transform: translateX(-100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 7rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
    color: #cccccc;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    display: inline-block;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.btn-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
}

.btn-outline:hover {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Social Icons - OVO Style */
.hero-social {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-social-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    transition: all 0.3s ease, color 0.4s ease;
    opacity: 0.8;
    text-decoration: none;
}

.hero-social-link:hover {
    opacity: 1;
    transform: scale(1.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeIn 1s ease 1s both;
}

.scroll-arrow {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        top: 8px;
        opacity: 0;
    }
    50% {
        top: 20px;
        opacity: 1;
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-line {
    width: 100px;
    height: 3px;
    background: #000000;
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section - Masonry Grid Style */
.about {
    background: #f5f5f5;
    padding: 100px 0;
}

/* Masonry Grid Layout - Mixed Layout with Collapse */
.about-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    max-height: 850px;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

/* Expanded State */
.about-masonry.expanded {
    max-height: 5000px;
}

/* Gradient Fade Overlay on Peek Card - Sharper Transition */
.about-masonry::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    transition: opacity 0.6s ease;
    z-index: 5;
}

/* Hide gradient overlay when expanded */
.about-masonry.expanded::after {
    opacity: 0;
}

/* About Cards - Bigger with Rounded Borders */
.about-card {
    position: relative;
    min-height: 500px;
    background-image: url('pictures/studio-background.JPG'); /* Fallback background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    border-radius: 20px;
}

/* Full Width Cards */
.card-full {
    grid-column: 1 / -1;
    min-height: 450px;
}

/* Grid Cards (2x2 section) - Smaller */
.card-grid {
    min-height: 320px;
}

/* Card Hover - Zoom Effect */
.about-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Dark Overlay on Cards */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    transition: background 0.4s ease;
    border-radius: 20px;
}

.about-card:hover .card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

/* Card Content - Default Top Aligned */
.card-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Card Title - Bold at Top */
.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 0.8rem;
}

/* Card Text */
.card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
    font-weight: 300;
}

/* Activity Items in Other Activities Card */
.activity-item {
    margin-bottom: 2rem;
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.activity-meta {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-weight: 300;
}

.activity-meta i {
    color: #ffffff;
    font-size: 0.85rem;
    opacity: 0.9;
}

.activity-separator {
    color: #888888;
    font-weight: 300;
}

.activity-item .card-text {
    margin-top: 1rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Card List */
.card-list {
    list-style: none;
    padding: 0;
}

.card-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    font-weight: 300;
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: 600;
}

/* Background Images for Each Card */
.about-card[data-category="profile"] {
    background-image: url('pictures/estudiob1.JPG');
}

/* Profile Card - Text on LEFT (person is on RIGHT in image) */
.about-card[data-category="profile"] .card-content {
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 100%;
}

/* Profile Card - Darker overlay (original) */
.about-card[data-category="profile"] .card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85));
}

.about-card[data-category="profile"]:hover .card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.75));
}

/* Profile Card - Paragraph spacing matching skills box */
.about-card[data-category="profile"] .card-text {
    margin-bottom: 0.5rem;
}

.about-card[data-category="profile"] .card-text:last-child {
    margin-bottom: 0;
}

/* Education Card - Paragraph spacing */
.about-card[data-category="education"] .card-text {
    margin-bottom: 1.5rem;
}

.about-card[data-category="education"] .card-text:last-child {
    margin-bottom: 0;
}

/* 2x2 Grid Cards - All use same background */
.about-card[data-category="education"],
.about-card[data-category="courses"],
.about-card[data-category="skills"],
.about-card[data-category="languages"] {
    background-image: url('pictures/bgb&g.jpg');
}

.about-card[data-category="activities"] {
    background-image: url('pictures/activities-bg.jpg');
}

/* See More Button Container - Positioned to overlap gradient */
.about-toggle-container {
    text-align: center;
    position: relative;
    margin-top: -80px;
    z-index: 10;
    transition: margin-top 0.6s ease;
}

/* When expanded, move button below content */
.about-toggle-container.expanded {
    margin-top: 3rem;
}

/* See More Button Styling - No Border */
.about-toggle-btn {
    background: transparent;
    border: none;
    color: #000000;
    padding: 14px 35px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.about-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.toggle-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Rotate arrow when expanded */
.about-toggle-btn.active .toggle-arrow {
    transform: rotate(180deg);
}

/* Portfolio Section */
.portfolio {
    background: #0a0a0a;
}

.portfolio .section-title {
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* Gold Playfair Display layer behind - smaller */
.portfolio .section-title::after {
    content: 'PORTFOLIO';
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: rgba(212, 175, 55, 0.6);
    font-size: 4rem;
    letter-spacing: 0.15em;
    z-index: 0;
}

.portfolio .section-line {
    background: #ffffff;
}

.portfolio-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.portfolio-btn {
    padding: 0;
    background: transparent;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.6;
}

.portfolio-btn::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.portfolio-btn:hover {
    opacity: 1;
}

.portfolio-btn:hover::after {
    width: 100%;
}

.portfolio-btn.active {
    opacity: 1;
}

.portfolio-btn.active::after {
    width: 100%;
}

.portfolio-section {
    display: none;
}

.portfolio-section.active {
    display: block;
}

/* Songs Subsection Navigation */
.songs-subsection-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.subsection-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    position: relative;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.subsection-btn::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.subsection-btn:hover,
.subsection-btn.active {
    opacity: 1;
}

.subsection-btn.active::after {
    width: 100%;
}

/* Subsection Content Areas */
.songs-subsection {
    display: none;
}

.songs-subsection.active {
    display: block;
}

/* Songs Grid - Roc Nation Style (for RELEASED) */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Song Card */
.song-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Cover Art */
.song-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Overlay */
.song-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

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

.song-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.song-artist {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 300;
}

/* Vinyl Placeholder for Unreleased Tracks */
.vinyl-placeholder {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
}

/* Unreleased Playlist Container - Compact Box */
.unreleased-playlist-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

/* Unreleased List - Scrollable Playlist Style */
#unreleased-list {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
}

/* Beats Playlist Container - Compact Scrollable Box (like unreleased) */
.beats-playlist-container {
    max-width: 800px;
    margin: 2rem auto 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

/* Beats List - Scrollable */
#beats-list {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
}

/* Custom Scrollbar - Gold, More Visible */
#unreleased-list::-webkit-scrollbar,
#beats-list::-webkit-scrollbar {
    width: 10px;
}

#unreleased-list::-webkit-scrollbar-track,
#beats-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#unreleased-list::-webkit-scrollbar-thumb,
#beats-list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.6);
    border-radius: 10px;
}

#unreleased-list::-webkit-scrollbar-thumb:hover,
#beats-list::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.9);
}

/* Firefox Scrollbar - Gold */
#unreleased-list,
#beats-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.6) rgba(255, 255, 255, 0.1);
}

/* Fade gradient at bottom - Scroll indicator */
.beats-playlist-container::after,
.unreleased-playlist-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.8) 30%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Disabled Play Button Style */
.play-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Music Section Styles */
.music-section {
    max-width: 1000px;
    margin: 0 auto;
}

.filter-tags {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-tags h3 {
    margin-bottom: 1rem;
    color: #cccccc;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tag-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-btn:hover,
.tag-btn.active {
    background: #4ecdc4;
    color: #0a0a0a;
    border-color: #4ecdc4;
}

.music-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.music-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.music-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.music-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1rem;
}

/* Crop the wave icon to show only white part (remove black bottom) */
.unreleased-wave-icon {
    object-fit: cover;
    object-position: center top;
}

.music-info {
    flex: 1;
}

.music-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* BPM and Key info for beats */
.beat-info {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 8px;
}

.music-artist {
    font-size: 0.85rem;
    color: #999;
    font-weight: 300;
    margin-top: 4px;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.music-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.music-tag {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

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

.control-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.play-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

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

.play-btn.playing {
    background: linear-gradient(135deg, #B8860B, #D4AF37);
}

.play-btn.disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.play-btn.disabled:hover {
    transform: none;
}

.spotify-link-btn {
    background: #1db954;
    color: white;
    padding: 8px;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.spotify-link-btn:hover {
    background: #1ed760;
    transform: translateY(-1px);
    color: white;
}


/* Widget Container and Loading States */
.widget-container {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #ccc;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ff5500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.error-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 69, 69, 0.1);
    border: 1px solid rgba(255, 69, 69, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
}

.error-widget i {
    color: #ff6b6b;
}

.playing-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.3);
    border-radius: 8px;
    color: #ff5500;
}

.progress-dots {
    display: flex;
    gap: 3px;
}

.progress-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5500;
    animation: pulse 1.5s ease-in-out infinite;
}

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

.progress-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Spotify Integration Styles */
.spotify-preview-warning {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(30, 215, 96, 0.1);
    border: 1px solid rgba(30, 215, 96, 0.3);
    border-radius: 12px;
    color: #1ed760;
}

.warning-icon {
    font-size: 2rem;
    color: #1ed760;
    display: flex;
    align-items: center;
}

.warning-content {
    flex: 1;
}

.warning-content h4 {
    margin: 0 0 8px 0;
    color: #1ed760;
    font-size: 1.1rem;
    font-weight: 600;
}

.warning-content p {
    margin: 0 0 15px 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.warning-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-preview {
    background: rgba(30, 215, 96, 0.2);
    border: 1px solid #1ed760;
    color: #1ed760;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-preview:hover {
    background: rgba(30, 215, 96, 0.3);
    transform: translateY(-1px);
}

.btn-spotify {
    background: #1ed760;
    color: #191414;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-spotify:hover {
    background: #1ed760;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 215, 96, 0.3);
}

.spotify-success {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(30, 215, 96, 0.15);
    border: 1px solid rgba(30, 215, 96, 0.4);
    border-radius: 12px;
    color: #1ed760;
}

.success-icon {
    font-size: 2rem;
    color: #1ed760;
    display: flex;
    align-items: center;
}

.success-content h4 {
    margin: 0 0 8px 0;
    color: #1ed760;
    font-size: 1.1rem;
    font-weight: 600;
}

.success-content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.spotify-fallback {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(30, 215, 96, 0.08);
    border: 1px solid rgba(30, 215, 96, 0.2);
    border-radius: 12px;
    color: #1ed760;
}

.fallback-icon {
    font-size: 2rem;
    color: #1ed760;
    display: flex;
    align-items: center;
}

.fallback-content {
    flex: 1;
}

.fallback-content h4 {
    margin: 0 0 8px 0;
    color: #1ed760;
    font-size: 1.1rem;
    font-weight: 600;
}

.fallback-content p {
    margin: 0 0 15px 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.btn-spotify-fallback {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1db954;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-spotify-fallback:hover {
    background: #1ed760;
    transform: translateY(-1px);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-description {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Photo Text Sections */
.photo-text-section {
    max-width: 1000px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.text-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #4ecdc4;
}

.text-content p {
    color: #cccccc;
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Social/Connect Section - Inverted: Soft White Background, Black Text */
.social {
    background: #f8f8f8;
    padding: 60px 0;
    position: relative;
}

.social .section-title {
    color: #0a0a0a;
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 2.5rem;
}

.social .section-line {
    display: none;
}

.social-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.social-description {
    display: none;
}

/* Social Links - Horizontal, Minimal */
.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.social-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #0a0a0a;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.social-link:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #0a0a0a;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.2rem;
    color: #0a0a0a;
}

.social-link span {
    font-weight: 400;
}

/* Email Section - Compact, Inline */
.email-section {
    margin-top: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.email-label {
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.email-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.email-display {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 450px;
}

.email-display:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

.email-display i {
    color: #0a0a0a;
    font-size: 1rem;
    opacity: 0.7;
}

.email-text {
    color: #0a0a0a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.email-text:hover {
    color: #4ecdc4;
}

.email-copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #0a0a0a;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.email-copy-btn:hover {
    background: #0a0a0a;
    color: #f8f8f8;
    border-color: #0a0a0a;
    transform: translateY(-2px);
}

.email-copy-btn:active {
    transform: translateY(0);
}

.email-copy-btn i {
    font-size: 0.9rem;
}

/* Live Sound Cards - Grid Style */
.live-sound-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.live-sound-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.live-card-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 60%; /* Reduced height for more compact cards */
    overflow: hidden;
}

.live-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.live-sound-card:hover .live-card-image {
    transform: scale(1.05);
}

.live-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.9) 60%, rgba(0, 0, 0, 0.7) 80%, transparent 100%);
    padding: 2rem 1.5rem;
    transform: translateY(0);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50%;
}

.live-card-info {
    margin-bottom: 1rem;
}

.live-card-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.live-card-meta {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.live-card-meta i {
    color: #4ecdc4;
    margin-right: 0.5rem;
    width: 16px;
}

.live-card-role {
    color: #4ecdc4;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.live-card-role i {
    margin-right: 0.5rem;
}

.live-card-read-more {
    background: #4ecdc4;
    color: #0a0a0a;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.live-card-read-more:hover {
    background: #45b8b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

/* Text-only Live Sound Cards (same height as image cards) */
.live-card-text-only {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(0, 0, 0, 0.8));
    border: 1px solid rgba(78, 205, 196, 0.3);
    min-height: 320px;
}

.live-card-text-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.live-card-text-only .live-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.live-card-text-only .live-card-meta,
.live-card-text-only .live-card-role {
    margin: 0.2rem 0;
}

.live-card-text-only .live-card-read-more {
    margin-top: 1rem;
    align-self: flex-start;
}

.live-card-text-only:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.5);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.2);
}

/* Live Sound Modal Styles */
.live-sound-modal-content {
    text-align: left;
}

.live-modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.live-modal-meta {
    background: rgba(78, 205, 196, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.live-modal-meta p {
    margin: 0.5rem 0;
    color: #ffffff;
}

.live-modal-meta i {
    color: #4ecdc4;
    margin-right: 0.5rem;
    width: 20px;
}

.live-modal-description {
    margin-top: 1.5rem;
    line-height: 1.8;
    color: #cccccc;
}

/* HTML5 Audio Player Styling */
audio {
    background-color: #1a1a1a;
}

audio::-webkit-media-controls-panel {
    background-color: #1a1a1a;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-pause-button {
    background-color: #4ecdc4;
    border-radius: 50%;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: #ffffff;
}

/* Live Sound Section Container */
.live-sound-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.live-sound-title {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

/* Override photo-gallery grid for live sound section */
#live-sound-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Spotify Modal */
.spotify-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.spotify-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: #000;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: scale(1.1);
    color: #ff6b6b;
}

.modal-player iframe {
    width: 100%;
    border-radius: 8px;
}

/* Footer */
.footer {
    background: #0a0a0a;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #666666;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

@media (max-width: 768px) {
    .songs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .song-title {
        font-size: 1rem;
    }
    
    .song-artist {
        font-size: 0.85rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 0.1em;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }

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

    .section-title {
        font-size: 2rem;
    }
    
    .portfolio .section-title {
        font-size: 3rem;
    }
    
    .portfolio .section-title::after {
        font-size: 2.5rem;
        top: 8px;
        left: 8px;
    }

    .portfolio-nav {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .portfolio-btn {
        font-size: 0.85rem;
    }
    
    .songs-subsection-nav {
        gap: 2rem;
    }
    
    .subsection-btn {
        font-size: 0.85rem;
    }
    
    #unreleased-list {
        max-height: 400px;
    }
    
    .unreleased-playlist-container {
        max-width: 100%;
        border-left: none;
        border-right: none;
    }
    
    .beats-playlist-container {
        max-width: 100%;
        border-left: none;
        border-right: none;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* About Cards Responsive */
    .about-masonry {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-height: 750px;
    }
    
    .about-masonry.expanded {
        max-height: 3500px;
    }
    
    .card-full,
    .card-grid {
        grid-column: 1;
        min-height: 400px;
    }
    
    .card-content {
        padding: 2rem;
        max-width: 100% !important;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-text {
        font-size: 0.95rem;
    }
    
    .about-toggle-btn {
        padding: 12px 28px;
        font-size: 0.85rem;
    }
    
    .about-toggle-container {
        margin-top: -70px;
    }
    
    .about-toggle-container.expanded {
        margin-top: 2rem;
    }
    
    /* Hero Social - Mobile */
    .hero-social {
        top: auto;
        bottom: 5rem;
        right: 1.5rem;
        transform: none;
        gap: 1.2rem;
    }
    
    .hero-social-link {
        font-size: 22px;
        width: 26px;
        height: 26px;
    }

    .social {
        padding: 40px 0;
    }
    
    .social .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .social-link {
        width: 200px;
        justify-content: center;
    }
    
    .email-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .email-display {
        width: 100%;
        max-width: 100%;
    }
    
    .email-copy-btn {
        width: 100%;
        justify-content: center;
    }

    .live-card-title {
        font-size: 1rem;
    }
    
    .live-card-meta {
        font-size: 0.85rem;
    }

    #live-sound-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .live-sound-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

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

    .tags-container {
        gap: 0.3rem;
    }

    .tag-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0.08em;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.12em;
    }
    
    .portfolio .section-title {
        font-size: 2.5rem;
    }
    
    .portfolio .section-title::after {
        font-size: 2rem;
        top: 6px;
        left: 6px;
    }

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

    .music-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .music-thumbnail {
        margin-right: 0;
        margin-bottom: 1rem;
    }

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

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

/* Info Button Styles */
.info-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.info-btn i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.info-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.info-btn:hover i {
    color: rgba(255, 255, 255, 0.9);
}

/* Info Modal Styles */
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.info-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
}

.info-modal-content {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.info-modal.active .info-modal-content {
    transform: scale(1);
}

.info-modal-body {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.8;
    font-family: 'Courier Prime', monospace;
    letter-spacing: 0.5px;
    min-height: 2em;
    position: relative;
}

/* Typewriter cursor */
.info-modal-body .cursor {
    display: inline-block;
    background-color: #e0e0e0;
    width: 8px;
    height: 1em;
    margin-left: 2px;
    animation: blink 0.7s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* Fade out cursor after typing is complete */
.info-modal-body .cursor.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.info-modal-content .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-modal-content .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Responsive adjustments for info button */
@media (max-width: 768px) {
    .info-btn {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }
    
    .info-btn i {
        font-size: 0.75rem;
    }
    
    .info-modal-content {
        padding: 25px;
        max-width: 90%;
    }
}

/* Mix & Master - 2-Column Horizontal Cards */
.mix-master-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.mix-master-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.mix-master-card .widget-container {
    display: none;
    width: 100%;
    order: 3;
}

.mix-master-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.card-image-container {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-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;
    cursor: pointer;
}

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

.overlay-play-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

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

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

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.card-artist {
    font-size: 0.85rem;
    color: #999;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.card-tags-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-tag {
    background: #ffffff;
    color: #000000;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: lowercase;
}

/* Academic tag - Red background, white text */
.card-tag.academic-tag {
    background: #dc3545;
    color: #ffffff;
}

.grid-info-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.grid-info-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 1024px) {
    .mix-master-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mix-master-grid {
        padding: 1rem;
    }
    
    .mix-master-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .card-image-container {
        width: 70px;
        height: 70px;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-artist {
        font-size: 0.8rem;
    }
}

/* Beats Section Messages */
.beats-intro-message {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.beats-intro-message p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.beats-copyright-notice {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid rgba(212, 175, 55, 0.6);
    border-radius: 4px;
}

.beats-copyright-notice p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.beats-copyright-notice i {
    color: rgba(212, 175, 55, 0.8);
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .beats-intro-message {
        padding: 0 1rem;
    }
    
    .beats-intro-message p {
        font-size: 1rem;
    }
    
    .beats-copyright-notice {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .beats-copyright-notice p {
        font-size: 0.85rem;
    }
}

/* ============================================
   OTHERS Section - Simple News List
   ============================================ */

.others-news-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.news-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Simple News Bar */
.news-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Small Thumbnail */
.news-card-image-section {
    flex-shrink: 0;
}

.news-card-main-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* Title and Date on Same Line */
.news-card-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    margin-left: 1rem;
}

/* White Document-Style Modal */
.news-modal-wrapper {
    background: #ffffff;
    max-width: 95%;
    width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 4rem 5rem;
    margin: 2rem auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.news-modal-content {
    color: #000000;
}

.news-modal-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: 'Times New Roman', serif;
}

.news-modal-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000000;
    font-family: Arial, sans-serif;
}

.news-modal-meta span {
    font-size: 0.9rem;
    color: #333333;
    font-weight: 400;
}

.news-modal-main-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    margin: 2rem 0;
    border: 1px solid #ddd;
}

/* Video player (GIF-like: autoplay, loop, muted, no controls) */
.news-modal-main-video {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    margin: 2rem 0;
    border: 1px solid #ddd;
    display: block;
}

.news-modal-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
    text-align: justify;
}

.news-modal-additional-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #cccccc;
}

.news-additional-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid #ddd;
}

/* Override modal styling ONLY when it contains news content */
.info-modal.active .info-modal-content:has(.news-modal-wrapper) {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 95%;
}

/* Update close button for visibility on white - target the HTML button */
.info-modal.active .modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #000000;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    z-index: 10001;
    transition: all 0.3s ease;
}

.info-modal.active .modal-close:hover {
    background: #333333;
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
    .others-news-container {
        padding: 1rem;
    }
    
    .news-card {
        padding: 0.8rem 1rem;
        gap: 1rem;
    }
    
    .news-card-main-image {
        width: 50px;
        height: 50px;
    }
    
    .news-card-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-card-title {
        white-space: normal;
        margin-bottom: 0.3rem;
    }
    
    .news-card-date {
        margin-left: 0;
        font-size: 0.8rem;
    }
    
    .news-modal-wrapper {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .news-modal-content h3 {
        font-size: 1.5rem;
    }
    
    .news-modal-description {
        font-size: 1rem;
        text-align: left;
    }
}
