/* ============================================
   HOLO.FOLIO - Holographic Portfolio Styles
   ============================================ */

:root {
    --cyan: #00ffff;
    --magenta: #ff00ff;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --grid-color: rgba(0, 255, 255, 0.1);
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
    --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
    cursor: crosshair;
}

/* ============================================
   Scanline Overlay
   ============================================ */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
}

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, transparent 100%);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow-cyan);
    animation: glitch-text 3s infinite;
}

.nav-center {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-center a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--cyan);
    text-decoration: none;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-center a::before {
    content: '//';
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-center a:hover {
    color: var(--magenta);
    text-shadow: var(--glow-magenta);
}

.nav-center a:hover::before {
    opacity: 1;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 15px;
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.lang-btn.active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--dark-bg);
    box-shadow: var(--glow-cyan);
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    position: relative;
}

.hero-title .main-text {
    background: linear-gradient(180deg, #fff 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.5));
}

.hero-title .glitch-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.8;
}

.hero-title .glitch-layer:nth-child(2) {
    color: var(--cyan);
    animation: glitch-1 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.hero-title .glitch-layer:nth-child(3) {
    color: var(--magenta);
    animation: glitch-2 2s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-block;
    padding: 15px 50px;
    border: 2px solid var(--cyan);
    background: transparent;
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 3px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.hero-cta:hover {
    background: var(--cyan);
    color: var(--dark-bg);
    box-shadow: var(--glow-cyan);
}

.hero-cta:hover::before {
    left: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--cyan);
    opacity: 0.6;
}

.scroll-indicator .arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--cyan);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator .arrow::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    animation: scroll-anim 1.5s infinite;
}

/* ============================================
   Section Styling
   ============================================ */
section {
    padding: 100px 50px;
    position: relative;
}

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

.section-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--magenta);
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Gallery Section
   ============================================ */
#gallery {
    background: var(--darker-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    aspect-ratio: 16/10;
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.02);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.1) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 0, 255, 0.1) 50%, transparent 52%);
    background-size: 20px 20px;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover {
    border-color: var(--cyan);
    box-shadow: 
        var(--glow-cyan),
        inset 0 0 50px rgba(0, 255, 255, 0.1);
    transform: translateY(-10px);
}

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

.project-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-preview canvas {
    width: 100%;
    height: 100%;
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.project-card:hover .project-thumbnail {
    transform: scale(1.05);
}

/* ============================================
   Projects Grid (Category Page)
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid .project-card {
    aspect-ratio: unset;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.projects-grid .project-preview {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
}

.projects-grid .project-info {
    position: relative;
    transform: none;
    padding: 20px;
    background: rgba(10, 10, 15, 0.8);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.projects-grid .project-card:hover .project-info {
    transform: none;
    background: rgba(0, 255, 255, 0.05);
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.75rem;
}

.project-date {
    color: rgba(255, 255, 255, 0.5);
}

.project-featured {
    color: var(--magenta);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(0deg, rgba(10, 10, 15, 0.95), transparent);
    transform: translateY(60%);
    transition: all 0.4s ease;
}

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

.project-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--cyan);
    margin-bottom: 8px;
}

.project-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    padding: 5px 12px;
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid var(--magenta);
    color: var(--magenta);
    letter-spacing: 1px;
}

/* ============================================
   Category Hero Section
   ============================================ */
#category-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#category-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.category-header {
    position: relative;
    z-index: 10;
    text-align: center;
}

.category-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.category-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--cyan);
    color: var(--dark-bg);
    box-shadow: var(--glow-cyan);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.02);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

/* ============================================
   About Section
   ============================================ */
#about {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 400px;
}

#about-canvas {
    width: 100%;
    height: 100%;
}

.about-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.skill-item {
    padding: 10px 25px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: var(--cyan);
    color: var(--dark-bg);
    box-shadow: var(--glow-cyan);
}

/* ============================================
   Contact Section
   ============================================ */
#contact {
    background: var(--darker-bg);
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link .icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyan);
    transition: all 0.3s ease;
}

.contact-link:hover .icon {
    background: var(--cyan);
    color: var(--dark-bg);
    box-shadow: var(--glow-cyan);
}

.contact-link span {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

/* ============================================
   Footer
   ============================================ */
footer {
    padding: 30px 50px;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

footer p {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
}

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

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

@keyframes glitch-text {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.5; }
    94% { opacity: 1; }
    95% { opacity: 0.3; }
    96% { opacity: 1; }
}

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

@keyframes scroll-anim {
    0% { top: 5px; opacity: 1; }
    100% { top: 15px; opacity: 0; }
}

/* ============================================
   Mobile Warning Modal
   ============================================ */
.mobile-warning-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.mobile-warning-overlay.show {
    display: flex;
}

.mobile-warning-modal {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    border: 1px solid var(--cyan);
    padding: 40px 30px;
    max-width: 400px;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 60px rgba(0, 255, 255, 0.05);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mobile-warning-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: grayscale(1) brightness(1.5);
}

.mobile-warning-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--cyan);
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: var(--glow-cyan);
}

.mobile-warning-message {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.mobile-warning-hint {
    font-size: 0.85rem;
    color: var(--magenta);
    margin-bottom: 30px;
    opacity: 0.9;
}

.mobile-warning-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--cyan);
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.mobile-warning-btn:hover,
.mobile-warning-btn:active {
    background: var(--cyan);
    color: var(--dark-bg);
    box-shadow: var(--glow-cyan);
}

.mobile-warning-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.mobile-warning-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--cyan);
    cursor: pointer;
}

.mobile-warning-checkbox span {
    transition: color 0.3s ease;
}

.mobile-warning-checkbox:hover span {
    color: var(--cyan);
}

/* ============================================
   Responsive - Tablet (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .about-container {
        gap: 40px;
    }

    .hero-subtitle {
        letter-spacing: 0.3em;
    }
}

/* ============================================
   Responsive - Mobile (< 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-center {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 15px;
        padding-top: 10px;
        border-top: 1px solid rgba(0, 255, 255, 0.1);
    }

    .nav-center a {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .lang-switcher {
        gap: 5px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.65rem;
    }

    /* Hero Section */
    #hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
    }

    .hero-title {
        letter-spacing: 0.1em;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-cta {
        padding: 12px 30px;
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator span {
        font-size: 0.6rem;
    }

    /* Sections */
    section {
        padding: 50px 15px;
    }

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

    .section-tag {
        font-size: 0.65rem;
        letter-spacing: 3px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        aspect-ratio: 16/9;
    }

    .project-info {
        padding: 20px 15px;
    }

    .project-title {
        font-size: 1rem;
    }

    .project-desc {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .project-tag {
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    /* Category Cards */
    .category-card .category-icon {
        font-size: 2rem;
    }

    /* Projects Grid (Category Page) */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .projects-grid .project-preview {
        height: 180px;
    }

    .projects-grid .project-info {
        padding: 15px;
    }

    /* Category Hero */
    #category-hero {
        height: 35vh;
        min-height: 280px;
    }

    .category-icon-large {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .category-desc {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .back-link {
        padding: 10px 20px;
        font-size: 0.7rem;
    }

    /* About Section */
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-visual {
        height: 250px;
        order: -1;
    }

    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .skills-list {
        gap: 10px;
        margin-top: 20px;
    }

    .skill-item {
        padding: 8px 18px;
        font-size: 0.7rem;
    }

    /* Contact Section */
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .contact-link .icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .contact-link span {
        font-size: 0.7rem;
    }

    /* Footer */
    footer {
        padding: 20px 15px;
    }

    footer p {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    /* Reduce animations on mobile for performance */
    .scanlines {
        opacity: 0.3;
    }

    /* Empty State */
    .empty-state {
        padding: 40px 15px;
    }

    .empty-icon {
        font-size: 3rem;
    }

    .empty-state p {
        font-size: 0.85rem;
    }
}

/* ============================================
   Responsive - Small Mobile (< 480px)
   ============================================ */
@media (max-width: 480px) {
    /* Navigation */
    nav {
        padding: 10px 12px;
    }

    .logo {
        font-size: 1rem;
    }

    .nav-center {
        gap: 10px;
    }

    .nav-center a {
        font-size: 0.6rem;
    }

    .nav-center a::before {
        display: none;
    }

    .lang-btn {
        padding: 5px 8px;
        font-size: 0.6rem;
    }

    /* Hero */
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }

    .hero-cta {
        padding: 10px 25px;
        font-size: 0.75rem;
    }

    /* Sections */
    section {
        padding: 40px 12px;
    }

    /* Gallery Cards */
    .project-card {
        aspect-ratio: 4/3;
    }

    .project-info {
        padding: 15px 12px;
    }

    .project-title {
        font-size: 0.9rem;
    }

    .project-desc {
        font-size: 0.8rem;
    }

    .project-tags {
        gap: 6px;
    }

    .project-tag {
        font-size: 0.55rem;
        padding: 3px 8px;
    }

    /* Category Hero */
    #category-hero {
        height: 30vh;
        min-height: 220px;
    }

    .category-icon-large {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .category-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Projects Grid */
    .projects-grid .project-preview {
        height: 150px;
    }

    .project-meta {
        font-size: 0.65rem;
    }

    /* About */
    .about-visual {
        height: 200px;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .skill-item {
        padding: 6px 14px;
        font-size: 0.65rem;
    }

    /* Contact */
    .contact-link .icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* Mobile Warning Modal */
    .mobile-warning-modal {
        padding: 30px 20px;
    }

    .mobile-warning-icon {
        font-size: 3rem;
    }

    .mobile-warning-title {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .mobile-warning-message {
        font-size: 0.9rem;
    }

    .mobile-warning-hint {
        font-size: 0.8rem;
    }

    .mobile-warning-btn {
        padding: 12px 30px;
        font-size: 0.75rem;
    }
}

/* ============================================
   Responsive - Very Small (< 360px)
   ============================================ */
@media (max-width: 360px) {
    .logo {
        font-size: 0.9rem;
    }

    .nav-center a {
        font-size: 0.55rem;
    }

    .hero-cta {
        padding: 10px 20px;
        font-size: 0.7rem;
    }

    .project-title {
        font-size: 0.85rem;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .skill-item {
        padding: 5px 12px;
        font-size: 0.6rem;
    }
}
