/* Interactive Home - Responsive */

.elementor-section .elementor-container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.elementor-section .elementor-widget-container {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}

.elementor-section .elementor-widget-ih-interactive-home .nogh-container {
    width: 100%;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .nogh-footer-text {
        bottom: 30px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .nogh-footer-text {
        bottom: 20px;
    }

    .nogh-footer-text::before {
        width: var(--nogh-tagline-gradient-width, 250px);
        height: var(--nogh-tagline-gradient-height, 80px);
    }

    .nogh-logo-wrapper::before {
        width: calc(var(--nogh-logo-gradient-size, 200px) * 0.8);
        height: calc(var(--nogh-logo-gradient-size, 200px) * 0.8);
    }

    .nogh-cursor-follower {
        display: none !important;
    }

    .nogh-ripple {
        border-width: 1px !important;
    }
}

@media screen and (max-width: 480px) {
    .nogh-footer-text {
        bottom: 15px;
    }

    .nogh-footer-text::before {
        width: calc(var(--nogh-tagline-gradient-width, 250px) * 0.7);
        height: calc(var(--nogh-tagline-gradient-height, 80px) * 0.7);
    }

    .nogh-logo-wrapper::before {
        width: calc(var(--nogh-logo-gradient-size, 200px) * 0.6);
        height: calc(var(--nogh-logo-gradient-size, 200px) * 0.6);
    }
}

/* iOS Safari fixes */
@supports (-webkit-touch-callout: none) {
    .nogh-container {
        height: -webkit-fill-available;
    }

    .nogh-footer-text {
        bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .nogh-center-dot__pulse,
    .nogh-node__pulse {
        animation: none !important;
    }
    .nogh-ripple {
        display: none !important;
    }
}
