/* Responsive styles */

@media screen and (max-width: 1200px) {
    header > div h1,
    header > div h2 {
        font-size: var(--sub-heading-size);
    }
    header > div h1::after,
    header > div h2::after {
        left: 24px;
        bottom: 5px;
    }

    #stream .stream-container img {
        width: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 820px) {
    
    /* header */
    header > div h1,
    header > div h2 {
        font-size: var(--body-size);
    }
    header .mobile {
        display: flex;
    }
    header .desktop {
        display: none;
    }
    header > div h1::after,
    header > div h2::after {
        bottom: 12px;
        left: 0;
    }

    /* stream */
    #stream {
        padding: 15px;
        flex-direction: column;
    }
    #stream .stream-container {
        width: 100%;
    }
     #stream .stream-info {
         width: 100%;
         display: grid;
         grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
         gap: 30px;
         justify-items: center;
         align-items: start;
         max-width: 800px;
         margin: 0 auto;
         place-items: center;
     }
     #stream .stream-info .dashboard-item:nth-child(odd):last-child {
         grid-column: 1 / -1;
         justify-self: center;
         max-width: 250px;
     }
    #stream .stream-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
    #stream .dashboard-item .label,
    #stream .dashboard-item .value {
        font-size: var(--small-size);
    }
     #stream .dashboard-item .value {
         margin-left: 10px;
     }

     /* ponzi flywheel*/
     #ponzi-flywheel .flywheel-container .flywheel-slide .slide-content {
        flex-direction: column;
     }

     /* hyperliquid vault */
     #hyperliquid {
        padding: 20px 15px;
        flex-direction: column;
    }
    #hyperliquid > div {
        width: 100%;
    }
    #hyperliquid h2 {
        font-size: var(--sub-heading-size);
        text-align: center;
    }
    #hyperliquid .vault-features {
        gap: 20px;
    }
    #hyperliquid .feature-title {
        font-size: var(--small-size);
    }
    #hyperliquid .feature-desc {
        font-size: var(--body-size);
        margin-left: 10px;
    }
    #hyperliquid .chart-placeholder {
        height: 250px;
    }
    #hyperliquid .chart-text {
        font-size: var(--sub-heading-size);
    }
     #hyperliquid .hyperliquid-info {
         width: 90%;
     }

     /* footer */
     footer {
        padding: 30px 15px;
    }
    footer .footer-content {
        flex-direction: column;
        gap: 25px;
    }
    footer .footer-buttons {
        justify-content: center;
        margin: 0 auto;
    }
    footer .footer-btn {
        text-align: center;
        font-size: var(--body-size);
        padding: 12px 20px;
        min-width: auto;
        width: 150px;
    }
    footer .footer-btn::after {
        left: 12px;
        right: 12px;
    }
    footer .social-link {
        width: 45px;
        height: 45px;
    }
    footer .footer-social {
        margin: 0 auto;
    }
    footer .social-icon {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 440px) {
    footer .footer-buttons {
        flex-direction: column;
    }

    #ponzi-flywheel {
        padding: 1rem;
    }
    #ponzi-flywheel .flywheel-container .flywheel-slide img {
        width: 200px;
        height: 200px;
    }
}