:root {
    --orange-tolex: #ff7e00;
    --vintage-cream: #fcecdd;
    --stark-black: #1a1a1a;
    --grill-cloth: #333;
}

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

body {
    /* Background image removed as requested */
    background-color: #000000;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.amp-case {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.hero {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-container {
    margin-bottom: 1rem;
    position: relative;
    width: 480px;
    /* Increased size as requested */
    height: auto;
    display: flex;
    justify-content: center;
    /* Rumble/Jitter removed from container, applied to wrapper instead */
}

/* Wrapper for the amp to jitter independently of sound lines */
.amp-wrapper {
    position: relative;
    width: 100%;
    /* Jitter animation to simulate extreme loudness */
    animation: jitter 0.1s infinite;
    animation-delay: 5s;
    /* Waits for the knob to turn up */
}

.sound-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 140%;
    /* Larger than amp */
    height: auto;
    z-index: -1;
    opacity: 0;
    /* Pulse animation for sound waves */
    animation: soundPulse 0.5s infinite;
    animation-delay: 5s;
}

@keyframes jitter {
    0% {
        transform: translate(0.2px, 0.2px) rotate(0deg);
    }

    10% {
        transform: translate(-0.2px, -0.3px) rotate(-0.2deg);
    }

    20% {
        transform: translate(-0.4px, 0px) rotate(0.2deg);
    }

    30% {
        transform: translate(0.4px, 0.3px) rotate(0deg);
    }

    40% {
        transform: translate(0.2px, -0.2px) rotate(0.2deg);
    }

    50% {
        transform: translate(-0.2px, 0.3px) rotate(-0.2deg);
    }

    60% {
        transform: translate(-0.4px, 0.2px) rotate(0deg);
    }

    70% {
        transform: translate(0.4px, 0.2px) rotate(-0.2deg);
    }

    80% {
        transform: translate(-0.2px, -0.2px) rotate(0.2deg);
    }

    90% {
        transform: translate(0.2px, 0.3px) rotate(0deg);
    }

    100% {
        transform: translate(0.2px, -0.3px) rotate(-0.2deg);
    }
}

@keyframes soundPulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.amp-face {
    width: 100%;
    height: auto;
    display: block;
}

.knob-container {
    position: absolute;
    bottom: 9%;
    right: 21%;
    /* Nudged right slightly */
    /* Adjusted based on feedback */
    /* Adjusted centering */
    width: 14%;
    /* Slightly smaller to uncover numbers */
    /* Size relative to amp face */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.volume-knob {
    width: 100%;
    height: auto;
    /* Start at 0 position (approx -140deg or so depending on art) and rotate to 11 */
    animation: turnUpToEleven 5s ease-out forwards;
    transform-origin: center center;
    mix-blend-mode: lighten;
    /* Makes black background transparent */
}

@keyframes turnUpToEleven {
    0% {
        transform: rotate(-140deg);
        /* Starting position (1) */
    }

    100% {
        transform: rotate(140deg);
        /* Ending position (11) */
    }
}

/* Fallback for smaller screens */
@media (max-width: 650px) {
    .headline {
        font-size: 2rem;
    }

    .logo-container {
        width: 100%;
        max-width: 450px;
    }
}

.headline {
    font-family: 'Chonburi', serif;
    font-size: 3rem;
    line-height: 1.1;
    color: var(--orange-tolex);
    /* Orange text for pop */
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 10px 0;
}

.tagline {
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    max-width: 80%;
    line-height: 1.4;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Added shadow for readability */
}

@media (max-width: 480px) {
    .headline {
        font-size: 2rem;
    }

    .main-logo {
        max-width: 250px;
    }
}