/* ========================================================
   GOGETA - GIFTCODE (giftcode.css)
   Inspired by Chibi Super Saiyan Blue Gogeta Watercolor Style
   ======================================================== */

.giftcode-section {
    padding: 15px 0;
}

.comic-ranking-header {
    position: relative;
    margin: 0 auto 20px;
    text-align: center;
}

.manga-splash-title {
    background: linear-gradient(180deg, #ffe066 0%, #ff9800 60%, #e65100 100%);
    border: 3.5px solid #0f172a;
    border-radius: 14px;
    padding: 10px 24px;
    display: inline-block;
    box-shadow: 4px 4px 0 #0f172a;
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.splash-text {
    color: #0f172a;
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.splash-subtitle {
    color: #3b1a09;
    font-family: "Nunito", "Baloo 2", sans-serif;
    font-size: 13px;
    font-weight: 800;
    margin-top: 2px;
}

/* Danh sách Giftcode căn giữa */
.giftcode-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 auto 25px;
    max-width: 650px;
    width: 100%;
}

/* Thẻ Giftcode căn giữa */
.giftcode-card {
    background-color: #ffffff;
    border: 2.5px solid #0f172a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 4px 4px 0 #0f172a;
    transition: all 0.2s ease;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.giftcode-card:hover {
    transform: translateY(-2px);
    box-shadow: 5px 6px 0 #0f172a, 0 8px 18px rgba(2, 132, 199, 0.15);
    border-color: #ff9800;
}

/* Phần hiển thị mã Code ở giữa */
.giftcode-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.code-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 2.5px dashed #0284c7;
    border-radius: 10px;
    padding: 8px 18px;
    box-shadow: 2px 2px 0 rgba(15, 23, 42, 0.1);
}

.code-text {
    font-family: "Baloo 2", "Nunito", monospace;
    font-size: 20px;
    font-weight: 900;
    color: #0284c7;
    letter-spacing: 1.5px;
}

.btn-copy-code {
    background: linear-gradient(180deg, #ffe066 0%, #ff9800 100%);
    border: 2px solid #0f172a;
    color: #0f172a;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: "Nunito", "Baloo 2", sans-serif;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 2px 2px 0 #0f172a;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-copy-code:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 #0f172a;
    background: linear-gradient(180deg, #fff3a8 0%, #ffa726 100%);
}

.btn-copy-code:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 0 #0f172a;
}

/* Chi tiết quà tặng căn giữa */
.giftcode-details {
    width: 100%;
    border-top: 1.5px solid #e2e8f0;
    padding-top: 15px;
}

.items-title {
    font-family: "Nunito", "Baloo 2", sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.items-title i {
    color: #ff9800;
}

.items-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.item-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 110px;
    max-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s ease;
}

.item-card:hover {
    border-color: #ff9800;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.item-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item-name {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 4px;
    word-break: break-word;
}

.item-meta {
    margin-top: auto;
}

.quantity {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
}
