/* --- Base & Resets --- */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #020617;
}

/* --- Blurred Background Image --- */
.bg-blur-image {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110vw;
    height: 110vh;
    background-image: url('https://image2url.com/r2/default/images/1775207416151-72c670e5-615e-4174-aa66-2d65cc1091d0.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.7);
    /* Reudced blur to make it clearer but still keep focus */
    z-index: -2;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 10, 25, 0.4);
    /* Lighter overlay to show background better */
    z-index: -1;
    pointer-events: none;
}

/* --- Navigation Button (3D Instagram) --- */
.instagram-btn-3d {
    background: linear-gradient(135deg, #00d2ff, #0066ff);
    color: #fff;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 0 #004cbe, 0 10px 20px rgba(0, 210, 255, 0.4);
    transition: all 0.15s ease-out;
}

.instagram-btn-3d:active {
    box-shadow: 0 2px 0 #004cbe, 0 4px 10px rgba(0, 210, 255, 0.4);
    transform: translateY(4px);
}

.instagram-btn-3d:hover {
    filter: brightness(1.15);
}

/* --- Typing Cursor --- */
.cursor-blink {
    color: #00d2ff;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* --- Statue Animation --- */
.statue-wrapper {
    transform-origin: bottom center;
    perspective: 1200px;
    z-index: 10;
}

.statue-tilt {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    transform-origin: bottom center;
}

.statue-glow {
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

/* Base Scroll Styling */
html {
    scroll-behavior: smooth;
}

/* Floating Animation */
.float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Custom Scrollbar for Modal */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(2, 6, 23, 0.5);
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #00d2ff;
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #0066ff;
}

/* Active Modal Classes to overcome tailwind defaults */
.modal-active {
    display: flex !important;
}

.modal-content-active {
    opacity: 1 !important;
    transform: scale(1) !important;
}