/* ==========================================
   OUT OF OFFICE 001 - MINIMAL EARTH TONES
   ========================================== */

.album-page {
    background: #1a1d1a;
    color: #d4d9d4;
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}

/* ==========================================
   DEEP SPACE CANVAS BACKGROUND
   ========================================== */
#deep-space-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

/* ==========================================
   NAVBAR - EARTH TONES
   ========================================== */
.navbar-album {
    background-color: rgba(26, 29, 26, 0.95) !important;
    border-bottom: 1px solid rgba(157, 184, 157, 0.2) !important;
}

.navbar-album .logo {
    color: #d4d9d4 !important;
    text-shadow: none;
}

.navbar-album .nav-link {
    color: #7a8f7a !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
}

.navbar-album .nav-link:hover {
    color: #9db89d !important;
    text-shadow: none;
}

/* ==========================================
   MISSION HEADER
   ========================================== */
.mission-header {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 120px 40px 40px;
    font-family: 'Fredoka', sans-serif;
}

.mission-code {
    font-family: 'Bungee', sans-serif;
    font-size: 16px;
    letter-spacing: 4px;
    color: #e8dcc8;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(232, 220, 200, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

.mission-status {
    font-size: 10px;
    letter-spacing: 4px;
    color: #d4a574;
    opacity: 0.8;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* ==========================================
   ALBUM HERO SECTION
   ========================================== */
.album-hero {
    position: relative;
    z-index: 10;
    padding: 140px 40px 120px;
}

.album-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* ==========================================
   HOLOGRAPHIC ALBUM COVER - B&W
   ========================================== */
.album-cover-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
    position: relative;
    z-index: 2;
    box-shadow: none;
    border: 1px solid rgba(232, 220, 200, 0.2);
}

/* Hologram scanline effect */
.hologram-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(232, 220, 200, 0.03) 0px,
        rgba(232, 220, 200, 0.03) 2px,
        transparent 2px,
        transparent 4px
    );
    pointer-events: none;
    z-index: 3;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Glowing border effect - Sepia */
.cover-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(232, 220, 200, 0.2) 25%, 
        transparent 50%, 
        rgba(232, 220, 200, 0.2) 75%, 
        transparent 100%
    );
    background-size: 400% 400%;
    animation: glow-rotate 8s ease-in-out infinite;
    border-radius: 4px;
    z-index: 1;
}

@keyframes glow-rotate {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ==========================================
   ALBUM INFO
   ========================================== */
.album-info {
    font-family: 'Space Grotesk', sans-serif;
}

.album-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(157, 184, 157, 0.1);
    border: 1px solid rgba(157, 184, 157, 0.3);
    border-radius: 20px;
    margin-bottom: 24px;
    font-size: 11px;
    letter-spacing: 2px;
    color: #9db89d;
}

.badge-dot {
    font-size: 16px;
}

.album-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #d4d9d4;
    margin-bottom: 16px;
    text-shadow: none;
    line-height: 1.2;
}

.album-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    letter-spacing: 0.15em;
    color: #9db89d;
    margin-bottom: 32px;
    text-shadow: none;
    font-weight: 700;
}

.album-description {
    font-size: 16px;
    line-height: 1.8;
    color: #7a8f7a;
    margin-bottom: 40px;
    max-width: 500px;
}

/* ==========================================
   RELEASE INFO GRID
   ========================================== */
.release-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    padding: 24px;
    background: rgba(157, 184, 157, 0.05);
    border: 1px solid rgba(157, 184, 157, 0.2);
    border-radius: 4px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #7a8f7a;
    opacity: 0.8;
}

.info-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: #9db89d;
    font-weight: 600;
}

/* ==========================================
   ACTION BUTTONS
   ========================================== */
.album-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-action {
    background: transparent;
    border: 2px solid #9db89d;
    color: #9db89d;
}

.primary-action:hover {
    background: #9db89d;
    color: #1a1d1a;
    box-shadow: none;
}

.secondary-action {
    background: transparent;
    border: 2px solid rgba(157, 184, 157, 0.3);
    color: #d4d9d4;
}

.secondary-action:hover {
    background: rgba(157, 184, 157, 0.1);
    border-color: #9db89d;
    box-shadow: none;
}

.button-icon {
    font-size: 14px;
}

/* ==========================================
   VIDEO SECTION
   ========================================== */
.video-section {
    position: relative;
    z-index: 10;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.video-frame {
    position: relative;
    background: rgba(157, 184, 157, 0.03);
    border: 2px solid rgba(157, 184, 157, 0.2);
    border-radius: 8px;
    padding: 24px;
    overflow: visible;
    z-index: 10;
}

.video-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(157, 184, 157, 0.05) 25%, 
        transparent 50%, 
        rgba(157, 184, 157, 0.05) 75%, 
        transparent 100%
    );
    background-size: 400% 400%;
    animation: glow-rotate 8s ease-in-out infinite;
    border-radius: 8px;
    z-index: -1;
}

.music-video {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 1;
    z-index: 10;
    position: relative;
}

.video-info {
    margin-top: 24px;
    text-align: center;
    padding: 20px;
    background: rgba(26, 29, 26, 0.5);
    border-radius: 4px;
    border: 1px solid rgba(157, 184, 157, 0.2);
}

.video-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    letter-spacing: 0.1em;
    color: #9db89d;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: none;
}

.video-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    color: #7a8f7a;
    text-transform: uppercase;
    font-weight: 600;
}

/* ==========================================
   TRACKLIST SECTION
   ========================================== */
.tracklist-section {
    position: relative;
    z-index: 10;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9db89d;
    margin-bottom: 16px;
    text-shadow: none;
    text-transform: uppercase;
}

.section-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #9db89d 50%, 
        transparent 100%
    );
    margin: 0 auto;
}

.tracklist-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* ==========================================
   VINYL SIDES & TRACKS
   ========================================== */
.vinyl-side {
    background: rgba(232, 220, 200, 0.03);
    border: 1px solid rgba(232, 220, 200, 0.2);
    border-radius: 8px;
    padding: 32px;
}

.side-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(232, 220, 200, 0.2);
}

.side-label {
    font-family: 'Baloo 2', sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: #e8dcc8;
    font-weight: 700;
}

.side-duration {
    font-family: 'Fredoka', sans-serif;
    font-size: 14px;
    color: #d4a574;
    font-weight: 600;
}

.track-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: rgba(26, 21, 16, 0.3);
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.track-item:hover {
    background: rgba(232, 220, 200, 0.05);
    border-color: rgba(232, 220, 200, 0.3);
    transform: translateX(8px);
}

.track-number {
    font-family: 'Baloo 2', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: #d4a574;
    width: 40px;
    font-weight: 700;
}

.track-name {
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #e8dcc8;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.track-duration {
    font-family: 'Fredoka', sans-serif;
    font-size: 14px;
    color: #d4a574;
    font-weight: 600;
}

.track-visualizer {
    grid-column: 2 / 4;
    height: 2px;
    background: rgba(232, 220, 200, 0.1);
    margin-top: 8px;
    overflow: hidden;
}

.waveform {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #e8dcc8, #d4a574);
    transition: width 0.3s ease;
}

.track-item:hover .waveform {
    width: 100%;
}

/* ==========================================
   CREDITS SECTION
   ========================================== */
.credits-section {
    position: relative;
    z-index: 10;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.credit-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: rgba(157, 184, 157, 0.05);
    border: 1px solid rgba(157, 184, 157, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.credit-item:hover {
    background: rgba(157, 184, 157, 0.08);
    border-color: rgba(157, 184, 157, 0.4);
}

.credit-role {
    font-size: 10px;
    letter-spacing: 2px;
    color: #7a8f7a;
    opacity: 0.8;
}

.credit-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #9db89d;
    font-weight: 600;
}

/* ==========================================
   FOOTER
   ========================================== */
.album-footer {
    position: relative;
    z-index: 10;
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid rgba(232, 220, 200, 0.2);
}

.footer-text {
    font-size: 11px;
    letter-spacing: 2px;
    color: #d4a574;
    margin-bottom: 8px;
}

.footer-mission {
    font-family: 'Baloo 2', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    color: #e8dcc8;
    opacity: 0.6;
    font-weight: 600;
}

.footer-dev {
    font-family: 'Fredoka', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: #d4a574;
    margin-top: 16px;
    opacity: 0.8;
}

.footer-dev a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-dev a:hover {
    color: #e8dcc8;
}

/* ==========================================
   RESPONSIVE - MOBILE OPTIMIZATIONS
   ========================================== */

/* Tablet Breakpoint */
@media (max-width: 968px) {
    .album-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .tracklist-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .release-info {
        grid-template-columns: 1fr;
    }

    .album-actions {
        flex-direction: column;
    }

    .action-button {
        width: 100%;
        justify-content: center;
    }

    .video-section {
        padding: 60px 20px;
    }

    .video-frame {
        padding: 16px;
    }

    .music-video {
        max-width: 100%;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    /* Reduce canvas opacity for better mobile performance */
    #deep-space-canvas {
        opacity: 0.2;
    }

    /* Mission Header Mobile */
    .mission-header {
        padding: 100px 24px 32px;
    }

    .mission-code {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .mission-status {
        font-size: 9px;
        letter-spacing: 3px;
    }

    /* Album Hero Mobile */
    .album-hero {
        padding: 60px 24px 80px;
    }

    .album-container {
        gap: 48px;
    }

    /* Album Cover Mobile */
    .album-cover-container {
        max-width: 100%;
    }

    /* Album Info Mobile */
    .album-badge {
        font-size: 10px;
        padding: 6px 14px;
    }

    .badge-dot {
        font-size: 14px;
    }

    .album-title {
        font-size: clamp(36px, 10vw, 56px);
        margin-bottom: 12px;
    }

    .album-number {
        font-size: clamp(20px, 5vw, 28px);
        margin-bottom: 24px;
    }

    .album-description {
        font-size: 15px;
        margin-bottom: 32px;
        line-height: 1.7;
    }

    /* Release Info Mobile */
    .release-info {
        padding: 20px;
        gap: 20px;
        margin-bottom: 40px;
    }

    .info-label {
        font-size: 9px;
    }

    .info-value {
        font-size: 13px;
    }

    /* Action Buttons Mobile */
    .action-button {
        padding: 16px 32px;
        font-size: 11px;
        min-height: 48px;
    }

    /* Video Section Mobile */
    .video-section {
        padding: 60px 24px;
    }

    .video-frame {
        padding: 12px;
    }

    .video-info {
        padding: 16px;
        margin-top: 16px;
    }

    .video-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .video-description {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    /* Tracklist Mobile */
    .tracklist-section {
        padding: 60px 24px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .section-line {
        width: 80px;
    }

    .tracklist-container {
        gap: 32px;
    }

    .vinyl-side {
        padding: 24px;
    }

    .side-header {
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .side-label {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .side-duration {
        font-size: 13px;
    }

    .track-item {
        padding: 14px;
        margin-bottom: 10px;
    }

    .track-number {
        font-size: 11px;
        width: 35px;
    }

    .track-name {
        font-size: 15px;
    }

    .track-duration {
        font-size: 13px;
    }

    /* Credits Mobile */
    .credits-section {
        padding: 60px 24px;
    }

    .credits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .credit-item {
        padding: 20px;
    }

    .credit-role {
        font-size: 9px;
    }

    .credit-name {
        font-size: 15px;
    }

    /* Footer Mobile */
    .album-footer {
        padding: 48px 24px;
    }

    .footer-text {
        font-size: 10px;
    }

    .footer-mission {
        font-size: 9px;
    }

    .footer-dev {
        font-size: 10px;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    .album-title {
        font-size: 32px;
    }

    .album-number {
        font-size: 18px;
    }

    .album-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

    .track-name {
        font-size: 14px;
    }

    .track-item {
        gap: 12px;
    }

    .action-button {
        padding: 14px 24px;
        font-size: 10px;
    }
}

/* Touch-Friendly Enhancements */
@media (max-width: 768px) {
    /* Ensure all interactive elements are touch-friendly */
    .track-item {
        min-height: 48px;
    }

    .action-button {
        min-height: 48px;
        min-width: 48px;
    }

    /* Improve touch feedback */
    .track-item:active {
        transform: translateX(4px);
        background: rgba(232, 220, 200, 0.08);
    }

    .action-button:active {
        transform: scale(0.95);
    }

    /* Prevent text selection on touch */
    .mission-code,
    .album-title,
    .album-number,
    .track-item {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /* Optimize animations for mobile */
    @keyframes scanline {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(100%);
        }
    }

    /* Reduce glow animations on mobile for performance */
    .cover-glow,
    .video-glow {
        animation-duration: 10s;
    }

    /* Improve scroll performance */
    * {
        -webkit-overflow-scrolling: touch;
    }
}
