/* Tablet - 768px and up  */
@media (min-width: 768px) {
  /* header */
  .container {
    padding: 1.25rem 3rem;
  }

  .navigation-menu {
    width: 45%;
    max-width: 360px;
  }

  .nav-links li a {
    font-size: 1rem;
  }

  .menu-btn img {
    width: 22px;
    height: 22px;
  }

  /* main content */
  .home-section {
    padding: 5rem 3rem;
  }

  .container {
    gap: 2rem;
  }

  .hero-title {
    font-size: 1.2rem;
  }
  
  .profile-wrapper {
    height: 300px; 
  }

  .hero-shadow {
    width: 260px;
    height: 40px;
  }

  .profile-img {
    width: 180px;
  }

  /* code editor  */
  .code-editor {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }

  .window-controls {
    gap: 10px;
    margin-bottom: 24px;
  }

  .dot {
    width: 14px;
    height: 14px;
  }

  .code-block {
    padding: 1.25rem;
    font-size: 14px;
    line-height: 1.9;
  }

  .line-number {
    width: 36px;
  }

  .indent-1 { padding-left: 24px; }
  .indent-2 { padding-left: 48px; }
  .indent-3 { padding-left: 72px; }

  .hero-description {
    text-align: left;
  }

  .hero-description-wrapper {
    max-width: 450px;
  }

  .profile-description {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .profile-description span:first-of-type {
    padding: 0.5rem 1.1rem;
    transform: rotate(-3deg);
  }

  .profile-description span:nth-of-type(2) {
    font-size: 1rem;
  }

  .hero-socials a {
    width: 48px;
    height: 48px;
  }

  /* project */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .project-image {
    height: 220px;
  }

  .overlay-card {
    height: 220px;
    padding: 24px;
  }
  
  .project-title {
    font-size: 1.3rem;
  }

  /* about */
  .about-content {
        grid-template-columns: 260px 1fr;
        gap: 3rem;
        align-items: center;
    }

    .id-wrapper {
        width: 220px;
        height: 300px;
        margin: 0 auto;
    }

    .profile-photo {
        width: 160px;
        height: 160px;
    }

    .about-text {
        padding: 1.5rem 2rem;
    }

    .about-description {
        font-size: 1.05rem;
    }

    .skills-container {
        max-width: 650px;
        padding: 2.5rem;
        gap: 1.25rem;
    }

    .skill-icon-card {
        width: 70px;
        height: 70px;
    }

    .skill-icon-card img {
        width: 36px;
        height: 36px;
    }

    /* about */
  .about-content {
        grid-template-columns: 320px 1fr;
        gap: 4rem;
    }

    .id-wrapper {
        width: 260px;
        height: 360px;
    }

    .akatsuki-text {
        font-size: 1.6rem;
    }

    .profile-photo {
        width: 180px;
        height: 180px;
    }

    .about-text {
        padding: 2rem 2.5rem;
    }

    .about-description {
        font-size: 1.1rem;
        line-height: 1.9;
    }

    .skills-container {
        max-width: 820px;
        padding: 3rem;
        gap: 1.5rem;
    }

    .skill-icon-card {
        width: 60px;
        height: 60px;
    }

    .skill-icon-card img {
        width: 42px;
        height: 42px;
    }

    .subsection-title {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }

  
}

/* desktop - 1024px and up */
@media (min-width: 1024px) {
  /* header */
  .header-container {
    max-width: 1400px;
    margin: 0 auto;
  }

  .navigation-menu {
    position: static;
    right: auto;
    height: auto;
    width: auto;
    max-width: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transition: none;
  }

  .nav-links {
    flex-direction: row;
    padding: 0;
    gap: 2rem;
  }

  .nav-links li a {
    border: none;
    font-size: 0.9rem;
  }

  .menu-btn {
    display: none;
  }

  .overlay {
    display: none;
  }

  body.menu-open {
    position: static;
    overflow: visible;
    touch-action: auto;
  }

  /* home section */
  .home-section {
    padding: 0 0 6rem;
  }
  
  .container {
    max-width: 1400px;
    margin: 0 auto;
    gap: 1rem;
    width: 100%;
  }

  .hero-intro {
    align-items: center;
  }

  .hero-intro > img:first-of-type {
    display: block;
    margin-top: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.25rem;
  }

  .hero-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .profile-decoration-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    border-radius: 50%;
  }

  .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 0, 0, 0.4);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
  }

  .particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 5s;
  }

  .particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
    animation-duration: 7s;
    background: rgba(255, 0, 0, 0.4);
  }

  .particle:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 6s;
    background: rgba(255, 0, 0, 0.4);
  }

  .particle:nth-child(4) {
    top: 40%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 8s;
  }

  .profile-img {
    border-radius: 30%;
    width: 210px;
  }

  /* code editor  */
  .code-editor {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }

  .window-controls {
    gap: 10px;
    margin-bottom: 24px;
  }

  .dot {
    width: 14px;
    height: 14px;
  }

  .code-block {
    padding: 1.25rem;
    font-size: 14px;
    line-height: 1.9;
  }

  .line-number {
    width: 36px;
  }

  .indent-1 { padding-left: 24px; }
  .indent-2 { padding-left: 48px; }
  .indent-3 { padding-left: 72px; }

  .hero-description-wrapper {
    max-width: 1200px;
    margin-top: 3rem;
  }

  .profile-description {
    font-size: 1.5rem;
    line-height: 1;
  }

  .profile-description span:first-of-type {
    padding: 0.75rem 1.4rem;
  }
  
  .profile-description span:nth-of-type(2) {
    opacity: 0.5;
    text-align: center;
  }

  .hero-socials {
    position: absolute;
    left: 4rem;
    top: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1;
    opacity: 0;
  }

  .hero-socials.active {
    animation: slideFade 0.6s ease forwards;
  }

  .hero-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .hero-socials.active a:nth-child(1) {
    animation: iconSlide 0.5s ease forwards;
    animation-delay: 0.1s;
  }
  .hero-socials.active a:nth-child(2) {
    animation: iconSlide 0.5s ease forwards;
    animation-delay: 0.2s;
  }

  .hero-socials::before {
    content: "";
    width: 4px;
    height: 0; 
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, var(--accent), transparent 50%, var(--accent));
    animation: lineGrow 0.6s ease forwards;
    animation-delay: 0.1s; 
  }

  /* project */
  .project-image {
    height: 250px;
  }

  .overlay-card {
    height: 250px;
  }

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

  .projects-section .container {
    gap: 3rem;
  }

  
}
