:root {
    --bg-color: #fafafa;
    --text-color: #111111;
    --text-muted: #888888;
    --border-color: #e0e0e0;
    --nav-bg: rgba(250, 250, 250, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: transparent;
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    /* Let clicks pass through to the content above */
    background-color: var(--bg-color);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
}

.nav-scrolled {
    padding: 1.5rem 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: lowercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 24px;
    height: 1px;
    background-color: var(--text-color);
    margin: 6px 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.band-name {
    font-size: 8rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-btn {
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.primary {
    background: var(--text-color);
    color: var(--bg-color);
    border: 1px solid var(--text-color);
}

.primary:hover {
    background: transparent;
    color: var(--text-color);
}

.secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.secondary:hover {
    border-color: var(--text-color);
}

/* Content Sections */
.section {
    padding: 8rem 5%;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.divider {
    height: 1px;
    width: 100%;
    background-color: var(--border-color);
}

/* Music Section (iPod Style) */
.music-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
}

.ipod-body {
    width: 320px;
    height: 520px;
    background: #e2e2e2;
    border-radius: 30px;
    box-shadow:
        inset -5px -5px 15px rgba(255, 255, 255, 0.8),
        inset 5px 5px 15px rgba(0, 0, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 2px #d0d0d0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.ipod-screen {
    width: 100%;
    height: 220px;
    background: #eef2f5;
    border: 4px solid #111;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.ipod-progress-bar {
    height: 12px;
    width: 100%;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.ipod-progress-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    /* Will be controlled by JS */
    background: linear-gradient(to right, #7aabff, #4a90e2);
    border-radius: 4px;
    transition: width 0.1s linear;
}

/* Add a subtle scanline effect to the screen */
.ipod-screen::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%);
    background-size: 100% 4px;
    pointer-events: none;
}

.ipod-header {
    background: linear-gradient(to bottom, #cfd8dc, #b0bec5);
    color: #333;
    font-size: 0.75rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    padding: 3px 0;
    margin: -10px -10px 10px -10px;
    border-bottom: 2px solid #999;
}

.ipod-content {
    display: flex;
    gap: 15px;
    flex: 1;
}

.ipod-album-art {
    width: 100px;
    height: 100px;
    background: #ccc;
    border: 1px solid #999;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

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

.ipod-fallback-icon {
    font-size: 3rem;
    color: #666;
}

.ipod-track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #111;
}

.ipod-track-info h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.ipod-track-info p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
    font-weight: 500;
}

.ipod-release-date {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #666;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
}

.ipod-progress {
    margin-top: 10px;
}

.ipod-times {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #444;
    margin-top: 4px;
    font-weight: bold;
}

.ipod-controls {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.ipod-wheel {
    width: 200px;
    height: 200px;
    background: #fcfcfc;
    border-radius: 50%;
    position: relative;
    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
}

.ipod-center-btn {
    width: 75px;
    height: 75px;
    background: #e2e2e2;
    border-radius: 50%;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    cursor: auto;
}

.ipod-center-btn:active {
    background: #d8d8d8;
}

.wheel-btn {
    position: absolute;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    color: #aaa;
    user-select: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-btn:active {
    color: #777;
}

.wheel-btn.top {
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    letter-spacing: 1px;
}

.wheel-btn.bottom {
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.wheel-btn.left {
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.wheel-btn.right {
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.platform-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.2rem;
}

.platform-link:hover {
    color: var(--text-color);
    border-bottom-color: var(--text-color);
}

/* Tour Section */
.tour-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(244, 244, 245, 0.1);
}

.tour-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.05em;
    flex: 1;
}

.tour-details {
    flex: 2;
    text-align: right;
}

.tour-event {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-color);
}

.tour-location {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.tour-booking-note {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(244, 244, 245, 0.03);
    border-radius: 8px;
}

.tour-booking-note p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* About Section */
.about-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.about-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    display: block;
    mix-blend-mode: luminosity;
    filter: grayscale(80%) contrast(1.2) brightness(0.8);
    transition: filter 0.6s ease, transform 0.6s ease, mix-blend-mode 0.6s ease;
}

.about-photo:hover {
    filter: grayscale(0%) contrast(1) brightness(1);
    mix-blend-mode: normal;
    transform: scale(1.02);
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

.contact-email {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.05em;
    position: relative;
    padding-bottom: 0.5rem;
    transition: opacity 0.3s ease;
}

.contact-email:hover {
    opacity: 0.7;
}

.contact-container .social-links {
    margin-top: 3rem;
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background-color: var(--bg-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: right 0.4s ease;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
        z-index: 1000;
        position: relative;
    }

    .hamburger .line {
        transition: all 0.3s ease;
    }

    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-4px, 4px);
    }

    .hamburger.toggle .line:nth-child(2) {
        transform: rotate(45deg) translate(-4px, -4px);
    }

    .band-name {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .contact-email {
        font-size: 7vw;
        word-break: break-word;
        /* softer break */
    }

    .section {
        padding: 5rem 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    .music-container,
    .about-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .about-text {
        text-align: center;
        width: 100%;
        padding: 0 1rem;
    }

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

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

    .tour-details {
        text-align: center;
    }

    .contact-container .social-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
    }
}

/* Ed, Edd n Eddy Walking Animation */
#eddy-walking {
    position: fixed;
    bottom: -10px;
    /* Adjust resting height */
    left: -250px;
    /* Start completely off-screen */
    height: 180px;
    /* Adjust scale */
    z-index: 5;
    /* Behind content but in front of background */
    pointer-events: none;
    /* Don't interfere with clicks */
    animation: walkAcross 35s linear infinite;
    opacity: 0.9;
    /* Blend in slightly */
}

@keyframes walkAcross {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(100vw + 500px));
        /* Walk all the way off the right */
    }
}