@import url('https://fonts.googleapis.com/css2?family=Asimovian&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lora:ital,wght@0,400..700;1,400..700&family=Mozilla+Headline:wght@200..700&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lora:ital,wght@0,400..700;1,400..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Montserrat", sans-serif;
    /* display: flex; */
    align-items: center;
    background: #0F172A;
    position: relative;
    flex-direction: column;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    overflow-x: hidden; 
}

/* === Blob Animation Styles === */ 
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}
.blob {
    position: absolute;
    filter: blur(100px); 
}
.pink { top: -20%; left: -20%; animation: moveBlob 50s infinite ease-in-out alternate;}
.green { top: 10%; left: 80%; animation: moveBlob 50s ease-in-out infinite alternate; }
.maroon { top: 70%; left: 70%; animation: moveBlob 50s linear infinite alternate; }
.yellow { top: 60%; left: 5%; animation: moveBlob 50s linear infinite alternate; }
.peach  { top: -15%; left: 40%; animation: moveBlob 50s ease-in-out infinite alternate; }

@keyframes moveBlob {
    from { transform: rotate(0deg) scale(1.1); }
    to { transform: rotate(360deg) scale(1.1); }
}
.pink { width: 600px; height: 600px; background: #ff4eb8; }
.green { width: 500px; height: 500px; background: #00ffc8; }
.maroon { width: 500px; height: 500px; background: #5c005c; }
.yellow { width: 450px; height: 450px; background: #ffd600; }
.peach { width: 550px; height: 550px; background: #ff8b66; }


/* === Header and Navigation Styles === */
@keyframes blink {
    50% {
      opacity: 0;
    }
}
.left .cursor {
    animation: blink 0.9s step-end infinite;
}
.left:hover .cursor {
    animation: none;
}
.cursor {
    font-weight: 100;
}
main {
    position: relative;
    z-index: 1;
}
header {
    height: 65px;
    width: 80%;
    border: 1px solid rgba(255, 255, 255, 0.19);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 25px;
    position: sticky;
    top: 10px;
    z-index: 10;
    margin: 20px auto 0;
    background: rgba(255, 255, 255, 0);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.1px);
    -webkit-backdrop-filter: blur(6.1px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.4s ease-in-out;
}
.header-hidden {
    transform: translateY(-200%);
}

.left {
    font-family: "Roboto Mono", monospace;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.4);
    cursor: url('./assets/icons/pointinghand.svg') 0 0, auto;
}
.right {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: large;
    gap: 30px;
    display: flex;
    align-items: center;
    color: #CBD5E1;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.4);
}

.nav-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.u-line {
    width: 0;
    height: 4px;
    background-color: #9333EA;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #FFFFFF;
    cursor: url('./assets/icons/pointinghand.svg') 4 4, auto;
}

.nav-link:hover .u-line {
    width: 100%;
}

.svg-icon {
    display: none;
    width: 25px;
    height: 100%;
    cursor: url('./assets/icons/pointinghand.svg') 0 0, auto;
}
.svg-icon img {
    width: 100%;
    height: auto;
    transition: filter 0.3s ease;
}

.svg-icon:hover img {
    filter: grayscale(0) brightness(1);
}
.lit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 100%;
    cursor: url('./assets/icons/pointinghand.svg') 0 0, auto;
}

.lit svg {
    fill: #CBD5E1;
    transition: fill 0.3s ease;
}

.lit:hover svg {
    fill: #FFFFFF;
}

.light-mode .lit svg {
    fill: #475569;
}

body.light-mode {
    background: white;
}

.light-mode header {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-mode .left {
    color: #0F172A;
    text-shadow: 0px 1px 3px rgba(255, 255, 255, 0.2);
}

.light-mode .right {
    color: #475569;
    text-shadow: 0px 1px 3px rgba(255, 255, 255, 0.2);
}

.light-mode .nav-link:hover {
    color: #0F172A;
}
.light-mode .svg-icon img {
    filter: none;
}

/* === Hero Section === */
.hero {
    min-height: calc(100vh);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}


.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: 90%;
    max-width: 1200px;
}


.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-content h1 strong{
    font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}
#spl-font{
    font-family: "Asimovian", sans-serif;
    font-style: normal; 
    background: linear-gradient(90deg, #0EA5E9, #BE185D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: #CBD5E1;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-button {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-button.primary {
    background-color: #38BDF8;
    color: #0F172A;
}

.hero-button.primary:hover {
    background-color: #7DD3FC;
    transform: translateY(-3px);
}

.hero-button.secondary {
    border-color: #38BDF8;
    color: #38BDF8;
}

.hero-button.secondary:hover {
    background-color: rgba(56, 189, 248, 0.1);
    transform: translateY(-3px);
}
.social-links {
    display: flex;
    gap: 3rem;
    padding: 0.8rem;
}

.social-links a {
    color: #CBD5E1;
    display: inline-block;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #FFFFFF;
    transform: scale(1.1);
}

.social-links img {
    width: 50px;
    height: 50px;
}
.hero-image {
    flex-shrink: 0;
    width: clamp(300px, 40vw, 500px);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.light-mode .hero {
    color: #0F172A;
}

.light-mode .hero-content p {
    color: #475569;
}

.light-mode .social-links a {
    color: #475569;
}

.light-mode .social-links a:hover {
    color: #0F172A;
}
.hero-button {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #14B8A6;
  }
  
  .hero-button.primary {
    background: linear-gradient(90deg, #9333EA, #14B8A6);
    color: #fff;
  }
  
  .hero-button.primary:hover {
    background: (90deg, #7E22CE, #0D9488);
    transform: translateY(-3px);
  }
  
  .hero-button.secondary {
    border: 2px solid #14B8A6; color: #14B8A6;
    color: #14B8A6;
  }
  
  .hero-button.secondary:hover {
    background-color:#14B8A6;
    color: #0F172A;
    transform: translateY(-3px);
  }
  
.sep-line{
    width: 100%;
    height: 5px;
    background-image: linear-gradient(120deg, #a6c0fe 0%, #f68084 100%);;
}


  /*======== Skills Tech=============*/
  .skills-tech {
    width: 100vw;
    position: relative;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
}

#dot-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: #0f172a;
    display: grid;
    place-content: center; 
    place-items: center;
}

.dot {
    width: 3px;
    height: 3px;
    background-color: #334155;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

/* === Skills Section === */
.skills-section {
    width: 100%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.skills-title-container {
    margin-top: 80px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 1rem;
}

.skills-title-container h2 {
    color: #FFFFFF;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    white-space: nowrap;
}

.line {
    width: 150px;
    height: 1px;
    background: linear-gradient(to left, #9333EA, #38BDF8);
}

.skills-subtitle {
    color: #CBD5E1;
    font-size: 1.1rem;
    max-width: 450px;
    text-align: center;
    margin-bottom: 4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
    margin-bottom: 80px;
}

.skill-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.card-a:hover{
    transform: translateY(-8px);
    border-color: #fed709;
}
.card-b:hover{
    transform: translateY(-8px);
    border-color: #9d4edd;
}
.card-c:hover{
    transform: translateY(-8px);
    border-color: #FF006E;
}

.card-text h3 {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-text p {
    color: #CBD5E1;
    line-height: 1.6;
}

.card-icon {
    color: #94A3B8;
}


/*====Tech Grid====*/

.tech-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
    margin-bottom: 80px;
    color: #ffffff;
}
.tech-item{
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    transition: filter 0s ease-in-out;
}
.tech-item:hover{
    transform: translateY(-8px);
    transition: transform 0.2s ease-in-out;
    filter: grayscale(0);
    
}
.item-a:hover{
    border-color: #e44d26;
}
.item-b:hover{
    border-color: #663399;
}
.item-c:hover{
    border-color: #f7df1e;
}
.item-d:hover{
    border-color: #61dafb;
}
.item-e:hover{
    border-color: #13aa52;
}
.item-f:hover{
    border-color: #ffffff;
}
.item-g:hover{
    border-color: #ff7c02;
}
.item-h:hover{
    border-color: #004482;
}
.item-i:hover{
    border-color: #ffffff;
}
.item-j:hover{
    border-color: #1e293b;
}
.item-k:hover{
    border-color: #b72c31;
}
.item-l:hover{
    border-color: #fec007;
}


/*===Projects====*/
.projects-section {
    width: 100%;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.projects-header {
    text-align: center;
    max-width: 600px;
    padding: 0 1rem;
}

.projects-header h2 {
    color: #FFFFFF;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.projects-header p {
    color: #CBD5E1;
    font-size: 1.1rem;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
}

.project-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.project-a:hover {
    transform: translateY(-8px);
    border-color: #8d5bf4;
}
.project-b:hover {
    transform: translateY(-8px);
    border-color: #ff7c02;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-a .project-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    display: grid;
    place-items: center;
    color: #FFFFFF;
}
.project-b .project-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff9d00, #ff7c02);
    display: grid;
    place-items: center;
    color: #FFFFFF;
}

.project-status {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 1000;
}

.status-completed {
    color: #60a5fa;
    background-color: rgba(96, 165, 250, 0.1);
}
.status-completed::before {
    background-color: #60a5fa;
}

.status-live {
    color: #4ade80;
    background-color: rgba(74, 222, 128, 0.1);
}
.status-live::before {
    background-color: #4ade80;
}

.project-details h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.project-details p {
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 6px;
    background-color: #334155;
    color: #CBD5E1;
}

.card-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.project-features h4 {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.project-features ul {
    list-style: none;
    padding: 0;
    color: #CBD5E1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-features li::before {
    content: '✧';
    margin-right: 0.5rem;
    color: #60a5fa;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #FFFFFF;
}


/*====Footer=======*/

.contact-footer {
    position: relative;
    padding: 100px 0 25px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #010f2f9e;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
}

.footer-content-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-text h2 {
    color: #FFFFFF;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.footer-text h2 span {
    position: relative;
    display: inline-block;
}

.footer-text p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 400px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 28px;
    background-image: linear-gradient(to top, #a7a6cb 0%, #8989ba 52%, #8989ba 100%);
    color: #0f172a;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-image: linear-gradient(to top, #9795f0 0%, #fbc8d4 100%);
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-button:hover {
    background-color: #334155;
    border-color: #475569;
    color: #FFFFFF;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* === MOBILE STYLES === */
@media (max-width: 935px) {
    .nav-link {
        display: none;
    }
    .left {
        display: none;
    }
    .svg-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 100%;
        border-radius: 20px;
        transition: background-color 0.3s ease;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    header {
        position: fixed;
        bottom: 20px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        width: 95%;
        max-width: 450px;
        height: 60px;
        padding: 0 10px;
        border-radius: 25px; 
        justify-content: center;
        background: rgba(255, 255, 255, 0);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(6.1px);
        -webkit-backdrop-filter: blur(6.1px);
        border: 1px solid rgba(255, 255, 255, 0.07);    
    }

    .right {
        width: 100%;
        height: 100%;
        gap: 0;
        justify-content: space-around;
    }

    .svg-icon img {
        width: 25px;
        height: auto;
        filter: grayscale(2) brightness(1.5);
        transition: filter 0.3s ease;
    }
    .lit{
        background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);
        border-radius: 25px;
    }
    .lit img{
        filter: grayscale(20);
    }
    .svg-icon.active {
        background-color: rgb(255, 255, 255);
        border-radius: 25px;
    }

    .svg-icon.active img,
    .svg-icon:hover img {
        filter: grayscale(0) brightness(1);
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-height: calc(100vh - 80px);
        padding: 20px 15px;
        text-align: center;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.8rem;
        max-width: 90%;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .hero-text {
        order: 1;
        max-width: 90%;
    }

    .hero-image {
        order: 2;
        width: clamp(140px, 60vw, 280px);
        height: clamp(140px, 60vw, 280px);
        margin: 0 auto;
    }

    .hero-buttons {
        order: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .social-links {
        order: 4;
        justify-content: center;
        margin-top: auto;
        padding-bottom: 1.5rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .footer-content-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-text p {
        margin: 0 auto;
    }
    .footer-links {
        align-items: center;
    }
    .footer-bottom{
        margin-bottom: 60px;
    }
}
* {
    cursor: url('./assets/icons/default.svg') 4 4, auto;
    
}
.project-links, a, button{
    cursor: url('./assets/icons/pointinghand.svg') 0 0, auto;
}
html {
    scroll-behavior: smooth;
}
  