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

body {
    font-family: 'Barlow', sans-serif;
    background-color: #EBE8E3;
    overflow-x: hidden;
}

.container {
    background-image: url('assets/bg.png');
    background-size: 64px 64px;
    background-position: top left;
    width: 100vw;
    height: 100vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: #333543;
    padding: 16px 0;
    overflow: hidden;
    z-index: 50;
}

.top-track {
    display: flex;
    width: max-content;
    animation: scrollBrands 20s linear infinite;
}

.top-set {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
}

.top-set span {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    color: #EBE8E3;
    white-space: nowrap;
}

.top-icon {
    width: 12px;
    height: 12px;
}

.main-logo {
    z-index: 20;
    width: 181px;
    height: 40px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

.scene {
    width: 453px;
    height: 112px;
    perspective: 1000px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 12s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.cube__face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333543;
    color: white;
    font-family: 'Anton', sans-serif;
    font-size: 80px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
    padding: 0 16px;
}

/* Forcing a slightly smaller font size for the top face to ensure 'AÇÕES SOCIAIS' fits perfectly within 453px */
.cube__face--top { font-size: 72px; }

.cube__face--front  { transform: rotateX(0deg) translateZ(56px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(56px); }
.cube__face--back   { transform: rotateX(-180deg) translateZ(56px); }
.cube__face--top    { transform: rotateX(90deg) translateZ(56px); }

@keyframes rotateCube {
    0%, 15% { transform: rotateX(0deg); }
    25%, 40% { transform: rotateX(90deg); }
    50%, 65% { transform: rotateX(180deg); }
    75%, 90% { transform: rotateX(270deg); }
    100% { transform: rotateX(360deg); }
}

.title {
    font-family: 'Anton', sans-serif;
    font-size: 72px;
    color: #333543;
    text-align: center;
    text-transform: uppercase;
    line-height: 80px;
    max-width: 800px;
    word-break: break-word;
}

.cta-button {
    background-color: #684db0;
    color: white;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 24px;
    border-radius: 48px;
    border: 2px solid #333533;
    box-shadow: 0 4px 0 #333533;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    z-index: 10;
}

.cta-button:hover {
    background-color: #795cc2;
}

.cta-button:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0 #333533;
}

.stamp {
    position: absolute;
    filter: drop-shadow(0px 4px 8px rgba(32, 23, 38, 0.16));
    z-index: 5;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    transition: filter 0.1s ease-in-out, transform 0.1s ease-in-out;
    --stamp-press-y: 0px;
}

.stamp:active {
    --stamp-press-y: 2px;
    filter: drop-shadow(0px 2px 4px rgba(32, 23, 38, 0.16));
}

.stamp-1 {
    width: 250px;
    left: calc(50% - 412px);
    top: calc(50% - 171px);
    transform: translate(-50%, calc(-50% + var(--stamp-press-y))) rotate(15deg);
}

.stamp-3 {
    width: 215.5px;
    left: calc(50% - 566px);
    top: calc(50% - 281px);
    transform: translate(-50%, calc(-50% + var(--stamp-press-y))) rotate(-15deg);
}

.stamp-2 {
    width: 173.5px;
    left: calc(50% + 611px);
    top: calc(50% + 264px);
    transform: translate(-50%, calc(-50% + var(--stamp-press-y)));
}

.stamp-4 {
    width: 197.5px;
    left: calc(50% + 482px);
    top: calc(50% + 150px);
    transform: translate(-50%, calc(-50% + var(--stamp-press-y))) rotate(30deg);
}

.stamp-5 {
    width: 150px;
    left: calc(50% - 320px);
    top: calc(50% + 220px);
    transform: translate(-50%, calc(-50% + var(--stamp-press-y))) rotate(-10deg);
}

.stamp-6 {
    width: 125px;
    left: calc(50% + 350px);
    top: calc(50% - 250px);
    transform: translate(-50%, calc(-50% + var(--stamp-press-y))) rotate(20deg);
}

.stamp-7 {
    width: 145px;
    left: calc(50% - 600px);
    top: calc(50% + 50px);
    transform: translate(-50%, calc(-50% + var(--stamp-press-y))) rotate(-25deg);
}

.brands-bar {
    width: 100vw;
    overflow: hidden;
    padding: 24px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: transparent;
    z-index: 10;
}

.brands-track {
    display: flex;
    width: max-content;
    animation: scrollBrands 25s linear infinite;
}

.brands-set {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
}

.brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

img[src*="logo-roblox"] {
    width: 134px;
    height: 26px;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .main-logo {
        width: 145px;
        height: 32px;
    }

    .title {
        font-size: 36px;
        line-height: 40px;
        padding: 0 16px;
    }
    .scene {
        width: 226px;
        height: 56px;
    }
    .cube__face {
        font-size: 40px;
    }
    .cube__face--top {
        font-size: 36px;
    }
    .cube__face--front  { transform: rotateX(0deg) translateZ(28px); }
    .cube__face--bottom { transform: rotateX(-90deg) translateZ(28px); }
    .cube__face--back   { transform: rotateX(-180deg) translateZ(28px); }
    .cube__face--top    { transform: rotateX(90deg) translateZ(28px); }
    
    .cta-wrapper {
        width: 100%;
    }

    .cta-button {
        width: calc(100% - 32px);
        text-align: center;
    }

    .brands-bar {
        bottom: auto;
        top: 46px;
    }

    /* Top: 1 left, 1 center, 1 right - Anchored 32px above the logo */
    .stamp-1 { width: 125px; left: 15%; top: calc(50vh - 230px); }
    .stamp-3 { width: 107px; left: 50%; top: calc(50vh - 250px); }
    .stamp-2 { width: 86px;  left: 85%; top: calc(50vh - 220px); }
    
    /* Bottom: 1 left, 2 center, 1 right - Anchored below the CTA button */
    .stamp-5 { width: 75px;  left: 15%; top: calc(50vh + 240px); }
    .stamp-4 { width: 98px;  left: 40%; top: calc(50vh + 260px); }
    .stamp-6 { width: 62px;  left: 60%; top: calc(50vh + 235px); }
    .stamp-7 { width: 72px;  left: 85%; top: calc(50vh + 250px); }
}
