/* ==================== MODERN GAMIFIED HERO SECTION ==================== */

/* Grid Overlay Effect */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 100, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 100, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Hero Container */
.hero-full {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.interactive-hero-container {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.hero-scroll-prompt {
    position: absolute;
    bottom: 3rem;
    right: 4rem;
    /* Moved to right side */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    pointer-events: none;
    animation: bounce 2s infinite;
    z-index: 10;
}

.hero-scroll-prompt i {
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.profile-overview {
    padding: var(--spacing-xl) 0;
    background: transparent;
}

.profile-overview-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Left Content */
.hero-content-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-greeting {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}


.hero-name-large {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    /* Increased to 800 for extra bold */
    line-height: 1.1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
    animation: slideInLeft 0.8s ease;
}

.hero-title-large {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
    min-height: 3rem;
}

.hero-description-new {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0;
}

/* Gamified Stats Badges */
.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: var(--spacing-sm) 0;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: rgba(200, 100, 255, 0.08);
    border: 1px solid rgba(200, 100, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    animation: fadeInUp 0.6s ease backwards;
}

.stat-badge:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-badge:nth-child(2) {
    animation-delay: 0.3s;
}

.stat-badge:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-badge:hover {
    background: rgba(200, 100, 255, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(200, 100, 255, 0.3);
}

.badge-icon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(200, 100, 255, 0.4));
}

.badge-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.badge-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Modern CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-sm);
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-modern {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(200, 100, 255, 0.4);
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 100, 255, 0.6);
}

.btn-primary-modern i {
    transition: transform var(--transition-normal);
}

.btn-primary-modern:hover i {
    transform: translateX(5px);
}

.btn-secondary-modern {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary-modern:hover {
    background: rgba(200, 100, 255, 0.1);
    border-color: var(--accent-secondary);
    transform: translateY(-3px);
}

/* Modern Social Icons */
.hero-social-modern {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-sm);
    position: relative;
    z-index: 10;
}

.social-icon-modern {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(200, 100, 255, 0.08);
    color: var(--text-primary);
    font-size: 1.25rem;
    border: 1px solid rgba(200, 100, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 10;
}

.social-icon-modern:hover {
    background: var(--gradient-1);
    border-color: var(--accent-primary);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(200, 100, 255, 0.4);
}

/* Right Content - Profile Showcase */
.hero-content-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.profile-showcase {
    position: relative;
    /* Changed from absolute to allow natural flow in bottom section */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeIn 1s ease;
    width: 100%;
    justify-content: center;
}

.profile-main-image {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    /* Professional vertical portrait ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.profile-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Slightly adjust to focus more on the face */
    display: block;
}

.profile-email-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: rgba(18, 18, 30, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 100, 255, 0.3);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.profile-email-badge:hover {
    background: rgba(200, 100, 255, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.profile-email-badge i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.profile-email-badge span {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Scroll Prompt */
.scroll-prompt {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-prompt i {
    font-size: 1.25rem;
    color: var(--accent-primary);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .profile-overview-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .hero-content-left {
        align-items: center;
    }

    .hero-name-large {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-description-new {
        max-width: 100%;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-social-modern {
        justify-content: center;
    }

    .profile-main-image {
        width: 100%;
        max-width: 320px;
        aspect-ratio: 4 / 5;
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 640px) {
    .hero-name-large {
        font-size: 2.5rem;
    }

    .hero-title-large {
        font-size: 1.4rem;
    }

    .hero-badges {
        flex-direction: column;
        width: 100%;
    }

    .stat-badge {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .profile-main-image {
        max-width: 280px;
    }

    .profile-email-badge {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}