/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .home-grid { gap: 40px; }
    .text-3d { font-size: 64px; }
    .cube-container { width: 240px; height: 240px; }
    .cube-face.front  { transform: translateZ(120px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(120px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(120px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(120px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(120px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(120px); }
    .cube-text { font-size: 40px; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Navbar */
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 80px 32px 40px;
        gap: 20px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255,255,255,0.04);
    }
    .nav-menu.active { right: 0; }
    .hamburger { display: flex; }

    /* Home */
    .home-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .text-3d { font-size: 52px; }
    .desc { max-width: 100%; margin: 0 auto 24px; }
    .btn-group { justify-content: center; }
    .social { justify-content: center; }

    /* Cube */
    .cube-container { width: 200px; height: 200px; }
    .cube-face.front  { transform: translateZ(100px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(100px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(100px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(100px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(100px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }
    .cube-text { font-size: 32px; }

    /* Grids */
    .about-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .rating-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }

    /* Sections */
    .section { padding: 80px 0 56px; }
    .section-header h2 { font-size: 30px; }
    .section-header .text-3d-small { font-size: 30px; }

    /* Scroll */
    .scroll-down { display: none; }
    .cursor-dot, .cursor-ring { display: none; }

    /* Form */
    .contact-form { padding: 24px; }

    /* Footer */
    footer .container { flex-direction: column; text-align: center; }
}

/* Mobile Kecil */
@media (max-width: 480px) {
    .text-3d { font-size: 38px; }
    .typing { font-size: 18px; }
    .btn { padding: 12px 24px; font-size: 13px; }
    .container { padding: 0 16px; }
    .nav-container { padding: 0 16px; }

    .cube-container { width: 160px; height: 160px; }
    .cube-face.front  { transform: translateZ(80px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(80px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(80px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(80px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(80px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(80px); }
    .cube-text { font-size: 24px; }

    .about-card { padding: 24px 20px; }
    .rating-card { padding: 24px 16px; }
    .contact-item { padding: 14px 18px; }
    .contact-item p { font-size: 14px; }
}