* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: white;
    overflow-y: scroll;
}

section {
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
}

.hero {
    height: 100vh;
    overflow: hidden;
    background: black;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(100%);
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 50px 30px;
    animation: fadeUp 1s ease;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-subtitle {
    margin-top: 12px;
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.9;
}

.scroll-indicator {
    margin-top: 24px;
    font-size: 0.9rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

/* ABOUT */
.about {
    background: linear-gradient(to bottom, #0a0a0a 0%, #111 35%, #0c0c0c 100%);
    padding: 80px 24px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeUp 1s ease;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-intro {
    max-width: 850px;
    margin: 0 auto 36px auto;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.88;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 18px;
    border-radius: 999px;
    transition: 0.2s;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 28px;
}

.card h3 {
    margin-bottom: 14px;
}

.card p {
    opacity: 0.85;
    line-height: 1.7;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.mini-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
}

.mini-card i {
    margin-bottom: 10px;
}

.mini-card h4 {
    margin-bottom: 8px;
}

.photo-stack {
    display: grid;
    gap: 18px;
}

.photo-stack img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    filter: grayscale(100%);
}

.skills-card,
.education-card,
.awards-card,
.projects-card {
    margin-top: 30px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.skill-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.education-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.column-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.edu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.edu-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.edu-item strong {
    font-size: 0.95rem;
}

.edu-item p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 3px;
}

.awards-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.award-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.award-item img {
    max-width: 86px;
    max-height: 86px;

    width: auto;
    height: auto;

    object-fit: contain;
    border-radius: 8px;

    display: block;
}

.award-item strong {
    font-size: 0.95rem;
}

.award-item p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 22px;
}

@media (max-width: 768px) {
    .award-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .award-item img {
        margin-top: 0;
    }

    .award-item p {
        margin-bottom: 0;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.project-content {
    padding: 20px;
}

.project-content h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.82;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.project-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    line-height: 1;
}

.project-award {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.project-award i {
    font-size: 0.9rem;
}

.footer-note {
    margin-top: 90px;
    text-align: center;
    opacity: 0.6;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ULTRAWIDE FIX */
@media (min-aspect-ratio: 16/9) {
    .hero {
        background: #DDDDDF;
    }

    .hero img {
        object-fit: contain;
        object-position: center center;
    }
}

@media (max-width: 980px) {

    .about-grid,
    .education-grid,
    .projects-grid,
    .story-highlights {
        grid-template-columns: 1fr;
    }
}

.easter-egg-name {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    transform-origin: center;
}

.easter-egg-name.is-charging {
    animation-name: eggShake;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.easter-egg-name.is-exploding {
    animation: eggExplode 0.45s ease-out forwards;
}

@keyframes eggShake {
    0% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
    }

    20% {
        transform: translate(-1px, 1px) rotate(-0.5deg) scale(1.01);
    }

    40% {
        transform: translate(1px, -1px) rotate(0.5deg) scale(1.02);
    }

    60% {
        transform: translate(-2px, 1px) rotate(-1deg) scale(1.03);
    }

    80% {
        transform: translate(2px, -1px) rotate(1deg) scale(1.04);
    }

    100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1.05);
    }
}

@keyframes eggExplode {
    0% {
        opacity: 1;
        transform: scale(1.08);
        filter: blur(0px);
    }

    40% {
        opacity: 1;
        transform: scale(1.35);
        filter: blur(1px);
    }

    100% {
        opacity: 0;
        transform: scale(2.4);
        filter: blur(10px);
    }
}

.dragon-balls-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.dragon-flash {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(255, 244, 180, 0.92) 40%, rgba(255, 180, 0, 0.35) 70%, rgba(255, 180, 0, 0) 100%);
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
    animation: dragonFlash 0.55s ease-out forwards;
}

@keyframes dragonFlash {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2);
    }

    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(2.2);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(5.4);
    }
}

.dragon-trail {
    position: absolute;
    z-index: -10;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 248, 200, 0.95) 0%, rgba(255, 190, 60, 0.7) 45%, rgba(255, 150, 0, 0) 100%);
    pointer-events: none;
    opacity: 0.8;
    will-change: transform, opacity;
}

.dragon-ball {
    position: absolute;
    z-index: 2;
    overflow: hidden;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;

    background: radial-gradient(circle at 30% 30%, #ffe9a3 0%, #ffb347 25%, #ff8c00 65%, #cc5200 100%);
    box-shadow:
        0 0 10px rgba(255, 170, 0, 0.8),
        0 0 20px rgba(255, 140, 0, 0.5);
}

.dragon-ball::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 6px;
    width: 14px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.9;
    transform: rotate(-20deg);
    z-index: 3;
}

.dragon-ball::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.15), transparent 60%);
    z-index: 1;
}

.dragon-star {
    position: absolute;
    z-index: 4;
    width: 6px;
    height: 6px;
    transform: translate(-50%, -50%);
    background: #111;
    clip-path: polygon(50% 0%,
            61% 35%,
            98% 35%,
            68% 57%,
            79% 91%,
            50% 70%,
            21% 91%,
            32% 57%,
            2% 35%,
            39% 35%);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.45);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.project-card:hover img {
    filter: grayscale(0%);
}

.project-link {
    display: block;
    text-decoration: none;
    color: inherit;
}