body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    background: none;
    overflow-x: hidden;
    padding-top: 240px;
    padding-left: 0;
    text-align: left;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Top spinning coin container stays the same */
#canvas-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 999;
}

#canvas-wrapper {
    padding: 0;
}

#canvas-container {
    width: 200px;
    height: 200px;
    background: transparent;
    margin: 0 auto;
    transition: margin-left 0.3s ease;
}

/* The carousel section can remain the same if still needed for layout */
.carousel-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.carousel img {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.social-link {
    margin: 0 10px 0 0;
    color: #1da1f2;
    text-decoration: none;
    font-size: 1.2rem;
}

.image-text-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    min-width: 200px;
    width: clamp(200px, 80vw, 300px);

    /* Linear scaling between 12px at 200px and 18px at 300px: */
    font-size: clamp(
            12px,
            calc(12px + ((80vw - 200px) * 0.06)),
            18px
    );

    margin: 0; /* fixed to bottom-left, no auto margin */
}


.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    background: white;
}

.overlay-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #000;
    position: absolute;
    bottom: 83%;
    height: 17%;
    left: 4%;
    width: 96%;
    font-size: 1.3em;
    white-space: nowrap;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

#scroll-canvas {
    position: absolute;
    top: 26%;
    left: 4%;
    width: 92%;
    height: auto;
    display: block;
    z-index: 1;
}

#tape-canvas {
    position: absolute;
    bottom: 5%;
    right: 3.6%;
    width: 21.5%;
    height: auto;
    display: block;
    z-index: 1;
}

.social-images-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
    background: transparent;
}

.social-images-container a {
    display: inline-block;
    width: 100px;
    height: 100px;
    background: transparent;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    overflow: hidden;
}

.social-images-container a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* When the orientation is portrait, move socials to top right and reduce size */
@media (orientation: portrait) {
    .social-images-container {
        top: 16px;
        right: 10px;
        bottom: auto;
        left: auto;
        flex-direction: column;
        gap: 10px; /* slightly smaller gap if needed */
    }

    .social-images-container a {
        width: 60px; /* reduced width */
        height: 60px; /* reduced height */
    }
}

/* Dots on the main image container, scaling with container as before */
.color-dot {
    position: absolute;
    top: 6%;
    right: 3.4%;
    width: 3%;
    height: 4.2%;
    background: rgb(255,0,0);
    border-radius: 50%;
    pointer-events: none;
}

.color-dot2 {
    position: absolute;
    top: 12%;
    right: 3.4%;
    width: 3%;
    height: 4.2%;
    background: rgb(0,0,0);
    border-radius: 50%;
    pointer-events: none;
}
