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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-light: #e5e7eb;
    --text-gray: #9ca3af;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* 3D Canvas Container */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Main Content */
main {
    position: relative;
    z-index: 1;
}

.section {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

/* Home Section */
#home {
    text-align: center;
}

.glitch {
    font-size: 5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    margin-bottom: 1rem;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(90deg); }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.vr-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 1rem;
    /* backdrop-filter removed for performance */
    transition: all 0.3s ease;
}

.vr-badge:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.vr-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.section-description {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-gray);
}

.arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* About Section */
#about {
    background: rgba(99, 102, 241, 0.05);
}

.about-intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-light);
    margin: 0;
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-row-top {
    width: 100%;
    max-width: 1100px;
}

.about-row-bottom {
    width: 100%;
    max-width: 1100px;
}

.about-row .about-card {
    flex: 1 1 280px;
    max-width: 360px;
    min-width: 260px;
}

.about-card {
    background: rgba(12, 12, 22, 0.92);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    background: rgba(18, 18, 32, 0.95);
}

.about-card p {
    text-align: left;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary-color);
    margin-left: auto;
    margin-right: auto;
}

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

.project-card {
    background: rgba(12, 12, 22, 0.92);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vr-project {
    border-color: rgba(99, 102, 241, 0.3);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.vr-project:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.vr-project-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    animation: gradient-animate 5s ease infinite;
}

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

/* Video & image thumbnails */
.project-video-thumbnail,
.project-image-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.project-image-thumbnail-coconut {
    background: url('assets/coconut_thumbnail.png') center / cover no-repeat;
}

.project-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-image:hover .project-video-overlay {
    opacity: 1;
}

.project-play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.9);
    border: 3px solid white;
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-play-btn:hover {
    transform: scale(1.1);
    background: rgba(99, 102, 241, 1);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

.project-play-btn i {
    margin-left: 4px; /* Offset play icon slightly right */
}

.project-placeholder {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.project-icon {
    font-size: 3rem;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    background: rgba(236, 72, 153, 0.9);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-badge-ongoing {
    background: rgba(99, 102, 241, 0.9);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-card p {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    flex-grow: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-highlights {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 0;
}

.project-highlights li {
    color: var(--text-gray);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.project-highlights li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.project-link:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

.project-link i {
    font-size: 1.1rem;
}

.project-link-video {
    color: var(--primary-color);
}

.project-link-secondary {
    color: var(--text-gray);
    font-weight: 500;
}

.project-link-secondary:hover {
    color: var(--text-light);
}

.project-link-disabled {
    color: var(--text-gray);
    opacity: 0.6;
    cursor: not-allowed;
}

.project-link-disabled:hover {
    color: var(--text-gray);
    gap: 0.5rem;
}

.project-section-demos {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-section-demos-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
}

.project-links-sections {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Achievements Section */
.achievements-section {
    background: rgba(139, 92, 246, 0.08);
    position: relative;
}

.achievements-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.achievements-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.achievements-row-top {
    width: 100%;
    max-width: 900px;
}

.achievements-row-bottom {
    width: 100%;
    max-width: 1100px;
}

.achievements-row .achievement-card {
    flex: 1 1 240px;
    max-width: 320px;
    min-width: 220px;
}

.achievement-card {
    background: rgba(12, 12, 22, 0.92);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    background: rgba(18, 18, 32, 0.95);
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.5));
    animation: float 3s ease-in-out infinite;
    color: var(--primary-color);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.achievement-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.achievement-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.achievement-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* VR Skills Section */
.vr-section {
    background: rgba(99, 102, 241, 0.08);
    position: relative;
}

.vr-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.vr-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.vr-skill-card {
    background: rgba(12, 12, 22, 0.92);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.vr-skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    background: rgba(18, 18, 32, 0.95);
}

.vr-skill-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vr-skill-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.vr-skill-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin: 0;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    color: var(--text-gray);
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.skill-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.skill-list li:hover {
    color: var(--text-light);
    padding-left: 1.8rem;
}

.skill-list li:hover::before {
    transform: translateX(5px);
    color: var(--accent-color);
}

/* Skills Section */
#skills {
    background: rgba(139, 92, 246, 0.05);
}

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

.skill-category-wide {
    grid-column: span 4;
}

.skill-category-compact {
    grid-column: span 4;
}

.skill-order-1 { order: 1; }
.skill-order-2 { order: 2; }
.skill-order-3 { order: 3; }
.skill-order-4 { order: 4; }
.skill-order-5 { order: 5; }
.skill-order-6 { order: 6; }
.skill-order-7 { order: 7; }
.skill-order-8 { order: 8; }
.skill-order-9 { order: 9; }
.skill-order-10 { order: 10; }
.skill-order-11 { order: 11; }
.skill-order-12 { order: 12; }

.skill-category-wide .tech-icons-grid {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
}

.skill-category-card {
    background: rgba(12, 12, 22, 0.92);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    background: rgba(18, 18, 32, 0.95);
}

.skill-category-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category-icon {
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1;
}

.skill-category-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin: 0;
}

.tech-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.tech-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 100px;
}

.tech-icon-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: block;
}

.tech-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    margin-bottom: 0.5rem;
}

.tech-icon-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.tech-icon-img.tech-icon-fallback {
    width: 2.5rem;
    height: 2.5rem;
}

.tech-icon-img.tech-icon-img-platform {
    width: 3.25rem;
    height: 2.5rem;
}

.tech-icon-item:hover .tech-icon-img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.tech-icon-item:hover .tech-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.tech-name {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tech-icon-item:hover .tech-name {
    color: var(--text-light);
}

/* Expertise level (shown on hover) */
.tech-expertise {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.tech-icon-item:hover .tech-expertise {
    opacity: 1;
    transform: translateY(0);
}

.expertise-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    font-weight: 600;
}

.expertise-dots {
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: center;
}

.expertise-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease;
}

.tech-icon-item.expertise-1 .expertise-dot:nth-child(-n+1),
.tech-icon-item.expertise-2 .expertise-dot:nth-child(-n+2),
.tech-icon-item.expertise-3 .expertise-dot:nth-child(-n+3),
.tech-icon-item.expertise-4 .expertise-dot:nth-child(-n+4),
.tech-icon-item.expertise-5 .expertise-dot:nth-child(-n+5) {
    background: var(--primary-color);
}

/* Contact Section */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    /* backdrop-filter removed for performance */
    min-width: 120px;
}

.contact-link:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.contact-link .contact-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    display: block;
}

.contact-link span {
    font-weight: 600;
    font-size: 1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-gray);
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
    background: var(--bg-darker);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .glitch {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 1rem 2rem;
    }

    .vr-skills-grid {
        grid-template-columns: 1fr;
    }

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

    .vr-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }


    .achievement-number {
        font-size: 2.5rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .skill-category-wide,
    .skill-category-compact {
        grid-column: span 1;
    }

    .tech-icons-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 1rem;
    }

    .tech-icon {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
