/* Front-Page Premium Animations */

:root {
    --gold-glow: rgba(255, 215, 0, 0.3);
    --obsidian-glow: rgba(26, 26, 26, 0.5);
}

/* Floating Animation for Hero Illustration */
.hero-illustration {
    animation: floating 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Ambient Particles Background */
.ambient-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.15;
    animation: drift linear infinite;
}

@keyframes drift {
    from {
        transform: translateY(0) translateX(0);
    }

    to {
        transform: translateY(-100vh) translateX(50px);
    }
}

/* Breathing Effect for Images */
.breathing-img {
    animation: breath 8s ease-in-out infinite;
}

@keyframes breath {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* Service Card Icon Pulse */
.p-feature-card:hover i {
    animation: iconPulse 0.5s ease-in-out;
    color: #fff !important;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Glowing Border for Premium Cards */
.premium-border-glow {
    position: relative;
}

.premium-border-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gold), transparent, var(--primary-gold));
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-border-glow:hover::after {
    opacity: 0.5;
}

/* Digital Vault CSS Illustration */
.vault-container {
    perspective: 1000px;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.vault-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: vaultRotate 10s linear infinite;
}

@keyframes vaultRotate {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.vault-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
}

.vault-face i {
    font-size: 8rem;
    color: var(--primary-gold);
    text-shadow: 0 0 20px var(--primary-gold);
}

.vault-inner {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--gold-gradient);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: goldPulse 3s ease-in-out infinite;
}

@keyframes goldPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Floating Coins */
.coin {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #d4af37);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-gold);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.coin::after {
    content: '$';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

.coin-1 {
    top: 10%;
    left: -20%;
    animation: coinFloat 4s ease-in-out infinite;
}

.coin-2 {
    bottom: 20%;
    right: -10%;
    animation: coinFloat 5s ease-in-out infinite 1s;
}

.coin-3 {
    top: 60%;
    left: 110%;
    animation: coinFloat 6s ease-in-out infinite 0.5s;
}

@keyframes coinFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}