:root {
    --primary-color: #ff0000;
    --secondary-color: #cccccc;
    --accent-color: #888888;
    --bg-color: #000000;
    --text-color: #ffffff;
    --vhs-glow: 0 0 10px rgba(255, 0, 0, 0.5);
}

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

body {
    font-family: 'Courier New', monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.65rem 0;
    border-bottom: 2px solid var(--primary-color);
}

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

.logo img {
    height: 105px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.4));
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: var(--vhs-glow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    min-height: 44px;
    min-width: 44px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../images/hero-banner.png') center/cover no-repeat;
    margin-top: 126px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 2rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero h1 {
    font-size: 5rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 40px rgba(255, 0, 0, 0.2);
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: normal;
    letter-spacing: 0.05em;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    text-align: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: transparent;
    box-shadow: var(--vhs-glow);
}

/* Streaming Links */
.streaming-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    align-items: center;
}

.streaming-links a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.streaming-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* Scanlines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 999;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-image {
    position: relative;
    border: 3px solid var(--primary-color);
    box-shadow: var(--vhs-glow);
}

.about-image img {
    width: 100%;
    display: block;
    filter: contrast(1.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--secondary-color);
    z-index: -1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: var(--vhs-glow);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border: 2px solid var(--primary-color);
    background: rgba(255, 0, 0, 0.1);
}

.stat-item .number {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Merch Section */
.merch {
    padding: 5rem 2rem;
    background: rgba(255, 0, 0, 0.05);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-shadow: var(--vhs-glow);
}

.merch-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.merch-item {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--primary-color);
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.merch-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.merch-item:hover::before {
    left: 100%;
}

.merch-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.merch-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.merch-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.merch-item .price {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.buy-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    min-height: 44px;
}

.buy-button:hover {
    background: transparent;
    box-shadow: var(--vhs-glow);
}

/* Music Section */
.music {
    padding: 5rem 2rem;
}

.music-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.album-item {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--secondary-color);
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.album-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.album-cover-container {
    position: relative;
    width: 100%;
    cursor: pointer;
    margin-bottom: 1rem;
}

.album-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid var(--secondary-color);
}

.album-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 1rem;
}

.album-player-overlay.active {
    display: flex;
}

.album-player-overlay iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.close-player {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    z-index: 11;
    transition: all 0.3s ease;
}

.close-player:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.play-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    pointer-events: none;
    transition: all 0.3s ease;
}

.album-cover-container:hover .play-overlay-icon {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.album-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.listen-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--secondary-color);
    color: var(--bg-color);
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    font-weight: bold;
    min-height: 44px;
}

.listen-button:hover {
    background: transparent;
    color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Beats Section */
.beats {
    padding: 5rem 2rem;
    background: rgba(255, 0, 0, 0.05);
}

.beats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.beat-item {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--secondary-color);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.beat-cover-container {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.beat-cover {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

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

.beat-player-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.beat-play-button {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.6);
    border: 3px solid #ffffff;
    z-index: 10;
}

.beat-play-button:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.9);
    background-color: #cc0000;
}

.beat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.beat-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.beat-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.beat-player {
    margin: 1rem 0;
}

.beat-player iframe {
    width: 100%;
    height: 120px;
    border: none;
}

.purchase-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--secondary-color);
    color: var(--bg-color);
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    font-weight: bold;
    min-height: 44px;
}

.purchase-button:hover {
    background: transparent;
    color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: rgba(255, 0, 0, 0.05);
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    font-family: 'Courier New', monospace;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: var(--vhs-glow);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.submit-button:hover {
    background: transparent;
    box-shadow: var(--vhs-glow);
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 3rem 2rem;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: var(--vhs-glow);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-color);
    color: var(--secondary-color);
}

/* Animations */
@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 2px solid var(--primary-color);
        align-items: stretch;
        gap: 1rem;
    }

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

    .mobile-menu-toggle {
        display: block;
    }

    .logo img {
        height: 39px;
    }

    nav {
        padding: 0.5rem 0;
    }

    .hero {
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
    }

    .streaming-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .streaming-links a {
        width: 100%;
        max-width: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
    }

    .merch-grid,
    .music-grid,
    .beats-grid {
        grid-template-columns: 1fr;
    }

    .beat-item {
        padding: 1rem;
    }

    .nav-links a {
        padding: 0.75rem;
        text-align: center;
        border: 1px solid var(--primary-color);
        background: rgba(255, 0, 0, 0.05);
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .merch-item img,
    .album-item img {
        height: 250px;
        object-fit: cover;
    }

    .album-player-overlay iframe {
        min-height: 300px;
    }

    .play-overlay-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 150px;
    }

    .beat-item h3 {
        font-size: 1.2rem;
    }

    .beat-info {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    .about {
        padding: 3rem 1rem;
    }

    .merch,
    .music,
    .beats {
        padding: 3rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

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

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

@media (max-width: 640px) {
    .beats-grid,
    .merch-grid,
    .music-grid {
        grid-template-columns: 1fr;
    }

    .beat-player-overlay iframe {
        pointer-events: auto;
    }

    .hero-content {
        padding: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .cta-buttons {
        width: 100%;
        padding: 0 1rem;
    }

    .streaming-links {
        width: 100%;
        padding: 0 1rem;
        align-items: stretch;
    }

    .streaming-links a {
        width: 100%;
    }
}


/* === LAZY LOADING STYLES === */
.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: rgba(0, 0, 0, 0.7);
    color: #ff0000;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.lazy-load-player.loaded .loading-placeholder {
    display: none;
}

/* ==========================================
   NEW MUSIC PAGE STYLES - PLAYER BAR LAYOUT
   ========================================== */

/* Music Page Layout */
.music-page {
    margin-top: 126px;
    padding: 3rem 0;
    min-height: 100vh;
}

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

.music-page h1 {
    text-align: center;
    font-size: 4rem;
    color: var(--primary-color);
    text-shadow: var(--vhs-glow);
    margin-bottom: 3rem;
    letter-spacing: 4px;
}

.music-section {
    margin-bottom: 4rem;
}

.music-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}

/* Music Grid */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Music Item */
.music-item {
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.music-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transform: translateY(-5px);
}

/* Album Cover Section */
.album-cover {
    position: relative;
    overflow: visible;
    background: #000;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.music-item:hover .album-cover img {
    transform: scale(1.02);
}

/* Album Info Overlay */
.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 1.5rem 1rem 1rem;
    transition: all 0.3s ease;
}

.album-info h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.album-year {
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Player Bar - Below Album Cover */
.player-bar {
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    border-top: 2px solid var(--primary-color);
}

.player-bar iframe {
    display: block;
    width: 100%;
    border: none;
    margin-bottom: 0.8rem;
}

/* Bandcamp Store Button */
.bandcamp-store-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    min-height: 44px;
}

.bandcamp-store-button:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Mobile Responsive - Music Page */
@media (max-width: 1024px) {
    .music-page h1 {
        font-size: 3rem;
    }
    
    .music-section h2 {
        font-size: 2rem;
    }
    
    .music-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .music-page {
        margin-top: 60px;
    }
    
    .music-page h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .music-section h2 {
        font-size: 1.8rem;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .album-cover {
        min-height: 280px;
    }
    
    .album-cover img {
        max-height: 320px;
    }
}

@media (max-width: 480px) {
    .music-page h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .music-section h2 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .album-cover {
        min-height: 240px;
    }
    
    .album-cover img {
        max-height: 280px;
    }
    
    .album-info h3 {
        font-size: 1.1rem;
    }
    
    .player-bar {
        padding: 0.8rem;
    }
}

/* ==========================================
   MOBILE FIXES v6.3 - CRITICAL ANDROID FIXES
   ========================================== */

/* Fix mobile navigation - ensure it works on older Android */
@media (max-width: 768px) {
    /* Navigation fixes */
    .nav-links {
        position: fixed !important;
        left: -100% !important;
        top: 60px !important;
        flex-direction: column !important;
        background: rgba(10, 10, 10, 0.98) !important;
        width: 100% !important;
        padding: 2rem !important;
        transition: left 0.3s ease !important;
        border-top: 2px solid var(--primary-color) !important;
        z-index: 999 !important;
        height: calc(100vh - 60px) !important;
        overflow-y: auto !important;
    }
    
    .nav-links.active {
        left: 0 !important;
    }
    
    .nav-links li {
        list-style: none !important;
        width: 100% !important;
    }
    
    .nav-links a {
        display: block !important;
        padding: 1rem !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(255, 0, 0, 0.2) !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        position: relative !important;
        z-index: 1000 !important;
        background: transparent !important;
        border: 2px solid var(--primary-color) !important;
        color: var(--primary-color) !important;
        font-size: 1.5rem !important;
        cursor: pointer !important;
        padding: 0.5rem 1rem !important;
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Album cover fixes - prevent clipping on mobile */
    .album-cover {
        overflow: visible !important;
        background: #000 !important;
        min-height: 280px !important;
        max-height: 320px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .album-cover img {
        width: 100% !important;
        height: auto !important;
        max-height: 320px !important;
        object-fit: contain !important;
        display: block !important;
    }
    
    /* Purchase button fixes - make it visible and styled */
    .bandcamp-store-button {
        display: block !important;
        width: 100% !important;
        padding: 1rem !important;
        background: var(--primary-color) !important;
        color: var(--text-color) !important;
        text-decoration: none !important;
        text-align: center !important;
        text-transform: uppercase !important;
        font-weight: bold !important;
        letter-spacing: 1px !important;
        border: 2px solid var(--primary-color) !important;
        transition: all 0.3s ease !important;
        min-height: 48px !important;
        font-size: 0.9rem !important;
        box-sizing: border-box !important;
    }
    
    .bandcamp-store-button:hover,
    .bandcamp-store-button:active {
        background: transparent !important;
        color: var(--primary-color) !important;
    }
    
    /* Player bar mobile optimization */
    .player-bar {
        background: rgba(0, 0, 0, 0.95) !important;
        padding: 1rem !important;
        border-top: 2px solid var(--primary-color) !important;
    }
    
    .player-bar iframe {
        display: block !important;
        width: 100% !important;
        border: none !important;
        margin-bottom: 1rem !important;
        min-height: 120px !important;
    }
    
    /* Music grid mobile */
    .music-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .music-item {
        background: rgba(10, 10, 10, 0.9) !important;
        border: 2px solid var(--secondary-color) !important;
        margin-bottom: 2rem !important;
    }
    
    /* Reduce logo size on mobile */
    .logo img {
        height: 39px !important;
    }
    
    nav {
        padding: 0.5rem 0 !important;
    }
    
    /* Hero section mobile */
    .hero {
        margin-top: 60px !important;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .music-page {
        margin-top: 60px !important;
    }
    
    .music-page h1 {
        font-size: 2rem !important;
        letter-spacing: 2px !important;
    }
    
    /* Ensure text is readable */
    body {
        font-size: 16px !important;
        -webkit-text-size-adjust: 100% !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .album-cover {
        min-height: 240px !important;
        max-height: 280px !important;
    }
    
    .album-cover img {
        max-height: 280px !important;
    }
    
    .bandcamp-store-button {
        padding: 0.8rem !important;
        font-size: 0.85rem !important;
    }
    
    .music-page h1 {
        font-size: 1.8rem !important;
    }
    
    .music-section h2 {
        font-size: 1.5rem !important;
    }
}

/* App Download Banner */
.app-download-banner {
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.app-download-button {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.9) 0%, rgba(139, 0, 0, 0.9) 100%);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.2rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.app-download-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.app-download-button:hover::before {
    left: 100%;
}

.app-download-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8), inset 0 0 30px rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.app-button-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.app-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.app-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 400px;
}

.app-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    line-height: 1.2;
}

.app-subtitle {
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    opacity: 0.95;
    line-height: 1.3;
}

.app-cta {
    font-size: 0.85rem;
    color: #ffff00;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.6);
    margin-top: 0.2rem;
}

.android-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Responsive styles for app button */
@media (max-width: 768px) {
    .app-download-banner {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .app-download-button {
        padding: 0.8rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        display: block;
        border-radius: 10px;
    }
    
    .app-button-content {
        gap: 0.5rem;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
    }
    
    .app-logo {
        height: 45px;
        width: auto;
        flex-shrink: 0;
    }
    
    .app-text {
        text-align: left;
        flex: 1;
        min-width: 0;
    }
    
    .app-title {
        font-size: 0.95rem;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .app-subtitle {
        font-size: 0.7rem;
        display: block;
        line-height: 1.2;
    }
    
    .app-cta {
        font-size: 0.65rem;
        display: block;
        line-height: 1.2;
    }
    
    .android-logo {
        height: 35px;
        width: auto;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .app-download-banner {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .app-download-button {
        padding: 0.6rem;
        border-radius: 8px;
    }
    
    .app-button-content {
        gap: 0.4rem;
    }
    
    .app-logo {
        height: 38px;
    }
    
    .app-title {
        font-size: 0.85rem;
    }
    
    .app-subtitle {
        font-size: 0.65rem;
    }
    
    .app-cta {
        font-size: 0.6rem;
    }
    
    .android-logo {
        height: 30px;
    }
}

/* Disable heavy animations on mobile for performance */
@media (max-width: 768px) {
    * {
        animation-duration: 0.01s !important;
        transition-duration: 0.2s !important;
    }
    
    .scanlines {
        display: none !important;
    }
}
