/*givaway csrd css*/
.givaway-badge-outer {
    position: absolute;
    top: 30px;
    border-radius: 26px;
    left: 25px;
    background: #c38c38;
    z-index: 999;
    padding: 2px 10px;
    font-size: 14px;
    color: white;
}

/* =========================================
   GTXC PREMIUM POPUP MODAL
========================================= */

.gtxc-popup-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
}

/* ================= OVERLAY ================= */

.gtxc-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(4px);
}

/* ================= CONTAINER ================= */

.gtxc-popup-container {
    position: relative;
    width: 100%;
    max-width: 620px;
    background: #0d0d0d;
    border: 1px solid #4B330F;
    border-radius: 10px;
    overflow: hidden;
    z-index: 2;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, .65),
        0 0 0 1px rgba(212, 160, 65, .06);
    animation: gtxcPopupShow .35s ease;
}

.gtxc-popup-container::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    background: rgba(212, 160, 65, .06);
    border-radius: 50%;
    pointer-events: none;
}

/* ================= ANIMATION ================= */

@keyframes gtxcPopupShow {

    from {
        opacity: 0;
        transform: translateY(40px) scale(.96);
    }

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

/* ================= HEADER ================= */

.gtxc-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    position: relative;
    z-index: 1;
}

.gtxc-popup-header h3 {
    margin: 0;
    color: #C38C38;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .4px;
}

/* ================= CLOSE BUTTON ================= */

.gtxc-popup-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    display: flex;
    justify-content: center;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    transition: all .3s ease;
}

.gtxc-popup-close:hover {
    background: #C38C38;
    color: #fff;
    transform: rotate(90deg);
}

/* ================= BODY ================= */

.gtxc-popup-body {
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ================= GIVEAWAY TITLE ================= */

.gtxc-popup-giveaway-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    line-height: 1.5;
}


#gtxc-plan-selection-section h2 {
    font-size: 18px;
}

/* ================= INFO BOX ================= */

.gtxc-popup-info {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(212, 160, 65, .08);
    border-radius: 18px;
    padding: 10px 20px;
    margin-bottom: 24px;
}

.gtxc-popup-info p {
    margin: 10px 0;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.7;
}

.gtxc-popup-info strong {
    color: #C38C38;
    font-weight: 600;
}

/* =========================================
   PLAN LIST
========================================= */

.gtxc-plans-list {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 24px;
}

/* custom scrollbar */

.gtxc-plans-list::-webkit-scrollbar {
    width: 6px;
}

.gtxc-plans-list::-webkit-scrollbar-thumb {
    background: #C38C38;
    border-radius: 20px;
}

/* ================= PLAN OPTION ================= */

.gtxc-plan-option {
    position: relative;
    padding: 22px;
    margin-bottom: 16px;
    border-radius: 20px;
    background: #111111;
    border: 1px solid #4B330F;
    cursor: pointer;
    transition: all .35s ease;
    overflow: hidden;
}

.gtxc-plan-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(212, 160, 65, .08),
            transparent 45%);
    opacity: 0;
    transition: .35s ease;
}

.gtxc-plan-option:hover {
    border-color: #C38C38;
    box-shadow: 0 15px 35px rgba(212, 160, 65, .12);
}

.gtxc-plan-option:hover::before {
    opacity: 1;
}

.gtxc-plan-option.selected {
    border-color: #C38C38;
    background: linear-gradient(145deg,
            #14110b,
            #1c160c);
    box-shadow: 0 15px 35px rgba(212, 160, 65, .15);
}

/* ================= PLAN RADIO ================= */

.gtxc-plan-radio {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212, 160, 65, .12);
    border: 2px solid rgba(212, 160, 65, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C38C38;
    font-size: 14px;
}

/* ================= PLAN TEXT ================= */

.gtxc-plan-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.gtxc-plan-details {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
}

.gtxc-plan-details span {
    background: rgba(255, 255, 255, .04);
    padding: 8px 14px;
    border-radius: 5px;
}

.gtxc-plan-entries {
    color: #4ade80;
    font-weight: 700;
}

.gtxc-plan-expiry {
    color: #C38C38;
    font-weight: 700;
}

/* =========================================
   ENTRY SECTION
========================================= */

.gtxc-entry-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* ================= FORM ================= */

.gtxc-form-group {
    margin-bottom: 20px;
}

.gtxc-form-group label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}


.gtxc-form-group input:focus {
    outline: none;
    border-color: #C38C38;
    box-shadow: 0 0 0 4px rgba(212, 160, 65, .12);
}

.gtxc-form-group input.error {
    border-color: #ef4444;
}

/* ================= MESSAGE ================= */

.gtxc-error-message {
    color: #f87171;
    font-size: 13px;
    margin-top: 8px;
    display: block;
}

.gtxc-success-message {
    color: #4ade80;
    font-size: 13px;
    margin-top: 8px;
    display: block;
}

/* =========================================
   BUTTONS
========================================= */

.button-group {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

/* submit */

#gtxc-apply-form .gtxc-submit-apply {
    flex: 1;
    height: 56px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, #C38C38, #f0b44f);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    letter-spacing: .3px;
}

#gtxc-apply-form .gtxc-submit-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(212, 160, 65, .25);
}

/* back button */

#gtxc-apply-form .gtxc-btn-back {
    height: 56px;
    padding: 0 22px;
    border: none;
    border-radius: 5px;
    background: #1f2937;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

#gtxc-apply-form .gtxc-btn-back:hover {
    background: #374151;
}

/* disabled */

.gtxc-submit-apply:disabled,
.gtxc-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =========================================
   LOADING
========================================= */

.gtxc-loading {
    text-align: center;
    padding: 14px;
    color: #C38C38;
    font-weight: 700;
    font-size: 14px;
}

/* =========================================
   SELECTED PLAN INFO
========================================= */

.selected-plan-info {
    background: rgba(212, 160, 65, .08);
    border: 1px solid rgba(212, 160, 65, .12);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    color: #f3f4f6;
    font-size: 14px;
}

/* =========================================
   NO PLANS
========================================= */

.no-plans-message {
    text-align: center;
    padding: 28px;
    border-radius: 20px;
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(245, 158, 11, .12);
    color: #fbbf24;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:768px) {

    .gtxc-popup-container {
        max-width: 100%;
        border-radius: 22px;
    }

    .gtxc-popup-header {
        padding: 22px 20px;
    }

    .gtxc-popup-body {
        padding: 22px 20px;
    }

    .gtxc-popup-header h3 {
        font-size: 22px;
    }

    .gtxc-popup-giveaway-title {
        font-size: 19px;
    }

    .gtxc-plan-name {
        font-size: 16px;
    }

    .button-group {
        flex-direction: column;
    }

    .gtxc-btn-back,
    .gtxc-submit-apply {
        width: 100%;
    }
}

/* =========================================
   GTXC PREMIUM GIVEAWAY CARDS
========================================= */

.gtxc-cards-container {
    padding: 0 10px;
}

/* ================= HEADER ================= */

.gtxc-cards-header {
    margin-bottom: 35px;
    text-align: left;
}

.gtxc-cards-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #C38C38;
    margin-bottom: 10px;
    letter-spacing: .5px;
}

.gtxc-cards-header p {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
}

/* ================= GRID ================= */

.gtxc-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px;
}

/* ================= CARD ================= */

.gtxc-card {
    position: relative;
    background: #0d0d0d;
    border: 1px solid rgba(212, 160, 65, 0.18);
    border-radius: 18px;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.gtxc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(212, 160, 65, 0.05),
            transparent 40%);
    pointer-events: none;
}

.gtxc-card:hover {
    transform: translateY(-8px);
    border-color: #C38C38;
    box-shadow: 0 25px 50px rgba(212, 160, 65, 0.15);
}

/* ================= CARD TYPES ================= */

.gtxc-card-winner {
    border: 1px solid rgba(245, 158, 11, .5);
    background: linear-gradient(145deg,
            #111111,
            #1a1407);
}




.gtxc-card-loser {
    border: 1px solid rgba(255, 255, 255, .08);
}

.gtxc-card-pending {
    border: 1px solid rgba(255, 255, 255, .08);
    opacity: .92;
}

/* ================= BADGES ================= */

.gtxc-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.badge-winner {
    background: #C38C38;
    color: #fff;
    box-shadow: 0 10px 25px rgba(245, 158, 11, .3);
}

.badge-loser {
    background: #1f2937;
    color: #e5e7eb;
}

.badge-pending {
    background: #2b2414;
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, .25);
}

.archived-badge {
    margin-left: 8px;
    background: #475569;
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
}

/* ================= WINNER RIBBON ================= */

.gtxc-card-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    z-index: 3;
}

.gtxc-card-ribbon span {
    position: absolute;
    top: 20px;
    left: -30px;
    width: 140px;
    padding: 6px 0;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #C38C38;
    transform: rotate(-45deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .35);
}

/* ================= CONTENT ================= */

.gtxc-card-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ================= ICON ================= */

.gtxc-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(212, 160, 65, 0.12);
    border: 1px solid rgba(212, 160, 65, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #C38C38;
}



.gtxc-card-icon img {
    width: 15px !important;
    height: 15px !important;
    object-fit: contain;
}

/* ================= TITLE ================= */

.gtxc-card-title {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.gtxc-card-title a {
    color: #C38C38;
    text-decoration: none;
    transition: .3s ease;
}

.gtxc-card-title a:hover {
    color: #C38C38;
}

.gtxc-card-title,
.gtxc-card-title span {
    color: #fff;
}

/* ================= INFO AREA ================= */

.gtxc-card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gtxc-info-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 0;
    border-bottom: 1px dashed rgb(255 255 255 / 16%);
}

.gtxc-info-row:last-child {
    border-bottom: none;
}

.gtxc-info-label {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    min-width: 45%;
}

.gtxc-info-value {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    line-height: 1.5;
}

/* ================= ENTRY NUMBERS ================= */

.entry-number {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    background: #1e293b;
    color: #fff;
    font-size: 13px;
    font-family: monospace;
    letter-spacing: .5px;
}

.winning-entry-number {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 30px;
    background: #C38C38;
    color: #fff;
    font-size: 13px;
    font-family: monospace;
    font-weight: 700;
    letter-spacing: .5px;
    box-shadow: 0 10px 20px rgba(245, 158, 11, .25);
}

/* ================= HIGHLIGHTS ================= */

.winner-name-highlight {
    color: #C38C38;
    font-size: 16px;
    font-weight: 700;
}

.loser-name-with-crown {
    color: #ef4444;
    font-size: 16px;
    font-weight: 700;
}

.crown-icon {
    margin-left: 5px;
    font-size: 18px;
}

/* ================= MESSAGE BOX ================= */

.gtxc-winner-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 18px;
    text-align: center;
    font-weight: 600;
    line-height: 1.6;
    font-size: 14px;
}

.winner-message {
    background: linear-gradient(135deg,
            rgba(34, 197, 94, .15),
            rgba(34, 197, 94, .06));
    border: 1px solid rgba(34, 197, 94, .2);
    color: #4ade80;
}

.loser-message {
    background: linear-gradient(135deg,
            rgba(239, 68, 68, .12),
            rgba(239, 68, 68, .04));
    border: 1px solid rgba(239, 68, 68, .18);
    color: #f87171;
}

.pending-message {
    background: linear-gradient(135deg,
            rgba(245, 158, 11, .12),
            rgba(245, 158, 11, .05));
    border: 1px solid rgba(245, 158, 11, .2);
    color: #fbbf24;
}

/* ================= PAGINATION ================= */

.gtxc-pagination-card {
    margin-top: 40px;
    text-align: center;
}

.gtxc-pagination-card .pagination-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gtxc-pagination-card .page-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
    transition: .3s ease;
    font-weight: 600;
}

.gtxc-pagination-card .page-btn:hover {
    background: #C38C38;
    border-color: #C38C38;
    transform: translateY(-2px);
}

.gtxc-pagination-card .page-btn.active {
    background: linear-gradient(135deg, #C38C38, #f0b44f);
    border-color: #C38C38;
    color: #fff;
    box-shadow: 0 10px 20px rgba(212, 160, 65, .25);
}

.gtxc-pagination-card .page-btn.disabled {
    opacity: .4;
    pointer-events: none;
}

.gtxc-pagination-card .page-dots {
    color: #6b7280;
    padding: 0 6px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:991px) {

    .gtxc-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }

    .gtxc-card-content {
        padding: 24px;
    }

    .gtxc-card-title {
        font-size: 22px;
    }
}

@media(max-width:768px) {

    .gtxc-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gtxc-cards-header h2 {
        font-size: 28px;
    }

    .gtxc-card-content {
        padding: 22px 18px;
    }

    .gtxc-card-icon {
        width: 72px;
        height: 72px;
        font-size: 32px;
    }

    .gtxc-card-title {
        font-size: 18px;
    }

    .gtxc-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .gtxc-info-value {
        text-align: left;
    }

    .gtxc-card-badge {
        top: 15px;
        right: 15px;
        font-size: 11px;
    }
}