:root {
    --ink: #171717;
    --paper: #fff8e9;
    --cream: #f4ead5;
    --yellow: #ffd447;
    --coral: #ff6b57;
    --teal: #37c5b0;
    --lilac: #b8a5ff;
    --white: #fffdf7;
    --muted: #625e57;
    --line: #171717;
    --sans: 'Manrope', sans-serif;
    --mono: 'DM Mono', monospace;
    --ease: cubic-bezier(.16, 1, .3, 1)
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin: auto
}

.section {
    padding: 110px 0;
    position: relative
}

.section-alt {
    background: var(--cream);
    border-block: 2px solid var(--line)
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 50px;
    border-bottom: 2px solid var(--line);
    padding-bottom: 20px
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    letter-spacing: -.08em;
    line-height: 1
}

.title-kanji {
    font: 500 12px var(--mono);
    letter-spacing: 0;
    background: var(--coral);
    padding: 9px 10px;
    border: 2px solid var(--line);
    box-shadow: 4px 4px 0 var(--ink)
}

.title-text {
    font-weight: 800
}

.section-subtitle {
    font: 12px var(--mono);
    letter-spacing: .15em;
    color: var(--muted)
}

#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--yellow);
    border-bottom: 2px solid var(--line);
    transition: .25s
}

.navbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px
}

.logo-kanji {
    font-size: 1.7rem;
    font-weight: 800
}

.logo-text {
    font: 12px var(--mono);
    letter-spacing: .08em
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px
}

.nav-link {
    font-size: 12px;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: .2s
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: var(--ink)
}

.btn-cv,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid var(--line);
    font-size: 12px;
    font-weight: 800;
    transition: .25s var(--ease);
    cursor: pointer
}

.btn-cv {
    padding: 8px 13px;
    box-shadow: 3px 3px 0 var(--ink)
}

.btn-cv:hover {
    background: var(--white);
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--ink)
}

.hamburger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--ink);
    display: block;
    margin: 4px
}

.hero {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    background: var(--paper)
}

.hero:before {
    content: '安';
    position: absolute;
    right: 5%;
    top: 8%;
    font-size: clamp(12rem, 28vw, 25rem);
    font-weight: 800;
    line-height: 1;
    color: var(--yellow);
    opacity: .8;
    z-index: 0
}

.hero-bg-modern {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--ink) 1.3px, transparent 1.3px);
    background-size: 24px 24px;
    opacity: .1;
    mask-image: linear-gradient(to right, black, transparent 65%)
}

.glow-circle {
    position: absolute;
    border: 2px solid var(--ink);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite alternate
}

.top-right {
    width: 130px;
    height: 130px;
    right: 9%;
    top: 18%;
    background: var(--coral);
    box-shadow: 8px 8px 0 var(--ink)
}

.bottom-left {
    width: 80px;
    height: 80px;
    left: 4%;
    bottom: 18%;
    background: var(--teal);
    animation-delay: -2s
}

@keyframes float {
    to {
        transform: translateY(-15px) rotate(8deg)
    }
}

.relative-z {
    position: relative;
    z-index: 1
}

.hero-content {
    max-width: 970px
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 12px var(--mono);
    background: var(--teal);
    border: 2px solid var(--line);
    padding: 9px 13px;
    box-shadow: 4px 4px 0 var(--ink);
    margin-bottom: 30px
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ink)
}

.hero-name {
    font-size: clamp(3.5rem, 10.5vw, 9rem);
    line-height: .87;
    letter-spacing: -.1em;
    font-weight: 800;
    max-width: 1000px
}

.text-gradient {
    display: block;
    color: var(--coral)
}

.hero-subtitle {
    font-size: clamp(1rem, 2.4vw, 1.45rem);
    font-weight: 800;
    margin: 30px 0 13px
}

.hero-subtitle span {
    color: var(--coral);
    padding: 0 6px
}

.hero-desc {
    max-width: 625px;
    color: var(--muted);
    font-size: 15px
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 30px 0;
    width: max-content;
    max-width: 100%;
    padding: 14px 17px;
    border: 2px solid var(--line);
    background: var(--white);
    font-size: 12px;
    box-shadow: 5px 5px 0 var(--line)
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 8px
}

.hero-contact i {
    color: var(--coral)
}

.hero-buttons {
    display: flex;
    gap: 13px
}

.btn {
    padding: 13px 18px;
    background: var(--coral);
    box-shadow: 4px 4px 0 var(--ink)
}

.btn:hover {
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0 var(--ink)
}

.btn-primary {
    background: var(--coral)
}

.btn-outline {
    background: var(--white)
}

.btn-outline:hover {
    background: var(--lilac)
}

.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 100px;
    align-items: center
}

.about-text h3 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin-bottom: 22px
}

.about-text p {
    color: var(--muted);
    margin-bottom: 18px
}

.about-goal {
    display: flex;
    gap: 14px;
    border: 2px solid var(--line);
    background: var(--yellow);
    padding: 18px 20px;
    margin: 28px 0;
    box-shadow: 6px 6px 0 var(--ink)
}

.about-goal i {
    margin-top: 5px
}

.about-goal p {
    margin: 0;
    font-size: 14px;
    color: var(--ink)
}

.about-image {
    justify-self: center
}

.image-frame {
    position: relative
}

.profile-img {
    width: 300px;
    height: 385px;
    object-fit: cover;
    border: 2px solid var(--line);
    filter: saturate(.85);
    box-shadow: 12px 12px 0 var(--teal)
}

.frame-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--coral);
    border-style: solid
}

.frame-top-left {
    top: -9px;
    left: -9px;
    border-width: 3px 0 0 3px
}

.frame-top-right {
    top: -9px;
    right: -9px;
    border-width: 3px 3px 0 0
}

.frame-bottom-left {
    bottom: -9px;
    left: -9px;
    border-width: 0 0 3px 3px
}

.frame-bottom-right {
    bottom: -9px;
    right: -9px;
    border-width: 0 3px 3px 0
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 850px
}

.edu-card,
.org-card,
.skills-card,
.timeline-content,
.contact-form {
    background: var(--white);
    border: 2px solid var(--line);
    padding: 29px;
    box-shadow: 7px 7px 0 var(--ink);
    transition: .3s var(--ease)
}

.edu-card:hover,
.org-card:hover,
.skills-card:hover,
.timeline-content:hover {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 var(--coral)
}

.edu-card-featured {
    background: var(--lilac)
}

.edu-icon,
.org-icon {
    font-size: 1.6rem;
    margin-bottom: 20px
}

.edu-year,
.org-period {
    font: 11px var(--mono);
    background: var(--yellow);
    padding: 5px 8px;
    border: 1px solid var(--line)
}

.edu-card h3,
.org-card h3 {
    margin: 16px 0 4px;
    font-size: 1.1rem
}

.edu-major {
    font-weight: 800;
    font-size: 13px
}

.edu-desc,
.org-card p {
    color: var(--muted);
    font-size: 13px
}

.timeline {
    max-width: 850px;
    margin: auto;
    position: relative
}

.timeline:before {
    content: '';
    position: absolute;
    left: 12px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: var(--ink)
}

.timeline-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 31px
}

.timeline-item:last-child {
    margin-bottom: 0
}

.timeline-dot {
    position: absolute;
    left: 3px;
    top: 31px;
    width: 20px;
    height: 20px;
    background: var(--coral);
    border: 2px solid var(--ink);
    border-radius: 50%;
    z-index: 1
}

.timeline-date {
    font: 11px var(--mono);
    background: var(--teal);
    padding: 5px 8px;
    border: 1px solid var(--ink)
}

.timeline-content h3 {
    margin: 17px 0 3px;
    font-size: 1.1rem
}

.timeline-role {
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 13px
}

.timeline-content p,
.timeline-content li {
    color: var(--muted);
    font-size: 13px
}

.timeline-content ul {
    list-style: disc;
    padding-left: 18px;
    margin-top: 12px
}

.org-grid,
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 21px
}

.org-card {
    text-align: center
}

.org-card:nth-child(5) {
    grid-column: span 2
}

.skills-card-title {
    font-size: 1rem;
    margin-bottom: 19px
}

.skills-card-title i {
    color: var(--coral);
    margin-right: 8px
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    font-size: 12px
}

.skill-badge {
    font: 10px var(--mono);
    background: var(--teal);
    padding: 3px 6px;
    white-space: nowrap
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 21px
}

.bento-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 2px solid var(--line);
    padding: 24px;
    isolation: isolate;
    transition: .35s var(--ease);
    background: var(--ink);
    color: var(--white);
    box-shadow: 7px 7px 0 var(--coral)
}

.bento-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 11px 11px 0 var(--teal)
}

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

.bento-img-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    z-index: -2;
    opacity: .48;
    filter: saturate(.85);
    transition: .5s
}

.bento-card:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(23, 23, 23, .35)
}

.bento-card:hover .bento-img-bg {
    transform: scale(1.06);
    opacity: .68
}

.bento-content h3 {
    font-size: 1.4rem;
    margin-bottom: 7px
}

.bento-content p {
    color: #eee4d4;
    font-size: 13px
}

.project-links {
    display: flex;
    gap: 9px;
    margin-top: 16px
}

.btn-doc,
.btn-code {
    padding: 8px 12px;
    font-size: 11px
}

.btn-doc {
    background: var(--yellow)
}

.btn-code {
    background: var(--teal);
    color: var(--ink);
    border-color: var(--teal)
}

.btn-code:hover {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white)
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px
}

.contact-info>p {
    color: var(--muted);
    margin-bottom: 30px
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 2px solid var(--line);
    background: var(--yellow)
}

.contact-item h4 {
    font: 11px var(--mono)
}

.contact-item p {
    font-size: 13px
}

.contact-form {
    padding: 28px
}

.form-group {
    margin-bottom: 13px
}

.form-input {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font: 13px var(--sans);
    outline: 0
}

.form-input:focus {
    background: var(--yellow)
}

textarea.form-input {
    resize: vertical;
    min-height: 125px
}

#footer {
    padding: 45px 0;
    border-top: 2px solid var(--line);
    text-align: center;
    background: var(--yellow)
}

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

.footer-logo .logo-kanji {
    font-size: 2rem
}

.footer-social {
    display: flex;
    gap: 22px
}

.footer-social a {
    font-size: 1.1rem;
    transition: .2s
}

.footer-social a:hover {
    color: var(--coral);
    transform: translateY(-3px)
}

.footer-copy,
.footer-note {
    font: 11px var(--mono)
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: 2px solid var(--ink);
    background: var(--coral);
    box-shadow: 4px 4px 0 var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    z-index: 999
}

.back-to-top.show {
    opacity: 1;
    visibility: visible
}

.notification-popup {
    position: fixed;
    right: 22px;
    top: 95px;
    z-index: 1100;
    padding: 14px 18px;
    border: 2px solid var(--ink);
    background: var(--teal);
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 5px 5px 0 var(--ink);
    font-size: 13px
}

.notification-error {
    background: var(--coral)
}

.notification-close {
    background: none;
    border: 0;
    font-size: 1.2rem;
    cursor: pointer
}

.edu-card,
.org-card,
.skills-card,
.project-card,
.timeline-item,
.contact-item {
    opacity: 0;
    transform: translateY(18px)
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity .6s var(--ease), transform .6s var(--ease)
}

@media(max-width:960px) {
    .nav-menu {
        position: fixed;
        inset: 0;
        background: var(--yellow);
        flex-direction: column;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        z-index: 4
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible
    }

    .nav-link {
        font-size: 1.1rem
    }

    .hamburger {
        display: block;
        z-index: 5
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px
    }

    .about-image {
        order: -1
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .bento-large {
        grid-column: span 2
    }
}

@media(max-width:640px) {
    .container {
        width: min(100% - 32px, 1160px)
    }

    .section {
        padding: 80px 0
    }

    .section-header {
        display: block
    }

    .section-subtitle {
        margin-top: 15px
    }

    .hero {
        padding: 75px 0
    }

    .hero-name {
        font-size: clamp(3.3rem, 17vw, 5rem)
    }

    .hero-contact {
        width: 100%;
        flex-direction: column;
        gap: 10px
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch
    }

    .education-grid,
    .bento-grid {
        grid-template-columns: 1fr
    }

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

    .bento-card {
        min-height: 300px
    }

    .org-card:nth-child(5) {
        grid-column: span 1
    }

    .timeline-item {
        padding-left: 37px
    }

    .timeline:before {
        left: 7px
    }

    .timeline-dot {
        left: -2px
    }

    .profile-img {
        width: 250px;
        height: 320px
    }

    .section-title {
        gap: 10px
    }

    .title-kanji {
        font-size: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    *,
    *::before,
    *:after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important
    }
}

.gift-decoration {
    position: absolute;
    right: 15%;
    bottom: 17%;
    width: 116px;
    height: 130px;
    transform: rotate(7deg);
    animation: giftFloat 4.5s ease-in-out infinite;
    z-index: 1
}

.gift-box {
    position: absolute;
    left: 13px;
    bottom: 0;
    width: 90px;
    height: 77px;
    background: var(--coral);
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink)
}

.gift-lid {
    position: absolute;
    left: 7px;
    top: 39px;
    width: 102px;
    height: 23px;
    background: var(--yellow);
    border: 2px solid var(--ink);
    z-index: 3;
    box-shadow: 4px 4px 0 var(--ink)
}

.gift-ribbon-v {
    position: absolute;
    left: 49px;
    bottom: 0;
    width: 17px;
    height: 77px;
    background: var(--teal);
    border-inline: 2px solid var(--ink);
    z-index: 4
}

.gift-ribbon-h {
    position: absolute;
    left: 13px;
    bottom: 33px;
    width: 90px;
    height: 15px;
    background: var(--teal);
    border-block: 2px solid var(--ink);
    z-index: 4
}

.gift-bow {
    position: absolute;
    top: 22px;
    width: 31px;
    height: 25px;
    background: var(--teal);
    border: 2px solid var(--ink);
    z-index: 2
}

.gift-bow-left {
    left: 30px;
    border-radius: 100% 0 100% 30%;
    transform: rotate(25deg)
}

.gift-bow-right {
    left: 57px;
    border-radius: 0 100% 30% 100%;
    transform: rotate(-25deg)
}

.gift-spark {
    position: absolute;
    color: var(--coral);
    font-size: 25px;
    animation: sparkle 1.8s ease-in-out infinite
}

.spark-one {
    right: -4px;
    top: -10px
}

.spark-two {
    left: -15px;
    top: 25px;
    animation-delay: .6s
}

@keyframes giftFloat {
    0%,
    100% {
        transform: rotate(7deg) translateY(0)
    }

    50% {
        transform: rotate(-2deg) translateY(-15px)
    }
}

@keyframes sparkle {
    0%,
    100% {
        opacity: .25;
        transform: scale(.7) rotate(0)
    }

    50% {
        opacity: 1;
        transform: scale(1.15) rotate(18deg)
    }
}

@media(max-width:960px) {
    .gift-decoration {
        right: 8%;
        bottom: 9%;
        transform: scale(.8) rotate(7deg)
    }
}

@media(max-width:640px) {
    .gift-decoration {
        right: 1%;
        bottom: 5%;
        transform: scale(.58) rotate(7deg);
        opacity: .85
    }

    .hero:before {
        font-size: 11rem
    }
}

@media(prefers-reduced-motion:reduce) {
    .gift-decoration,
    .gift-spark {
        animation: none
    }
}

.custom-gift-slot {
    position: absolute;
    right: 3%;
    top: 25%;
    width: 115px;
    height: 145px;
    border: 2px dashed var(--ink);
    background: rgba(255, 253, 247, .28);
    transform: rotate(-5deg);
    animation: customGiftFloat 5.5s ease-in-out infinite;
    z-index: 1
}

.custom-gift-slot:before,
.custom-gift-slot:after {
    content: '';
    position: absolute;
    background: var(--ink)
}

.custom-gift-slot:before {
    width: 18px;
    height: 2px;
    right: -10px;
    top: 15px;
    transform: rotate(35deg)
}

.custom-gift-slot:after {
    width: 2px;
    height: 18px;
    left: 14px;
    bottom: -9px;
    transform: rotate(35deg)
}

.custom-gift-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px
}

@keyframes customGiftFloat {
    0%,
    100% {
        transform: rotate(-5deg) translateY(0)
    }

    50% {
        transform: rotate(3deg) translateY(-10px)
    }
}

@media(max-width:960px) {
    .custom-gift-slot {
        right: 2%;
        top: 15%;
        transform: scale(.8) rotate(-5deg)
    }
}

@media(max-width:960px) {
    .custom-gift-slot {
        right: 0;
        top: 14%;
        width: 136px;
        height: 112px;
        transform: scale(.7) rotate(-5deg);
        opacity: .75
    }
}

@media(prefers-reduced-motion:reduce) {
    .custom-gift-slot {
        animation: none
    }
}

.gift-orbit {
    position: absolute;
    inset: 12px -10px 7px -10px;
    border: 1px dashed var(--ink);
    border-radius: 50%;
    opacity: .65;
    animation: orbitSpin 7s linear infinite
}

.gift-orbit:after {
    content: '';
    position: absolute;
    left: 4px;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lilac);
    border: 1px solid var(--ink)
}

.gift-lid {
    transform-origin: 12px 23px;
    animation: lidWiggle 3.8s ease-in-out infinite
}

.gift-shine {
    position: absolute;
    left: 14px;
    bottom: 7px;
    width: 85px;
    height: 4px;
    background: var(--white);
    opacity: 0;
    z-index: 5;
    transform: translateX(-90px) rotate(-25deg);
    animation: boxShine 4s ease-in-out infinite
}

.gift-confetti {
    position: absolute;
    width: 8px;
    height: 13px;
    border: 1px solid var(--ink);
    animation: confettiDrop 3.4s ease-in-out infinite
}

.confetti-one {
    left: -18px;
    top: 5px;
    background: var(--coral);
    transform: rotate(25deg)
}

.confetti-two {
    right: -15px;
    top: 35px;
    background: var(--yellow);
    transform: rotate(-35deg);
    animation-delay: .7s
}

.confetti-three {
    left: 3px;
    top: -22px;
    background: var(--teal);
    transform: rotate(70deg);
    animation-delay: 1.3s
}

.confetti-four {
    right: 13px;
    top: -28px;
    background: var(--lilac);
    transform: rotate(-60deg);
    animation-delay: 1.9s
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes lidWiggle {
    0%,
    70%,
    100% {
        transform: rotate(0)
    }

    76% {
        transform: rotate(-5deg)
    }

    82% {
        transform: rotate(3deg)
    }

    88% {
        transform: rotate(-2deg)
    }
}

@keyframes boxShine {
    0%,
    45% {
        opacity: 0;
        transform: translateX(-90px) rotate(-25deg)
    }

    57% {
        opacity: .8
    }

    70%,
    100% {
        opacity: 0;
        transform: translateX(115px) rotate(-25deg)
    }
}

@keyframes confettiDrop {
    0%,
    100% {
        opacity: 0;
        transform: translateY(-8px) rotate(0) scale(.7)
    }

    25%,
    70% {
        opacity: 1
    }

    85% {
        opacity: 0;
        transform: translateY(36px) rotate(180deg) scale(1)
    }
}

@media(prefers-reduced-motion:reduce) {
    .gift-orbit,
    .gift-lid,
    .gift-shine,
    .gift-confetti {
        animation: none
    }
}
