/* Premium Visual Effects and Interactions */

/* Animated Gradient Backgrounds */
.premium-gradient-bg {
    background: linear-gradient(
        45deg,
        rgba(139, 69, 255, 0.1) 0%,
        rgba(0, 212, 255, 0.05) 25%,
        rgba(0, 255, 136, 0.08) 50%,
        rgba(139, 69, 255, 0.1) 75%,
        rgba(0, 212, 255, 0.05) 100%
    );
    background-size: 400% 400%;
    animation: premiumGradientShift 8s ease-in-out infinite;
}

@keyframes premiumGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glass Morphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}


.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 69, 255, 0.3);
    box-shadow: 
        0 16px 64px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(139, 69, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

/* Neon Glow Effects */
.neon-text {
    color: #ffffff;
    text-shadow: 
        0 0 5px rgba(139, 69, 255, 0.5),
        0 0 10px rgba(139, 69, 255, 0.5),
        0 0 15px rgba(139, 69, 255, 0.5),
        0 0 20px rgba(139, 69, 255, 0.5);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 
            0 0 5px rgba(139, 69, 255, 0.5),
            0 0 10px rgba(139, 69, 255, 0.5),
            0 0 15px rgba(139, 69, 255, 0.5),
            0 0 20px rgba(139, 69, 255, 0.5);
    }
    to {
        text-shadow: 
            0 0 10px rgba(139, 69, 255, 0.8),
            0 0 20px rgba(139, 69, 255, 0.8),
            0 0 30px rgba(139, 69, 255, 0.8),
            0 0 40px rgba(139, 69, 255, 0.8);
    }
}

/* Particle Effects */
.particle-container {
    position: relative;
    overflow: hidden;
}

.particle-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(139, 69, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 136, 0.3) 0%, transparent 50%);
    animation: particleFloat 6s ease-in-out infinite;
    pointer-events: none;
}


@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Premium Button Styles */
.premium-button {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    overflow: hidden;
    padding: 16px 32px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.premium-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.premium-button:hover::before {
    left: 100%;
}

.premium-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(139, 69, 255, 0.4),
        0 0 20px rgba(139, 69, 255, 0.3);
}

/* Holographic Effects */
.holographic {
    background: linear-gradient(
        45deg,
        #ff006e,
        #8338ec,
        #3a86ff,
        #06ffa5,
        #ffbe0b,
        #ff006e
    );
    background-size: 300% 300%;
    animation: holographicShift 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Liquid Morphing Buttons */
.liquid-button {
    position: relative;
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    overflow: hidden;
    padding: 14px 28px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.liquid-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 0;
}

.liquid-button:hover::before {
    width: 300px;
    height: 300px;
}

.liquid-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(139, 69, 255, 0.3);
}

.liquid-button span {
    position: relative;
    z-index: 1;
}

/* 3D Card Effects */
.card-3d {
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.card-3d-inner {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card-3d:hover .card-3d-inner {
    transform: rotateY(5deg) rotateX(5deg);
}

.card-3d:hover {
    transform: scale(1.02);
}

/* Cyberpunk Grid */
.cyber-grid {
    background-image: 
        linear-gradient(rgba(139, 69, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 69, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* Pulsing Orbs */
.pulse-orb {
    position: relative;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(139, 69, 255, 0.5);
}

.pulse-orb::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, transparent 50%, rgba(139, 69, 255, 0.1));
    border-radius: 50%;
    animation: orbPulse 2s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.5);
        opacity: 0.3;
    }
}

/* Iridescent Borders */
.iridescent-border {
    position: relative;
    background: var(--surface-color);
    border-radius: 12px;
}

.iridescent-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #ff006e,
        #8338ec,
        #3a86ff,
        #06ffa5,
        #ffbe0b,
        #ff006e
    );
    background-size: 300% 300%;
    animation: iridescent 4s ease-in-out infinite;
    border-radius: 14px;
    z-index: -1;
}

@keyframes iridescent {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating Elements */
.float-element {
    animation: floatUp 3s ease-in-out infinite;
}

.float-element:nth-child(even) {
    animation-delay: -1.5s;
    animation-direction: reverse;
}

@keyframes floatUp {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) rotate(5deg);
        opacity: 1;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: white;
    font-weight: bold;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff006e;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% {
        transform: translate(0);
    }
    15%, 49% {
        transform: translate(-2px, 2px);
    }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% {
        transform: translate(0);
    }
    21%, 62% {
        transform: translate(2px, -2px);
    }
}

/* Morphing Shapes */
.morph-shape {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    animation: morphTransform 4s ease-in-out infinite;
}

@keyframes morphTransform {
    0%, 100% {
        border-radius: 20px;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 50%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 0;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(270deg) scale(1.1);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .premium-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .glass-card {
        border-radius: 16px;
        padding: 20px;
    }
    
    .morph-shape {
        width: 60px;
        height: 60px;
    }
    
    .particle-container::before {
        animation-duration: 8s;
    }
}

/* Cursor Aura */
#cursor-aura {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(139, 69, 255, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cursor-aura.active {
    opacity: 1;
    animation: auraGlow 1s ease-in-out infinite alternate;
}

@keyframes auraGlow {
    from {
        transform: translate(-50%, -50%) scale(1);
        background: radial-gradient(circle, rgba(139, 69, 255, 0.8), transparent);
    }
    to {
        transform: translate(-50%, -50%) scale(1.5);
        background: radial-gradient(circle, rgba(0, 212, 255, 0.6), transparent);
    }
}

/* Minimal Buttons */
.btn-minimal-primary {
    --btn-bg: rgba(255,255,255,0.06);
    --btn-border: rgba(255,255,255,0.18);
    --btn-text: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 12px;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--btn-text);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn-minimal-primary:hover { 
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.28);
    transform: translateY(-1px);
}

.btn-minimal-secondary {
    --btn-border: rgba(139, 69, 255, 0.45);
    --btn-text: #e9e6ff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid var(--btn-border);
    color: var(--btn-text);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-minimal-secondary:hover { 
    border-color: rgba(139, 69, 255, 0.7);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Minimal hero visual (SVG container) */
.minimal-hero-visual {
    padding: 20px;
    border-radius: 16px;
    background: radial-gradient(ellipse at 30% 20%, rgba(139, 69, 255, 0.15), transparent 60%),
                radial-gradient(ellipse at 80% 70%, rgba(0, 212, 255, 0.12), transparent 60%);
    border: 1px solid rgba(255,255,255,0.08);
}
.minimal-hero-visual svg {
    display: block;
    width: 100%;
    height: 160px;
}
.minimal-hero-visual .glow {
    filter: drop-shadow(0 8px 24px rgba(139, 69, 255, 0.5)) drop-shadow(0 0 18px rgba(0,212,255,0.35));
}
