/* ========================================
   Malware Mentor - Premium Stylesheet
   Version: 1.0
   Elite Tier Styling and Premium Effects
   ======================================== */

/* Particles Container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Elite Tier Badge Animations */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.course-badge.elite {
    position: relative;
    overflow: hidden;
}

.course-badge.elite::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 3s infinite;
}

/* Premium Card Borders */
.course-card.elite-tier,
.why-card.elite {
    border: 1px solid var(--mm-emboss-border);
    box-shadow: var(--mm-emboss-shadow), var(--mm-shadow-glow);
}

.course-card.premium-tier {
    border-image: var(--mm-gradient-border) 1;
}

/* Micro-Emboss Effect */
.micro-emboss {
    border: var(--mm-emboss-border);
    box-shadow: var(--mm-emboss-shadow);
}

/* Premium Glass Effect */
.glass-card {
    background: rgba(23, 24, 27, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 210, 217, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Elite Tier Headers */
.section-header.elite h2 {
    background: var(--mm-gradient-elite);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Button Variants */
.btn-elite {
    background: var(--mm-gradient-elite);
    color: white;
    box-shadow: 0 4px 15px rgba(162, 89, 255, 0.4);
    border: 1px solid rgba(162, 89, 255, 0.3);
}

.btn-elite:hover {
    box-shadow: 0 6px 25px rgba(162, 89, 255, 0.6);
    transform: translateY(-2px);
}

.btn-premium {
    background: var(--mm-gradient-premium);
    color: var(--mm-bg);
    box-shadow: 0 4px 15px rgba(255, 199, 95, 0.4);
    border: 1px solid rgba(255, 199, 95, 0.3);
}

.btn-premium:hover {
    box-shadow: 0 6px 25px rgba(255, 199, 95, 0.6);
    transform: translateY(-2px);
}

/* Platinum Accents */
.platinum-accent {
    color: var(--mm-platinum-silver);
    border-color: var(--mm-platinum-silver);
}

/* Premium Dividers */
.premium-divider {
    height: 1px;
    background: var(--mm-gradient-divider);
    margin: 2rem 0;
}

/* Elite Status Indicators */
.elite-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(162, 89, 255, 0.1);
    border: 1px solid var(--mm-violet-flux);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mm-violet-flux);
}

.elite-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--mm-violet-flux);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(162, 89, 255, 0.7);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px rgba(162, 89, 255, 0);
    }
}

/* Premium Text Gradient */
.text-gradient-elite {
    background: var(--mm-gradient-elite);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-premium {
    background: var(--mm-gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Chroma Rim Glow */
.chroma-rim {
    position: relative;
}

.chroma-rim::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--mm-gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--mm-transition-normal);
}

.chroma-rim:hover::after {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .course-badge.elite::before {
        animation-duration: 4s;
    }
    
    .glass-card {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .course-badge.elite::before,
    .elite-status::before {
        animation: none;
    }
}
