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

body {
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    transition: all 0.8s ease;
}

/* THEME 1: Cyber Terminal */
body.theme-cyber {
    background: #0a0e27;
    color: #00ff41;
}

/* THEME 2: Holographic UI */
body.theme-holo {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e0e0e0;
}

/* THEME 3: Minimal Future */
body.theme-minimal {
    background: #000000;
    color: #ffffff;
}

/* THEME 4: Neon Grid */
body.theme-grid {
    background: #0d0221;
    color: #ff006e;
}

/* THEME 5: Quantum */
body.theme-quantum {
    background: radial-gradient(ellipse at center, #1b1464 0%, #000000 100%);
    color: #00ffff;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Grid overlay for grid theme */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.8s;
    background-image: 
        linear-gradient(rgba(255, 0, 110, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 110, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    perspective: 1000px;
    transform: rotateX(60deg) scale(2);
    transform-origin: center bottom;
}

body.theme-grid .grid-overlay {
    opacity: 0.4;
}

/* Header */
header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

body.theme-cyber .logo {
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41, 0 0 30px #00ff41;
    animation: glitch 3s infinite;
}

body.theme-holo .logo {
    background: linear-gradient(45deg, #00d4ff, #ff00ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-minimal .logo {
    color: #ffffff;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 5px;
}

body.theme-grid .logo {
    font-family: 'Audiowide', cursive;
    color: #ff006e;
    text-shadow: 
        0 0 10px #ff006e,
        0 0 20px #ff006e,
        0 0 40px #ff006e,
        0 0 80px #8338ec;
    animation: neon-pulse 2s ease-in-out infinite;
}

body.theme-quantum .logo {
    font-family: 'Rajdhani', sans-serif;
    color: #00ffff;
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 40px #9d4edd;
    animation: quantum-shift 4s ease-in-out infinite;
}

/* Controls */
.controls {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Language Switcher */
.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switch:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-btn.active {
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.theme-btn.cyber {
    background: linear-gradient(135deg, #00ff41, #00aa2e);
}

.theme-btn.holo {
    background: linear-gradient(135deg, #00d4ff, #ff00ff);
}

.theme-btn.minimal {
    background: linear-gradient(135deg, #ffffff, #666666);
}

.theme-btn.grid {
    background: linear-gradient(135deg, #ff006e, #8338ec);
}

.theme-btn.quantum {
    background: linear-gradient(135deg, #00ffff, #9d4edd);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
}

body.theme-cyber .hero h1 {
    color: #00ff41;
    text-shadow: 0 0 20px #00ff41;
}

body.theme-holo .hero h1 {
    background: linear-gradient(90deg, #00d4ff, #ff00ff, #00ff88, #00d4ff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

body.theme-minimal .hero h1 {
    color: #ffffff;
    letter-spacing: 0.5rem;
}

body.theme-grid .hero h1 {
    font-family: 'Audiowide', cursive;
    color: #ff006e;
    text-shadow: 
        0 0 10px #ff006e,
        0 0 30px #ff006e,
        0 0 50px #8338ec;
    animation: neon-flicker 1.5s infinite alternate;
}

body.theme-quantum .hero h1 {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(45deg, #00ffff, #9d4edd, #00ffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: quantum-flow 4s ease infinite;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

/* Services Grid */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.service-card {
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    cursor: pointer;
}

body.theme-cyber .service-card {
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

body.theme-cyber .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.4);
    background: rgba(0, 255, 65, 0.1);
}

body.theme-holo .service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.theme-holo .service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

body.theme-minimal .service-card {
    background: #0a0a0a;
    border: 1px solid #333;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

body.theme-minimal .service-card:hover {
    transform: translateY(-5px);
    border-color: #fff;
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.1);
}

body.theme-grid .service-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(131, 56, 236, 0.1));
    border: 2px solid #ff006e;
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.3),
        inset 0 0 20px rgba(255, 0, 110, 0.1);
}

body.theme-grid .service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 0 40px rgba(255, 0, 110, 0.6),
        0 20px 40px rgba(131, 56, 236, 0.4);
    border-color: #8338ec;
}

body.theme-quantum .service-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(157, 78, 221, 0.05));
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    position: relative;
}

body.theme-quantum .service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: quantum-scan 3s linear infinite;
}

body.theme-quantum .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.4);
    border-color: #9d4edd;
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Features (for project pages) */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.4s;
}

body.theme-cyber .feature-card {
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

body.theme-cyber .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

body.theme-holo .feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-holo .feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

body.theme-minimal .feature-card {
    background: #0a0a0a;
    border: 1px solid #333;
}

body.theme-minimal .feature-card:hover {
    border-color: #fff;
}

body.theme-grid .feature-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(131, 56, 236, 0.1));
    border: 2px solid #ff006e;
}

body.theme-grid .feature-card:hover {
    transform: translateY(-5px);
    border-color: #8338ec;
}

body.theme-quantum .feature-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(157, 78, 221, 0.05));
    border: 2px solid rgba(0, 255, 255, 0.3);
}

body.theme-quantum .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    opacity: 0.85;
    line-height: 1.6;
}

/* Tech Stack */
.tech-stack, .tech-section {
    margin: 6rem 0 4rem;
    text-align: center;
}

.tech-stack h2, .tech-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tech-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tech-grid, .tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.tech-list {
    gap: 1rem;
}

.tech-item, .tech-tag {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.tech-tag {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

body.theme-cyber .tech-item, body.theme-cyber .tech-tag {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid #00ff41;
    color: #00ff41;
}

body.theme-cyber .tech-item:hover, body.theme-cyber .tech-tag:hover {
    background: rgba(0, 255, 65, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

body.theme-holo .tech-item, body.theme-holo .tech-tag {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.theme-holo .tech-item:hover, body.theme-holo .tech-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

body.theme-minimal .tech-item, body.theme-minimal .tech-tag {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
}

body.theme-minimal .tech-item:hover, body.theme-minimal .tech-tag:hover {
    border-color: #fff;
    transform: translateY(-3px);
}

body.theme-grid .tech-item, body.theme-grid .tech-tag {
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid #ff006e;
    color: #ff006e;
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.2);
}

body.theme-grid .tech-item:hover, body.theme-grid .tech-tag:hover {
    background: rgba(255, 0, 110, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
    transform: scale(1.1) rotate(2deg);
}

body.theme-quantum .tech-item, body.theme-quantum .tech-tag {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #00ffff;
    color: #00ffff;
}

body.theme-quantum .tech-item:hover, body.theme-quantum .tech-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transform: translateY(-5px);
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.contact h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-info {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

body.theme-cyber .contact-info a:hover {
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

body.theme-holo .contact-info a:hover {
    color: #00d4ff;
}

body.theme-minimal .contact-info a:hover {
    opacity: 0.7;
}

body.theme-grid .contact-info a:hover {
    color: #ff006e;
    text-shadow: 0 0 10px #ff006e;
}

body.theme-quantum .contact-info a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

/* Projects Section */
.projects {
    margin: 6rem 0;
    text-align: center;
}

.projects h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    padding: 3rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.5s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.project-card p {
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.6;
}

body.theme-cyber .project-card {
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid #00ff41;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

body.theme-cyber .project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.5);
    background: rgba(0, 255, 65, 0.1);
}

body.theme-cyber .project-card:hover h3 {
    text-shadow: 0 0 15px #00ff41;
}

body.theme-holo .project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body.theme-holo .project-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.5);
}

body.theme-holo .project-card:hover h3 {
    background: linear-gradient(45deg, #00d4ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-minimal .project-card {
    background: #0a0a0a;
    border: 2px solid #333;
    box-shadow: 0 5px 30px rgba(255, 255, 255, 0.05);
}

body.theme-minimal .project-card:hover {
    transform: translateY(-10px);
    border-color: #fff;
    box-shadow: 0 10px 50px rgba(255, 255, 255, 0.15);
}

body.theme-grid .project-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(131, 56, 236, 0.1));
    border: 2px solid #ff006e;
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.5);
}

body.theme-grid .project-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 0 40px rgba(255, 0, 110, 0.5),
        0 20px 50px rgba(131, 56, 236, 0.5);
    border-color: #8338ec;
}

body.theme-grid .project-card:hover h3 {
    text-shadow: 
        0 0 15px #ff006e,
        0 0 30px #8338ec;
}

body.theme-quantum .project-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(157, 78, 221, 0.05));
    border: 2px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
    position: relative;
}

body.theme-quantum .project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

body.theme-quantum .project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.5);
    border-color: #9d4edd;
}

body.theme-quantum .project-card:hover::before {
    animation: quantum-scan 2s linear infinite;
}

body.theme-quantum .project-card:hover h3 {
    background: linear-gradient(45deg, #00ffff, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Actions (for project pages) */
.actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.action-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

body.theme-cyber .action-btn {
    background: rgba(0, 255, 65, 0.1);
    border: 2px solid #00ff41;
    color: #00ff41;
}

body.theme-cyber .action-btn:hover {
    background: #00ff41;
    color: #0a0e27;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
}

body.theme-holo .action-btn {
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid #00d4ff;
    color: #00d4ff;
}

body.theme-holo .action-btn:hover {
    background: #00d4ff;
    color: #1a1a2e;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

body.theme-minimal .action-btn {
    background: #1a1a1a;
    border: 2px solid #fff;
    color: #fff;
}

body.theme-minimal .action-btn:hover {
    background: #fff;
    color: #000;
}

body.theme-grid .action-btn {
    background: rgba(255, 0, 110, 0.1);
    border: 2px solid #ff006e;
    color: #ff006e;
}

body.theme-grid .action-btn:hover {
    background: #ff006e;
    color: #0d0221;
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.6);
}

body.theme-quantum .action-btn {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    color: #00ffff;
}

body.theme-quantum .action-btn:hover {
    background: #00ffff;
    color: #1b1464;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

/* Animations */
@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes neon-pulse {
    0%, 100% {
        text-shadow: 
            0 0 10px #ff006e,
            0 0 20px #ff006e,
            0 0 40px #ff006e,
            0 0 80px #8338ec;
    }
    50% {
        text-shadow: 
            0 0 5px #ff006e,
            0 0 10px #ff006e,
            0 0 20px #ff006e,
            0 0 40px #8338ec;
    }
}

@keyframes neon-flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes quantum-shift {
    0%, 100% {
        transform: translateX(0);
        filter: hue-rotate(0deg);
    }
    33% {
        transform: translateX(-2px);
        filter: hue-rotate(120deg);
    }
    66% {
        transform: translateX(2px);
        filter: hue-rotate(240deg);
    }
}

@keyframes quantum-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes quantum-scan {
    0% {
        transform: translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateY(100%) rotate(45deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    .controls {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .tech-grid {
        gap: 1rem;
    }

    .theme-switcher {
        gap: 0.5rem;
    }

    .theme-btn {
        width: 35px;
        height: 35px;
    }

    .project-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 2rem 1.5rem;
    }

    .projects h2 {
        font-size: 2rem;
    }

    .actions {
        flex-direction: column;
        align-items: center;
    }

    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Theme Tooltip Cloud */
.theme-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: translateY(15px);
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.theme-tooltip.show {
    transform: translateY(15px);
}

.theme-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: var(--arrow-position, 50%);
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.95);
    transition: left 0.3s ease;
}

body.theme-cyber .theme-tooltip {
    background: rgba(0, 255, 65, 0.95);
    color: #0a0e27;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

body.theme-cyber .theme-tooltip::after {
    border-bottom-color: rgba(0, 255, 65, 0.95);
}

body.theme-holo .theme-tooltip {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.95), rgba(255, 0, 255, 0.95));
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

body.theme-holo .theme-tooltip::after {
    border-bottom-color: rgba(0, 212, 255, 0.95);
}

body.theme-minimal .theme-tooltip {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: 1px solid #333;
}

body.theme-minimal .theme-tooltip::after {
    border-bottom-color: rgba(255, 255, 255, 0.95);
}

body.theme-grid .theme-tooltip {
    background: rgba(255, 0, 110, 0.95);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

body.theme-grid .theme-tooltip::after {
    border-bottom-color: rgba(255, 0, 110, 0.95);
}

body.theme-quantum .theme-tooltip {
    background: rgba(0, 255, 255, 0.95);
    color: #1b1464;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

body.theme-quantum .theme-tooltip::after {
    border-bottom-color: rgba(0, 255, 255, 0.95);
}

/* Project Navigation */
.project-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.project-nav-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

body.theme-cyber .project-nav-btn {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid #00ff41;
    color: #00ff41;
}

body.theme-cyber .project-nav-btn:hover {
    background: rgba(0, 255, 65, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

body.theme-holo .project-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

body.theme-holo .project-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d4ff;
    color: #00d4ff;
}

body.theme-minimal .project-nav-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
}

body.theme-minimal .project-nav-btn:hover {
    border-color: #fff;
    background: #222;
}

body.theme-grid .project-nav-btn {
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid #ff006e;
    color: #ff006e;
}

body.theme-grid .project-nav-btn:hover {
    background: rgba(255, 0, 110, 0.2);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.4);
}

body.theme-quantum .project-nav-btn {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #00ffff;
    color: #00ffff;
}

body.theme-quantum .project-nav-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}
