body {
    background: linear-gradient(to bottom, #312e81, #0f172a);
    scroll-behavior: smooth;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    color: #f8fafc;
}

img {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    background-color: #ab5f46;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

img:hover {
    transform: scale(1.02);
    transition: 0.3s;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

#projects h2:hover {
    color: white;
    text-shadow: 
        0 0 10px #818cf8,
        0 0 30px #818cf8,
        0 0 60px #818cf8;
    transition: 0.3s;
}

nav {
    background: white;
    padding: 8px 24px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 10px;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
    justify-content: flex-end;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
}

nav ul li a:hover {
    color: #818cf8;
}

nav:hover {
    box-shadow: 0 0 25px rgba(129, 140, 248, 0.5);
    border: 1px solid rgba(129, 140, 248, 0.4);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-boxes {
    display: flex;
    gap: 3px;
}

.box {
    font-size: 16px;
    font-weight: bold;
    color: #7B5C3A;
    border: 2px solid #7B5C3A;
    padding: 2px 6px;
    font-family: serif;
}

.box:hover {
    color: #818cf8;
    border-color: #818cf8;
    transition: 0.3s;
    transform: scale(1.1);
}

.logo-slogan {
    font-size: 6px;
    color: #7B5C3A;
    letter-spacing: 1.5px;
    margin-top: 3px;
    font-family: sans-serif;
}

.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.watermark-boxes {
    display: flex;
    gap: 10px;
}

.wbox {
    font-size: 150px;
    font-weight: bold;
    color: rgba(255,255,255,0.12);
    border: 6px solid rgba(255,255,255,0.12);
    padding: 0 20px;
    font-family: serif;
    line-height: 1;
}

.watermark-slogan {
    font-size: 13px;
    color: rgba(255,255,255,0.15);
    letter-spacing: 3px;
    margin-top: 10px;
    font-family: sans-serif;
    white-space: nowrap;
}

#about {
    max-width: 850px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
    font-family: 'Lora', serif;
}

#about h2 {
    font-size: 28px;
    margin-bottom: 24px;
    letter-spacing: 3px;
    color: white;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

#about p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,0.88);
    margin-bottom: 16px;
    text-align: justify;
}

#about strong {
    color: white;
    font-weight: 700;
}

#journey {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
}

#journey h2 {
    font-size: 28px;
    letter-spacing: 3px;
    color: white;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    margin-bottom: 40px;
    font-family:'Orbitron', sans-serif;
}

.timeline {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 20px 0;
    overflow: visible;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 116px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.4);
}

.tl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 140px;
}

.tl-card.top {
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 8px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    width: 120px;
    font-size: 11px;
    color: white;
    box-sizing: border-box;
}

.tl-card.bottom-spacer {
    height: 80px;
    margin-bottom: 8px;
    width: 120px;
    visibility: hidden;
}

.tl-dot {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    border: 3px solid #818cf8;
    flex-shrink: 0;
}

.tl-year {
    background: #818cf8;
    color: #0f2027;
    font-weight: bold;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    margin: 6px 0;
}

.tl-card.bottom {
    text-align: center;
    padding: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    width: 120px;
    font-size: 11px;
    color: white;
    box-sizing: border-box;
}

.tl-card strong {
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
    color: white;
}

.tl-card p {
    margin: 0;
    font-size: 10px;
    color: rgba(255,255,255,0.85);
    text-align: center;
}

.tl-dot:hover,
.tl-item {
    color: #818cf8;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.8);
    transition: 0.3s;
}

#skills {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
}

#skills h2 {
    font-size: 28px;
    letter-spacing: 3px;
    color: white;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.skills-label {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 20px 0 12px 0;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 10px;
}

.skill-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 20px 16px;
    color: white;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    width: 100px;
    cursor: default;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.skill-card i {
    font-size: 40px;
}

.skill-card small {
    font-size: 9px;
    opacity: 0.7;
    font-weight: normal;
}

.skill-card:hover {
    background: rgba(129, 140, 248, 0.2);
    border-color: #818cf8;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(129, 140, 248, 0.3);
}

.skill-card.soft {
    width: auto;
    padding: 12px 20px;
    flex-direction: row;
    font-size: 13px;
    gap: 8px;
}

.skill-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.skill-card img:hover {
    transform: none;
}

@media (max-width: 768px) {
    nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        font-size: 12px;
        padding: 5px;
    }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    img[width="100%"] {
        height: auto;
    }
}

.tl-card.top:hover,
.tl-card.bottom:hover {
    background: rgba(129, 140, 248, 0.2);
    border-color: #818cf8;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(129, 140, 248, 0.3);
    transition: 0.3s;
    cursor: default;
}

#journey h2:hover,
#about h2:hover,
#skills h2:hover,
#projects:hover {
    color: #818cf8;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.8);
    transition: 0.3s;
}

#projects {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
}

#projects h2 {
    font-size: 28px;
    letter-spacing: 3px;
    color: white;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 16px;
}

.bento-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card.medium {
    grid-column: span 2;
}

.bento-card.small {
    grid-column: span 1;
}

.bento-card:hover {
    background: rgba(129, 140, 248, 0.15);
    border-color: #818cf8;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(129, 140, 248, 0.25);
}

.bento-img.placeholder {
    width: 100%;
    flex: 1;
    min-height: 120px;
}

.bento-card.large .bento-img.placeholder {
    min-height: 200px;
}

.p1 { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.p2 { background: linear-gradient(135deg, #0f3460, #533483); }
.p3 { background: linear-gradient(135deg, #2d6a4f, #1b4332); }
.p4 { background: linear-gradient(135deg, #03045e, #0077b6); }
.p5 { background: linear-gradient(135deg, #7b2d8b, #c9184a); }
.p6 { background: linear-gradient(135deg, #333333, #1c1c1c); }
.p7 { background: linear-gradient(135deg, #b5451b, #e76f51); }
.p8 { background: linear-gradient(135deg, #2b9348, #007200); }

.bento-info {
    padding: 14px;
}

.bento-info h3 {
    margin: 6px 0 4px;
    font-size: 14px;
    font-family: 'Orbitron', sans-serif;
}

.bento-info p {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.tag {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: bold;
}

.tag.python { background: rgba(255,212,59,0.2); color: #ffd43b; }
.tag.java   { background: rgba(255,100,50,0.2); color: #ff6432; }
.tag.c      { background: rgba(100,150,255,0.2); color: #6496ff; }

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card.large {
        grid-column: span 2;
    }
    .bento-card.medium {
        grid-column: span 2;
    }
}

.tag.figma   { background: rgba(162,89,255,0.2); color: #a259ff; }
.tag.blender { background: rgba(255,130,0,0.2);  color: #ff8200; }

.f1 { background: linear-gradient(135deg, #a259ff, #4b0082); }
.f2 { background: linear-gradient(135deg, #c77dff, #7b2ff7); }

.b1 { background: linear-gradient(135deg, #ff8200, #e63900); }
.b2 { background: linear-gradient(135deg, #ff6d00, #9d0208); }

#projects,
#about,
#skills,
#journey {
    scroll-margin-top: 100px;
}

#achievements {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
}

#achievements h2 {
    font-size: 28px;
    letter-spacing: 3px;
    color: white;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

#achievements h2:hover {
    color: #818cf8;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.8);
    transition: 0.3s;
}

.achieve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 10px;
}

.achieve-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: 0.3s;
}

.achieve-card:hover {
    background: rgba(129, 140, 248, 0.15);
    border-color: #818cf8;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(129, 140, 248, 0.25);
}

.achieve-card.highlight {
    border-color: rgba(129, 140, 248, 0.3);
    background: rgba(129, 140, 248, 0.08);
}

.achieve-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.achieve-info h3 {
    font-size: 14px;
    font-family: 'Orbitron', sans-serif;
    color: white;
    margin: 0 0 6px 0;
}

.achieve-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.achieve-year {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(129, 140, 248, 0.2);
    color: #818cf8;
    font-weight: bold;
}

#achievements {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    .achieve-grid {
        grid-template-columns: 1fr;
    }
}

#contact {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
    scroll-margin-top: 100px;
}

.section-tag {
    color: #818cf8;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
}

#contact h2 {
    font-size: 28px;
    letter-spacing: 3px;
    color: white;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
}

#contact h2:hover {
    color: #818cf8;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.8);
    transition: 0.3s;
}

.contact-card-big {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-card-left {
    flex: 1.2;
}

.contact-heading {
    font-size: 42px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.contact-heading span {
    color: #818cf8;
}

.contact-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin: 0;
}

.contact-divider {
    width: 1px;
    height: 200px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.contact-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.contact-link:hover {
    background: rgba(129, 140, 248, 0.1);
    border-color: #818cf8;
    transform: translateX(6px);
}

.contact-link-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.contact-link-label {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 2px 0;
}

.contact-link-value {
    font-size: 13px;
    color: white;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-card-big {
        flex-direction: column;
    }
    .contact-divider {
        width: 100%;
        height: 1px;
    }
    .contact-heading {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
        gap: 30px;
    }
    .contact-big {
        font-size: 36px;
    }
}

footer {
    max-width: 1000px;
    margin: 40px auto;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    padding: 40px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 24px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-boxes {
    display: flex;
    gap: 4px;
}

.fbox {
    font-size: 22px;
    font-weight: bold;
    color: rgba(255,255,255,0.6);
    border: 2px solid rgba(255,255,255,0.4);
    padding: 2px 8px;
    font-family: serif;
    transition: 0.3s;
}

.fbox:hover {
    color: #818cf8;
    border-color: #818cf8;
}

.footer-slogan {
    font-size: 7px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 2px;
}

.footer-center {
    text-align: center;
}

.footer-name {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    color: white;
    margin: 0 0 8px 0;
}

.footer-title {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin: 4px 0;
    letter-spacing: 1px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.footer-right a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

.footer-right a:hover {
    color: #818cf8;
    letter-spacing: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-right {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.ark-click-box {
    position: fixed;
    font-size: 13px;
    font-weight: bold;
    font-family: serif;
    color: #818cf8;
    border: 1.5px solid #818cf8;
    padding: 2px 6px;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    animation: ark-burst 0.8s ease forwards;
    background: rgba(129, 140, 248, 0.08);
}

@keyframes ark-burst {
    0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
    30%  { opacity: 1; transform: translate(-50%, -80%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -160%) scale(0.8); }
}

* { cursor: none !important; }

#cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #818cf8;
    transform: translate(-50%, -50%) rotate(45deg);
    pointer-events: none;
    z-index: 99999;
    transition: width 0.2s, height 0.2s, background 0.2s;
    box-shadow: 0 0 8px #818cf8, 0 0 16px rgba(129, 140, 248, 0.6);
}

#cursor-trail {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid #818cf8;
    transform: translate(-50%, -50%) rotate(45deg);
    pointer-events: none;
    z-index: 99998;
    opacity: 0.5;
    transition: width 0.15s, height 0.15s, opacity 0.15s, border-color 0.2s;
}

#cursor-dot.hovered {
    width: 14px;
    height: 14px;
    background: white;
    box-shadow: 0 0 14px #818cf8, 0 0 30px rgba(129, 140, 248, 0.8);
}

#cursor-trail.hovered {
    width: 52px;
    height: 52px;
    opacity: 1;
    border-color: white;
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.4);
}

.section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .ark-click-box {
        font-size: 16px;
        padding: 3px 8px;
        border-width: 2px;
    }
}

