/* ==========================================================================
   BILGIBIZDEN - DYNAMIC FRAME EFFECTS & ANIMATIONS
   Modern, GPU-accelerated neon, holographic, and gradient borders
   ========================================================================== */

/* Base wrapper properties for cards & buttons with effects */
.effect-wrapper {
    position: relative;
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    background: transparent;
}

.effect-wrapper:hover {
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   1. GOLD SHIMMER (Altın Işıltı)
   -------------------------------------------------------------------------- */
.effect-gold-shimmer {
    position: relative;
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    background: linear-gradient(135deg, rgba(25, 20, 10, 0.9), rgba(15, 12, 6, 0.95));
    box-shadow: 0 4px 20px rgba(255, 190, 0, 0.15), inset 0 0 15px rgba(255, 215, 0, 0.05);
    overflow: hidden;
}

.effect-gold-shimmer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.effect-gold-shimmer::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 35%,
        rgba(255, 225, 120, 0.3) 48%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 225, 120, 0.3) 52%,
        transparent 65%
    );
    animation: goldShimmerSweep 5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes goldShimmerSweep {
    0% { transform: translate(-30%, -30%) rotate(25deg); }
    30%, 100% { transform: translate(30%, 30%) rotate(25deg); }
}

.effect-gold-shimmer:hover {
    border-color: rgba(255, 215, 0, 0.85);
    box-shadow: 0 10px 30px rgba(255, 200, 0, 0.35), inset 0 0 20px rgba(255, 215, 0, 0.15);
}

/* --------------------------------------------------------------------------
   2. NEON CYAN (Neon Siber Mavi)
   -------------------------------------------------------------------------- */
.effect-neon-cyan {
    position: relative;
    border: 1.5px solid rgba(0, 229, 255, 0.4);
    background: linear-gradient(135deg, rgba(8, 20, 32, 0.92), rgba(5, 12, 22, 0.98));
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.16);
    animation: neonCyanPulse 3.5s infinite alternate ease-in-out;
}

@keyframes neonCyanPulse {
    0% {
        border-color: rgba(0, 229, 255, 0.35);
        box-shadow: 0 0 15px rgba(0, 229, 255, 0.15), inset 0 0 8px rgba(0, 229, 255, 0.05);
    }
    100% {
        border-color: rgba(0, 229, 255, 0.75);
        box-shadow: 0 0 25px rgba(0, 229, 255, 0.35), inset 0 0 15px rgba(0, 229, 255, 0.1);
    }
}

.effect-neon-cyan:hover {
    border-color: #00e5ff;
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.55), 0 0 10px rgba(0, 229, 255, 0.8);
}

/* --------------------------------------------------------------------------
   3. FIRE EMBER (Ateş Parıltısı)
   -------------------------------------------------------------------------- */
.effect-fire-ember {
    position: relative;
    border: 1.5px solid rgba(255, 87, 34, 0.45);
    background: linear-gradient(135deg, rgba(28, 12, 10, 0.92), rgba(16, 6, 6, 0.98));
    box-shadow: 0 4px 20px rgba(255, 60, 0, 0.2);
    animation: fireBreath 3s infinite alternate ease-in-out;
}

@keyframes fireBreath {
    0% {
        border-color: rgba(255, 87, 34, 0.4);
        box-shadow: 0 4px 15px rgba(255, 60, 0, 0.18);
    }
    100% {
        border-color: rgba(255, 120, 50, 0.8);
        box-shadow: 0 8px 30px rgba(255, 80, 0, 0.4), inset 0 0 12px rgba(255, 100, 0, 0.12);
    }
}

.effect-fire-ember:hover {
    border-color: #ff5722;
    box-shadow: 0 10px 35px rgba(255, 60, 0, 0.55);
}

/* --------------------------------------------------------------------------
   4. CYBER PURPLE (Siber Mor / Galaksi)
   -------------------------------------------------------------------------- */
.effect-cyber-purple {
    position: relative;
    border: 1.5px solid rgba(179, 136, 255, 0.4);
    background: linear-gradient(135deg, rgba(20, 10, 32, 0.92), rgba(12, 6, 20, 0.98));
    box-shadow: 0 4px 20px rgba(179, 136, 255, 0.18);
    animation: cyberPurpleShift 4s infinite alternate ease-in-out;
}

@keyframes cyberPurpleShift {
    0% {
        border-color: rgba(179, 136, 255, 0.35);
        box-shadow: 0 0 18px rgba(179, 136, 255, 0.15);
    }
    100% {
        border-color: rgba(224, 64, 251, 0.75);
        box-shadow: 0 0 28px rgba(224, 64, 251, 0.35), inset 0 0 14px rgba(179, 136, 255, 0.1);
    }
}

.effect-cyber-purple:hover {
    border-color: #e040fb;
    box-shadow: 0 10px 35px rgba(224, 64, 251, 0.5);
}

/* --------------------------------------------------------------------------
   5. MATRIX GREEN (Zümrüt Yeşili)
   -------------------------------------------------------------------------- */
.effect-matrix-green {
    position: relative;
    border: 1.5px solid rgba(0, 230, 118, 0.4);
    background: linear-gradient(135deg, rgba(8, 25, 15, 0.92), rgba(5, 15, 10, 0.98));
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.15);
    animation: matrixPulse 3s infinite alternate ease-in-out;
}

@keyframes matrixPulse {
    0% {
        border-color: rgba(0, 230, 118, 0.35);
        box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
    }
    100% {
        border-color: rgba(0, 230, 118, 0.8);
        box-shadow: 0 0 30px rgba(0, 230, 118, 0.35), inset 0 0 12px rgba(0, 230, 118, 0.1);
    }
}

.effect-matrix-green:hover {
    border-color: #00e676;
    box-shadow: 0 10px 35px rgba(0, 230, 118, 0.5);
}

/* --------------------------------------------------------------------------
   6. RAINBOW GLOW (RGB Gökkuşağı - Dönen Gradient)
   -------------------------------------------------------------------------- */
.effect-rainbow-glow {
    position: relative;
    background: #0f1218;
    z-index: 1;
}

.effect-rainbow-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(60deg, #ff007f, #7928ca, #0070f3, #00dfd8, #00e676, #ffbe00, #ff007f);
    background-size: 300% 300%;
    animation: rainbowBorder 4s linear infinite;
    z-index: -1;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.effect-rainbow-glow::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

@keyframes rainbowBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.effect-rainbow-glow:hover::before {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(0, 223, 216, 0.6));
}

/* --------------------------------------------------------------------------
   7. ICE CRYSTAL (Buz Kristali / Safir)
   -------------------------------------------------------------------------- */
.effect-ice-crystal {
    position: relative;
    border: 1.5px solid rgba(129, 212, 250, 0.45);
    background: linear-gradient(135deg, rgba(10, 22, 35, 0.92), rgba(6, 14, 24, 0.98));
    box-shadow: 0 4px 20px rgba(129, 212, 250, 0.16);
    animation: icePulse 4s infinite alternate ease-in-out;
}

@keyframes icePulse {
    0% {
        border-color: rgba(129, 212, 250, 0.4);
        box-shadow: 0 0 15px rgba(129, 212, 250, 0.15);
    }
    100% {
        border-color: rgba(225, 245, 254, 0.85);
        box-shadow: 0 0 25px rgba(129, 212, 250, 0.35), inset 0 0 12px rgba(129, 212, 250, 0.1);
    }
}

.effect-ice-crystal:hover {
    border-color: #e1f5fe;
    box-shadow: 0 10px 35px rgba(129, 212, 250, 0.5);
}

/* --------------------------------------------------------------------------
   8. SUNSET CORAL (Gün Batımı Mercan)
   -------------------------------------------------------------------------- */
.effect-sunset-coral {
    position: relative;
    border: 1.5px solid rgba(255, 110, 64, 0.45);
    background: linear-gradient(135deg, rgba(30, 14, 20, 0.92), rgba(18, 8, 14, 0.98));
    box-shadow: 0 4px 20px rgba(255, 110, 64, 0.18);
    animation: sunsetShift 3.5s infinite alternate ease-in-out;
}

@keyframes sunsetShift {
    0% {
        border-color: rgba(255, 110, 64, 0.4);
        box-shadow: 0 0 15px rgba(255, 110, 64, 0.15);
    }
    100% {
        border-color: rgba(255, 64, 129, 0.8);
        box-shadow: 0 0 28px rgba(255, 64, 129, 0.35);
    }
}

.effect-sunset-coral:hover {
    border-color: #ff4081;
    box-shadow: 0 10px 35px rgba(255, 64, 129, 0.5);
}

/* --------------------------------------------------------------------------
   9. MINIMAL GLOW (Sade & Zarif Karbon)
   -------------------------------------------------------------------------- */
.effect-none,
.effect-minimal-glow {
    position: relative;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(22, 26, 35, 0.85), rgba(15, 18, 24, 0.95));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.effect-none:hover,
.effect-minimal-glow:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Preview badges for Admin Panel */
.effect-badge-preview {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
}
