/* =============== VIZ PREMIUM PORTFOLIO ================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500&display=swap');

:root {
    --bg-color: #050508;
    --text-main: #ffffff;
    --text-muted: #a0a5b1;
    --accent-1: #00f0ff;
    /* Neon Cyan */
    --accent-2: #8a2be2;
    /* Neon Purple */
    --accent-3: #ff007f;
    /* Neon Pink */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* LOADER */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s ease-in-out;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 5px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseText 1.5s infinite alternate;
}

.loader-bar {
    width: 150px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-1);
    animation: loadingBar 1.5s infinite;
}

@keyframes pulseText {
    0% {
        opacity: 0.6;
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes loadingBar {
    100% {
        left: 100%;
    }
}

/* BACKGROUND ORBS & MESH */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.04), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(138, 43, 226, 0.04), transparent 25%);
    z-index: -2;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    animation: float 15s infinite alternate;
    opacity: 0.7;
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-2);
    animation: float 12s infinite alternate-reverse;
    opacity: 0.7;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: var(--accent-3);
    opacity: 0.25;
    animation: float 18s infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

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

/* TYPOGRAPHY UTILS */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
}

.gradient-text {
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* REUSABLE GLASS COMPONENTS */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.1);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-1), #0099ff);
    color: #000;
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent-1);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
}

/* NAVBAR */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: 0.3s;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}

.accent {
    color: var(--accent-1);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--accent-1);
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #fff;
}

.tagline {
    font-family: var(--font-heading);
    color: var(--accent-1);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* SOCIAL BAR */
.social-bar {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 500;
}

.social-line {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.social-icon {
    color: var(--text-muted);
    font-size: 1.3rem;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
}

.social-icon:hover {
    color: var(--accent-1);
    transform: scale(1.2);
}

.tooltip {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    color: #fff;
}

.social-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* SECTIONS GLOBALS */
.section {
    padding: 100px 0;
    display: flex;
    align-items: center;
}

.hero.section {
    min-height: 100vh;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header.right {
    text-align: right;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-1);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: rgba(0, 240, 255, 0.07);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}

/* HERO */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding-left: 80px;
    /* offset for social bar */
}

.hero-text .title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 10px 0;
}

.hero-text .role {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.cursor-blink {
    animation: blink 1s infinite;
    color: var(--accent-1);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-text .description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-stats .num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.hero-stats .stat {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* MOBILE STICKER PHOTO — hidden on desktop */
.mobile-sticker-wrap {
    display: none;
}

.mobile-sticker {
    position: relative;
    width: 180px;
    height: 200px;
    margin: 0 auto;
    transform: rotate(-4deg);
    animation: stickerFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.4));
}

@keyframes stickerFloat {

    0%,
    100% {
        transform: rotate(-4deg) translateY(0);
    }

    50% {
        transform: rotate(-4deg) translateY(-12px);
    }
}

.mobile-sticker img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 3px solid transparent;
    background-clip: padding-box;
    outline: 3px solid rgba(0, 240, 255, 0.5);
    outline-offset: 3px;
    animation: stickerGlow 4s ease-in-out infinite alternate;
}

@keyframes stickerGlow {
    0% {
        outline-color: rgba(0, 240, 255, 0.6);
        filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.4));
    }

    50% {
        outline-color: rgba(138, 43, 226, 0.6);
        filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.4));
    }

    100% {
        outline-color: rgba(255, 0, 127, 0.6);
        filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.3));
    }
}

.sticker-bubble {
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00f0ff, #8a2be2);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 10;
    animation: bubbleBounce 1.5s ease-in-out infinite;
}

.sticker-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #8a2be2;
    border-bottom: none;
}

@keyframes bubbleBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    50% {
        transform: translateX(-50%) translateY(-5px) scale(1.05);
    }
}

.sticker-tag {
    position: absolute;
    bottom: -18px;
    right: -10px;
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid var(--accent-1);
    color: var(--accent-1);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    gap: 6px;
    align-items: center;
    backdrop-filter: blur(8px);
    animation: stickerFloat 3s ease-in-out 0.5s infinite;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-orb-back {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08), rgba(138, 43, 226, 0.08), transparent 70%);
    filter: blur(30px);
    animation: float 8s ease-in-out infinite;
}

.hero-image-container {
    position: relative;
    width: 340px;
    height: 430px;
    border-radius: 30px;
    z-index: 2;
    padding: 10px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(138, 43, 226, 0.05));
    border: 1px solid rgba(0, 240, 255, 0.25);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.1), inset 0 0 30px rgba(0, 0, 0, 0.2);
    animation: heroBorderGlow 4s ease-in-out infinite alternate;
}

@keyframes heroBorderGlow {
    0% {
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.1), inset 0 0 30px rgba(0, 0, 0, 0.2);
        border-color: rgba(0, 240, 255, 0.25);
    }

    100% {
        box-shadow: 0 0 60px rgba(138, 43, 226, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.2);
        border-color: rgba(138, 43, 226, 0.4);
    }
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: grayscale(15%) contrast(1.05) brightness(1.05);
    transition: 0.5s;
    transform: translateZ(30px);
}

.hero-image-container:hover .hero-img {
    filter: grayscale(0%) contrast(1.1) brightness(1.1);
}

.glass-panel {
    position: absolute;
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid var(--accent-1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transform: translateZ(50px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-panel-1 {
    top: 10%;
    right: -20px;
    animation: floatY 4s ease-in-out infinite;
}

.floating-panel-2 {
    bottom: 15%;
    left: -30px;
    animation: floatY 5s ease-in-out infinite reverse;
}

@keyframes floatY {
    0% {
        transform: translateY(0) translateZ(50px);
    }

    50% {
        transform: translateY(-15px) translateZ(50px);
    }

    100% {
        transform: translateY(0) translateZ(50px);
    }
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-left: 80px;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--accent-1);
    margin-bottom: 20px;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-muted);
}

/* SKILLS */
#skills .container {
    padding-left: 80px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.skill-card {
    text-align: center;
    position: relative;
}

.skill-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), transparent, rgba(138, 43, 226, 0.15));
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateZ(20px);
    transition: 0.4s;
}

.skill-card:hover .skill-icon {
    transform: translateZ(20px) scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 10px var(--accent-1));
}

.skill-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transform: translateZ(20px);
}

.skill-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    transform: translateZ(20px);
}

/* PROJECTS */
#projects .container {
    padding-left: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    padding: 0;
    overflow: hidden;
}

.project-img-wrapper {
    position: relative;
    height: 250px;
    width: 100%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s;
    backdrop-filter: blur(5px);
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-1);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: 0.3s;
    transform: translateY(20px);
}

.project-card:hover .view-btn {
    transform: translateY(0);
}

.project-content {
    padding: 30px;
}

.project-tech {
    font-size: 0.8rem;
    color: var(--accent-1);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* PHOTOGRAPHY */
#photography .container {
    padding-left: 80px;
}

.photography-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1.91/1;
    transform-style: preserve-3d;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: 0.4s;
    color: #fff;
    font-size: 2rem;
}

.photo-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

.insta-btn {
    border-color: #E1306C;
    color: #E1306C;
}

.insta-btn:hover {
    background: rgba(225, 48, 108, 0.1);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(225, 48, 108, 0.2);
}

/* CONTACT */
#contact .container {
    padding-left: 80px;
    display: flex;
    justify-content: center;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    width: 100%;
    max-width: 1000px;
    padding: 50px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.method i {
    color: var(--accent-1);
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-body);
    outline: none;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.05);
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    background: var(--bg-color);
    padding: 0 5px;
    color: var(--accent-1);
}

.submit-btn {
    border: none;
    cursor: pointer;
    justify-content: center;
    font-size: 1.1rem;
}

.form-result {
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 8px;
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-result.success {
    display: block !important;
    background: rgba(0, 255, 127, 0.1);
    color: #a7ffd6;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.form-result.error {
    display: block !important;
    background: rgba(255, 0, 127, 0.1);
    color: #ff85c2;
    border: 1px solid rgba(255, 0, 127, 0.2);
}

/* CONNECT WITH ME */
#connect .container {
    padding-left: 80px;
}

.connect-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.connect-card {
    position: relative;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.connect-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.connect-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.connect-card:hover .connect-glow {
    opacity: 1;
}

/* Per-platform glow */
.connect-insta .connect-glow {
    background: radial-gradient(circle, rgba(225, 48, 108, 0.15), transparent 60%);
}

.connect-linkedin .connect-glow {
    background: radial-gradient(circle, rgba(10, 102, 194, 0.15), transparent 60%);
}

.connect-x .connect-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
}

.connect-youtube .connect-glow {
    background: radial-gradient(circle, rgba(255, 0, 0, 0.15), transparent 60%);
}

/* Per-platform border glow on hover */
.connect-insta:hover {
    border-color: #E1306C;
    box-shadow: 0 15px 40px rgba(225, 48, 108, 0.2);
}

.connect-linkedin:hover {
    border-color: #0A66C2;
    box-shadow: 0 15px 40px rgba(10, 102, 194, 0.2);
}

.connect-x:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.08);
}

.connect-youtube:hover {
    border-color: #FF0000;
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.2);
}

.connect-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    transition: 0.4s;
    position: relative;
    z-index: 1;
}

.connect-insta .connect-icon {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.connect-linkedin .connect-icon {
    background: #0A66C2;
    color: #fff;
}

.connect-x .connect-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.connect-youtube .connect-icon {
    background: #FF0000;
    color: #fff;
}

.connect-github .connect-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
}

.connect-github:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.connect-github .connect-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.connect-github:hover .connect-arrow {
    color: #ffffff;
}

.connect-chess .connect-glow {
    background: radial-gradient(circle, rgba(129, 182, 76, 0.15), transparent 60%);
}

.connect-chess:hover {
    border-color: #81B64C;
    box-shadow: 0 15px 40px rgba(129, 182, 76, 0.2);
}

.connect-chess .connect-icon {
    background: #81B64C;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: normal;
}

.connect-chess:hover .connect-arrow {
    color: #81B64C;
}

.connect-card:hover .connect-icon {
    transform: scale(1.1) rotate(5deg);
}

.connect-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.connect-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.connect-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-muted);
    transition: 0.3s;
    position: relative;
    z-index: 1;
}

.connect-insta:hover .connect-arrow {
    color: #E1306C;
    transform: translate(4px, -4px);
}

.connect-linkedin:hover .connect-arrow {
    color: #0A66C2;
    transform: translate(4px, -4px);
}

.connect-x:hover .connect-arrow {
    color: #ffffff;
    transform: translate(4px, -4px);
}

.connect-youtube:hover .connect-arrow {
    color: #FF0000;
    transform: translate(4px, -4px);
}

/* FOOTER */
footer {
    padding: 40px 5%;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid var(--glass-border);
}

.footer-socials a:hover {
    background: var(--accent-1);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.3);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), var(--accent-1), var(--glass-border), transparent);
}

.footer-copy {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 25px;
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE CSS */
@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .connect-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {

    .hero-container,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .hero-image-wrapper {
        margin-top: 50px;
    }

    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    /* === CLASSICAL BACKGROUND COLOR SHIFT === */
    @keyframes mobileColorShift {
        0% {
            background-color: #050508;
        }

        20% {
            background-color: #07050e;
        }

        40% {
            background-color: #050a0e;
        }

        60% {
            background-color: #08050e;
        }

        80% {
            background-color: #050e0a;
        }

        100% {
            background-color: #050508;
        }
    }

    body {
        animation: mobileColorShift 15s ease-in-out infinite;
    }

    /* === FLOATING CARD ANIMATIONS === */
    @keyframes floatCard1 {

        0%,
        100% {
            transform: translateY(0)
        }

        50% {
            transform: translateY(-8px)
        }
    }

    @keyframes floatCard2 {

        0%,
        100% {
            transform: translateY(0)
        }

        50% {
            transform: translateY(-6px)
        }
    }

    @keyframes floatCard3 {

        0%,
        100% {
            transform: translateY(0)
        }

        50% {
            transform: translateY(-10px)
        }
    }

    .glass-card {
        animation: floatCard1 4s ease-in-out infinite;
    }

    .about-card:nth-child(2) {
        animation: floatCard2 4.5s ease-in-out infinite;
    }

    .skill-card:nth-child(1) {
        animation: floatCard3 3.8s ease-in-out infinite;
    }

    .skill-card:nth-child(2) {
        animation: floatCard1 4.2s ease-in-out 0.3s infinite;
    }

    .skill-card:nth-child(3) {
        animation: floatCard2 4s ease-in-out 0.6s infinite;
    }

    .skill-card:nth-child(4) {
        animation: floatCard3 4.5s ease-in-out 0.2s infinite;
    }

    .skill-card:nth-child(5) {
        animation: floatCard1 4.1s ease-in-out 0.5s infinite;
    }

    .connect-card {
        animation: floatCard2 5s ease-in-out infinite;
    }

    .connect-card:nth-child(2) {
        animation-delay: 0.4s;
    }

    .connect-card:nth-child(3) {
        animation-delay: 0.8s;
    }

    .connect-card:nth-child(4) {
        animation-delay: 1.2s;
    }

    .project-card {
        animation: floatCard1 4.5s ease-in-out infinite;
    }

    .project-card:nth-child(2) {
        animation-delay: 0.6s;
    }

    .photo-item:nth-child(1) {
        animation: floatCard1 3.5s ease-in-out infinite;
    }

    .photo-item:nth-child(2) {
        animation: floatCard2 4s ease-in-out 0.3s infinite;
    }

    .photo-item:nth-child(3) {
        animation: floatCard3 3.8s ease-in-out 0.6s infinite;
    }

    .photo-item:nth-child(4) {
        animation: floatCard1 4.2s ease-in-out 0.9s infinite;
    }

    /* override any hover transforms to not break floating */
    .glass-card:hover,
    .skill-card:hover {
        animation-play-state: paused;
    }

    /* Stronger background on mobile */
    .mesh-bg {
        background-image:
            radial-gradient(circle at 15% 30%, rgba(0, 240, 255, 0.12), transparent 40%),
            radial-gradient(circle at 85% 70%, rgba(138, 43, 226, 0.12), transparent 40%);
    }

    .orb-1 {
        width: 300px;
        height: 300px;
        opacity: 0.5;
        filter: blur(80px);
    }

    .orb-2 {
        width: 350px;
        height: 350px;
        opacity: 0.45;
        filter: blur(80px);
    }

    .orb-3 {
        width: 250px;
        height: 250px;
        opacity: 0.3;
        filter: blur(70px);
    }

    .social-bar {
        display: none;
    }

    .container {
        padding-left: 0 !important;
        width: 90%;
    }

    .hero-container {
        padding-left: 0;
        text-align: center;
    }

    .hero-text .title {
        font-size: 2.8rem;
    }

    .hero-text .role {
        font-size: 1.4rem;
    }

    .hero-text .description {
        margin: 0 auto 30px auto;
    }

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

    .hero-image-wrapper {
        display: none;
    }

    .mobile-sticker-wrap {
        display: flex;
        justify-content: center;
        margin-top: 50px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        padding-left: 0;
    }

    /* Skills: 3x3 grid on mobile */
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .skill-card {
        padding: 20px 10px;
    }

    .skill-icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .skill-card h4 {
        font-size: 1rem;
    }

    .skill-card p {
        font-size: 0.75rem;
    }

    /* Sticker-style photo gallery on mobile */
    .photo-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 10px;
    }

    .photo-item {
        aspect-ratio: 1/1;
        border-radius: 20px;
        border: 3px solid rgba(255, 255, 255, 0.15);
        box-shadow: none;
    }

    .photo-item:nth-child(1) {
        transform: rotate(-3deg);
        box-shadow: 5px 5px 20px rgba(0, 240, 255, 0.35);
        border-color: rgba(0, 240, 255, 0.4);
    }

    .photo-item:nth-child(2) {
        transform: rotate(2.5deg);
        box-shadow: -5px 5px 20px rgba(138, 43, 226, 0.35);
        border-color: rgba(138, 43, 226, 0.4);
    }

    .photo-item:nth-child(3) {
        transform: rotate(2deg);
        box-shadow: 5px -5px 20px rgba(255, 0, 127, 0.3);
        border-color: rgba(255, 0, 127, 0.4);
    }

    .photo-item:nth-child(4) {
        transform: rotate(-2.5deg);
        box-shadow: -5px -5px 20px rgba(0, 240, 255, 0.25);
        border-color: rgba(0, 240, 255, 0.3);
    }

    .photo-item:hover {
        transform: rotate(0deg) scale(1.05) !important;
        z-index: 2;
    }

    .connect-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .connect-card {
        padding: 22px 14px;
        border-radius: 16px;
    }

    .connect-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .connect-card h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .connect-card p {
        font-size: 0.78rem;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .buttons {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    .contact-box {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .connect-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-text .title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .skill-card {
        padding: 15px 8px;
    }

    .photo-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}