/*
Theme Name: AADME Modern Revamp
Theme URI: https://aadme.co/
Author: AADME
Author URI: https://aadme.co/
Description: Modern, high-converting digital marketing & leadership academy theme featuring #50258d gradient, rotating neon light hover effects, side-scrolling media marquee, built-in tracking systems (GTM, Meta Pixel, GA4), and full Elementor drag-and-drop compatibility.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: aadme-theme
*/

/* --- Design Tokens & Base Palette --- */
:root {
    --aadme-base: #50258D;
    --aadme-light: #7238C4;
    --aadme-mid: #351461;
    --aadme-deep: #210B3D;
    --aadme-obsidian: #120422;
    --aadme-gold: #FBBF24;
}

body {
    background-color: #120422;
    color: #F1F5F9;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* --- Rotating Neon Moving Light Button Edge on Hover --- */
@keyframes rotateNeon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-neon-edge {
    position: relative !important;
    z-index: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.875rem !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-neon-edge::before {
    content: '';
    position: absolute;
    z-index: -2;
    top: -120%;
    left: -120%;
    width: 340%;
    height: 340%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 240deg,
        #f59e0b 290deg,
        #ffffff 330deg,
        #fbbf24 360deg
    );
    animation: rotateNeon 2.2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-neon-edge:hover::before {
    opacity: 1;
}

.btn-neon-edge::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 2.5px;
    background: #fbbf24;
    border-radius: inherit;
    transition: background 0.2s ease;
}

.btn-neon-edge:hover::after {
    background: #f59e0b;
}

.btn-neon-edge:hover {
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.65), 0 0 50px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px) scale(1.02);
}

/* Secondary Violet Button with Neon Light Edge */
.btn-neon-violet {
    position: relative !important;
    z-index: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.875rem !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-neon-violet::before {
    content: '';
    position: absolute;
    z-index: -2;
    top: -120%;
    left: -120%;
    width: 340%;
    height: 340%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 240deg,
        #a855f7 290deg,
        #ffffff 330deg,
        #c084fc 360deg
    );
    animation: rotateNeon 2.2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-neon-violet:hover::before {
    opacity: 1;
}

.btn-neon-violet::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 2px;
    background: rgba(38, 14, 69, 0.92);
    backdrop-filter: blur(10px);
    border-radius: inherit;
    transition: background 0.2s ease;
}

.btn-neon-violet:hover::after {
    background: rgba(56, 21, 102, 0.95);
}

.btn-neon-violet:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.55), 0 0 45px rgba(114, 56, 196, 0.35);
    transform: translateY(-2px);
}

/* --- Infinite Side-Scrolling Media Logos Marquee --- */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    gap: 2.25rem;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.media-logo-card {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    transition: all 0.25s ease;
    user-select: none;
}

.media-logo-card:hover {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* --- Glassmorphism Purple Cards --- */
.glass-card-purple {
    background: linear-gradient(135deg, rgba(80, 37, 141, 0.28) 0%, rgba(30, 10, 58, 0.55) 100%);
    border: 1px solid rgba(192, 132, 252, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-card-purple:hover {
    border-color: rgba(251, 191, 36, 0.45);
    box-shadow: 0 10px 30px -10px rgba(114, 56, 196, 0.4);
}

/* --- AI Glowing Badge --- */
.badge-ai-glow {
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(192, 132, 252, 0.35);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.25);
    transition: all 0.3s ease;
}

.badge-ai-glow:hover {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 22px rgba(251, 191, 36, 0.4);
}

/* --- Background Multi-Stop Gradients --- */
.bg-deep-purple-gradient {
    background: radial-gradient(circle at 50% 0%, rgba(114, 56, 196, 0.3) 0%, transparent 60%),
                linear-gradient(180deg, #50258D 0%, #351461 25%, #210B3D 50%, #150626 80%, #0C0217 100%);
}
