/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .theme-toggle {
        display: flex;
        order: -1;
        margin-right: auto;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(10, 14, 39, 0.98) 0%, rgba(17, 22, 41, 0.98) 100%);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2.5rem 0;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(0, 217, 255, 0.15);
        box-shadow: 0 12px 48px rgba(0, 217, 255, 0.08);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 0.95rem;
        display: block;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        margin: 0 1rem;
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateX(-20px);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a:nth-child(1) { animation: slideInLeft 0.4s ease 0.1s forwards; }
    .nav-links a:nth-child(2) { animation: slideInLeft 0.4s ease 0.2s forwards; }
    .nav-links a:nth-child(3) { animation: slideInLeft 0.4s ease 0.3s forwards; }
    .nav-links a:nth-child(4) { animation: slideInLeft 0.4s ease 0.4s forwards; }
    .nav-links a:nth-child(5) { animation: slideInLeft 0.4s ease 0.5s forwards; }

    .nav-links a::before {
        display: block;
    }

    .nav-links a:hover {
        color: #00d9ff;
        transform: translateX(8px);
        background: rgba(0, 217, 255, 0.1);
    }

    .logo {
        font-size: 1.4rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .tagline {
        font-size: 1rem;
    }

    .bio {
        font-size: 0.95rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .projects h2,
    .about h2,
    .specs h2 {
        font-size: 2rem;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .project-card {
        padding: 1.8rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-btn {
        width: 100%;
        min-width: unset;
        padding: 0 20px;
        font-size: 0.9rem;
        height: 50px;
    }

    .project-btn-group {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .project-btn-group .project-btn {
        width: 100%;
    }

    .specs-category-title {
        font-size: 1.1rem;
    }

    .specs-grid,
    .specs-grid.grid-2,
    .specs-grid.grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .spec-item {
        padding: 1.5rem;
        min-height: 100px;
    }

    .spec-item h4 {
        font-size: 1rem;
    }

    .spec-item p {
        font-size: 0.9rem;
    }

    .about-content {
        padding: 2rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-title {
        font-size: 0.95rem;
    }

    .footer-nav {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-nav a {
        font-size: 0.85rem;
    }

    .worlds-page h1 {
        font-size: 2.2rem;
    }

    .worlds-page-content {
        padding: 2rem;
    }

    .coming-soon {
        font-size: 1.5rem;
    }

    .worlds-description {
        font-size: 1rem;
    }

    .worlds-placeholder i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .bio {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .projects h2,
    .about h2,
    .specs h2 {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .project-card {
        padding: 1.2rem;
    }

    .project-btn {
        min-width: 100px;
        padding: 10px 14px;
        font-size: 0.8rem;
        height: 42px;
    }

    .project-btn-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .specs-category-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .spec-item {
        padding: 1.2rem;
    }

    .spec-item h4 {
        font-size: 0.95rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .footer-logo {
        font-size: 1.2rem;
    }

    .footer-title {
        font-size: 0.9rem;
    }

    .footer-nav {
        gap: 0.75rem;
    }

    .footer-nav a {
        font-size: 0.8rem;
    }

    .footer-social-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .worlds-page h1 {
        font-size: 1.7rem;
    }

    .worlds-page-content {
        padding: 1.5rem;
    }

    .coming-soon {
        font-size: 1.3rem;
    }

    .worlds-description {
        font-size: 0.95rem;
    }

    .worlds-placeholder {
        padding: 1.5rem;
    }

    .worlds-placeholder i {
        font-size: 2.5rem;
    }

    .worlds-placeholder p {
        font-size: 1rem;
    }
}
