@import url('https://fonts.googleapis.com/css2?family=Fragment+Mono:ital,wght@0,300;1,300&family=Passion+One:wght@400;700;900&display=swap');

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

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.85;
}

.content-box {
    position: fixed;
    left: calc(50% - 700px);
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 700px;
    background-color: #000;
    background-image: url('Ai2Ai Site Assets/boxBG.jpg');
    background-size: cover;
    background-position: center;
    padding: 70px 70px 70px 70px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('Ai2Ai Site Assets/boxborder2.png');
    background-size: 100% 100%;
    pointer-events: none;
}

.logo-placeholder {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-bottom: -15px;
}

.header-text {
    color: #fff;
    font-size: 40px;
    font-family: 'Passion One', sans-serif;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 15px;
    line-height: 0.8;
    letter-spacing: 0.0px;
}

.body-text {
    color: #fff;
    font-size: 11px;
    font-family: 'Fragment Mono', monospace;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 10px;
    opacity: 0.9;
}

.cta-button {
    width: 275px;
    height: auto;
    cursor: pointer;
    margin-top: -10px;
    margin-bottom: 5px;
    display: block;
}

.cta-button:hover {
    filter: brightness(1.2);
}

.footer-text {
    color: #878787;
    font-size: 10px;
    font-family: 'Fragment Mono', monospace;
    line-height: 1.4;
    opacity: 0.8;
    letter-spacing: 1px;
}

.ticker-bar {
    position: fixed;
    width: 100%;
    height: 30px;
    background-color: #c6292d;
    background-image: url('Ai2Ai Site Assets/tickertexture.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: 100;
}

.ticker-bar.top {
    top: 0;
}

.ticker-bar.bottom {
    bottom: 0;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: scroll 360s linear infinite;
}

.ticker-bar.top .ticker-content {
    animation: scroll-reverse 360s linear infinite;
}

.ticker-content span {
    font-family: 'Passion One', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    line-height: 30px;
    letter-spacing: 0.2px;
}

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

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

.scrollable-container {
    position: fixed;
    left: calc(50% - 200px);
    top: calc(50% - 350px);
    height: 700px;
    width: 900px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.dish-image {
    position: fixed;
    top: calc(50% - 425px);
    left: calc(50% + 670px);
    transform: translateX(-50%);
    width: 275px;
    height: auto;
    z-index: 200;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.dish-image:hover {
    transform: translateX(-50%) scale(1.05);
}

/* Hide scrollbar for WebKit browsers */
.scrollable-container::-webkit-scrollbar {
    display: none;
}

.scroll-content {
    width: 100%;
    background-color: #000;
    background-image: url('Ai2Ai Site Assets/scrollboxbg.png');
    background-size: 100% 100%;
    background-position: center;
    padding: 40px;
    padding-bottom: 100px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: visible;
}

.scroll-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('Ai2Ai Site Assets/borderboxscrollheader.png');
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 100;
    display: none;
}

.scroll-header {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    margin-top: 200px;
    line-height: 1.2;
}

.scroll-box-header {
    width: 110%;
    height: auto;
    display: block;
    margin: -33px calc(-5% - 3px) 0 calc(-5% + 3px);
    position: relative;
    z-index: 0;
}

.fire-left {
    position: absolute;
    left: -100px;
    top: 250px;
    width: 450px;
    height: auto;
    z-index: 5;
    transform: rotate(0deg);
    display: none;
}

.fire-right {
    position: absolute;
    right: -50px;
    top: 600px;
    width: 450px;
    height: auto;
    z-index: 5;
    transform: scaleX(-1) rotate(0deg);
    display: none;
}

.fire-left-2 {
    position: absolute;
    left: -100px;
    top: 980px;
    width: 300px;
    height: auto;
    z-index: 5;
    transform: rotate(40deg);
    display: none;
}

.fire-right-2 {
    position: absolute;
    right: -200px;
    top: 800px;
    width: 450px;
    height: auto;
    z-index: 5;
    transform: scaleX(-1) rotate(15deg);
    display: none;
}

.header-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 5px;
    margin-top: -685px;
    padding-top: 25px;

}

.scroll-header-image {
    width: 90%;
    max-width: 480px;
    height: auto;
    margin-bottom: 10px;
    margin-top: 0px;
    position: relative;
    z-index: 10;
}

.header1-image {
    margin-top: 40px;
}

.quote-image {
    width: calc(100% + 80px);
    height: auto;
    margin-left: -40px;
    margin-right: -40px;
    margin-bottom: 20px;
    margin-top: 25px;
}

/*red box*/
.quote-box {
    width: calc(100% + 80px);
    height: 585px;
    margin-left: -40px;
    margin-right: -40px;
    margin-bottom: -20px;
    margin-top: 25px !important;
    background-color: #c6292d;
    position: relative;
    z-index: 10;
}

/*how it works gif*/
.howitworks-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    margin-top: -60px;
}

.howitworks-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 9;
}

.howitworks-demo {
    width: calc(95%);
    height: auto;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
    display: block;
}

.solution-header {
    margin-top: 40px;
}

.solution-section {
    position: relative;
    width: 110%;
    margin-left: calc(-5% + 3px);
    margin-right: calc(-5% - 3px);
    margin-top: 0px;
    margin-bottom: -20px;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100% - 50px);
    background: url('Ai2Ai Site Assets/borderboxscrollheader.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.howitworks-section {
    position: relative;
    width: 110%;
    margin-left: calc(-5% + 3px);
    margin-right: calc(-5% - 3px);
    margin-top: 80px;
    margin-bottom: 40px;
}

.howitworks-section::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 600px;
    background: url('Ai2Ai Site Assets/borderboxscrollheader.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.faq-section {
    position: relative;
    width: 110%;
    margin-left: calc(-5% + 3px);
    margin-right: calc(-5% - 3px);
    margin-top: -25px;
    margin-bottom: 10px;
    padding-bottom: 235px;
    min-height: 600px;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('Ai2Ai Site Assets/newbottomborder2.png');
    background-size: 100% auto;
    background-position: top left;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.footer-logo {
    position: absolute;
    top: 900px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: auto;
    z-index: 10;
}

.divider-image {
    width: 110%;
    height: auto;
    margin-left: -5%;
    margin-right: -5%;
    margin-bottom: -80px;
    margin-top: -380px;
    position: relative;
    z-index: 150;
    display: block;
    display: none;
}

.carousel-container {
    width: 100%;
    position: relative;
    margin: 20px 0;
}

.carousel-images {
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #c6292d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Passion One', sans-serif;
    font-size: 48px;
    color: #fff;
    text-transform: uppercase;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    z-index: 1;
}

.carousel-slide:has(.carousel-video) {
    background-color: transparent;
}

.carousel-slide.active {
    transform: translateX(0);
    z-index: 2;
}

.carousel-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(186, 15, 15, 0.9);
    font-size: 60px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.1s ease;
    user-select: none;
    z-index: 10;
}

.carousel-arrow:hover {
    color: rgba(255, 255, 255, 0.9);
}

.carousel-arrow.left {
    left: 20px;
}

.carousel-arrow.right {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: #c6292d;
}

.carousel-pill {
    background-color: rgba(222, 222, 222, 0.9)!important;
    border-radius: 20px;
    padding: 8px 16px;
    display: inline-flex;
    gap: 8px;
}

.quote-background-image {
    width: calc(100% + 80px);
    height: auto;
    margin-left: -40px;
    margin-right: -40px;
    margin-top: -20px;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 10;
}

.ai-quote-overlay {
    width: calc(100% + 20px);
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: -585px;
    margin-bottom: 20px;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    animation: subtle-bounce 3s ease-in-out infinite;
}

@keyframes subtle-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes emoji-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.faq-container {
    width: 100%;
    margin-top: 20px;
    padding-left: 100px;
    padding-right: 100px;
}

.faq-item {
    border-bottom: 3px solid #c6292d;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question span {
    font-family: 'Passion One', sans-serif;
    font-size: 32px;
    color: #c6292d;
    text-transform: uppercase;
    flex: 1;
    text-align: left;
}

.faq-toggle {
    background: none;
    border: 2px solid #c6292d;
    color: #c6292d;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-toggle:hover {
    background-color: #c6292d;
    color: #fff;
}

.faq-item.active .faq-toggle {
    background-color: #c6292d;
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    font-family: 'Fragment Mono', monospace;
    font-size: 11px;
    font-weight: 300;
    color: #fff;
    line-height: 1.8;
    opacity: 0.9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
    text-align: left;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    margin-top: 15px;
}

.solution-body {
    color: #fff;
    font-size: 5px;
    font-family: 'Fragment Mono', monospace;
    font-weight: 300;
    line-height: 1.8;
    margin-top: 5pt;
    margin-bottom: 10px;
    opacity: 0.9;
}

.shitpost-2-duplicate {
    position: absolute;
    width: 80%;
    max-width: 325px;
    height: auto;
    right: calc(10% + 400px);
    top: 400px;
    z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)) blur(2px) brightness(0.7);
    transform: rotate(0deg);
}

.shitpost-wrapper {
    position: relative;
    width: 70%;
    max-width: 400px;
    align-self: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.shitpost-image {
    width: 100%;
    height: auto;
    transform: rotate(0deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
    animation: none;
    position: relative;
    z-index: 10;
}

/*blurry bella onee*/
.shitpost-4-duplicate {
    margin-top: -100px !important;
    margin-left: -500px !important;
    z-index: 1;
    filter: blur(4px) brightness(0.6);
    width: 60% !important;
    max-width: 350px !important;
}

/*Stewart Pidd*/
.shitpost-pair .shitpost-image {
    width: 75%;
    max-width: 425px;
    margin-bottom: 10px;
    margin-top: -345px;
    margin-left: -100px;
    transform: rotate(0deg);
}

.shitpost-6 {
    filter: blur(2px) brightness(0.7) !important;
    margin-top: -580px !important;
    margin-right: 20px !important;
    opacity: 0.9 !important;
}

.poop-emoji {
    width: 165px;
    height: auto;
    position: absolute;
    right: 85px;
    margin-top: 108px;
    z-index: 15;
    animation: emoji-float 3s ease-in-out infinite;
}

.fire-divider {
    width: 110%;
    height: auto;
    margin-left: -5%;
    margin-right: -5%;
    margin-top: -400px;
    margin-bottom: -80px;
    position: relative;
    z-index: 5;
    display: block;
}

.fire-bottom {
    width: 110%;
    height: auto;
    margin-left: -5%;
    margin-right: -5%;
    margin-top: -200px;
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
    display: block;
    opacity: 0.90;
}

/*thumbs down emoji*/
.thumbsdown-icon {
    position: absolute;
    bottom: 120px;
    left: -180px;
    width: 165px;
    height: auto;
    z-index: 15;
    display: block;
    transform: rotate(0deg);
    animation: emoji-float 3s ease-in-out infinite;
}

/*vomit emoji*/
.vomit-icon {
    position: absolute;
    top: 965px;
    right: 450px;
    width: 185px;
    height: auto;
    z-index: 15;
    display: block;
    transform: rotate(0deg);
    animation: emoji-float 3s ease-in-out infinite;
}

/*dee snuts*/
.shitpost-image-right {
    width: 70%;
    max-width: 400px;
    height: auto;
    align-self: flex-end;
    margin-right: 5px;
    margin-top: -325px;
    margin-bottom: 10px;
    transform: rotate(0deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
    position: relative;
    z-index: 3;
}

.shitpost-pair .shitpost-image.shitpost-3 {
    width: 70% !important;
    max-width: 400px !important;
    margin-left: -450px !important;
    margin-top: -155px !important;
    transform: rotate(0deg);
}

/* bell onee*/
.shitpost-4 {
    margin-top: -350px;
    margin-right: -10px;
    z-index: 10;
}

@keyframes float-left {
    0%, 100% {
        transform: rotate(0deg) translateY(0px);
    }
    50% {
        transform: rotate(0deg) translateY(-8px);
    }
}

@keyframes float-right {
    0%, 100% {
        transform: rotate(3deg) translateY(0px);
    }
    50% {
        transform: rotate(3deg) translateY(-8px);
    }
}

@keyframes fire-flicker {
    0%, 100% {
        opacity: 1;
        transform: rotate(15deg) scale(1);
    }
    25% {
        opacity: 0.9;
        transform: rotate(16deg) scale(1.02);
    }
    50% {
        opacity: 0.95;
        transform: rotate(14deg) scale(0.98);
    }
    75% {
        opacity: 0.92;
        transform: rotate(15.5deg) scale(1.01);
    }
}

.shitpost-pair {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.scroll-body {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 500px;
}

.scroll-body.solution-body {
    font-size: 11px;
    line-height: 1.8;
    font-weight: 300;
    margin-top: -10px;
    margin-bottom: 10px;
    padding-left: 80px;
    padding-right: 80px;
}

.bouncing-ball {
    position: fixed;
    width: 113px;
    height: 113px;
    cursor: pointer;
    z-index: 1000;
    pointer-events: auto;
}

.stitching-top {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 101;
    pointer-events: none;
}

.stitching-bottom {
    position: fixed;
    bottom: 24px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 101;
    pointer-events: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hide all desktop elements except video, tickers, and download box */
    .scrollable-container,
    .dish-image,
    .bouncing-ball,
    .stitching-top,
    .stitching-bottom {
        display: none !important;
    }

    /* Keep video background */
    #bg-video {
        opacity: 0.85;
    }

    /* Reposition download box for mobile - centered and scaled down */
    .content-box {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.75);
    }

    /* Keep tickers */
    .ticker-bar {
        display: block;
    }
}
