/* ===================================
   George Helal Portfolio v3
   Matte Black + Gold + Purple/White Accents
   =================================== */

:root {
    /* Core Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;

    /* Gold */
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --gold-dark: #B8860B;
    --gold-glow: rgba(212, 175, 55, 0.4);

    /* Purple/Mauve Accent */
    --purple: #9B59B6;
    --purple-light: #BB8FCE;
    --purple-dark: #7D3C98;
    --purple-glow: rgba(155, 89, 182, 0.4);

    /* White Accent */
    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.9);
    --white-muted: rgba(255, 255, 255, 0.6);
    --white-dim: rgba(255, 255, 255, 0.3);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    --gradient-purple: linear-gradient(135deg, var(--purple-light), var(--purple), var(--purple-dark));
    --gradient-mix: linear-gradient(135deg, var(--gold), var(--purple));

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-normal: 0.4s var(--ease-smooth);
    --transition-slow: 0.8s var(--ease-smooth);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

input,
textarea {
    font-family: inherit;
}

::selection {
    background: var(--gold);
    color: var(--bg-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

/* ===================================
   Loader
   =================================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--bg-tertiary);
    margin-top: 30px;
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-gold);
    animation: loaderProgress 2s ease-out forwards;
}

@keyframes loaderProgress {
    to {
        width: 100%;
    }
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===================================
   Gold Dust Canvas
   =================================== */
#goldDustCanvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* ===================================
   Side Navigation
   =================================== */
.side-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.nav-dot {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.nav-dot .dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--white-dim);
    border-radius: 50%;
    transition: var(--transition-normal);
    position: relative;
}

.nav-dot .dot::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--gold);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition-normal);
}

.nav-dot .label {
    font-size: 12px;
    font-weight: 500;
    color: var(--white-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-normal);
    white-space: nowrap;
}

.nav-dot:hover .dot,
.nav-dot.active .dot {
    border-color: var(--gold);
}

.nav-dot:hover .dot::before,
.nav-dot.active .dot::before {
    transform: scale(1);
}

.nav-dot:hover .label {
    opacity: 1;
    transform: translateX(0);
    color: var(--gold);
}

.nav-dot.active .label {
    opacity: 1;
    transform: translateX(0);
}

/* ===================================
   Social Links
   =================================== */
.social-links {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white-dim);
    border-radius: 50%;
    font-size: 16px;
    color: var(--white-muted);
    transition: var(--transition-normal);
}

.social-links a:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--purple-glow);
}

/* ===================================
   Main & Sections
   =================================== */
.main {
    position: relative;
    z-index: 2;
}

.section {
    min-height: 100vh;
    padding: 120px 80px;
    display: block;
    position: relative;
}

.section.hero {
    display: flex;
    align-items: center;
    padding-top: 60px;
}

.section.projects {
    min-height: auto;
    padding: 120px 80px 20px;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.section-label .num {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--gold);
}

.section-label .line {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.section-label .text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white-muted);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    margin-bottom: 50px;
}

.gradient-text {
    background: var(--gradient-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gold);
    top: -200px;
    right: -100px;
    animation: float1 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    bottom: -150px;
    left: -100px;
    animation: float2 12s ease-in-out infinite;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    animation: float3 10s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-50px, 50px) rotate(180deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(50px, -30px) rotate(-180deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--white-dim);
    border-radius: 30px;
    margin-bottom: 30px;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-tag span:last-child {
    font-size: 14px;
    color: var(--white-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    margin-bottom: 30px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line .word {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(50px, 10vw, 120px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
}

.title-line .word.accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--white-muted);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--gold-glow);
}

.btn-ghost {
    border: 1px solid var(--white-dim);
    color: var(--white);
}

.btn-ghost:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white-dim);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 24px;
        opacity: 0;
    }
}

.scroll-hint span {
    font-size: 11px;
    color: var(--white-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===================================
   About Section
   =================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.visual-card {
    width: 250px;
    height: 300px;
    background: var(--bg-secondary);
    border: 1px solid var(--white-dim);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-card i {
    font-size: 80px;
    color: var(--gold);
    opacity: 0.3;
}

.card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--purple);
    filter: blur(80px);
    opacity: 0.3;
    animation: glowMove 5s ease-in-out infinite;
}

@keyframes glowMove {

    0%,
    100% {
        transform: translate(-50px, -50px);
    }

    50% {
        transform: translate(50px, 50px);
    }
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    padding: 20px 30px;
    background: var(--bg-secondary);
    border: 1px solid var(--white-dim);
    border-radius: 15px;
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 12px;
    color: var(--white-muted);
    text-transform: uppercase;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    margin-bottom: 25px;
}

.about-content .intro-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--white-soft);
    margin-bottom: 20px;
}

.about-content .intro-text strong {
    color: var(--gold);
    font-weight: 600;
}

.about-content p {
    color: var(--white-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content p strong {
    color: var(--white);
    font-weight: 600;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 35px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.highlight-item i {
    font-size: 22px;
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.highlight-item div {
    flex: 1;
}

.highlight-item strong {
    display: block;
    font-size: 16px;
    color: var(--white);
    margin-bottom: 4px;
    font-weight: 600;
}

.highlight-item span {
    font-size: 14px;
    color: var(--white-muted);
    line-height: 1.6;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.about-tags .tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--white-dim);
    border-radius: 30px;
    font-size: 13px;
    color: var(--white-muted);
    transition: all 0.3s ease;
}

.about-tags .tag:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.about-tags .tag i {
    color: var(--purple);
}

.about-links {
    display: flex;
    gap: 16px;
    margin: 30px 0;
    justify-content: center;
}

.about-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: var(--gold);
    font-size: 20px;
    transition: all 0.3s var(--ease-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.about-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.about-link:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.about-link:hover::before {
    width: 100%;
    height: 100%;
}

.about-link i {
    font-size: 22px;
    color: var(--gold);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.about-link:hover i {
    transform: rotate(10deg) scale(1.1);
}

.about-link.icon-only span {
    display: none;
}

@media (max-width: 768px) {
    .about-links {
        gap: 12px;
    }

    .about-link {
        width: 50px;
        height: 50px;
    }

    .about-link i {
        font-size: 20px;
    }

    .about-highlights {
        padding: 20px;
    }
}

/* ===================================
   Skills Section - Clean & Professional
   =================================== */
.skills-grid-clean {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-box {
    background: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}

.skill-box:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.skill-icon-simple {
    font-size: 48px;
    margin-bottom: 20px;
}

.skill-box h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-list li {
    font-size: 15px;
    color: var(--white-muted);
    padding-left: 20px;
    position: relative;
}

.skill-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ===================================
   Projects Section - Clean & Professional
   =================================== */
.projects-grid-clean {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card-clean {
    background: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-card-clean.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-color: var(--gold);
}

.project-card-clean:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.project-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.project-tag.current {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--gold-light);
}

.project-card-clean h3 {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--white);
    font-weight: 700;
    margin: 0;
}

.project-card-clean.featured h3 {
    font-size: 32px;
    color: var(--gold-light);
}

.project-card-clean p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--white-muted);
    margin: 0;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-list span {
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
}

.project-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-clean {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-clean:hover {
    background: var(--gold);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-clean.primary {
    background: var(--gold);
    color: var(--bg-primary);
}

.btn-clean.primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

/* ===================================
   Section Subtitle
   =================================== */
.section-subtitle {
    font-size: 17px;
    color: var(--white-muted);
    margin-top: 15px;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ===================================
   Advanced Minimal Skills Section
   =================================== */
.skills-minimal {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.skill-row {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.4s var(--ease-smooth);
}

.skill-row:last-child {
    border-bottom: none;
}

.skill-row::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 2px;
}

.skill-row[data-color="purple"]::before {
    background: var(--gradient-purple);
}

.skill-row[data-color="mix"]::before {
    background: var(--gradient-mix);
}

.skill-row:hover::before {
    opacity: 1;
}

.skill-row:hover {
    padding-left: 20px;
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 280px;
    flex-shrink: 0;
}

.category-icon-minimal {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s var(--ease-smooth);
}

.skill-row[data-color="purple"] .category-icon-minimal {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.05));
    border-color: rgba(155, 89, 182, 0.2);
    color: var(--purple);
}

.skill-row[data-color="mix"] .category-icon-minimal {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(155, 89, 182, 0.15));
    border-color: rgba(183, 132, 119, 0.2);
    color: var(--gold-light);
}

.skill-row:hover .category-icon-minimal {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.skill-row[data-color="purple"]:hover .category-icon-minimal {
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.2);
}

.skill-row[data-color="mix"]:hover .category-icon-minimal {
    box-shadow: 0 8px 25px rgba(183, 132, 119, 0.2);
}

.skill-category-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--white);
    font-weight: 700;
    position: relative;
}

.skill-row[data-color="gold"] .skill-category-title {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-row[data-color="purple"] .skill-category-title {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-row[data-color="mix"] .skill-category-title {
    background: var(--gradient-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
}

.skill-badge-advanced {
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    font-size: 15px;
    color: var(--white-soft);
    font-weight: 500;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.skill-badge-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-badge-advanced:hover::before {
    left: 100%;
}

.skill-row[data-color="gold"] .skill-badge-advanced:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.skill-row[data-color="purple"] .skill-badge-advanced {
    border-color: rgba(155, 89, 182, 0.2);
}

.skill-row[data-color="purple"] .skill-badge-advanced:hover {
    background: rgba(155, 89, 182, 0.12);
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.15);
}

.skill-row[data-color="mix"] .skill-badge-advanced {
    border-color: rgba(183, 132, 119, 0.2);
}

.skill-row[data-color="mix"] .skill-badge-advanced:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(155, 89, 182, 0.12));
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(183, 132, 119, 0.15);
}

/* Responsive */
@media (max-width: 992px) {
    .skill-category-header {
        min-width: 240px;
    }
}

@media (max-width: 768px) {
    .skill-row {
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
    }

    .skill-row:hover {
        padding-left: 0;
    }

    .skill-row::before {
        left: 0;
        right: 0;
        top: -2px;
        bottom: auto;
        width: auto;
        height: 3px;
    }

    .skill-category-header {
        min-width: auto;
    }
}

.skills-simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.skill-simple-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.skill-simple-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-simple-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.skill-simple-card:hover::before {
    opacity: 1;
}

.skill-simple-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.skill-simple-header i {
    font-size: 28px;
    color: var(--gold);
}

.skill-simple-header h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    font-weight: 700;
    margin: 0;
}

.skill-simple-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    padding: 10px 18px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    font-size: 14px;
    color: var(--white-soft);
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.skills-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.skill-category {
    background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 35px;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-category:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.skill-category:hover::before {
    opacity: 1;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--bg-primary);
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.category-icon.purple {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.35);
}

.category-icon.mix {
    background: var(--gradient-mix);
    box-shadow: 0 8px 25px rgba(183, 132, 119, 0.35);
}

.category-info h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
}

.category-info p {
    font-size: 14px;
    color: var(--white-muted);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.skill-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold);
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.skill-icon.purple {
    background: rgba(155, 89, 182, 0.15);
    border-color: rgba(155, 89, 182, 0.25);
    color: var(--purple);
}

.skill-icon.mix {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(155, 89, 182, 0.15));
    border-color: rgba(183, 132, 119, 0.25);
    color: var(--gold-light);
}

.skill-details {
    flex: 1;
}

.skill-name {
    font-size: 15px;
    color: var(--white);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.skill-bar {
    height: 6px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar.purple {
    background: rgba(155, 89, 182, 0.15);
}

.skill-bar.mix {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), rgba(155, 89, 182, 0.15));
}

.skill-progress {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    transition: width 1.5s var(--ease-smooth);
}

.skill-bar.purple .skill-progress {
    background: var(--gradient-purple);
}

.skill-bar.mix .skill-progress {
    background: var(--gradient-mix);
}

/* ===================================
   Project Showcase Sections
   =================================== */
.project-showcase {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.project-showcase:first-of-type {
    padding-top: 10px;
}

.project-showcase:nth-child(even) {
    background: var(--bg-secondary);
}

.project-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.featured-project {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.project-showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-left: 40px;
}

.project-showcase-content.reverse {
    direction: rtl;
    padding-left: 0;
    padding-right: 40px;
}

.project-showcase-content.reverse>* {
    direction: ltr;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: fit-content;
}

.project-badge.purple {
    background: rgba(155, 89, 182, 0.12);
    border-color: rgba(155, 89, 182, 0.3);
    color: var(--purple);
}

.project-badge.mix {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(155, 89, 182, 0.12));
    border-color: rgba(183, 132, 119, 0.3);
    color: var(--gold-light);
}

.project-badge i {
    font-size: 14px;
}

.project-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.gradient-text-purple {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--white-muted);
}

.project-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--white);
}

.feature-item i {
    color: var(--gold);
    font-size: 16px;
}

.feature-item.purple i {
    color: var(--purple);
}

.feature-item.mix i {
    color: var(--gold-light);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    padding: 10px 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    font-size: 14px;
    color: var(--gold);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.tech-tag.purple {
    background: rgba(155, 89, 182, 0.1);
    border-color: rgba(155, 89, 182, 0.25);
    color: var(--purple);
}

.tech-tag.purple:hover {
    background: rgba(155, 89, 182, 0.2);
    border-color: var(--purple);
}

.tech-tag.mix {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(155, 89, 182, 0.1));
    border-color: rgba(183, 132, 119, 0.25);
    color: var(--gold-light);
}

.project-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-project {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

.btn-project:hover {
    background: var(--gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-project.primary {
    background: var(--gradient-gold);
    border-color: var(--gold);
    color: var(--bg-primary);
}

.btn-project.primary:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-project.primary.purple {
    background: var(--gradient-purple);
    border-color: var(--purple);
}

.btn-project.primary.purple:hover {
    box-shadow: 0 15px 40px rgba(155, 89, 182, 0.4);
}

.btn-project.primary.mix {
    background: var(--gradient-mix);
    border-color: transparent;
}

/* Project Preview Window */
.project-preview {
    display: flex;
    justify-content: center;
}

.preview-window {
    width: 100%;
    max-width: 480px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    transition: all 0.4s var(--ease-smooth);
}

.preview-window:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 35px 80px rgba(212, 175, 55, 0.15);
}

.preview-window.purple {
    border-color: rgba(155, 89, 182, 0.2);
}

.preview-window.purple:hover {
    border-color: var(--purple);
    box-shadow: 0 35px 80px rgba(155, 89, 182, 0.15);
}

.preview-window.mix {
    border-color: rgba(183, 132, 119, 0.2);
}

.preview-window.mix:hover {
    border-color: var(--gold-light);
    box-shadow: 0 35px 80px rgba(183, 132, 119, 0.15);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dots .dot.red {
    background: #ff5f56;
}

.window-dots .dot.yellow {
    background: #ffbd2e;
}

.window-dots .dot.green {
    background: #27c93f;
}

.window-url {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--white-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 6px;
}

.window-content {
    padding: 60px 40px;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.preview-placeholder i {
    font-size: 64px;
    color: var(--gold);
    opacity: 0.8;
}

.preview-placeholder span {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.preview-placeholder p {
    font-size: 14px;
    color: var(--white-muted);
}

.preview-placeholder.purple i {
    color: var(--purple);
}

.preview-placeholder.mix i {
    background: var(--gradient-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Mobile Responsive for New Sections
   =================================== */
@media (max-width: 992px) {
    .skills-showcase {
        grid-template-columns: 1fr;
    }

    .project-showcase-content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-left: 0;
        padding-right: 0;
    }

    .project-showcase-content.reverse {
        direction: ltr;
        padding-right: 0;
    }

    .project-preview {
        order: -1;
    }

    .project-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-showcase {
        padding: 60px 0;
    }

    .project-actions {
        flex-direction: column;
    }

    .btn-project {
        justify-content: center;
    }

    .skill-row {
        flex-direction: column;
        gap: 20px;
    }

    .skill-category-title {
        min-width: auto;
    }
}

/* ===================================
   Contact Section
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-info>p {
    color: var(--white-muted);
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    background: var(--bg-secondary);
    border: 2px solid var(--white-dim);
    border-radius: 50%;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(155, 89, 182, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.contact-link:hover {
    border-color: var(--purple);
    transform: translateY(-8px) rotate(5deg);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.4);
}

.contact-link:hover::before {
    width: 120%;
    height: 120%;
}

.contact-link i {
    font-size: 24px;
    color: var(--gold);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-link:hover i {
    color: var(--purple);
    transform: scale(1.2) rotate(-5deg);
}

.contact-link.icon-only span {
    display: none;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--white-dim);
    border-radius: 12px;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition-fast);
    outline: none;
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 18px;
    font-size: 14px;
    color: var(--white-dim);
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 15px;
    font-size: 12px;
    color: var(--gold);
    background: var(--bg-primary);
    padding: 0 5px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid var(--white-dim);
}

.footer p {
    font-size: 13px;
    color: var(--white-dim);
}

/* ===================================
   Project Modal
   =================================== */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.project-modal.open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border: 1px solid var(--white-dim);
    border-radius: 24px;
    overflow: hidden;
    animation: modalIn 0.4s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.modal-body {
    padding: 60px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-header {
    margin-bottom: 40px;
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 36px;
    margin-bottom: 15px;
}

.modal-header p {
    color: var(--white-muted);
    font-size: 16px;
}

.modal-preview {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.preview-browser {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #2d2d2d;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ff5f56;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #27ca40;
}

.browser-url {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #666;
    background: #1e1e1e;
    padding: 8px 20px;
    border-radius: 6px;
}

.browser-content {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-muted);
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.detail-block h4 {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-block ul {
    list-style: none;
}

.detail-block li {
    color: var(--white-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--white-dim);
    font-size: 14px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

/* ===================================
   Section Transitions & Advanced UX
   =================================== */
.section {
    position: relative;
    overflow: hidden;
}

/* Section Dividers with Gradient Blend */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 5;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
    z-index: 5;
}

.section.hero::before,
.section.hero::after {
    display: none;
}

/* Smooth Scroll Reveal Animation Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Children Animation */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.revealed>*:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children.revealed>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children.revealed>*:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger-children.revealed>*:nth-child(4) {
    transition-delay: 0.3s;
}

.stagger-children.revealed>*:nth-child(5) {
    transition-delay: 0.4s;
}

.stagger-children.revealed>*:nth-child(6) {
    transition-delay: 0.5s;
}

.stagger-children.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

/* Section Progress Indicator */
.section-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-gold);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* Enhanced Side Navigation */
.side-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.nav-dot {
    position: relative;
}

.nav-dot::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 20px;
    width: 2px;
    height: 20px;
    background: var(--white-dim);
    opacity: 0;
    transition: var(--transition-normal);
}

.nav-dot:not(:last-child)::before {
    opacity: 0.3;
}

.nav-dot.active::before {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

/* ===================================
   Premium Chat Widget
   =================================== */
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.chat-btn {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--bg-primary);
    box-shadow: 0 10px 40px var(--gold-glow), 0 0 0 4px rgba(212, 175, 55, 0.2);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.chat-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient-gold);
    opacity: 0.4;
    animation: chatPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes chatPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.chat-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 50px var(--gold-glow), 0 0 0 6px rgba(212, 175, 55, 0.3);
}

.chat-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--purple);
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    animation: badgePop 0.3s ease;
}

@keyframes badgePop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.chat-box {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    height: 480px;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: chatIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-box.open {
    display: flex;
}

@keyframes chatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(26, 26, 26, 0.9));
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.chat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--gradient-gold);
    opacity: 0.3;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: relative;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.chat-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #27ca40;
    border-radius: 50%;
    border: 2px solid var(--bg-tertiary);
}

.chat-info {
    flex: 1;
}

.chat-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--white-muted);
    margin-top: 2px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #27ca40;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(39, 202, 64, 0.5);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(39, 202, 64, 0);
    }
}

.chat-header-actions {
    display: flex;
    gap: 10px;
}

.chat-header-actions button {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-muted);
    font-size: 13px;
    transition: var(--transition-fast);
}

.chat-header-actions button:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.live-mode-btn.active {
    background: var(--purple) !important;
    border-color: var(--purple) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px var(--purple-glow);
}

/* Mode Indicator */
.chat-mode-indicator {
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chat-mode-indicator.live {
    background: rgba(155, 89, 182, 0.15);
    color: var(--purple-light);
}

.chat-mode-indicator i {
    font-size: 10px;
}

.chat-quick-btns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 15px 18px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-quick-btns button {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 11px;
    color: var(--white-muted);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.chat-quick-btns button:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    height: 200px;
    max-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Chat */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 2px;
}

.chat-msg {
    max-width: 88%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.6;
    animation: msgIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    word-wrap: break-word;
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-msg.bot {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(17, 17, 17, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.2);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Bot Message Formatting */
.chat-msg.bot strong,
.chat-msg.bot b {
    color: var(--gold);
    font-weight: 600;
}

.chat-msg.bot em {
    color: var(--purple-light);
}

.chat-msg.bot code {
    background: rgba(212, 175, 55, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--gold-light);
}

.chat-msg.user {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 20px var(--gold-glow);
    font-weight: 500;
}

.chat-msg.owner {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: var(--white);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    box-shadow: 0 4px 20px var(--purple-glow);
}

.chat-msg.owner::before {
    content: '👤 George';
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    opacity: 0.8;
}

.chat-msg .time {
    display: block;
    font-size: 10px;
    opacity: 0.5;
    margin-top: 8px;
    text-align: right;
}

.chat-msg.user .time {
    color: var(--bg-primary);
}

/* Response Card Styling */
.chat-msg .response-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
}

.chat-msg .response-card h4 {
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.chat-msg .response-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-msg .response-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-msg .response-list li:last-child {
    border: none;
}

.chat-msg .response-list li::before {
    content: '→';
    color: var(--gold);
}

.typing {
    display: flex;
    gap: 5px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(17, 17, 17, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.typing span {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
    box-shadow: 0 0 10px var(--gold-glow);
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.chat-form {
    display: flex;
    gap: 12px;
    padding: 15px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.chat-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: var(--white);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.chat-form input:focus {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.chat-form input::placeholder {
    color: var(--white-dim);
}

.chat-form button {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.chat-form button:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 25px var(--gold-glow);
    transition: var(--transition-fast);
}

.chat-form button:hover {
    transform: scale(1.05);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1200px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .section {
        padding: 80px 40px;
    }

    .side-nav {
        left: 15px;
    }

    .social-links {
        right: 15px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 25px;
    }

    .side-nav {
        display: none;
    }

    .social-links {
        position: fixed;
        bottom: 100px;
        right: 15px;
        top: auto;
        transform: none;
    }

    .project-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-number {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .skill-item {
        grid-template-columns: 35px 1fr 80px;
    }

    /* Mobile Chat Widget - Fixed & Accessible */
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }

    .chat-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .chat-box {
        position: fixed;
        bottom: 80px;
        right: 15px;
        left: 15px;
        width: auto;
        height: 70vh;
        max-height: 500px;
        min-height: 400px;
        border-radius: 20px;
    }

    .chat-header {
        padding: 14px 16px;
    }

    .chat-avatar {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .chat-name {
        font-size: 15px;
    }

    .chat-quick-btns {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 12px 14px;
    }

    .chat-quick-btns button {
        padding: 8px 6px;
        font-size: 10px;
    }

    .chat-messages {
        height: auto;
        max-height: none;
        flex: 1;
        min-height: 150px;
    }

    .chat-msg {
        max-width: 85%;
        padding: 12px 14px;
        font-size: 13px;
    }

    .chat-form {
        padding: 12px 14px;
    }

    .chat-form input {
        padding: 12px 16px;
        font-size: 16px;
        /* Prevents iOS zoom */
    }

    .chat-form button {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .modal-body {
        padding: 30px;
    }

    .modal-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .chat-quick-btns {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Small Screen Chat Optimizations */
    .chat-box {
        bottom: 75px;
        right: 10px;
        left: 10px;
        height: 75vh;
        max-height: 480px;
    }

    .chat-header-actions {
        gap: 6px;
    }

    .chat-header-actions button {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .chat-mode-indicator {
        padding: 6px 14px;
        font-size: 10px;
    }
}

/* Extra Small Screens */
@media (max-width: 360px) {
    .chat-widget {
        bottom: 10px;
        right: 10px;
    }

    .chat-btn {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .chat-box {
        bottom: 70px;
        right: 8px;
        left: 8px;
        border-radius: 16px;
    }

    .chat-quick-btns button {
        padding: 6px 4px;
        font-size: 9px;
    }
}

/* ===================================
   ADVANCED MOBILE ENHANCEMENTS v2.0
   Premium Touch & Performance
   =================================== */

/* === ENHANCED HERO FOR MOBILE === */
@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-line {
        text-align: center;
        font-size: clamp(36px, 11vw, 56px);
    }

    .hero-description {
        text-align: center;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-actions {
        width: 100%;
        max-width: 320px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* === MOBILE TOUCH ENHANCEMENTS === */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover effects - use active states */
    .btn:hover,
    .chat-btn:hover,
    .project-item:hover,
    .skill-item:hover,
    .about-link:hover,
    .chat-quick-btns button:hover {
        transform: none;
        box-shadow: none;
    }

    /* Active press states */
    .btn:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }

    .chat-btn:active {
        transform: scale(0.92);
    }

    .project-item:active,
    .skill-item:active {
        background: rgba(212, 175, 55, 0.1);
    }

    .chat-quick-btns button:active {
        background: rgba(212, 175, 55, 0.2);
        transform: scale(0.95);
    }

    /* Larger touch targets */
    .about-link,
    .about-tags .tag,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Smooth momentum scrolling */
    .chat-messages,
    .section {
        -webkit-overflow-scrolling: touch;
    }

    /* Disable text selection on buttons */
    .btn,
    .chat-btn,
    .chat-quick-btns button {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* === PERFORMANCE - REDUCED ANIMATIONS === */
@media (max-width: 768px) {
    .gold-dust-canvas {
        opacity: 0.4;
    }

    .hero-bg-shapes .shape {
        animation-duration: 15s;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gold-dust-canvas {
        display: none;
    }
}

/* === LANDSCAPE MOBILE === */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 30px 40px;
        min-height: auto;
    }

    .title-line {
        font-size: clamp(24px, 6vw, 36px);
    }

    .hero-actions {
        flex-direction: row;
    }

    .chat-box {
        height: 85vh;
        max-height: 260px;
    }

    .scroll-hint {
        display: none;
    }

    .chat-messages {
        min-height: 80px;
    }
}

/* === SAFE AREA INSETS (iPhone X/11/12/13/14/15+) === */
@supports (padding: env(safe-area-inset-bottom)) {
    .chat-widget {
        bottom: calc(15px + env(safe-area-inset-bottom));
        right: calc(15px + env(safe-area-inset-right));
    }

    .social-links {
        bottom: calc(100px + env(safe-area-inset-bottom));
        right: calc(15px + env(safe-area-inset-right));
    }

    .chat-form {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    @media (max-width: 480px) {
        .chat-box {
            bottom: calc(75px + env(safe-area-inset-bottom));
        }
    }
}

/* === DARK MODE - OLED OPTIMIZATION === */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #000000;
    }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }

    .chat-msg {
        border-width: 2px;
    }
}

/* === PRINT STYLES === */
@media print {

    .chat-widget,
    .social-links,
    .side-nav,
    .gold-dust-canvas,
    .scroll-hint,
    .hero-bg-shapes {
        display: none !important;
    }

    .section {
        page-break-inside: avoid;
        padding: 20px;
    }

    body {
        background: white;
        color: black;
    }
}

/* ===================================
   PREMIUM MOBILE SECTIONS v3.0
   Hero, About & Projects Redesign
   =================================== */

/* === HERO SECTION - PREMIUM MOBILE === */
@media (max-width: 768px) {
    .hero {
        padding: 90px 20px 70px;
        background: linear-gradient(180deg,
                var(--bg-primary) 0%,
                rgba(212, 175, 55, 0.03) 50%,
                var(--bg-primary) 100%);
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
        animation: heroGlow 8s ease-in-out infinite;
    }

    @keyframes heroGlow {

        0%,
        100% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(5%, 5%);
        }
    }

    .hero-tag {
        animation: floatTag 3s ease-in-out infinite;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(155, 89, 182, 0.1));
        border: 1px solid rgba(212, 175, 55, 0.3);
        backdrop-filter: blur(10px);
    }

    @keyframes floatTag {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-5px);
        }
    }

    .hero-title {
        position: relative;
        z-index: 2;
    }

    .title-line {
        font-size: clamp(38px, 12vw, 60px);
        text-shadow: 0 4px 30px rgba(212, 175, 55, 0.2);
        margin-bottom: 8px;
    }

    .title-line .gradient-text {
        background-size: 200% 200%;
        animation: gradientShift 4s ease infinite;
    }

    @keyframes gradientShift {

        0%,
        100% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.8;
        color: var(--white-muted);
        max-width: 340px;
        margin: 0 auto 30px;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-actions .btn-primary {
        background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
        padding: 18px 32px;
        font-size: 15px;
    }

    .hero-actions .btn-secondary {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .scroll-hint {
        margin-top: 50px;
    }
}

/* === ABOUT SECTION - GLASSMORPHISM MOBILE === */
@media (max-width: 768px) {
    #about {
        padding: 60px 15px;
        background: linear-gradient(180deg,
                var(--bg-primary) 0%,
                rgba(155, 89, 182, 0.03) 50%,
                var(--bg-primary) 100%);
    }

    .about-content {
        text-align: center;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.9;
        color: var(--white-muted);
        margin-bottom: 25px;
    }

    .about-visual {
        margin-top: 40px;
    }

    .visual-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 4/5;
        margin: 0 auto;
        background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(17, 17, 17, 0.9));
        backdrop-filter: blur(20px);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 24px;
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    }

    .stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 30px;
    }

    .stat-item {
        background: linear-gradient(145deg, rgba(212, 175, 55, 0.08), rgba(155, 89, 182, 0.05));
        border: 1px solid rgba(212, 175, 55, 0.15);
        border-radius: 16px;
        padding: 20px 15px;
        backdrop-filter: blur(10px);
        transition: transform 0.3s ease;
    }

    .stat-item:active {
        transform: scale(0.98);
    }

    .stat-num {
        font-size: 28px;
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
    }

    .stat-label {
        font-size: 11px;
        color: var(--white-dim);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 5px;
    }

    .about-tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 25px 0;
    }

    .about-tags .tag {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(155, 89, 182, 0.08));
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 20px;
        padding: 12px 18px;
        font-size: 13px;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .about-tags .tag:active {
        transform: scale(0.95);
        background: rgba(212, 175, 55, 0.2);
    }

    .about-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }

    .about-link {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(17, 17, 17, 0.95));
        border: 1px solid rgba(212, 175, 55, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
    }

    .about-link:active {
        transform: scale(0.92);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }
}

/* === PROJECTS SECTION - CARD CAROUSEL MOBILE === */
@media (max-width: 768px) {
    #projects {
        padding: 60px 0;
        background: linear-gradient(180deg,
                var(--bg-primary) 0%,
                rgba(212, 175, 55, 0.02) 30%,
                rgba(155, 89, 182, 0.02) 70%,
                var(--bg-primary) 100%);
    }

    #projects .section-label,
    #projects .section-title {
        padding: 0 20px;
    }

    .projects-wrapper {
        padding: 0;
    }

    .project-item {
        display: flex;
        flex-direction: column;
        margin: 0 15px 25px;
        padding: 0;
        background: linear-gradient(160deg,
                rgba(26, 26, 26, 0.95),
                rgba(17, 17, 17, 0.98));
        border: 1px solid rgba(212, 175, 55, 0.15);
        border-radius: 24px;
        overflow: hidden;
        box-shadow:
            0 15px 50px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.03) inset;
        transition: all 0.3s ease;
    }

    .project-item:active {
        transform: scale(0.98);
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
    }

    .project-number {
        display: none;
    }

    .project-visual {
        width: 100%;
        height: 200px;
        background: linear-gradient(135deg,
                rgba(212, 175, 55, 0.1),
                rgba(155, 89, 182, 0.1));
        position: relative;
        overflow: hidden;
    }

    .project-visual::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.9) 100%);
    }

    .project-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .project-info {
        padding: 25px 20px;
        text-align: left;
    }

    .project-title {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 10px;
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .project-type {
        font-size: 12px;
        color: var(--purple-light);
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .project-desc {
        font-size: 14px;
        line-height: 1.7;
        color: var(--white-muted);
        margin-bottom: 20px;
    }

    .project-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
    }

    .project-tags span {
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 8px;
        padding: 6px 12px;
        font-size: 11px;
        color: var(--gold);
    }

    .project-actions {
        display: flex;
        gap: 10px;
    }

    .project-actions .btn {
        flex: 1;
        padding: 14px 20px;
        font-size: 13px;
        border-radius: 12px;
        text-align: center;
        justify-content: center;
    }

    .project-actions .btn-primary {
        background: var(--gradient-gold);
        color: var(--bg-primary);
    }

    .project-actions .btn-secondary {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* === SECTION TITLES - MOBILE === */
@media (max-width: 768px) {
    .section-label {
        font-size: 12px;
        letter-spacing: 3px;
        margin-bottom: 12px;
        background: linear-gradient(90deg, var(--gold), var(--purple));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .section-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 40px;
        text-align: center;
    }
}

/* === SKILLS SECTION - MOBILE CARDS === */
@media (max-width: 768px) {

    .skills-categories-grid,
    .skills-simple-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .skill-category,
    .skill-simple-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .skill-item {
        padding: 14px 16px;
        border-radius: 14px;
        background: rgba(212, 175, 55, 0.03);
        margin-bottom: 10px;
        border: 1px solid rgba(212, 175, 55, 0.08);
    }

    .skill-item:active {
        background: rgba(212, 175, 55, 0.1);
    }
}

/* ===================================
   ULTRA PREMIUM MOBILE EFFECTS v4.0
   Cutting-Edge Animations & 3D
   =================================== */

/* === SHIMMER EFFECT === */
@media (max-width: 768px) {
    .hero-tag::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent);
        animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
        0% {
            left: -100%;
        }

        100% {
            left: 100%;
        }
    }
}

/* === 3D CARD TILT EFFECT === */
@media (max-width: 768px) {
    .project-item {
        transform-style: preserve-3d;
        perspective: 1000px;
    }

    .project-item:active {
        transform: perspective(1000px) rotateX(2deg) scale(0.98);
    }

    .stat-item {
        transform-style: preserve-3d;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .stat-item:active {
        transform: perspective(500px) rotateY(5deg) scale(0.97);
    }
}

/* === STAGGERED REVEAL ANIMATION === */
@media (max-width: 768px) {
    .project-item:nth-child(1) {
        animation-delay: 0s;
    }

    .project-item:nth-child(2) {
        animation-delay: 0.1s;
    }

    .project-item:nth-child(3) {
        animation-delay: 0.2s;
    }

    .project-item:nth-child(4) {
        animation-delay: 0.3s;
    }

    .stat-item:nth-child(1) {
        animation-delay: 0s;
    }

    .stat-item:nth-child(2) {
        animation-delay: 0.1s;
    }

    .stat-item:nth-child(3) {
        animation-delay: 0.2s;
    }

    .stat-item:nth-child(4) {
        animation-delay: 0.3s;
    }
}

/* === MOBILE BOTTOM NAVIGATION BAR === */
@media (max-width: 768px) {
    .mobile-nav-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.95));
        backdrop-filter: blur(20px);
        padding: 15px 20px calc(15px + env(safe-area-inset-bottom, 0px));
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 999;
        border-top: 1px solid rgba(212, 175, 55, 0.15);
    }

    .mobile-nav-bar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        color: var(--white-muted);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        padding: 8px 15px;
        border-radius: 12px;
    }

    .mobile-nav-bar a i {
        font-size: 20px;
    }

    .mobile-nav-bar a.active,
    .mobile-nav-bar a:active {
        color: var(--gold);
        background: rgba(212, 175, 55, 0.1);
    }
}

/* === NEON GLOW BUTTONS === */
@media (max-width: 768px) {
    .hero-actions .btn-primary {
        position: relative;
        overflow: hidden;
    }

    .hero-actions .btn-primary::before {
        content: '';
        position: absolute;
        inset: -3px;
        background: linear-gradient(45deg, var(--gold), var(--purple), var(--gold));
        background-size: 200% 200%;
        border-radius: inherit;
        z-index: -1;
        opacity: 0;
        animation: neonPulse 3s ease-in-out infinite;
        filter: blur(10px);
    }

    .hero-actions .btn-primary:active::before {
        opacity: 0.7;
    }

    @keyframes neonPulse {

        0%,
        100% {
            background-position: 0% 50%;
            opacity: 0.3;
        }

        50% {
            background-position: 100% 50%;
            opacity: 0.6;
        }
    }
}

/* === FLOATING PARTICLES EFFECT === */
@media (max-width: 768px) {

    #about::before,
    #projects::before {
        content: '';
        position: absolute;
        top: 10%;
        left: 5%;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        animation: floatParticle 10s ease-in-out infinite;
        pointer-events: none;
    }

    #about::after,
    #projects::after {
        content: '';
        position: absolute;
        bottom: 15%;
        right: 5%;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(155, 89, 182, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        animation: floatParticle 12s ease-in-out infinite reverse;
        pointer-events: none;
    }

    @keyframes floatParticle {

        0%,
        100% {
            transform: translate(0, 0) scale(1);
        }

        25% {
            transform: translate(20px, -20px) scale(1.1);
        }

        50% {
            transform: translate(0px, -40px) scale(1);
        }

        75% {
            transform: translate(-20px, -20px) scale(0.9);
        }
    }
}

/* === SWIPE INDICATOR === */
@media (max-width: 768px) {
    .swipe-indicator {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .swipe-dot {
        width: 8px;
        height: 8px;
        background: var(--white-dim);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .swipe-dot.active {
        width: 24px;
        border-radius: 4px;
        background: var(--gold);
    }
}

/* === ENHANCED SCROLL SNAP === */
@media (max-width: 768px) {
    .projects-wrapper {
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        display: flex;
        gap: 15px;
        padding: 0 15px 20px;
        -webkit-overflow-scrolling: touch;
    }

    .project-item {
        scroll-snap-align: center;
        flex-shrink: 0;
        width: calc(100vw - 50px);
        margin: 0;
    }
}

/* === PREMIUM LOADING SKELETON === */
@media (max-width: 768px) {
    .skeleton {
        background: linear-gradient(90deg,
                rgba(26, 26, 26, 0.8) 0%,
                rgba(42, 42, 42, 0.8) 50%,
                rgba(26, 26, 26, 0.8) 100%);
        background-size: 200% 100%;
        animation: skeletonLoad 1.5s infinite;
        border-radius: 8px;
    }

    @keyframes skeletonLoad {
        0% {
            background-position: 200% 0;
        }

        100% {
            background-position: -200% 0;
        }
    }
}

/* === PULL TO REFRESH STYLE === */
@media (max-width: 768px) {
    .pull-indicator {
        position: fixed;
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        background: var(--gradient-gold);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--bg-primary);
        font-size: 18px;
        transition: top 0.3s ease;
        z-index: 9999;
    }

    .pull-indicator.visible {
        top: 20px;
    }

    .pull-indicator i {
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        100% {
            transform: rotate(360deg);
        }
    }
}

/* === HAPTIC FEEDBACK VISUAL === */
@media (max-width: 768px) {

    .btn:active,
    .project-item:active,
    .stat-item:active,
    .about-tags .tag:active {
        animation: hapticPulse 0.15s ease;
    }

    @keyframes hapticPulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(0.97);
        }

        100% {
            transform: scale(1);
        }
    }
}

/* === GRADIENT BORDER ANIMATION === */
@media (max-width: 768px) {
    .visual-card {
        position: relative;
    }

    .visual-card::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(45deg, var(--gold), var(--purple), var(--gold));
        background-size: 300% 300%;
        border-radius: 26px;
        z-index: -1;
        animation: borderGlow 4s ease infinite;
    }

    @keyframes borderGlow {

        0%,
        100% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }
    }
}

/* === BLUR TRANSITION ON SCROLL === */
@media (max-width: 768px) {
    .section {
        position: relative;
    }

    .section.transitioning {
        filter: blur(2px);
        opacity: 0.8;
        transition: all 0.3s ease;
    }
}

/* === ENHANCED INPUT FOCUS === */
@media (max-width: 768px) {
    .chat-form input:focus {
        box-shadow:
            0 0 0 3px rgba(212, 175, 55, 0.15),
            0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
    }

    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--gold);
        box-shadow:
            0 0 0 4px rgba(212, 175, 55, 0.1),
            0 5px 20px rgba(0, 0, 0, 0.2);
    }
}