/* Base styles */
.header-btn {
    position: relative;
    display: inline-block;
}


.btn-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dropdown styles - macOS inspired */
.login-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background-color: #1A1A1A;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform-origin: top right;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.3);
    z-index: 100;
    pointer-events: none;
}

.login-dropdown.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.dropdown-body {
    padding: 16px;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    color: #333;
    position: relative;
    overflow: hidden;
    background: white;
    font-size: 14px;
}

.social-login-btn:last-child {
    margin-bottom: 0;
}

.social-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-login-btn .logo {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.google-btn {
    background: white;
    color: #5F6368;
}

.facebook-btn {
    background: #1877F2;
    color: white;
    border-color: transparent;
}

.btn-default.active::after {
    transform: rotate(180deg);
}

.google-btn:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.google-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Performance optimization */
.social-login-btn {
    will-change: transform, opacity;
}

.circle img {
    border-radius: 50%;
    /* relative value for
				   adjustable image size */
}

a.circle {
    color: transparent;
}

.file-input-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #FFFFFF0F;
    /* Gradient border setup */
    background: #1A1A1A;
    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* Animate the gradient */
    background-size: 300% 300%;
    animation: animatedBorder 6s linear infinite;
}

@keyframes animatedBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.file-input-label:hover {
    /* border-color: var(--accent); */
    border-color: #A93E17 !important;
    background-color: rgba(15, 14, 23, 0.7);
}


.file-input-label i {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.file-input-label span {
    color: var(--text-muted);
}

.file-input-label i {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.file-input-label.dragover {
    background:
        linear-gradient(rgba(15, 14, 23, 0.25), rgba(15, 14, 23, 0.25)) padding-box,
        linear-gradient(120deg, #15399A, #A93E17, #15399A) border-box;
    transition: background 0.3s ease;
}

/* 🔄 Glowing Spinner with Blue & Red Water Feel */
.spinner .loader {
    margin: 12px auto;
    border: 4px solid transparent;
    border-top: 4px solid #15399A;
    border-right: 4px solid #A93E17;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 1s ease-in-out infinite, glowPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(21, 57, 154, 0.5);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 10px rgba(21, 57, 154, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(169, 62, 23, 0.6);
    }

    100% {
        box-shadow: 0 0 10px rgba(21, 57, 154, 0.2);
    }
}





/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 12px;
    width: 380px;
    padding: 2.5rem;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.modal-overlay.active .login-modal {
    transform: translateY(0);
    opacity: 1;
}

/* Lock Icon - Using #15399A */
.modal-icon {
    font-size: 3.5rem;
    color: #15399A;
    /* Your requested blue color */
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 8px rgba(21, 57, 154, 0.3));
    /* Matching shadow */
    transition: all 0.3s ease;
}

/* Text */
.modal-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f0f0f0;
    letter-spacing: -0.5px;
}

.modal-message {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #a0a0a0;
    line-height: 1.6;
}

/* Button - Using #A93E17 for hover */
.login-btn {
    background: linear-gradient(135deg, #15399A 0%, #0d2a7a 100%);
    /* Using your blue */
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21, 57, 154, 0.3);
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    background: linear-gradient(135deg, #A93E17 0%, #8a3213 100%);
    /* Your requested orange-red */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 62, 23, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

/* Button shine effect (now with #A93E17) */
.login-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.login-btn:hover::after {
    left: 100%;
}

/* Disabled State */
.google-btn.disabled {
    pointer-events: none;
    opacity: 0.7;
}

/* .profile-name {
    padding-top: 150px;
} */

.post-item:hover {
    border-color: #A93E17 !important;
}

.nav-link {
    color: white !important;
    font-weight: 600 !important;
}

.profile {
    padding: 17px 30px !important;
    border-radius: 100px !important;
}

.modals-viewers {
    width: unset !important;
    height: 300px !important;
}

#modals-progress {
    height: 100% !important;
    /* border: 1px solid; */
    border-radius: 10px;
}

.sleek-dark-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sleek-dark-table thead th {
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-weight: 500;
    padding: 1.1rem;
    border: none;
    letter-spacing: 0.5px;
}

.sleek-dark-table tbody td {
    padding: 1.1rem;
    background-color: #1e1e1e;
    color: #f0f0f0;
    border-bottom: 1px solid #2a2a2a;
    transition: all 0.25s ease;
}

.sleek-dark-table tbody tr:last-child td {
    border-bottom: none;
}

.sleek-dark-table tbody tr:hover td {
    background-color: #252525;
}

.download-icon {
    color: #8ab4f8;
    font-size: 1.2rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.download-icon:hover {
    color: #a8c7fa;
    transform: translateY(-2px);
}

.table-container-dark {
    margin: 0 auto;
}

/* Subtle glow effect on hover */
.sleek-dark-table tbody tr:hover {
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.03);
}


.liquid-progress-container {
    width: 100%;
    height: 50px;
    background-color: rgba(245, 230, 225, 0.4);
    border-radius: 50px;
    overflow: hidden;
    margin: 15px 0;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(169, 62, 23, 0.2);
    position: relative;
}

.liquid-progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg,
            #7A2C0F,
            #A93E17,
            #D45A22,
            #FF7B3D,
            #D45A22,
            #A93E17,
            #7A2C0F);
    background-size: 400% 100%;
    border-radius: 50px;
    animation:
        liquid-wave 7s ease-in-out infinite;
    transform-origin: left;
    transform: scaleX(0);
    opacity: 0.95;
    box-shadow:
        inset 0 -1px 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 1px rgba(0, 0, 0, 0.1),
        0 0 10px rgba(255, 123, 61, 0.4);
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes liquid-wave {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.liquid-progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 70%);
    animation: liquid-ripple 3s ease-in-out infinite;
    opacity: 0.6;
    border-radius: 50px;
}

@keyframes liquid-ripple {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.3;
    }
}


.modal-card {
    border: 1px solid #FFFFFF0F;
    border-radius: 20px;
}

.modal-card>img {
    border-radius: 20px;
}


.upload-hero {
    padding: 115px 0 80px;
}

.upload-content {
    max-width: 1080px !important;
}

.fa-58 {
    font-size: 58px !important;
}

.wow.fadeInUp.fa-58.text-center[data-cursor="-opaque"] {
    display: inline-block;
    transform-style: preserve-3d;
    perspective: 1500px;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center center;
    will-change: transform;
    position: relative;
}

.wow.fadeInUp.fa-58.text-center[data-cursor="-opaque"]::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(230, 87, 87, 0.1), rgba(21, 57, 154, 0.1), rgba(169, 62, 23, 0.1));
    transform: translateZ(-30px);
    filter: blur(15px);
    opacity: 0;
    transition: all 0.45s ease;
    border-radius: 5px;
    z-index: -1;
}

.wow.fadeInUp.fa-58.text-center[data-cursor="-opaque"]:hover {
    transform:
        rotateX(8deg) rotateY(8deg) rotateZ(-1deg) scale(1.05) translateZ(40px);
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.1);
}

.wow.fadeInUp.fa-58.text-center[data-cursor="-opaque"]:hover::before {
    opacity: 0.8;
    transform: translateZ(-50px);
}

/* 3D Depth Layers */
.wow.fadeInUp.fa-58.text-center[data-cursor="-opaque"] span,
.wow.fadeInUp.fa-58.text-center[data-cursor="-opaque"] {
    display: inline-block;
    transition: inherit;
    transform-style: preserve-3d;
}

/* Mouse-Tracking 3D Effect */
.wow.fadeInUp.fa-58.text-center[data-cursor="-opaque"] {
    transform: perspective(1500px);
}


/* Floating animation for upload icon */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Pulse animation for AI icon */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* Image icon animation when files are selected */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.file-selected .fa-cloud-upload-alt {
    animation: bounce 0.5s ease;
}


.file-input-label {
    --depth: 20px;
    --tilt: 8deg;
    --transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    transform-style: preserve-3d;
    perspective: 1200px;
    transition: var(--transition);
    position: relative;
    will-change: transform;
    min-height: 450px !important;
}

/* 3D Depth Layer */
.file-input-label::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0) 50%);
    border-radius: inherit;
    transform: translateZ(calc(var(--depth) * -1));
    opacity: 0;
    transition: var(--transition);
    filter: blur(10px);
    z-index: -1;
}

/* Hover State */
.file-input-label:hover {
    transform:
        perspective(1200px) rotateX(var(--tilt)) rotateY(var(--tilt)) translateZ(var(--depth));
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 30px 60px rgba(0, 0, 0, 0.1);
}

.file-input-label:hover::before {
    opacity: 0.7;
    transform: translateZ(calc(var(--depth) * -1.5));
}

/* Drag State - Enhanced 3D */
.file-input-label.dragover {
    transform:
        perspective(1200px) rotateX(calc(var(--tilt) * 1.2)) rotateY(calc(var(--tilt) * 1.2)) translateZ(calc(var(--depth) * 1.5));
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 40px 80px rgba(0, 0, 0, 0.15);
}

.file-input-label.dragover::before {
    opacity: 0.9;
    transform: translateZ(calc(var(--depth) * -2));
    background: linear-gradient(145deg,
            rgba(230, 87, 87, 0.2) 0%,
            rgba(21, 57, 154, 0.2) 50%,
            rgba(169, 62, 23, 0.2) 100%);
}

/* Image-specific 3D effects */
.file-input-label .preview-image {
    --img-depth: 40px;
    --img-tilt: -5deg;

    transform-style: preserve-3d;
    transform-origin: center center;
    transition: var(--transition);
    will-change: transform;
    backface-visibility: hidden;
}

.file-input-label:hover .preview-image,
.file-input-label.dragover .preview-image {
    transform:
        perspective(1200px) rotateX(var(--img-tilt)) rotateY(var(--img-tilt)) translateZ(var(--img-depth)) scale(1.04);
    filter:
        drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25)) brightness(1.03) contrast(1.02);
}

/* Drag-specific image enhancement */
.file-input-label.dragover .preview-image {
    --img-depth: 50px;
    filter:
        drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3)) brightness(1.05) contrast(1.03);
}

/* Smooth state transitions */
@keyframes float {

    0%,
    100% {
        transform: perspective(1200px) translateZ(0);
    }

    50% {
        transform: perspective(1200px) translateZ(10px);
    }
}

.file-input-label:not(:hover):not(.dragover) {
    animation: float 6s ease-in-out infinite;
}


:root {
    --progress-lift-height: 0px;
    --progress-rotate-x: 0deg;
    --progress-rotate-y: 0deg;
    --progress-shadow-x: 0px;
    --progress-shadow-y: 0px;
    --progress-text-depth: 0px;
    --progress-primary: rgb(230, 87, 87);
    --progress-secondary: #15399A;
    --progress-accent: #A93E17;
    --progress-value: 0;

    --progress-animation: progress-spin linear infinite;
    --progress-duration-1: 5s;
    --progress-duration-2: 8s;
    --progress-clip-path: inset(0 0 0 0 round 45%);
    --progress-clip-path-2: inset(0 0 0 0 round 44%);
    --progress-circle-size: 275px;
    --progress-wave-size: 600px;
    --progress-gradient: linear-gradient(125deg, var(--progress-primary) 0%, var(--progress-secondary) 50%, var(--progress-accent) 100%);
    --depth: 20px;
    --tilt: 8deg;
    --mtilt: -8deg;
    --transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.progress-scene {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-3d-progress {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform:
        translateZ(var(--progress-lift-height)) rotateX(var(--progress-rotate-x)) rotateY(var(--progress-rotate-y));
}

.progress-container {
    position: relative;
    width: var(--progress-circle-size);
    height: var(--progress-circle-size);
    border-radius: 50%;
    transform-style: preserve-3d;
    box-shadow:
        var(--progress-shadow-x) var(--progress-shadow-y) 60px rgba(21, 57, 154, 0.5),
        0 0 40px rgba(230, 87, 87, 0.4);
    overflow: hidden;
}

.progress-circle {
    position: relative;
    width: 100%;
    height: 100%;
    clip-path: circle();
    background: var(--progress-gradient);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4);
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
}

/* Wave logging effect */
.progress-wave-field,
.progress-wave-field-2 {
    position: absolute;
    bottom: calc(var(--progress-circle-size) * var(--progress-value) / 100);
    height: var(--progress-wave-size);
    width: var(--progress-wave-size);
    transition: bottom 350ms;
    transform-style: preserve-3d;
}

.progress-wave-field::before,
.progress-wave-field::after,
.progress-wave-field-2::before,
.progress-wave-field-2::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: white;
    clip-path: var(--progress-clip-path);
    animation: var(--progress-animation);
    animation-duration: var(--progress-duration-1);
    transform-style: preserve-3d;
}

.progress-wave-field::before,
.progress-wave-field::after {
    mix-blend-mode: difference;
}

.progress-wave-field-2::before,
.progress-wave-field-2::after {
    clip-path: var(--progress-clip-path-2);
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(50px);
    animation-duration: var(--progress-duration-2);
}

.progress-wave-field::before,
.progress-wave-field-2::before {
    z-index: -1;
}

.progress-wave-field::after,
.progress-wave-field-2::after {
    z-index: 1;
}

.progress-wave-1,
.progress-wave-2 {
    position: relative;
    width: 100%;
    height: 100%;
    background: black;
    clip-path: var(--progress-clip-path);
    animation: var(--progress-animation);
    animation-duration: var(--progress-duration-1);
}

.progress-wave-2 {
    position: absolute;
    background: none;
    animation: var(--progress-animation);
    animation-duration: var(--progress-duration-2);
}

@keyframes progress-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(var(--progress-text-depth));
    font-size: 52px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    color: white;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-out;
}

/* 3D Edge Highlight */
.progress-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transform: translateZ(20px);
    pointer-events: none;
}

/* Floating particles */
.progress-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: progress-float linear infinite;
}

@keyframes progress-float {
    0% {
        transform: translateY(0) translateZ(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateZ(20px);
        opacity: 0;
    }
}

.fs-23 {
    font-size: 23px !important;
}

.gbl-modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #FFFFFF0F;
    background: #131212;
    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 300% 300%;
}

.gbl-modal-card:hover {
    border-color: #A93E17 !important;
    background-color: rgba(15, 14, 23, 0.7);
    transform:
        perspective(1200px) rotateX(var(--tilt)) rotateY(var(--mtilt)) translateZ(var(--depth));
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 30px 60px rgba(0, 0, 0, 0.1);
}

.model-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

model-viewer {
    transition: all 0.3s ease;
}

.model-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.model-container:hover model-viewer {
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.text-upload {
    background: linear-gradient(to right, var(--accent-color) 0%, #98159a 50%, var(--accent-color) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flot-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow:
        /* 8px 8px 16px rgba(101, 34, 11, 0.6),
        -8px -8px 16px rgba(193, 72, 31, 0.4), */
        inset 2px 2px 4px rgba(255, 255, 255, 0.1),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: absolute;
    z-index: 1;
    transform:
        perspective(500px) rotateX(3deg)
        /* subtle forward tilt */
        rotateY(-3deg)
        /* slight left rotation */
        rotate(326deg);
    /* slight z-axis rotation */

    animation: floatBounce 3s ease-in-out infinite;
}

.ai-icon {
    top: -30px;
    right: -41px;
    background: #A93E17;
}

@keyframes floatBounce {

    0%,
    100% {
        transform:
            perspective(500px) rotateX(3deg) rotateY(-3deg) rotate(-2deg) translateY(0);
    }

    50% {
        transform:
            perspective(500px) rotateX(5deg) rotateY(-5deg) rotate(-4deg) translateY(-8px);
    }
}

.photo-icon {
    background: #15399A;
    bottom: -33px;
    left: -34px;
}

.flash-icon {
    background: #15399A;
    bottom: -500px;
    left: -34px;
}


/* Your existing marquee styles */
.purchases-marquee {
    background: rgba(169, 62, 23, 0.1);
    border-radius: 8px;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(169, 62, 23, 0.2);
}

.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: scroll 15s linear infinite;
}

.purchase-item {
    align-items: center;
    margin: 0 30px;
    font-weight: 500;
    color: #ffffff;
}

.crown-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
}

/* New 3D Claymorphism Price Tag */
.clay-price-tag {
    display: inline-block;
    padding: 4px 12px;
    margin-left: 8px;
    background: linear-gradient(145deg, #a93e17, #dc3545);
    border-radius: 8px;
    font-weight: 700;
    color: #ffffff;
    /* box-shadow:
        3px 3px 6px rgba(101, 34, 11, 0.2),
        -3px -3px 6px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.1),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1); */
    transform: perspective(100px) rotateX(2deg);
    transition: all 0.3s ease;
}

.clay-price-tag:hover {
    transform: perspective(100px) rotateX(2deg) scale(1.05);
    box-shadow:
        4px 4px 8px rgba(101, 34, 11, 0.25),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.card-3d {
    position: relative;
    padding: 15px !important;
}

.modal-icon {
    width: max-content;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow:
        /* 8px 8px 16px rgba(101, 34, 11, 0.6),
        -8px -8px 16px rgba(193, 72, 31, 0.4), */
        inset 2px 2px 4px rgba(255, 255, 255, 0.1),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    background: #A93E17;
    font-size: small;
    color: white;
}

.post-item {
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.post-item:hover {
    transform: perspective(500px) rotateY(4deg) translateY(-8px) scale(1.01);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.25);
}

.post-item:hover .modal-icon {
    color: #4a6cf7;
}

.post-item:hover .post-item-btn .btn-default {
    background: #4a6cf7;
    color: white;
}


/* Optional: Add a smooth transition to the 3D viewer container */
.post-3dviewer {
    transition: box-shadow 0.3s ease;
}

.post-item:hover .post-3dviewer {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-icon>img {
    width: 15px;
    margin-right: 5px;
}


.image-upload-div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
    position: relative;
}

.main-card {
    position: relative;
}

.post-item.card-3d {
    position: relative;
    overflow: visible;
    /* Allows content to extend beyond card */
    z-index: 1;
    transition: all 0.4s ease;
}

.modals-viewers {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modals-viewers:hover {
    transform: perspective(500px) rotateY(4deg) translateY(-8px) scale(1.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.2));
}

/* Optional: Add perspective tilt */
.post-item.card-3d:hover {
    transform: perspective(800px) rotateX(10deg);
}

.hero .upload-hero {
    background: url(../images/hero-bg-shape.png) no-repeat;
    background-position: top center;
    background-size: auto;
}

.userInput:hover {
    background-color: transparent !important;
}

.history-card {
    background: var(--secondary-color) url(../images/post-item-bg.svg) no-repeat;
    background-position: center center;
    background-size: cover;
    border: 1px solid var(--divider-color);
    border-radius: 20px;
    margin-bottom: 10px;
    padding: 15px;
}


.plus-icon {
    position: absolute;
    top: 75px;
    right: 30px;
}

.image-icon {
    position: absolute;
    top: 75px;
    left: 30px;
}

.gallary-icon {
    position: absolute;
    bottom: 184px;
    left: 30px;
}

.gallary-icon-2 {
    position: absolute;
    bottom: 50px;
    left: 30px;
}

.star-icon {
    position: absolute;
    bottom: 184px;
    right: 30px;
}

/* Bounce UP animation */
@keyframes bounce-up {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    /* Moves up */
}

/* Bounce DOWN animation */
@keyframes bounce-down {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

    /* Moves down */
}

/* Apply animations with different delays */
.plus-icon.bounce {
    display: inline-block;
    animation: bounce-up 1.5s ease infinite;
    animation-delay: 0.2s;
    /* Unique delay */
}

.image-icon.bounce {
    display: inline-block;
    animation: bounce-up 1.5s ease infinite;
    animation-delay: 0.4s;
    /* Unique delay */
}

.gallary-icon.bounce {
    display: inline-block;
    animation: bounce-down 1.5s ease infinite;
    animation-delay: 0.6s;
    /* Unique delay */
}
.gallary-icon-2 .bounce {
    display: inline-block;
    animation: bounce-down 1.5s ease infinite;
    animation-delay: 0.6s;
    /* Unique delay */
}

.star-icon.bounce {
    display: inline-block;
    animation: bounce-down 1.5s ease infinite;
    animation-delay: 0.8s;
    /* Unique delay */
}


.video-3d-container {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.05s linear;
}

.lift-video {
    max-width: 25vw;
    max-height: 25vh;
    object-fit: contain;
    border-radius: 15px;
    transform-style: preserve-3d;
    transition: all 0.15s ease-out;
    transform:
        translateZ(0) rotateX(0) rotateY(0);
    box-shadow: 0 0 0 #A93E17;
    filter: brightness(1) contrast(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    z-index: 10;
    position: relative;
    border-radius: 50%;
}

.video-depth-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transform: translateZ(-80px);
    filter: blur(20px);
    opacity: 0;
    z-index: 1;
}



.video-depth-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform-style: preserve-3d;
    pointer-events: none;
}




.generate-btn {
    background: linear-gradient(145deg, #8a2be2, #9932cc);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3),
                0 0 0 1px rgba(138, 43, 226, 0.5);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.download-btn {
    background: linear-gradient(145deg, #2be249, #9932cc);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3),
                0 0 0 1px rgba(138, 43, 226, 0.5);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.upload-btn {
    background: linear-gradient(145deg, #caf16e, #9932cc);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3),
                0 0 0 1px rgba(138, 43, 226, 0.5);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    
}

.up-btn{
position: absolute;
    z-index: 10;
    top: 42%;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    transition: all 0.3s;
}

.generate-btn:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3), 
                0 0 0 1px rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
}

.generate-btn:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 
                inset 0 1px 1px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
}

.active-nav {
    border-bottom: 2px solid !important;
    border-radius: 0px !important;
    border-color: #A93E17 !important;
}

.opacity-35{
    opacity: 35%;
}

.slicknav-login {
    animation: fadeIn 0.3s ease;
    padding: 0px 20px;
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.credit-div{
    max-width: unset !important;
    width: unset !important;
}