* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #fafafa;
    --text-color: #1a1a1a;
    --text-muted: #666;
    --accent-color: #2a2a2a;
    --border-color: #e0e0e0;
    --hover-color: #f5f5f5;
    --waveform-color: #ccc;
    --waveform-progress: #333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Background image with dark overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/ocean1-filmgrain-optimized.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    /* Force GPU layer for smooth mobile scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: -1;
    /* Force GPU layer for smooth mobile scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Header */
header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 1px solid var(--border-color);
}

.site-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 2px;
}

.site-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    color: var(--text-muted);
    font-weight: 300;
}

.nowrap {
    white-space: nowrap;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

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

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Reel Video Section */
.reel-section {
    margin-bottom: 100px;
}

.reel-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.reel-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Audio Section */
.audio-section {
    margin-bottom: 100px;
}

/* Audio Player Wrapper */
/* 
 * DEV NOTE: To make the audio player narrower, add max-width and center it:
 * Example for 900px width:
 *   max-width: 900px;
 *   margin-left: auto;
 *   margin-right: auto;
 */
.audio-player-wrapper {
    margin-top: 0;
}

.audio-player {
    background: rgba(24, 24, 24, 0.6);
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: block;
    width: 100%;
    position: relative;
    color: #f0f0f0;
}

/* Player Theme Toggle Button */
.player-theme-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(240, 240, 240, 0.25);
    border-radius: 50%;
    background: transparent;
    color: #f0f0f0;
    cursor: pointer;
    display: none; /* Hidden but functionality remains */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.player-theme-toggle:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.player-theme-toggle svg {
    width: 18px;
    height: 18px;
}

.player-theme-toggle .sun-icon {
    display: block;
}

.player-theme-toggle .moon-icon {
    display: none;
}

/* Light theme for audio player */
.audio-player.light-theme {
    background: rgba(255, 255, 255, 0.75);
    color: #1a1a1a;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.audio-player.light-theme .player-theme-toggle {
    border: 1px solid rgba(102, 102, 102, 0.5);
    background: transparent;
    color: #1a1a1a;
}

.audio-player.light-theme .player-theme-toggle:hover {
    opacity: 0.7;
}

.audio-player.light-theme .player-theme-toggle .sun-icon {
    display: none;
}

.audio-player.light-theme .player-theme-toggle .moon-icon {
    display: block;
}

.audio-player.light-theme .now-playing {
    color: #666;
}

.audio-player.light-theme .track-title {
    color: #1a1a1a;
}

.audio-player.light-theme .play-btn {
    background: #1a1a1a;
    color: #fff;
}

.audio-player.light-theme .play-btn:hover {
    background: #000;
}

.audio-player.light-theme .waveform-bar {
    background-color: #999;
}

.audio-player.light-theme .waveform-bar.played {
    background-color: #333;
}

.audio-player.light-theme .time-display {
    color: #666;
}

.audio-player.light-theme .playlist {
    border-top: 1px solid #e0e0e0;
}

.audio-player.light-theme .playlist-item {
    border-bottom: 1px solid #e0e0e0;
    color: #1a1a1a;
    background-color: transparent;
}

.audio-player.light-theme .playlist-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.audio-player.light-theme .playlist-item.active {
    background-color: rgba(0, 0, 0, 0.1);
}

.audio-player.light-theme .playlist-duration {
    color: #666;
}

.player-top {
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-rows: auto 1fr;
    gap: 12px 30px;
    padding: 30px;
    align-items: start;
}

.album-art {
    width: 160px;
    height: 160px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    grid-row: 1 / 3;
    grid-column: 1;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-controls {
    grid-column: 2;
    grid-row: 2;
}

.track-info {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
}

.now-playing {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.track-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.waveform-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--text-color);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-bottom: 28px;
}

.play-btn:hover {
    background: #000;
    transform: scale(1.05);
}

.play-btn svg {
    width: 28px;
    height: 28px;
}

.play-btn .play-icon {
    margin-left: 1px;
}

.play-btn .pause-icon {
    margin-left: 0;
}

.hidden {
    display: none !important;
}

.waveform-wrapper {
    flex: 1;
    position: relative;
}

#waveform {
    width: 100%;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.waveform-bars {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 2px;
}

.waveform-bar {
    flex: 1;
    background-color: var(--waveform-color);
    border-radius: 1px;
    transition: background-color 0.1s ease;
    min-width: 2px;
}

.waveform-bar.played {
    background-color: var(--waveform-progress);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-variant-numeric: tabular-nums;
}

/* Playlist */
/* 
 * DEV NOTE: To adjust the playlist height, modify the max-height value below.
 * Example: max-height: 400px; for a taller playlist
 */
.playlist {
    border-top: 1px solid var(--border-color);
    max-height: 399px;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.playlist-item:hover {
    background-color: var(--hover-color);
}

.playlist-item.active {
    background-color: var(--hover-color);
}

.playlist-item.active .playlist-title {
    font-weight: 700;
}

.playlist-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.playlist-thumb {
    width: 36px;
    height: 36px;
    border-radius: 2px;
    object-fit: cover;
}

.playlist-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.playlist-title {
    font-size: 0.95rem;
}

.playlist-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.playlist-duration {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    flex-shrink: 0;
}

.section-line {
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

/* About Section */
/* 
 * DEV NOTE: To adjust the transparency of the About section background,
 * modify the alpha value (last number) in the rgba() color on the background property.
 * Values range from 0 (fully transparent) to 1 (fully opaque).
 * Example: rgba(0, 0, 0, 0.4) = 40% opacity, rgba(0, 0, 0, 0.6) = 60% opacity
 */
.about-section {
    margin-bottom: 100px;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px max(20px, calc((100vw - 1200px) / 2 + 20px));
    border-radius: 4px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    box-sizing: border-box;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-image {
    flex-shrink: 0;
    width: 280px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(100%);
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Work Section */
.work-section {
    margin-bottom: 100px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

@media (max-width: 600px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
    
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 5;
    pointer-events: none;
}

.work-item img,
.work-item picture {
    width: 100%;
    height: 100%;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.work-item .video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: transparent;
}

.work-item .video-preview iframe,
.work-item .video-preview video {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    object-fit: cover;
}

.work-item .video-preview.loaded {
    opacity: 1;
}

.work-item:hover img.preview-loaded {
    opacity: 0;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(10px);
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

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

.work-overlay h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.work-overlay p {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Mobile Work Section Overrides */
@media (max-width: 600px) {
    /* Show overlay by default on mobile */
    .work-overlay {
        transform: translateY(0);
        opacity: 1;
    }
    
    /* No hover effects on mobile */
    .work-item:hover .work-overlay {
        transform: translateY(0);
        opacity: 1;
    }
    
    .work-item:hover img {
        transform: none;
    }
    
    /* Hide video previews on mobile */
    .work-item .video-preview {
        display: none !important;
    }
}

/* Quotes Section */
.quotes-section {
    margin-bottom: 100px;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.quote-item {
    background: rgba(26, 26, 26, 0.7);
    border-radius: 4px;
    padding: 30px;
    border-left: 3px solid var(--text-muted);
}

.quote-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    font-weight: 300;
}

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

@media (max-width: 600px) {
    .quotes-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
/* 
 * DEV NOTE: To adjust the transparency of the Contact section background,
 * modify the alpha value (last number) in the rgba() color on the background property.
 * Values range from 0 (fully transparent) to 1 (fully opaque).
 * Example: rgba(0, 0, 0, 0.4) = 40% opacity, rgba(0, 0, 0, 0.6) = 60% opacity
 */
.contact-section {
    margin-bottom: 60px;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px max(20px, calc((100vw - 1200px) / 2 + 20px));
    border-radius: 4px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    box-sizing: border-box;
}

.contact-section > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-header {
    margin-bottom: 50px;
}

.contact-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 15px;
}

.contact-underline {
    width: 80px;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 25px;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-color);
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #fff;
}

.form-group textarea {
    border: 1px solid #fff;
    padding: 15px;
    resize: vertical;
    min-height: 150px;
}

.form-group textarea:focus {
    border-color: #fff;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 18px 35px;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.submit-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--text-color);
    transform: translateY(-3px);
}

.social-icons svg {
    width: 22px;
    height: 22px;
}

.social-icons .social-icon-img {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.social-icons a:hover .social-icon-img {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        gap: 25px;
    }
    
    .main-nav a {
        font-size: 0.8rem;
    }
    
    /*
     * ===========================================
     * MOBILE AUDIO PLAYER LAYOUTS
     * ===========================================
     * Layout 2 (Default): Stacked - image/info on top, waveform centered below
     * Layout 1: Horizontal - image on left, controls on right
     * 
     * To switch layouts, add/remove class "layout-horizontal" on .audio-player
     * Default (no class) = Layout 2 (stacked)
     * .layout-horizontal = Layout 1 (horizontal)
     * ===========================================
     */
    
    /* ===== LAYOUT 2 (DEFAULT): Stacked Layout ===== */
    /* Top row: Image left + track info right | Bottom row: Full-width centered waveform + play */
    .player-top {
        display: grid;
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
        gap: 8px 12px;
        padding: 15px;
        align-items: center;
    }
    
    .album-art {
        width: 70px;
        height: 70px;
        grid-row: 1;
        grid-column: 1;
    }
    
    .track-info {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
    }
    
    .track-title {
        font-size: 1.4rem;
    }
    
    .now-playing {
        font-size: 0.65rem;
    }
    
    .player-controls {
        grid-column: 1 / 3;
        grid-row: 2;
        margin-top: 5px;
    }
    
    .waveform-container {
        justify-content: center;
        gap: 12px;
        padding: 0 10px;
    }
    
    .waveform-wrapper {
        flex: 1;
        max-width: 250px;
        height: 40px;
    }
    
    .play-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        margin-bottom: 0;
    }
    
    .play-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .time-display {
        display: none !important;
        margin: 0;
        height: 0;
    }
    
    #waveform,
    .waveform-bars {
        height: 40px;
    }
    
    /* ===== LAYOUT 1: Horizontal Layout ===== */
    /* Image on left, track info on top-right, waveform/play on bottom-right */
    .audio-player.layout-horizontal .player-top {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        gap: 8px 12px;
    }
    
    .audio-player.layout-horizontal .album-art {
        width: 80px;
        height: 80px;
        grid-row: 1 / 3;
        grid-column: 1;
    }
    
    .audio-player.layout-horizontal .track-info {
        grid-column: 2;
        grid-row: 1;
    }
    
    .audio-player.layout-horizontal .track-title {
        font-size: 1.1rem;
    }
    
    .audio-player.layout-horizontal .player-controls {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
    }
    
    .audio-player.layout-horizontal .waveform-container {
        justify-content: flex-start;
        gap: 8px;
        padding: 0;
    }
    
    .audio-player.layout-horizontal .waveform-wrapper {
        flex: 1;
        max-width: none;
        height: 36px;
    }
    
    .audio-player.layout-horizontal .play-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .audio-player.layout-horizontal .play-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .audio-player.layout-horizontal #waveform,
    .audio-player.layout-horizontal .waveform-bars {
        height: 36px;
    }
    
    .playlist-item {
        padding: 12px 20px;
    }
    
    .playlist-title {
        font-size: 0.85rem;
    }
}

/* Loading State */
.waveform-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}


/* Video Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.modal-close:hover {
    transform: scale(1.1);
    opacity: 1;
}

.modal-close svg {
    width: 28px;
    height: 28px;
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: white;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .modal-close {
        top: -45px;
        right: 0;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-color: #0f0f0f;
    --text-color: #f0f0f0;
    --text-muted: #999;
    --accent-color: #e0e0e0;
    --border-color: #2a2a2a;
    --hover-color: #1a1a1a;
    --waveform-color: #444;
    --waveform-progress: #ccc;
}

[data-theme="dark"] .play-btn {
    background: var(--text-color);
    color: var(--bg-color);
}

[data-theme="dark"] .play-btn:hover {
    background: #fff;
}

