/* ===================================
   VISUAL ENHANCEMENTS CSS
   - Featured Badges
   - Dual Buttons
   - Project Filters  
   - Project Modal
   - Section Dividers
   - Custom Cursor
   - Gradient Mesh Background
   - Lumina AI Hero Showcase
   =================================== */

/* ===== Lumina AI Hero Showcase ===== */
.lumina-hero-showcase {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 20px;
    position: relative;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.12) 0%,
            rgba(118, 75, 162, 0.12) 50%,
            rgba(240, 147, 251, 0.08) 100%);
    overflow: hidden;
    animation: luminaShowcasePulse 4s ease-in-out infinite;
    padding: 2px;
    background-image: linear-gradient(135deg,
            rgba(102, 126, 234, 0.12) 0%,
            rgba(118, 75, 162, 0.12) 50%,
            rgba(240, 147, 251, 0.08) 100%),
        linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.lumina-hero-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(102, 126, 234, 0.05),
            rgba(118, 75, 162, 0.08),
            rgba(240, 147, 251, 0.05),
            transparent);
    animation: heroShimmer 4s ease-in-out infinite;
    z-index: 0;
}

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

    100% {
        transform: translateX(50%);
    }
}

@keyframes luminaShowcasePulse {

    0%,
    100% {
        box-shadow:
            0 8px 40px rgba(102, 126, 234, 0.25),
            0 0 80px rgba(118, 75, 162, 0.15);
    }

    50% {
        box-shadow:
            0 12px 60px rgba(102, 126, 234, 0.35),
            0 0 100px rgba(118, 75, 162, 0.25);
    }
}

.lumina-hero-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem 3rem;
}

.lumina-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.lumina-hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.lumina-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #f5f5f5;
    margin-bottom: 0.3rem;
    line-height: 1.1;
}

.lumina-hero-subtitle {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.lumina-hero-desc {
    color: #ccc;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.lumina-hero-desc strong {
    color: #fff;
}

.lumina-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.lumina-hero-tags .tag {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
}

.lumina-hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lumina-metric {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.lumina-metric:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.metric-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.lumina-hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.highlight-item {
    color: #ccc;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    background: rgba(212, 175, 55, 0.05);
    border-left: 2px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(212, 175, 55, 0.12);
    border-left-color: var(--primary-color);
    color: #fff;
    transform: translateX(4px);
}

/* Responsive - Lumina Hero */
@media (max-width: 768px) {
    .lumina-hero-inner {
        padding: 1.5rem;
    }

    .lumina-hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lumina-hero-title {
        font-size: 2rem;
    }

    .lumina-hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}


/* Lumina AI - Bold Gradient Background */
.lumina-card {
    position: relative;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.15) 0%,
            rgba(118, 75, 162, 0.15) 50%,
            rgba(240, 147, 251, 0.15) 100%);
    border: 3px solid;
    border-image: linear-gradient(135deg, #667eea, #764ba2, #f093fb) 1;
    box-shadow:
        0 8px 32px rgba(102, 126, 234, 0.3),
        0 0 60px rgba(118, 75, 162, 0.2),
        inset 0 0 80px rgba(102, 126, 234, 0.05);
    animation: luminaPulse 3s ease-in-out infinite;
}

.lumina-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.1),
            rgba(118, 75, 162, 0.1),
            rgba(240, 147, 251, 0.1));
    border-radius: 12px;
    z-index: -1;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes luminaPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 8px 32px rgba(102, 126, 234, 0.3),
            0 0 60px rgba(118, 75, 162, 0.2);
    }

    50% {
        transform: scale(1.02);
        box-shadow:
            0 12px 48px rgba(102, 126, 234, 0.4),
            0 0 80px rgba(118, 75, 162, 0.3);
    }
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-1);
    color: var(--background-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    z-index: 10;
}

/* Project Filter Buttons */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-secondary);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-1);
    color: var(--background-dark);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Project Dual Buttons */
.project-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-demo,
.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-demo {
    background: var(--gradient-1);
    color: var(--background-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-github {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-github:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.project-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--background-light);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-color);
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: rotate(90deg);
}

.modal-body h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Section Dividers */
.section-divider {
    position: relative;
    height: 100px;
    background: linear-gradient(180deg, var(--background-dark) 0%, var(--background-light) 100%);
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 3px;
    background: var(--gradient-1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    opacity: 0.8;
}

/* Gradient Mesh Background */
.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-mesh::before,
.gradient-mesh::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    animation: meshFloat 20s ease-in-out infinite;
}

.gradient-mesh::before {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.gradient-mesh::after {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1), transparent);
    bottom: -200px;
    left: -200px;
    animation-delay: -10s;
}

@keyframes meshFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* Custom Cursor */
.custom-cursor,
.cursor-glow {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
}

.custom-cursor {
    background: var(--primary-color);
    transform: translate(-50%, -50%);
}

.cursor-glow {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.hovering-link .custom-cursor {
    transform: translate(-50%, -50%) scale(1.5);
}

body.hovering-link .cursor-glow {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0.8;
}

/* Hide default cursor */
body {
    cursor: none;
}

a,
button {
    cursor: none;
}

/* Mobile - show default cursor */
@media (max-width: 768px) {

    .custom-cursor,
    .cursor-glow {
        display: none;
    }

    body,
    a,
    button {
        cursor: auto;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .project-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .project-buttons {
        flex-direction: column;
    }

    .btn-demo,
    .btn-github {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        padding: 2rem;
        max-height: 90vh;
    }

    .featured-badge {
        top: 10px;
        right: 10px;
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }

    /* Reduce animation intensity on mobile */
    .lumina-card::before {
        filter: blur(4px);
        opacity: 0.5;
    }
}