.gift-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    box-sizing: border-box;
    background: transparent;
}

.gift-content{
    position:relative;
    width:100%;
    max-width:620px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.gift-intro{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    transition:transform .6s ease;
}

.gift-intro.gift-intro-up{
    transform:translateY(-70px);
}

.gift-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 1px;
    font-family:var(--heading);
}

.gift-description {
    max-width: 540px;
    margin: 0 auto 26px;
    color: #fff;
    font-size: 17px;
    line-height: 1.6;
}

/* =====================================================
   OPEN BUTTON
===================================================== */
.gift-open-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    padding: 13px 28px;
   border:1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background:rgba(255,255,255,.16);
    color:#fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.gift-open-button:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(0,0,0,.25);
    background:rgba(255, 255, 255, 0.413);
}

.gift-open-button:active {
    transform: scale(.97);
}

.gift-card {
    width: 100%;
    margin-top: -28px;
    padding: 16px 18px 8px;
    box-sizing: border-box;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.22);
    border-radius: 22px;
    box-shadow:
        0 20px 50px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform:
        translateY(14px)
        scale(.98);
    pointer-events: none;
    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;
}

/* =====================================================
   GIFT CARD ACTIVE
===================================================== */
.gift-card.show {
    opacity: 1;
    visibility: visible;
    transform:
        translateY(0)
        scale(1);
    pointer-events: auto;
}

/* =====================================================
   CARD HEADER
===================================================== */
.gift-card-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 30px;
}

/* =====================================================
   CLOSE BUTTON
===================================================== */
.gift-close-button {
    padding: 4px 2px;
    border: none;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition:
        color .2s ease,
        opacity .2s ease;
}

.gift-close-button:hover {
    color: #fff;
}

/* =====================================================
   GIFT ITEM
===================================================== */
.gift-item {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 4px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(140, 117, 87, .22);
    text-align: left;
}

.gift-item:last-child {
    border-bottom: none;
}

/* =====================================================
   ITEM ICON
===================================================== */
.gift-item-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.18);
    color: #fff;
    overflow: hidden;
}

.gift-item-icon i {
    font-size: 18px;
}

.gift-bank-icon {
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.18);
}

.gift-bank-icon img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* =====================================================
   ITEM INFORMATION
===================================================== */
.gift-item-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gift-item-info strong {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.gift-item-info span {
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
}

.gift-item-info small {
    color: #fff;
    font-size: 11px;
    line-height: 1.35;
}

/* =====================================================
   COPY BUTTON
===================================================== */
.gift-copy-button,
.gift-action-button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 10px;
    background:rgba(255,255,255,.10);
color: #fff;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease,
        color .2s ease;
}

.gift-copy-button:hover,
.gift-action-button:hover {
    background: #ffffffac;
    color: #000;
    transform: scale(1.04);
}

.gift-copy-button i,
.gift-action-button i {
    font-size: 15px;
}

/* =====================================================
   GIFT REGISTRY
===================================================== */
.gift-registry {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.gift-registry:hover {
    background: rgba(140, 117, 87, .06);
}

.gift-arrow {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background:rgba(255,255,255,.10);
    color: #fff;
}

.gift-arrow i {
    font-size: 14px;
}

/* =====================================================
   TOAST
===================================================== */
.gift-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.95);
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: calc(100% - 40px);
    padding: 12px 18px;
    box-sizing: border-box;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    color: #5b4d40;
    font-size: 14px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;
    z-index: 9999;
}

.gift-toast.show {
    opacity: 1;
    visibility: visible;
    transform:
        translate(-50%, -50%)
        scale(1);
}

.gift-toast i {
    color: #53a866;
    font-size: 18px;
}

/* =====================================================
   TABLET & DESKTOP
===================================================== */
@media (max-width:1199px){
    .gift-section{
        padding:0 22px;
    }

    .gift-content{
        max-width:580px;
    }

    .gift-title{
        font-size:40px;
    }

    .gift-description{
        font-size:16px;
    }
}

/* =====================================================
   DESKTOP
===================================================== */

@media (min-width:1025px){
    .gift-section{
        padding:0 28px;
    }

    .gift-content{
        max-width:620px;
    }

    .gift-card{
        padding:16px 20px 8px;
    }
}


@media (min-width:1200px){
    .gift-section{
        min-height:100vh;
        padding:0 30px;
    }

    .gift-content{
        max-width:640px;
    }

    .gift-title{
        font-size:44px;
    }

    .gift-description{
        max-width:560px;
        font-size:17px;
    }
}

@media (min-width:1600px){
    .gift-section{
        padding:0 40px;
    }

    .gift-content{
        max-width:680px;
    }

    .gift-title{
        font-size:48px;
    }

    .gift-description{
        max-width:600px;
        font-size:18px;
    }

    .gift-card{
        padding:18px 22px 10px;
    }

    .gift-item{
        min-height:68px;
    }
}

/* =====================================================
   TABLET
===================================================== */
@media (max-width:1024px){
    .gift-section{
        padding:0 22px;
    }

    .gift-content{
        max-width:560px;
    }

    .gift-title{
        font-size:40px;
    }

    .gift-description{
        max-width:500px;
        font-size:16px;
    }
}

@media (max-width:992px){
    .gift-section{
        padding:0 20px;
    }

    .gift-content{
        max-width:540px;
    }

    .gift-title{
        font-size:38px;
    }

    .gift-card{
        margin-top:-20px;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width:768px){
    .gift-section{
        padding:0 18px;
    }

    .gift-content{
        max-width:500px;
    }

    .gift-title{
        font-size:36px;
    }

    .gift-description{
        max-width:440px;
        font-size:15px;
        line-height:1.55;
    }

    .gift-open-button{
        min-width:140px;
        padding:12px 24px;
        font-size:15px;
    }

    .gift-card{
        margin-top:-20px;
        padding:14px 14px 6px;
        border-radius:20px;
    }

    .gift-item{
        gap:11px;
        min-height:60px;
        padding:9px 2px;
    }

    .gift-item-icon{
        width:40px;
        height:40px;
        flex-basis:40px;
    }

    .gift-bank-icon img{
        width:28px;
        height:28px;
    }

    .gift-item-info strong{
        font-size:14px;
    }

    .gift-item-info span{
        font-size:12px;
    }

    .gift-item-info small{
        font-size:10px;
    }

    .gift-copy-button,
    .gift-action-button{
        width:36px;
        height:36px;
        flex-basis:36px;
    }
}

/* =====================================================
   SMALL MOBILE
===================================================== */
@media (max-width:480px){
    .gift-section{
        padding:0 16px;
    }

    .gift-title{
        font-size:32px;
        letter-spacing:.5px;
    }

    .gift-description{
        font-size:14px;
        margin-bottom:22px;
    }

    .gift-card{
        margin-top:-20px;
        padding:12px 12px 4px;
        border-radius:18px;
    }

    .gift-card-header{
        min-height:28px;
    }

    .gift-item{
        gap:9px;
        min-height:57px;
        padding:8px 1px;
    }

    .gift-item-icon{
        width:38px;
        height:38px;
        flex-basis:38px;
        border-radius:9px;
    }

    .gift-bank-icon img{
        width:26px;
        height:26px;
    }

    .gift-item-info strong{
        font-size:13px;
    }

    .gift-item-info span{
        font-size:11px;
    }

    .gift-item-info small{
        font-size:9px;
    }

    .gift-copy-button,
    .gift-action-button{
        width:34px;
        height:34px;
        flex-basis:34px;
    }

    .gift-toast{
        top:50%;
        bottom:auto;
        left:50%;
        transform:translate(-50%,-50%) scale(.95);
        font-size:13px;
        padding:11px 15px;
    }

    .gift-toast.show{
        transform:translate(-50%,-50%) scale(1);
    }
}

@media (max-width:420px){
    .gift-section{
        padding:0 14px;
    }

    .gift-title{
        font-size:30px;
    }

    .gift-description{
        font-size:13px;
        max-width:330px;
    }

    .gift-card{
        padding:11px 10px 3px;
        margin-top: -20px;
    }

    .gift-item{
        gap:8px;
    }

    .gift-item-icon{
        width:36px;
        height:36px;
        flex-basis:36px;
    }

    .gift-bank-icon img{
        width:24px;
        height:24px;
    }

    .gift-item-info strong{
        font-size:12.5px;
    }

    .gift-item-info span{
        font-size:10.5px;
    }

    .gift-copy-button,
    .gift-action-button{
        width:32px;
        height:32px;
        flex-basis:32px;
    }
}

@media (max-width:360px){
    .gift-section{
        padding:0 12px;
    }

    .gift-title{
        font-size:27px;
    }

    .gift-description{
        font-size:12px;
        line-height:1.5;
    }

    .gift-open-button{
        min-width:130px;
        padding:11px 20px;
        font-size:14px;
    }

    .gift-card{
        padding:10px 8px 2px;
        border-radius:16px;
        margin-top: 10px;
    }

    .gift-item{
        gap:7px;
        min-height:54px;
    }

    .gift-item-icon{
        width:34px;
        height:34px;
        flex-basis:34px;
    }

    .gift-bank-icon img{
        width:22px;
        height:22px;
    }

    .gift-item-info strong{
        font-size:12px;
    }

    .gift-item-info span{
        font-size:10px;
    }

    .gift-item-info small{
        font-size:8.5px;
    }

    .gift-copy-button,
    .gift-action-button{
        width:30px;
        height:30px;
        flex-basis:30px;
    }

    .gift-copy-button i,
    .gift-action-button i{
        font-size:13px;
    }
}

/* ========================================
   GIFT ANIMATION
======================================== */
.gift-content{
    opacity:0;
    transform:translateY(35px);
    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
}

.gift-section.is-visible .gift-content{
    opacity:1;
    transform:translateY(0);
    transition-delay:.2s;
}