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

:root {
    --primary: #00d4ff;
    --primary-dark: #00b8e6;
    --secondary: #ff006e;
    --accent: #8338ec;
    --accent-green: #00ffa3;
    --accent-orange: #ff9f1c;
    --dark: #0a0e27;
    --dark-light: #1a1f3a;
    --dark-card: #151b35;
    --gray: #64748b;
    --light: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #00d4ff 0%, #8338ec 50%, #ff006e 100%);
    --gradient-alt: linear-gradient(45deg, #ff006e 0%, #8338ec 100%);
    --gradient-green: linear-gradient(135deg, #00ffa3 0%, #00d4ff 100%);
    --gradient-orange: linear-gradient(135deg, #ff9f1c 0%, #ff006e 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-neon-purple: 0 0 30px rgba(131, 56, 236, 0.4);
    --shadow-neon-pink: 0 0 30px rgba(255, 0, 110, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

code, .code-font {
    font-family: 'Fira Code', 'Courier New', monospace;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', 'Inter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Install Banner */
.install-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient);
    color: var(--white);
    padding: 1rem;
    z-index: 1000;
    box-shadow: var(--shadow);
    animation: slideDown 0.3s ease;
}

.install-banner.hidden {
    display: none;
}

.install-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.install-actions {
    display: flex;
    gap: 1rem;
}

.btn-install {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-install:hover {
    transform: scale(1.05);
}

.btn-dismiss {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-dismiss:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 999;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.25rem;
    font-family: 'Sora', monospace;
    font-weight: 800;
    box-shadow: var(--shadow-neon);
}

.brand-name {
    color: var(--white);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(131, 56, 236, 0.15) 0%, transparent 50%);
    animation: float 20s infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 212, 255, 0.03) 2px,
            rgba(0, 212, 255, 0.03) 4px
        );
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-neon);
    color: var(--primary);
    font-family: 'Fira Code', monospace;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--primary);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -0.03em;
    font-family: 'Sora', sans-serif;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Fira Code', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-neon);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--shadow-neon);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 0.75rem;
    color: var(--primary);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.social-link svg {
    pointer-events: none;
}

.social-link:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient);
    border-radius: 2rem;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.4);
    animation: float 6s ease-in-out infinite;
    border: 3px solid rgba(0, 212, 255, 0.3);
    overflow: hidden;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 2rem;
    background: var(--gradient);
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-neon);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    animation: float 4s ease-in-out infinite;
    color: var(--white);
    font-family: 'Fira Code', monospace;
}

.card-1 {
    top: 5%;
    right: -15%;
    animation-delay: 0s;
}

.card-2 {
    top: 35%;
    left: -20%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 30%;
    right: -18%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 5%;
    left: -15%;
    animation-delay: 0.5s;
}

.card-5 {
    top: 60%;
    right: -20%;
    animation-delay: 1.5s;
}

.card-6 {
    top: 20%;
    left: -18%;
    animation-delay: 2.5s;
}

.card-icon {
    font-size: 1.5rem;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Fira Code', monospace;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    font-family: 'Sora', sans-serif;
}

/* About Section */
.about {
    background: var(--dark-light);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--dark-card);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-item:hover::before {
    opacity: 0.1;
}

.stat-item:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.4);
    transform: translateY(-8px) scale(1.05);
}

.stat-item .stat-number,
.stat-item .stat-label {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'Sora', sans-serif;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Skills Section */
.skills {
    background: var(--dark-light);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category {
    background: var(--dark-card);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-category::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover::after {
    opacity: 1;
}

.skill-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-family: 'Sora', sans-serif;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-item {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    font-family: 'Fira Code', monospace;
    cursor: pointer;
}

.skill-item:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.5);
}

/* Unique colors for each category */
.ai-category .skill-item { border-color: rgba(0, 212, 255, 0.3); color: #00d4ff; }
.ai-category .skill-item:hover { background: #00d4ff; }

.integration-category .skill-item { border-color: rgba(131, 56, 236, 0.3); color: #8338ec; }
.integration-category .skill-item:hover { background: #8338ec; }

.payment-category .skill-item { border-color: rgba(255, 0, 110, 0.3); color: #ff006e; }
.payment-category .skill-item:hover { background: #ff006e; }

.gaming-category .skill-item { border-color: rgba(0, 255, 163, 0.3); color: #00ffa3; }
.gaming-category .skill-item:hover { background: #00ffa3; }

.backend-category .skill-item { border-color: rgba(255, 159, 28, 0.3); color: #ff9f1c; }
.backend-category .skill-item:hover { background: #ff9f1c; }

.frontend-category .skill-item { border-color: rgba(0, 212, 255, 0.3); color: #00d4ff; }
.frontend-category .skill-item:hover { background: #00d4ff; }

/* Projects Section */
.projects {
    background: var(--dark);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--dark-card);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

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

.project-card.featured {
    grid-column: span 2;
}

.project-card.featured .project-content {
    padding: 2.5rem;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-alt);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Fira Code', monospace;
    box-shadow: 0 4px 20px rgba(255, 0, 110, 0.4);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.3);
}

.project-image {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.project-placeholder {
    font-size: 4rem;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: 'Sora', sans-serif;
}

.project-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Fira Code', monospace;
}

/* Contact Section */
.contact {
    background: var(--dark-light);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s;
}

.contact-method:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.method-icon {
    font-size: 1.5rem;
}

.contact-form {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    border-radius: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 0.5rem;
    color: var(--primary);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Offline Indicator */
.offline-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    z-index: 1000;
}

.offline-indicator.hidden {
    display: none;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1002;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.8);
        border-left: 2px solid rgba(0, 212, 255, 0.5);
        padding: 2rem;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.1rem;
        color: #ffffff;
        padding: 0.75rem 1.5rem;
        width: 100%;
        text-align: center;
        border-radius: 0.75rem;
        transition: all 0.3s;
        border: 1px solid transparent;
        display: block;
        text-decoration: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 212, 255, 0.15);
        color: var(--primary);
        border-color: rgba(0, 212, 255, 0.3);
    }
    
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1003;
    }
    
    .mobile-menu-btn span {
        background: var(--white);
    }
    
    /* Debug: Make menu more visible */
    .nav-links.active {
        transform: translateX(0) !important;
        background: #0a0e27 !important;
        z-index: 9999 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    .nav-links.active .nav-link {
        color: #ffffff !important;
        background: rgba(0, 212, 255, 0.2) !important;
        margin: 0.5rem 0;
        border: 1px solid rgba(0, 212, 255, 0.5) !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-info {
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .floating-card {
        font-size: 0.7rem;
        padding: 0.5rem;
        gap: 0;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        justify-content: center;
    }
    
    .card-icon {
        font-size: 1.5rem;
    }
    
    .card-text {
        display: none;
    }
    
    /* Reposition cards for mobile - reset and reposition */
    .card-1 {
        top: 8%;
        right: -5%;
        left: auto;
        bottom: auto;
    }
    
    .card-2 {
        top: 30%;
        left: -5%;
        right: auto;
        bottom: auto;
    }
    
    .card-3 {
        bottom: 30%;
        right: -5%;
        left: auto;
        top: auto;
    }
    
    .card-4 {
        bottom: 8%;
        left: -5%;
        right: auto;
        top: auto;
    }
    
    .card-5 {
        top: 55%;
        right: -5%;
        left: auto;
        bottom: auto;
    }
    
    .card-6 {
        top: 45%;
        left: -5%;
        right: auto;
        bottom: auto;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
