@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #070708;
    --bg-card: rgba(18, 18, 22, 0.7);
    --bg-card-hover: rgba(26, 26, 32, 0.85);
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA7C11;
    --red: #FF3366;
    --red-dark: #b31010;
    --blue: #2196F3;
    --text-primary: #FFFFFF;
    --text-muted: #9E9E9E;
    --text-gold: #E5C158;
    --gold-gradient: linear-gradient(135deg, #FFE082 0%, #D4AF37 50%, #AA7C11 100%);
    --gold-text-gradient: linear-gradient(135deg, #FFF3D1 0%, #D4AF37 50%, #AA7C11 100%);
    --red-gradient: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    --red-gradient-dark: linear-gradient(135deg, #c31432 0%, #240b36 100%);
    --blue-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    --border-gold: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.05) 50%, rgba(212, 175, 55, 0.3) 100%);
    --border-white: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --glow-red: 0 0 25px rgba(255, 75, 43, 0.45);
    --glow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --glass: rgba(15, 15, 18, 0.7);
    --glass-blur: blur(16px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #030303;
    /* Luxury textured dark background */
    background-image: 
        radial-gradient(circle at 50% 0%, #16161c 0%, #050507 70%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 2px, transparent 2px, transparent 4px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 2px, transparent 2px, transparent 4px);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* Ambient lighting behind the layout (on desktop) */
.desktop-bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(255, 51, 102, 0.03) 40%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Core responsive app container */
.app-container {
    width: 100%;
    max-width: 420px; /* Standard premium mobile width */
    min-height: 100vh;
    background-color: var(--bg-dark);
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.9);
    position: relative;
    padding-bottom: 110px; /* Extra space for sticky CTA */
    overflow: hidden;
}

/* Desktop framing embellishment */
@media (min-width: 600px) {
    body {
        align-items: center;
        padding: 40px 0;
    }
    .app-container {
        min-height: 850px;
        height: 90vh;
        border-radius: 40px;
        border: 4px solid rgba(212, 175, 55, 0.15);
        overflow-y: auto;
        box-shadow: 
            0 20px 80px rgba(0, 0, 0, 0.8),
            0 0 40px rgba(212, 175, 55, 0.05);
    }
    /* Hide horizontal scroll bar on preview image gallery */
    .app-container::-webkit-scrollbar {
        width: 4px;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 7, 8, 0.2) 0%, rgba(7, 7, 8, 0.8) 100%);
    pointer-events: none;
}

.badge-online {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 230, 118, 0.3);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    animation: floating 3s ease-in-out infinite;
}

.dot-green {
    width: 8px;
    height: 8px;
    background-color: #00E676;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #00E676;
    animation: pulse-dot 1.5s infinite alternate;
}

.badge-exclusive {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(214, 175, 55, 0.15), rgba(214, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    animation: floating 3s ease-in-out infinite 0.5s;
}

/* --- PROFILE SECTION --- */
.profile-section {
    position: relative;
    padding: 0 20px 25px 20px;
    margin-top: -60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 12;
}

.profile-avatar-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 12px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4), 0 8px 16px rgba(0,0,0,0.6);
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.verified-badge {
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(33, 150, 243, 0.4));
}

.verified-badge svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.profile-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.members-counter {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

.members-pulse {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 1.2s infinite alternate;
}

.label-private {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.label-private svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

/* --- GLASS CARD DESIGN (GENERAL) --- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    padding: 20px;
    margin: 0 20px 25px 20px;
    box-shadow: var(--glow-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s;
}

.glass-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.25);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 150%;
}

/* --- OFFER SECTION --- */
.offer-card {
    background: var(--red-gradient-dark);
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-top: 1px solid rgba(255, 51, 102, 0.4);
    box-shadow: var(--glow-red);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.offer-badge {
    background: var(--gold-gradient);
    color: #000000;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.timer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 60px;
    padding: 8px 5px;
    border-radius: 12px;
}

.timer-num {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.timer-colon {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    align-self: center;
    margin-top: -15px;
    animation: blink 1s infinite;
}

.timer-unit {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-strike-container {
    display: flex;
    flex-direction: column;
}

.price-strike-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.price-strike {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
    font-weight: 500;
}

.price-current-container {
    text-align: right;
}

.price-current-label {
    font-size: 11px;
    color: var(--gold-light);
    text-transform: uppercase;
    font-weight: 500;
}

.price-current {
    font-size: 28px;
    font-weight: 800;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    line-height: 1.1;
}

/* --- GALLERY SECTION --- */
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 20px 15px 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(212,175,55,0.3), transparent);
    margin-left: 15px;
}

.gallery-scroll-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 5px 20px 25px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.gallery-scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.gallery-card {
    flex: 0 0 160px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    scroll-snap-align: start;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.gallery-card:hover {
    transform: scale(1.03);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

/* Blurred Lock Card */
.gallery-card-locked {
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.gallery-img-blur {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) brightness(0.4);
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    z-index: 5;
}

.lock-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(214, 175, 55, 0.2), rgba(214, 175, 55, 0.05));
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    margin-bottom: 12px;
}

.lock-circle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.lock-text {
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 0.5px;
}

.lock-subtext {
    font-size: 9px;
    color: var(--gold-light);
    margin-top: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* --- TRUST SECTION --- */
.trust-section {
    padding: 10px 20px 25px 20px;
    text-align: center;
}

.trust-title {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-bottom: 15px;
}

.trust-icons-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    opacity: 0.75;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 6px 12px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.payment-badge:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
}

.payment-badge img {
    height: 18px;
    max-width: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Forces white icons for unified look */
}

/* --- PAY NOW BUTTON --- */
.pay-now-container {
    padding: 5px 20px 15px 20px;
}

.pay-now-btn {
    width: 100%;
    height: 56px;
    border-radius: 50px;
    background: var(--gold-gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.pay-now-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
}

.pay-now-btn:active {
    transform: scale(0.97);
}

.pay-now-btn span {
    font-size: 14px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 0.5px;
}

.pay-now-icon {
    width: 20px;
    height: 20px;
    fill: #000000;
    flex-shrink: 0;
}

.pay-now-arrow {
    width: 18px;
    height: 18px;
    fill: #000000;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.3s;
}

.pay-now-btn:hover .pay-now-arrow {
    transform: translateX(3px);
}

/* --- STICKY BOTTOM CTA --- */
.sticky-cta-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #000000 80%, rgba(0,0,0,0) 100%);
    padding: 20px 20px 30px 20px;
    z-index: 100;
    pointer-events: none; /* Allows scrolling background elements */
}

@media (min-width: 600px) {
    .sticky-cta-container {
        position: sticky;
        bottom: 0;
        border-bottom-left-radius: 36px;
        border-bottom-right-radius: 36px;
    }
}

.sticky-cta-btn {
    pointer-events: auto; /* Re-enable pointer events for the button */
    width: 100%;
    height: 64px;
    border-radius: 50px;
    background: var(--gold-gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 0 25px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

.sticky-cta-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.6);
}

.sticky-cta-btn:active {
    transform: scale(0.98);
}

.cta-left {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: #000000;
}

.cta-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.cta-details {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1px;
}

.cta-price {
    font-size: 16px;
    font-weight: 800;
}

.cta-discount {
    font-size: 10px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.1);
    padding: 1px 6px;
    border-radius: 4px;
}

.cta-arrow-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #000000;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.sticky-cta-btn:hover .cta-arrow-circle {
    transform: rotate(45deg);
}

.cta-arrow-circle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Entrance Animation for Sticky CTA */
.sticky-cta-container {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sticky-cta-container.active {
    opacity: 1;
    transform: translateY(0);
}


/* --- PAYMENT PAGE STYLING --- */
.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-back {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-back svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.payment-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payment-amount-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px 10px 20px;
    text-align: center;
}

.order-id-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-id-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
    margin-top: 3px;
}

.payment-amount {
    font-size: 38px;
    font-weight: 800;
    color: #FFFFFF;
    margin-top: 10px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* QR Code Section */
.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin: 10px 20px 20px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    position: relative;
}

.qr-box {
    width: 230px;
    height: 250px;
    background: #FFFFFF;
    padding: 12px;
    border-radius: 20px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* High-tech QR scanners styling */
.qr-scanner-line {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: scanner 2.5s ease-in-out infinite alternate;
}

.qr-corners {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    pointer-events: none;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Instructions below scanner card */
.scan-payment-instructions {
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scan-title {
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.8px;
    line-height: 1.4;
}

.scan-amount {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.gold-amount {
    color: var(--gold);
    font-weight: 800;
    font-size: 15px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Expiry badge pill styling */
.code-expiry-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--red);
    background: rgba(255, 51, 102, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.code-expiry-badge span:first-child {
    opacity: 0.9;
}

.code-expiry-badge .payment-timer-clock {
    color: var(--red);
    font-weight: 700;
    font-family: monospace;
    font-size: 14px;
}

/* Status Notifications */
.notice-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    margin: 0 20px 15px 20px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
}

.notice-banner-green {
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: #00E676;
    animation: pulse-notice 2s infinite alternate;
}

.notice-banner-green svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.notice-banner-blue {
    background: rgba(33, 150, 243, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.2);
    color: #90CAF9;
}

.notice-banner-blue svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Success Flow Button */
.success-action-container {
    padding: 0 20px 20px 20px;
    margin-top: 10px;
    display: none; /* Shown dynamically by JS after payment is confirmed */
}

.success-action-container.active {
    display: block;
    animation: fade-in-up 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.btn-success-access {
    width: 100%;
    height: 56px;
    border-radius: 16px;
    background: var(--blue-gradient);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s;
}

.btn-success-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.6);
}

.btn-success-access:active {
    transform: translateY(1px);
}

.btn-success-access svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}


/* --- ANIMATIONS AND KEYFRAMES --- */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-dot {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

@keyframes pulse-notice {
    0% { box-shadow: 0 0 5px rgba(0, 230, 118, 0.1); }
    100% { box-shadow: 0 0 15px rgba(0, 230, 118, 0.25); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes scanner {
    0% { top: 10px; opacity: 0.2; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 190px; opacity: 0.2; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities */
.fade-up-element {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- MANUAL UPI CHECKOUT FORM STYLES --- */
.manual-payment-form {
    width: 100%;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.input-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
}

.input-group {
    position: relative;
    width: 100%;
}

#txn-id {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 2px;
}

#txn-id:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.04);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

#txn-id::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    letter-spacing: 0px;
    font-weight: 400;
}

.btn-submit-txn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: var(--gold-gradient);
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-submit-txn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-submit-txn:active {
    transform: translateY(1px);
}

.btn-submit-txn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.txn-error-msg {
    font-size: 11px;
    color: var(--red);
    font-weight: 500;
    text-align: center;
    margin-top: 2px;
    animation: fade-in-up 0.3s ease;
}

/* Spinner */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.hidden {
    display: none !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gallery Card Text Overlays */
.gallery-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
    pointer-events: none;
}

.gallery-card-title {
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
}

.gallery-card-subtitle {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}


