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

html {
    background: #05020f;
}

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px;

    background:
        url("https://res.cloudinary.com/dt5z2gs3c/image/upload/v1781125315/ja-hero_tmfy4w.jpg")
        center center / cover
        no-repeat fixed;

    font-family: "Inter", sans-serif;

    overflow-x: hidden;
    overflow-y: auto;
}

/* CINEMATIC OVERLAY */
body::after {
    content: "";
    position: fixed;
    inset: 0;

    background:
        radial-gradient(circle at 20% 15%, rgba(140, 90, 255, 0.18), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(90, 40, 160, 0.16), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(30, 10, 60, 0.25), transparent 60%),
        linear-gradient(
            to bottom,
            rgba(10, 5, 20, 0.35),
            rgba(5, 2, 15, 0.75)
        );

    z-index: 0;
    pointer-events: none;
}

/* MAIN CARD */
.container {
    position: relative;
    z-index: 1;

    width: min(1300px, 95vw);
    min-height: 90vh;

    display: grid;
    grid-template-rows: 1fr auto;

    padding: 70px;

    border-radius: 32px;

    background: rgba(8, 8, 20, 0.20);



    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.45);

    overflow: hidden;
}

/* LIGHT REFLECTION */
.container::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.08),
            transparent 30%
        );

    pointer-events: none;
}
.podgrid-2 {
    display: flex;
    flex-direction: column;
    gap: 15px;

   
}


.tiktok-btn {
    position: relative;
    margin-bottom: 20px;
  
    width: 54px;
    height: 54px;
   padding: 15px;
    

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            rgba(124, 58, 237, 0.22),
            rgba(15, 23, 42, 0.92)
        );

    border: 1px solid rgba(124, 58, 237, 0.25);

    backdrop-filter: blur(10px);

    overflow: hidden;

    transition: all 0.28s ease;

    box-shadow:
        0 0 18px rgba(124, 58, 237, 0.12);
}

/* neon ambient glow */
.tiktok-btn::before {
    content: "";
    
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.10),
            transparent 45%,
            rgba(34, 211, 238, 0.08)
        );

    opacity: 0;

    transition: 0.3s ease;
}

/* icon */
.tiktok-btn svg {
    width: 34px;
    height: 34px;

    color: #d8b4fe;

    z-index: 2;

    transition: 0.25s ease;
}

/* hover */
.tiktok-btn:hover {
    transform: translateY(-3px) scale(1.03);

    border-color: rgba(34, 211, 238, 0.45);

    box-shadow:
        0 0 30px rgba(124, 58, 237, 0.25),
        0 0 45px rgba(34, 211, 238, 0.12);
}

.tiktok-btn:hover::before {
    opacity: 1;
}

.tiktok-btn:hover svg {
    color: white;

    transform: scale(1.08);
}

.btns {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: start;
    align-self: flex-end;
    
}
#musicbtn {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            rgba(124, 58, 237, 0.22),
            rgba(15, 23, 42, 0.92)
        );

    border: 1px solid rgba(124, 58, 237, 0.25);

    backdrop-filter: blur(10px);

    cursor: pointer;

    transition: all 0.28s ease;

    box-shadow:
        0 0 18px rgba(124, 58, 237, 0.12);

    position: relative;
    overflow: hidden;

    font-size: 20px;
}

/* glow layer */
#musicbtn::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.10),
            transparent 45%,
            rgba(34, 211, 238, 0.08)
        );

    opacity: 0;

    transition: 0.3s ease;
}

/* hover */
#musicbtn:hover {
    transform: translateY(-3px) scale(1.03);

    border-color: rgba(34, 211, 238, 0.45);

    box-shadow:
        0 0 30px rgba(124, 58, 237, 0.25),
        0 0 45px rgba(34, 211, 238, 0.12);
}

#musicbtn:hover::before {
    opacity: 1;
}

/* icon state */
#musicbtn {
    color: #d8b4fe;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

/* playing state */
#musicbtn.playing {
    border-color: rgba(34, 211, 238, 0.6);

    box-shadow:
        0 0 25px rgba(34, 211, 238, 0.25),
        0 0 60px rgba(124, 58, 237, 0.15);
}
#musicbtn {
    transition: opacity 0.55s ease, transform 0.55s ease;
      user-select: none;
    -webkit-user-select: none;

    -webkit-tap-highlight-color: transparent;
}

/* TOP SECTION */
.grid1 {
    display: flex;
    justify-content: space-between;
    align-items: start;
    

    gap: 60px;
}

/* LEFT COLUMN */
.pd-grid {
    display: flex;
    flex-direction: column;
    align-self: flex-end;

    gap: 40px;

    max-width: 700px;
}

/* CV TEXT */
.cv-text {
    display: flex;
    flex-direction: column;

    gap: 14px;

    color: rgba(255,255,255,0.78);
}

.cv-text h1 {
    font-size: 4rem;

    font-family: "Advent Pro", sans-serif;
    font-weight: 100;

    color: rgba(255,255,255,0.95);

    letter-spacing: -1px;

    text-shadow:
        0 0 18px rgba(160, 110, 255, 0.25),
        0 10px 40px rgba(0,0,0,0.6);
}

.cv-text p {
    font-size: 1rem;
    line-height: 1.7;

    color: rgba(255,255,255,0.70);

    text-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

/* LABEL */
.label {
    align-self: flex-end;

    font-size: 4rem;

    font-family: "Carilliantine", sans-serif;

    color: rgba(255,255,255,0.78);

    text-shadow:
        0 0 25px rgba(160,110,255,0.15);
}

/* PROJECTS */
.projects {
    display: flex;
    gap: 14px;
}

.project {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;

    border-radius: 20px;

    background: rgba(140, 90, 255, 0.05);
    border: 1px solid rgba(160, 110, 255, 0.12);
    backdrop-filter: blur(10px);

    overflow: hidden;
    transition: 0.32s ease;
    position: relative;
}

.project:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 160, 255, 0.35);
    background: rgba(160, 110, 255, 0.10);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.project-num {
    position: absolute;
    top: 12px;
    left: 14px;
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(200, 160, 255, 0.5);
    z-index: 1;
}

.project-img-mobile {
    display: none;
}

.project-mockup {
    width: 100%;
    padding: 22px 18px 0;
    perspective: 900px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: radial-gradient(ellipse at 50% 80%, rgba(100, 60, 200, 0.12) 0%, transparent 70%);
    border-radius: 16px 16px 0 0;
    min-height: 160px;
}

.project-mockup::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(160, 110, 255, 0.45) 0%, transparent 75%);
    filter: blur(8px);
    transition: 0.4s ease;
    z-index: 0;
}

.project:hover .project-mockup::after {
    width: 80%;
    background: radial-gradient(ellipse at center, rgba(180, 130, 255, 0.65) 0%, transparent 72%);
}

.monitor-wrap {
    position: relative;
    z-index: 1;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotateX(10deg) rotateY(-5deg) translateY(0px);
    transform-origin: bottom center;
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(.22,.68,0,1.2), filter 0.4s ease;
    filter: drop-shadow(0 18px 32px rgba(80, 40, 160, 0.55)) drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

.project:hover .monitor-wrap {
    transform: rotateX(0deg) rotateY(0deg) translateY(-10px);
    filter: drop-shadow(0 28px 50px rgba(140, 90, 255, 0.7)) drop-shadow(0 6px 14px rgba(0,0,0,0.5));
}

.monitor-screen {
    width: 100%;
    border: 10px solid #1c1c2e;
    border-bottom-width: 22px;
    border-radius: 10px 10px 6px 6px;
    background: #0a0a18;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1.5px rgba(255,255,255,0.06),
        inset 0 0 0 1.5px rgba(255,255,255,0.04),
        inset 0 -4px 12px rgba(0,0,0,0.6);
}

.project:hover .monitor-screen {
    box-shadow:
        0 0 0 1.5px rgba(200,160,255,0.25),
        inset 0 0 0 1.5px rgba(200,160,255,0.08),
        inset 0 -4px 12px rgba(0,0,0,0.6),
        0 0 22px rgba(140, 90, 255, 0.25);
}

.monitor-screen::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2a2a40;
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.06);
    z-index: 2;
}

.monitor-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.06) 3px,
        rgba(0,0,0,0.06) 4px
    );
    border-radius: 2px;
}

.monitor-screen img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.92;
    transition: opacity 0.3s ease;
}

.project:hover .monitor-screen img {
    opacity: 1;
}

.monitor-neck {
    width: 12%;
    height: 16px;
    background: linear-gradient(to bottom, #1c1c2e, #14142a);
    border-left: 1px solid rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.04);
}

.monitor-base {
    width: 42%;
    height: 8px;
    background: linear-gradient(to bottom, #1e1e32, #141428);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

.project-info {
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(160, 110, 255, 0.10);
}

.project-info a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.28s ease;
}

.project-info a .arrow {
    width: 18px;
    height: 18px;
    color: rgba(200, 160, 255, 0.5);
    flex-shrink: 0;
    transition: 0.28s ease;
}

.project:hover .project-info a {
    color: rgba(220, 185, 255, 1);
}

.project:hover .project-info a .arrow {
    color: rgba(200, 160, 255, 1);
    transform: translateX(4px);
}

/* SKILLS */
.skills-label {
    display: none;
}

.grid2 {
    display: flex;
    flex-direction: column;
    justify-content: center;

    margin-top: 50px;
}

.icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.icons img{
    width: 50px;
    height: 50px;
    opacity: 0;
    transform: translateY(12px);

    transition: opacity 0.35s ease, transform 0.35s ease;

}
.skills {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    gap: 14px;
}

.skills span {
    padding: 7px 14px;

    border-radius: 999px;
    cursor: grab;

    font-size: 1rem;
    letter-spacing: 0.5px;

    color: rgba(255,255,255,0.88);

    background: rgba(120, 80, 200, 0.10);

    border: 1px solid rgba(160, 110, 255, 0.22);

    backdrop-filter: blur(10px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.25);

    transition: 0.25s ease;
}


.skills span:hover {
    transform: translateY(-2px);

    background: rgba(160, 110, 255, 0.18);

    border-color: rgba(200, 160, 255, 0.55);

    box-shadow:
        0 12px 35px rgba(160, 110, 255, 0.18);
}

.container.playing {
    border-color: rgba(34, 211, 238, 0.6);

    box-shadow:
        0 0 25px rgba(34, 211, 238, 0.25),
        0 0 60px rgba(124, 58, 237, 0.15);
    animation: pulse 1.8s infinite ease-in-out;
}

.container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(0, 255, 255, 0.15),
            transparent 60%
        );
}

.cert-box {
    margin-top: 10px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 18px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(124, 58, 237, 0.10),
            rgba(15, 23, 42, 0.72)
        );

    border: 1px solid rgba(160, 110, 255, 0.14);

    backdrop-filter: blur(12px);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.35);

    min-width: 240px;
}

.cert-title {
    font-size: 0.9rem;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: rgba(220,220,255,0.45);

    margin-bottom: 4px;
}

.cert-link {
    position: relative;

    text-decoration: none;

    color: rgba(255,255,255,0.82);

    padding: 10px 12px;

    border-radius: 14px;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(255,255,255,0.04);

    transition: 0.28s ease;

    overflow: hidden;
}

.cert-link:hover {
    transform: translateX(4px);

    color: white;

    border-color: rgba(34, 211, 238, 0.35);

    background:
        linear-gradient(
            90deg,
            rgba(124,58,237,0.14),
            rgba(34,211,238,0.08)
        );

    box-shadow:
        0 0 25px rgba(124,58,237,0.15);
}


@keyframes beat {
    0%   { transform: translate(-50%, -70%) scale(1.15); }
    50%  { transform: translate(-50%, -70%) scale(1.18); }
    100% { transform: translate(-50%, -70%) scale(1.15); }
}
.container.playing::before {
    opacity: 1;
    animation: energyMove 3s infinite ease-in-out;
}
@keyframes energyMove {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow:
            0 0 25px rgba(0, 255, 255, 0.15),
            0 0 80px rgba(0, 255, 255, 0.05);
    }

    50% {
        transform: scale(1.01);
        box-shadow:
            0 0 45px rgba(0, 255, 255, 0.35),
            0 0 120px rgba(0, 255, 255, 0.12);
    }

    100% {
        transform: scale(1);
        box-shadow:
            0 0 25px rgba(0, 255, 255, 0.15),
            0 0 80px rgba(0, 255, 255, 0.05);
    }

}

@media (max-width: 980px) {

    .podgrid-2 {
        width: 100%;

        display: flex;
        flex-direction: row;

        justify-content: space-between;
        align-items: flex-start;

        gap: 20px;
    }
    .btns {
        align-self: flex-start;
    }
    .label {
        align-self: flex-start;
    }

    .right-side {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .cert-box {
        flex: 1;
        max-width: 320px;
    }

}
@media (max-width: 640px) {

    .podgrid-2 {
        flex-direction: column;
    }

    .cert-box {
        width: 100%;
        max-width: 100%;
    }

}


/* RESPONSIVE */
@media (max-width: 980px) {

    body {
        padding: 20px;
    }

    .container {
        padding: 40px;
    }

    .grid1 {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 36px;
    }

    .label {
        font-size: 2.4rem;
    }

    .cv-text h1 {
        font-size: 2.6rem;
    }

    .project {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-mockup img {
        width: 100%;
        max-width: 220px;
    }
}

@media (max-width: 640px) {

    body {
        padding: 14px;
    }

    .container {
        padding: 26px 20px;
        border-radius: 26px;
        min-height: unset;
    }

    .grid1 {
        gap: 28px;
    }

    .cv-text h1 {
        font-family: 'Advent Pro', sans-serif;
        font-weight: 200;
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .cv-text p {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .label {
        font-size: 1.8rem;
    }

    .cert-box {
        min-width: unset;
        width: 100%;
    }

    .cert-link {
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    .projects {
        flex-direction: column;
    }

    .project-mockup {
        display: none;
    }

    .project-img-mobile {
        display: block;
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 12px;
    }

    .skills-label {
        display: block;
        font-family: 'Advent Pro', sans-serif;
        font-weight: 200;
        font-size: 1.4rem;
        letter-spacing: 4px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 4px;
    }

    .skills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .icons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px 12px;
        border-radius: 16px;
        background: rgba(120, 80, 200, 0.08);
        border: 1px solid rgba(160, 110, 255, 0.18);
        backdrop-filter: blur(10px);
        transition: 0.25s ease;
    }

    .icons:active {
        background: rgba(160, 110, 255, 0.16);
        border-color: rgba(200, 160, 255, 0.4);
        transform: scale(0.97);
    }

    .icons img {
        opacity: 1;
        transform: none;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        filter: drop-shadow(0 0 6px rgba(160, 110, 255, 0.4));
    }

    .icons span {
        font-size: 0.78rem;
        letter-spacing: 1px;
        color: rgba(255, 255, 255, 0.75);
        text-align: center;
    }

    .grid2 {
        margin-top: 32px;
    }
}

@media (max-width: 480px) {

    body {
        padding: 10px;
    }

    .container {
        padding: 20px 14px;
        border-radius: 20px;
    }

    .grid1 {
        gap: 22px;
    }

    .cv-text h1 {
        font-size: 1.65rem;
        letter-spacing: 0px;
    }

    .cv-text p {
        font-size: 0.86rem;
        line-height: 1.6;
    }

    .label {
        font-family: 'Advent Pro', sans-serif;
        font-weight: 200;
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .cert-title {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .cert-link {
        font-size: 0.82rem;
        padding: 11px 12px;
    }

    .project-info a {
        font-size: 0.95rem;
    }

    .skills span {
        font-size: 0.78rem;
        padding: 6px 11px;
    }

    .grid2 {
        margin-top: 24px;
    }

    #musicbtn,
    .tiktok-btn {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 375px) {

    body {
        padding: 8px;
    }

    .container {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .cv-text h1 {
        font-size: 1.4rem;
    }

    .cv-text p {
        font-size: 0.8rem;
    }

    .label {
        font-size: 1.25rem;
    }

    .cert-link {
        font-size: 0.78rem;
        padding: 10px 11px;
    }

    .skills span {
        font-size: 0.74rem;
        padding: 5px 9px;
    }
}