@keyframes telegramRipple {
    0% {
        opacity: 0.75;
        transform: scale(0.82);
    }
    72%, 100% {
        opacity: 0;
        transform: scale(1.28);
    }
}

@keyframes telegramPlane {
    0%, 100% {
        transform: rotate(0deg) translate(0, 0);
    }
    40% {
        transform: rotate(-5deg) translate(1px, -1px);
    }
    70% {
        transform: rotate(4deg) translate(-1px, 1px);
    }
}

@keyframes telegramPaperPlane {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    45% {
        transform: translate(7px, -7px) rotate(12deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-balance-container,
    .header-balance-icon i,
    .header-balance-updated,
    .header-balance-updated .header-balance-copy strong {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }

    .header-login-button,
    .header-login-button i,
    .header-login-button::before {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }

    .premium-floating-telegram,
    .premium-floating-telegram i,
    .premium-floating-telegram::before,
    .premium-floating-telegram::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}

@media (max-width: 960px) {
    .premium-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .premium-info-col ul {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .home-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-action-card {
        min-height: 72px;
        padding: 0.6rem 0.7rem;
    }

    .home-action-icon {
        width: 38px;
        height: 38px;
    }

    .home-action-copy small {
        letter-spacing: 0.1em;
    }

    .premium-reference-footer {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .premium-footer-col h3 {
        font-size: 1.05rem;
    }

    .premium-support-card {
        min-height: 64px;
    }

    .premium-support-icon {
        width: 40px;
        height: 40px;
    }

    .premium-support-copy strong {
        font-size: 1.1rem;
    }

    .premium-info-col ul {
        grid-template-columns: 1fr;
    }

    .premium-payment-logos {
        gap: 0.35rem;
    }

    .premium-pay-logo {
        min-width: 64px;
        height: 38px;
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }

    .premium-floating-telegram {
        right: 1rem;
        bottom: 0.8rem;
        width: 62px;
        height: 62px;
        font-size: 1.6rem;
    }

    .premium-copyright {
        font-size: 0.75rem;
    }
}

.home-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 25rem);
    gap: 0.4rem;
}

.home-action-grid > .home-action-card {
    box-sizing: border-box;
    min-width: 0;
    min-height: 36px;
    height: 36px;
    gap: 0.4rem;
    padding: 0.3rem 0.5rem;
    border: 0;
    border-radius: 6px;
}

.home-action-whatsapp,
.home-action-telegram {
    background: linear-gradient(110deg, #2563eb 0%, #0ea5e9 100%);
}

.home-action-icon {
    width: 20px;
    height: 20px;
}

.home-action-icon i {
    font-size: 0.75rem;
}

.home-action-copy small {
    margin-bottom: 0.05rem;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0;
}

.home-action-copy strong {
    font-size: 0.78rem;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.category-block {
    background: linear-gradient(180deg, rgba(14,165,233,0.08) 0%, rgba(56,189,248,0.06) 60%, rgba(248,250,252,0.98) 100%);
    border: 1px solid rgba(56,189,248,0.16);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(15,23,42,0.08);
    padding: 1.5rem;
}

.category-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    padding: 0.65rem 1rem;
    color: #0f172a;
    background: rgba(255,255,255,0.88);
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.home-category-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: 0.4rem;
    row-gap: 0.15rem;
    width: 100%;
    color: #f8fafc;
    font-family: "Poppins", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-category-title::before {
    width: 3px;
    height: 1.1em;
    flex: 0 0 3px;
    margin-right: 0.1rem;
    border-radius: 999px;
    background: #3b82f6;
    content: "";
}

.home-category-title::after {
    height: 1px;
    min-width: 1.5rem;
    flex: 1 1 4rem;
    align-self: center;
    margin-left: 0.45rem;
    background: linear-gradient(
        90deg,
        rgba(71, 102, 190, 0.48),
        rgba(49, 69, 127, 0.3) 48%,
        rgba(19, 27, 55, 0.06) 100%
    );
    box-shadow: 0 0 7px rgba(37, 99, 235, 0.12);
    content: "";
}

.home-category-heading-image {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 0.2rem;
    object-fit: contain;
}

.home-category-primary {
    color: #f8fafc;
}

@media (max-width: 640px) {
    .home-category-title {
        font-size: 1rem;
    }
}

.category-block .category-inner {
    display: grid;
    gap: 1rem;
}

.category-title::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 0 0 5px rgba(14,165,233,0.12);
}

.home-service-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    will-change: transform;
}

.home-service-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    will-change: transform;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    position: relative;
    border: 1px solid rgba(17, 24, 39, 0.16) !important;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.03), 0 10px 24px rgba(15, 23, 42, 0.06);
}

.home-service-card::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(17, 24, 39, 0.22) 50%, transparent 100%);
    pointer-events: none;
}

.home-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14,165,233,0.28);
    box-shadow: 0 18px 42px rgba(15,23,42,0.12);
}

.services-shell {
    backdrop-filter: blur(8px);
}

.category-block .text-center {
    color: #475569;
}

.game-service-card {
    background: #1a1b23;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.game-service-card.is-open {
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.game-service-toggle {
    display: block;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.game-service-toggle:hover {
    background: rgba(15, 23, 42, 0.25);
}

.game-service-packages {
    transition: max-height 0.25s ease, opacity 0.2s ease;
    max-height: 1000px;
}

.game-service-packages.hidden {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

@media (max-width: 768px) {
    .category-block {
        padding: 1.25rem;
    }
}

/* RRR-STYLE ORDER BOX HEADERS */

#topup-sec .order-box-header {
    position: absolute;
    top: 40px;
    right: 0;
    width: 100%; /* প্রস্থ দিন যাতে দেখা যায় */
    height: 20px; /* উচ্চতা দিন */
    border-bottom: 1px solid #b9b8b8;
    background: hsla(0, 33%, 99%, 0);
    transform: rotate(180deg); /* rotate ঠিকভাবে */
    border-radius: 0 0 12px 12px; /* শুধু নিচের কর্নার গোল */

    
}


#topup-sec .order-box {
  position: relative;              /* overlap এর জন্য relative */
  background-color: #ffffff;       /* সাদা ব্যাকগ্রাউন্ড */
  border: 1px solid #b9b8b8;       /* হালকা ধূসর border */
  border-radius: 0.5rem;           /* গোলাকার corner */
  box-shadow: 0 2px 6px #b9b8b8; /* হালকা shadow */
  margin-top: 20px;    /* উপরে gap */
  margin-bottom: 20px;
  padding-left: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 16px;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
    #topup-sec {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 1024px) {
    #topup-sec {
        margin-left: -3.5rem;
        margin-right: -3.5rem;
        padding-left: 3.5rem;
        padding-right: 3.5rem;
    }
}


#topup-sec .order-step-circle {
  position: absolute;              /* overlap করার জন্য */
  top: -12px;                      /* উপরে উঠানো */
  left: 12px;                      /* বাম দিক থেকে gap */
  width: 40px;                          /* বৃত্তের প্রস্থ */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;              /* গোলাকার */
  background: #2563eb;             /* নীল ব্যাকগ্রাউন্ড */
  color: #fff;                     /* সাদা লেখা */
  font-weight: bold;
  font-size: 14px;
  border: 2px solid #fff;          /* সাদা outline */
  box-shadow: 0 2px 6px rgba(37,99,235,0.35);
}


#topup-sec .order-box-title {
    font-size: 20px;
    font-weight: 700;
    color: #2b5b9e;
    padding-bottom: 13px;
    margin-left: 45px;
    line-height: 1.2;
}

/* PRODUCT CARD STYLES UPDATED FOR NEW UI - Grid card layout */
.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15,23,42,0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(15,23,42,0.08);
    border-color: #cbd5e1;
}
.product-card .prod-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.product-card .prod-title {
    font-weight: 700;
    font-size: 0.94rem;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}

/* Title wrapper with check icon inside */
.product-card .prod-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    flex-wrap: wrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card .prod-title-wrapper:hover {
    transform: translateX(2px);
}

.product-card .prod-title-wrapper .selected-check-icon-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    color: #10b981;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.8);
}

.product-card .prod-title-wrapper:hover .selected-check-icon-wrap {
    opacity: 1;
    transform: scale(1);
}

.product-card .prod-title-wrapper .selected-check-icon {
    width: 100%;
    height: 100%;
}

.product-card.selected .prod-title-wrapper .selected-check-icon-wrap {
    opacity: 1;
    transform: scale(1);
}

.product-card.selected .prod-title-wrapper:hover .selected-check-icon-wrap {
    opacity: 1;
    transform: scale(1.1);
}

.product-card .prod-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}
.product-card .prod-price {
    font-weight: 800;
    color: #fb923c;
    font-size: 1rem;
    white-space: nowrap;
}
.product-card.selected {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 18px 40px rgba(59,130,246,0.12);
}

/* Compact product card for topup page (matches screenshot) */
#topup-sec #products-grid .product-card {
    position: relative;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    min-height: 54px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

#topup-sec #products-grid .product-card:hover {
    transform: translateY(-1px);
    border-color: #93c5fd;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

/* Product grid - RRR style: 2 cols mobile, 3 cols desktop */
#topup-sec #products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 640px) {
    #topup-sec #products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

#topup-sec #products-grid .product-card .prod-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    width: 100%;
}

#topup-sec #products-grid .product-card .prod-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#topup-sec #products-grid .product-card .prod-sub {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.3;
    margin: 0;
}

#topup-sec #products-grid .product-card .prod-price {
    font-weight: 800;
    color: #0f172a;
    font-size: 1rem;
    text-align: right;
    min-width: 60px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Slight visual tweaks to match screenshot: subtle rounded boxes and light border */
#topup-sec .product-card { border-radius: 18px; }

#topup-sec #products-grid .product-card.selected {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    border-color: #3b82f6;
    box-shadow: 0 18px 42px rgba(59, 130, 246, 0.12);
}

#topup-sec #products-grid .product-card.selected .prod-title {
    color: #1d4ed8;
}

/* Step badge & heading styling to match screenshot (blue circle + blue title) */
#topup-sec .step-with-line span {
    background: #2563eb !important; /* blue */
    border: 3px solid #ffffff;
    color: white;
    box-shadow: 0 6px 18px rgba(16,24,40,0.08);
}

#topup-sec .step-with-line h3 {
    color: #2563eb;
    font-weight: 700;
}

/* Ensure the step header has a subtle white background and border similar to screenshot panels */
#topup-sec > .bg-white.p-3.rounded-xl,
#topup-sec .bg-white.p-3.rounded-xl {
    background: #ffffff;
}

/* Smaller footprint on mobile */
@media (max-width: 640px) {
    #topup-sec #products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    #topup-sec #products-grid .product-card {
        padding: 10px 12px;
        min-height: 50px;
        border-radius: 10px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px;
    }
    #topup-sec #products-grid .product-card .prod-title { 
        font-size: 0.78rem; 
    }
    #topup-sec #products-grid .product-card .prod-price { 
        font-size: 0.95rem;
        text-align: right;
        min-width: 55px;
    }
}

/* selected state override inside topup */
#topup-sec #products-grid .product-card.selected {
    background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 100%);
    border-color: #1f2937;
    box-shadow: 0 18px 42px rgba(31, 41, 55, 0.15);
    position: relative;
}

#topup-sec #products-grid .product-card.selected .prod-title {
    color: #0f172a;
}

/* Compact topup section spacing to match screenshot */
#topup-sec .topup-step-header {
    margin-bottom: 0.6rem;
    align-items: center;
}

#topup-sec .topup-step-header h3 {
    margin: 0;
    line-height: 1.2;
}

#topup-sec #player-id-section,
#topup-sec > .bg-white.p-3.rounded-xl,
#topup-sec .bg-white.p-3.rounded-xl {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

#topup-sec #player-id-section .mb-2,
#topup-sec .bg-white.p-3.rounded-xl .mb-2 {
    margin-bottom: 0.5rem;
}

#topup-sec #uidCheckBtn {
    margin-top: 0.25rem;
}
.product-card.selected .prod-title {
    color: #1d4ed8;
}

/* small helper for empty placeholder */
.product-card .prod-thumb.empty {
    background-color: #eef2ff; /* subtle purple-ish */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-weight: 700;
}


.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

/* --- NEW ADD MONEY STYLES --- */
.step-transition {
    animation: slideInRight 0.3s ease-out forwards;
}
@keyframes slideInRight {
    from { transform: translateX(10%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Remove arrows from number input */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

/* Method Specific Colors for Dynamic UI */
.theme-bkash { background-color: #e2136e !important; border-color: #e2136e !important; }
.theme-nagad { background-color: #f7941d !important; border-color: #f7941d !important; }
.theme-rocket { background-color: #8c3494 !important; border-color: #8c3494 !important; }

.text-theme-bkash { color: #e2136e !important; }
.text-theme-nagad { color: #f7941d !important; }
.text-theme-rocket { color: #8c3494 !important; }

/* PAYMENT OPTION CARD STYLES */
.pay-option-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}
.pay-option-card.selected {
    border: 2px solid #ef4444; /* Red border for selected like image */
}
.pay-option-card.selected::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
.home-topup-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-topup-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14,165,233,0.32);
    box-shadow: 0 18px 42px rgba(15,23,42,0.12);
}
.home-topup-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-topup-card div {
    min-height: 0;
}
.home-topup-card .card-label {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
    position: absolute;
    top: 0;
    left: 0;
    background: #ef4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-bottom-right-radius: 6px;
    z-index: 10;
}

#app-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: #ffffff;
}

.site-header {
    position: fixed;
    background: rgba(8, 19, 29, 0.58);
    backdrop-filter: blur(30px) saturate(125%);
    -webkit-backdrop-filter: blur(30px) saturate(125%);
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.24);
    transition: background-color 180ms ease, backdrop-filter 180ms ease, box-shadow 180ms ease;
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    align-items: stretch;
    justify-content: space-around;
    gap: 0.15rem;
    min-height: 4.35rem;
    padding: 0.4rem 0.55rem calc(0.4rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(56, 189, 248, 0.32);
    background: rgba(8, 19, 29, 0.97);
    box-shadow: 0 -10px 32px rgba(2, 8, 20, 0.3);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
}

#notice-section {
    margin-top: 0;
    padding: 0 !important;
}

main {
    /* Reserve space for the fixed header to avoid overlap */
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    padding-top: 1rem;
}

#app-content > main > .premium-reference-footer {
    margin-top: auto;
}

@media (max-width: 767px) {
    body.profile-drawer-open #mobile-bottom-nav {
        display: none !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 60;
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        gap: 0.15rem;
        min-height: 4.35rem;
        padding: 0.4rem 0.55rem calc(0.4rem + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(56, 189, 248, 0.32);
        background: rgba(8, 19, 29, 0.97);
        box-shadow: 0 -10px 32px rgba(2, 8, 20, 0.3);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        backdrop-filter: blur(20px) saturate(160%);
    }

    .mobile-bottom-nav .nav-item {
        position: relative;
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.28rem;
        min-width: 0;
        min-height: 3.45rem;
        padding: 0.3rem 0.1rem 0.25rem;
        border: 0;
        border-radius: 0.85rem;
        background: transparent;
        color: #9cb2c4;
        font: inherit;
        font-size: 0.67rem;
        font-weight: 650;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 1.08rem;
        line-height: 1;
        transition: transform 160ms ease;
    }

    .mobile-bottom-nav .nav-item.active-tab::before {
        position: absolute;
        top: 0.05rem;
        left: 50%;
        width: 1.6rem;
        height: 0.18rem;
        border-radius: 999px;
        background: #38bdf8;
        content: "";
        transform: translateX(-50%);
    }

    .mobile-bottom-nav .nav-item.active-tab {
        background: linear-gradient(180deg, rgba(14, 165, 233, 0.17) 0%, rgba(14, 165, 233, 0.025) 100%);
        color: #7dd3fc !important;
    }

    .mobile-bottom-nav .nav-item.active-tab i {
        transform: translateY(-1px) scale(1.08);
    }

    .mobile-bottom-nav .nav-item:active {
        transform: scale(0.95);
    }

    .mobile-bottom-nav .nav-item:focus-visible {
        outline: 2px solid #38bdf8;
        outline-offset: -2px;
    }

    .mobile-bottom-nav .nav-item.nav-primary {
        flex: 1.12 1 0;
        color: #bae6fd;
    }

    .mobile-bottom-nav .nav-item.nav-primary i {
        display: grid;
        width: 2.25rem;
        height: 2.25rem;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.65);
        border-radius: 0.85rem;
        background: linear-gradient(145deg, #38bdf8, #0284c7);
        box-shadow: 0 5px 12px rgba(2, 132, 199, 0.26);
        color: #fff;
        font-size: 1rem;
    }

    .mobile-bottom-nav .nav-item.nav-primary.active-tab {
        background: transparent;
    }

    .mobile-bottom-nav .nav-item.nav-primary.active-tab::before {
        display: none;
    }

    .mobile-bottom-nav .nav-item.nav-primary.active-tab i {
        box-shadow: 0 0 0 3px #dbeafe, 0 5px 12px rgba(2, 132, 199, 0.26);
        transform: translateY(-2px);
    }

    #app-content > main {
        padding-top: calc(4.5rem + env(safe-area-inset-top)) !important;
        padding-bottom: calc(4.625rem + env(safe-area-inset-bottom));
    }

    .premium-floating-telegram {
        bottom: calc(5rem + env(safe-area-inset-bottom));
    }
}

#am-step-checkout {
    position: fixed;
    inset: 0;
    z-index: 80;
    width: 100%;
    height: 100dvh;
    max-width: none;
    margin: 0;
    padding: 1.5rem max(1.8rem, calc((100vw - 800px) / 2));
    overflow-y: auto;
    background: transparent;
    color: #64748b;
}

#app-content.addmoney-checkout-active .site-header,
#app-content.addmoney-checkout-active #mobile-bottom-nav,
#app-content.addmoney-checkout-active .premium-reference-footer,
#app-content.addmoney-checkout-active .premium-floating-telegram {
    display: none;
}

#app-content.addmoney-checkout-active main {
    padding: 0;
}

#am-step-checkout .addmoney-checkout-panel {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.75rem;
    border: 1px solid rgba(147, 197, 253, 0.8);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 20px 55px rgba(2, 6, 23, 0.28), 0 0 0 4px rgba(96, 165, 250, 0.1);
}

#am-step-checkout .addmoney-checkout-toolbar {
    height: 3.1rem;
    padding: 0 0.5rem;
    border: 1px solid #dbe7fb;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#am-step-checkout .addmoney-checkout-toolbar button {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 0;
    background: transparent;
    color: #7185a2;
    font-size: 1.1rem;
    cursor: pointer;
}

#am-step-checkout .addmoney-checkout-toolbar button:nth-child(2) {
    margin-left: auto;
}

#am-step-checkout .addmoney-checkout-brand {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    min-height: 5.3rem;
    margin: 1.6rem 0 0.2rem;
}

#am-step-checkout .addmoney-checkout-brand img {
    display: block;
    flex: 0 0 5.3rem;
    width: 5.3rem;
    height: 5.3rem;
    border: 1px solid transparent;
    border-radius: 50%;
    background: conic-gradient(#ff3030, #ffcc00, #32d74b, #00c7ff, #5856d6, #ff2d95, #ff3030) border-box;
    object-fit: contain;
}

#am-step-checkout .addmoney-checkout-brand h2 {
    align-self: flex-start;
    margin: 0.55rem 0 0;
    color: #5d789d;
    font-size: 1.25rem;
    font-weight: 650;
}

#am-step-checkout .addmoney-checkout-links {
    display: flex;
    gap: 1rem;
    margin: -2.7rem 0 1.2rem 7.1rem;
}

#am-step-checkout .addmoney-checkout-links button {
    min-width: 6rem;
    min-height: 2.8rem;
    padding: 0 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1px solid #dbe7fb;
    border-radius: 0.6rem;
    background: #fff;
    color: #7790b4;
    font-size: 0.8rem;
    cursor: pointer;
}

#am-step-checkout .addmoney-checkout-heading {
    margin: 1.2rem 0 1.6rem;
    padding: 0.5rem;
    border-radius: 0.4rem;
    background: #0753b9;
    color: #fff;
    font-family: 'Noto Serif Bengali', serif;
    font-weight: 700;
    text-align: center;
}

#am-step-checkout .addmoney-checkout-details {
    margin: -0.2rem 0 1.3rem;
    padding: 0.7rem 1.1rem;
    border-radius: 0.65rem;
    background: #f7faff;
}

#am-step-checkout .addmoney-checkout-details[hidden] {
    display: none;
}

#am-step-checkout .addmoney-checkout-details div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eaf0f8;
    font-family: 'Noto Serif Bengali', serif;
    font-size: 0.82rem;
}

#am-step-checkout .addmoney-checkout-details div:last-child {
    border-bottom: 0;
}

#am-step-checkout .addmoney-checkout-details strong {
    color: #075cc5;
    font-family: 'Poppins', sans-serif;
}

#am-step-checkout .addmoney-checkout-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 0 0 1.5rem;
}

#am-step-checkout .addmoney-checkout-method {
    width: 8.1rem;
    min-height: 4rem;
    padding: 0.5rem;
    display: grid;
    place-items: center;
    border: 1px solid #dbe7fb;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
}

#am-step-checkout .addmoney-checkout-method.selected,
#am-step-checkout .addmoney-checkout-method:focus-visible {
    border: 2px solid #0753b9;
    background: #f5f9ff;
    outline: none;
}

#am-step-checkout .addmoney-checkout-method img {
    max-width: 100%;
    max-height: 2.6rem;
    object-fit: contain;
}

#am-step-checkout .addmoney-checkout-pay {
    width: 100%;
    min-height: 3.2rem;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border: 0;
    border-radius: 0.6rem;
    background: #d5e5ff;
    color: #075cc5;
    font: inherit;
    font-weight: 750;
    white-space: nowrap;
}

@media (max-width: 640px) {
    #am-step-checkout {
        padding: 1rem;
    }

    #am-step-checkout .addmoney-checkout-panel {
        padding: 1rem;
        border-radius: 0.85rem;
    }

    #am-step-checkout .addmoney-checkout-brand {
        gap: 1rem;
        margin-top: 1.2rem;
    }

    #am-step-checkout .addmoney-checkout-links {
        gap: 1rem;
        margin: -2.3rem 0 1.1rem 6rem;
    }

    #am-step-checkout .addmoney-checkout-links button {
        min-width: 0;
        flex: 1;
        gap: 0.35rem;
        padding: 0 0.4rem;
        font-size: 0.72rem;
    }
}

@media (min-width: 768px) {
    #app-content > main {
        padding-top: 5rem !important;
    }

    main {
        /* Slightly larger top padding on wider screens */
        padding-top: 1rem;
    }
}

/* NEW PAYMENT OPTION CARD STYLING - RRR style: body on top, label bar at bottom */
.pay-option-card-new {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.pay-option-card-new .pay-card-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: #ffffff;
    min-height: 64px;
}

.pay-option-card-new .pay-card-body.pay-card-body-tall {
    min-height: 92px;
    padding: 16px 12px;
}

.pay-option-card-new .pay-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    transition: background 0.2s ease;
}

.pay-option-card-new .pay-card-label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.pay-option-card-new .pay-card-check {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 9px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.pay-option-card-new:hover {
    border-color: #9ca3af;
}

.pay-option-card-new.selected {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.pay-option-card-new.selected .pay-card-footer {
    background: linear-gradient(to top, #60a5fa, #2563eb);
    border-top-color: #2563eb;
}

.pay-option-card-new.selected .pay-card-label {
    color: #ffffff;
}

.pay-option-card-new.selected .pay-card-check {
    opacity: 1;
    transform: scale(1);
}

.instant-method-card {
    min-height: 64px;
    border: 1px solid #dbeafe;
}

.instant-method-card.selected {
    border: 2px solid #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16);
    background: #eff6ff;
}

/* PRODUCT CARD STYLING FOR PRICING PACKAGES - RRR style: name left, price right */
#topup-sec #products-grid .product-card {
    position: relative;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
    cursor: pointer;
}

#topup-sec #products-grid .product-card:hover {
    transform: translateY(-1px);
    border-color: #93c5fd;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

#topup-sec #products-grid .product-card.selected {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    border-color: #3b82f6;
    box-shadow: 0 18px 42px rgba(59, 130, 246, 0.12);
    position: relative;
}

#topup-sec #products-grid .product-card .selected-check-icon-wrap {
   

    width: 16px;
    height: 16px;
    display: flex;
    
    justify-content: center;
    border-radius: 9999px;
    background: #eaebec00;
    color: #f6f6f7;
    box-shadow: 0 2px 6px rgb(244, 247, 255);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

#topup-sec #products-grid .product-card.selected .selected-check-icon-wrap {
    opacity: 1;
}

#topup-sec #products-grid .product-card.selected .selected-check-icon {
    width: 15px;
    height: 15px;
    display: block;
    color: #205cb6;
    flex-shrink: 0;
}

#topup-sec #products-grid .product-card.out-of-stock {
    background: #ffffff;
    border-color: #e5e7eb;
    cursor: not-allowed;
    box-shadow: none;
    overflow: visible;
}

#topup-sec #products-grid .product-card.out-of-stock:hover {
    transform: none;
    border-color: #e5e7eb;
    box-shadow: none;
}

#topup-sec #products-grid .product-card.out-of-stock .prod-info {
    padding-top: 5px;
}

#topup-sec #products-grid .product-card.out-of-stock .prod-title {
    color: #94a3b8 !important; /* Desaturated grey title as in the screenshot */
}

#topup-sec #products-grid .product-card.out-of-stock .prod-price {
    color: #3633e4 !important; /* Soft desaturated peach/orange price as in the screenshot */
}

#topup-sec #products-grid .product-card.out-of-stock .stock-badge {
    position: absolute;
    top: -9px;
    right: 12px;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
}

/* New Game Service Card Design - Badge + Image + Category Label */
.game-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 240px));
    gap: 0.75rem;
    align-items: stretch;
}

.game-service-card-new {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    background: #0f1117;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.game-service-card-new:hover {
    border-color: #4b5563;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.game-service-card-new img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #1a1b23;
    display: block;
}

.game-service-card-new > div:nth-child(2) {
    flex: 1;
    padding: 0.75rem;
}

.game-service-card-new > div:last-child {
    border-top: 1px solid #1f2937;
    background: #0a0d14;
    padding: 0.5rem 0.75rem;
}

 
#topup-sec #products-grid .product-card .prod-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

#topup-sec #products-grid .product-card .prod-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#topup-sec #products-grid .product-card .prod-sub {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.3;
    margin: 0;
}

#topup-sec #products-grid .product-card .prod-price {
    font-weight: 800;
    color: #0f172a;
    font-size: 1rem;
    text-align: right;
    min-width: 60px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    #notice-section {
        margin-top: 0 !important;
    }
    #notice-card {
        border-radius: 10px;
    }
}

@media (min-width: 1280px) {
    #app-content {
        max-width: 100%;
    }
}

.desktop-hide-navbar {
    display: block;
}

@media (min-width: 1024px) {
    .desktop-hide-navbar {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .desktop-hide-navbar {
        display: block !important;
    }
}

@media (min-width: 768px) {
    #app-content {
        border-radius: 0;
        margin: 0 auto;
        box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    }
}



.home-service-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 116, 144, 0.25);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
}

.home-service-card img {
    transition: transform 0.35s ease;
}

.home-service-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .home-service-card .relative { height: auto !important; }
    .home-service-card img { object-position: center top; }
}

/* Add Money RRR style tweaks */
.addmoney-amount-screen,
#am-step-2,
#am-step-3 {
    width: min(100%, 400px);
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
}

#addmoney-sec {
    position: relative;
}
.addmoney-page-heading { margin: 0 2.5rem; padding: 1.55rem 1.5rem 1.35rem; border-top: 1px solid #243247; border-bottom: 1px solid #243247; }
.addmoney-page-heading h2 { margin: 0; color: #1e293b; font-size: 1.1rem; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; }
.addmoney-amount-content { max-width: 1180px; margin: 0 auto; padding: 1.6rem 1rem 4rem; }
.addmoney-hero-wrap { max-width: 512px; margin: 0 auto 1.7rem; padding: 0.35rem; border-radius: 13px; background: linear-gradient(135deg, rgba(14, 165, 233, 0.45), rgba(124, 58, 237, 0.3)); box-shadow: 0 18px 34px rgba(37, 99, 235, 0.18); }
.addmoney-hero { display: block; width: 100%; border-radius: 9px; }
.addmoney-amount-card { padding: 2.3rem 2rem 2.1rem; border: 1px solid rgba(148, 163, 184, 0.42); border-radius: 13px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09), 0 2px 5px rgba(15, 23, 42, 0.03); text-align: center; }
.addmoney-amount-label { display: block; margin-bottom: 1.3rem; color: #64748b; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.addmoney-input-wrap { position: relative; width: 205px; margin: 0 auto 1.65rem; border-bottom: 2px solid #27364c; transition: border-color 0.2s ease, transform 0.2s ease; }
.addmoney-input-wrap:focus-within { border-color: #078ac8; transform: translateY(-1px); }
.addmoney-currency { position: absolute; left: 0.65rem; top: 50%; transform: translateY(-50%); color: #9aa6b7; font-size: 1.7rem; font-weight: 700; }
.addmoney-amount-input { width: 100%; padding: 0.25rem 0.5rem 0.45rem 2.2rem; border: 0; outline: 0; background: transparent; color: #172033; font-size: 2.05rem; font-weight: 800; text-align: center; }
.addmoney-amount-input:focus { color: #087fca; }
.addmoney-proceed-button { width: 100%; padding: 0.95rem 1rem; border: 0; border-radius: 6px; background: linear-gradient(100deg, #078ac8 0%, #087fca 48%, #0a93d0 100%); color: #fff; box-shadow: 0 10px 18px rgba(2, 132, 199, 0.24); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.addmoney-proceed-button:hover { filter: brightness(1.07); box-shadow: 0 13px 24px rgba(2, 132, 199, 0.32); transform: translateY(-2px); }
.addmoney-proceed-button:active { transform: translateY(0); }
@media (max-width: 640px) {
    .addmoney-page-heading { margin: 0 1rem; padding-left: 0.75rem; }
    .addmoney-amount-content { padding: 1.25rem 0.85rem 4rem; }
    .addmoney-amount-card { padding: 1.7rem 1rem 1.5rem; }
}

#am-step-2 {
    background-color: transparent;
    background-image: none;
}
#am-step-3 {
    background-color: transparent !important;
}
.addmoney-method-panel { margin: 4.75rem auto 1.5rem; padding: 1.9rem 2rem 2rem; border-radius: 9px; background: #fff; box-shadow: 0 10px 25px rgba(30, 64, 175, 0.11); }
.addmoney-toolbar { height: 50px; padding: 0 1.1rem; border: 1px solid #dbe7fb; border-radius: 9px; display: flex; align-items: center; justify-content: space-between; }
.addmoney-toolbar-icon { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; color: #6b83a8; background: transparent; border: 0; font-size: 1rem; }
.addmoney-close { font-size: 1.55rem; font-weight: 300; }
.addmoney-brand-row {position: absolute; display: flex; gap: 1.55rem; margin: 1.55rem 0 0.18rem; }
.addmoney-brand-logo { width: 86px; height: 86px; object-fit: contain; border: 1px solid #1683f7; border-radius: 50%; }
.addmoney-brand-row h2 { margin: 0; color: #5d789d; font-size: 1.2rem; font-weight: 800; letter-spacing: 0.02em;  margin: 0.5rem 0 0.18rem; }
.addmoney-quick-links { display: flex; gap: 1rem; margin: 4.3rem 0 1.0rem 108px; }
.addmoney-quick-links button { min-width: 100px; height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; border: 1px solid #dbe7fb; border-radius: 9px; background: #fff; color: #7790b4; font-size: 0.8rem; }
.addmoney-quick-links i { font-size: 1.15rem; }
.addmoney-method-heading { margin-bottom: 1.55rem; padding: 0.48rem; border-radius: 6px; background: #0753b9; color: #fff; text-align: center; font-family: 'Noto Serif Bengali', serif; font-weight: 700; }
.addmoney-details { margin: -0.2rem 0 1.35rem; padding: 0.9rem 1.25rem 0.7rem; border-radius: 0 0 11px 11px; background: #fff; box-shadow: 0 9px 18px rgba(37, 99, 235, 0.08); }
.addmoney-details[hidden] { display: none; }
.addmoney-details h3 { margin: 0 0 0.7rem; color: #064db1; font-family: 'Noto Serif Bengali', serif; font-size: 1rem; font-weight: 700; text-align: center; }
.addmoney-detail-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.38rem 0; border-bottom: 1px solid #edf2f9; color: #7185a2; font-family: 'Noto Serif Bengali', serif; font-size: 0.82rem; }
.addmoney-detail-row strong { color: #647b9f; font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 600; text-align: right; }
.addmoney-detail-total { border-bottom: 0; padding-bottom: 0.1rem; }
.addmoney-detail-total strong { color: #075cc5; font-weight: 800; }
.addmoney-method-grid { margin: 0 0 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.addmoney-method-grid .instant-method-card { min-height: 64px; border: 1px solid #dbe7fb; border-radius: 7px; background: #fff; display: flex; align-items: center; justify-content: center; }
.addmoney-method-grid .instant-method-card img { height: 42px; max-width: 105px; object-fit: contain; }
.addmoney-method-grid .instant-method-card { flex-direction: column; gap: 0.25rem; padding: 0.45rem; }
.addmoney-method-grid .instant-method-card.selected { border: 2px solid #2563eb; background: #f5f9ff; }
.addmoney-pay-amount { padding: 0.9rem; border-radius: 10px; background: #d5e5ff; color: #075cc5; text-align: center; font-weight: 700; }
@media (max-width: 640px) {
    .addmoney-amount-screen,
    #am-step-2,
    #am-step-3 { width: calc(100% - 24px); }
    .addmoney-method-panel { margin: 1rem 0 1.5rem; padding: 1rem; border-radius: 0; }
    .addmoney-brand-row { gap: 1rem; }
    .addmoney-quick-links { margin: 4.3rem 0 1.0rem 100px; gap: 0.45rem; }
    .addmoney-quick-links button { min-width: 0; flex: 1; padding: 0 0.45rem; gap: 0.35rem; }
    html.route-preload-addmoney #am-step-1,
    html.route-preload-addmoney #am-step-amount,
    html.route-preload-addmoney #am-step-2,
    html.route-preload-addmoney #am-step-3 { width: calc(100% - 1.5rem); margin: 0.75rem auto 4rem; }
    html.route-preload-addmoney #am-step-2 .addmoney-method-panel { min-height: 0; margin: 0.75rem 0 0; border-radius: 9px; }
}

#am-step-2 .grid button img {
    transition: transform 0.25s ease;
}
#am-step-2 .grid button:hover img {
    transform: translateY(-4px) scale(1.03);
}

#am-step-3 #payment-theme-card.theme-bkash { background: linear-gradient(135deg, #e2136e, #e85d9b); }
#am-step-3 #payment-theme-card.theme-nagad { background: linear-gradient(135deg, #f7941d, #ffb86b); }
#am-step-3 #payment-theme-card.theme-rocket { background: linear-gradient(135deg, #8c3494, #bb7fb9); }

/* Topup section footer */
.topup-footer {
    background: #ffffff;
    color: #475569;
}
.topup-footer a { color: #0ea5e9; text-decoration: none; }
.topup-footer a:hover { text-decoration: underline; }

.site-footer-old {
    position: relative;
    background: rgba(7, 22, 35, 0.96);
    border-top: 1px solid rgba(118, 175, 224, 0.35);
    color: #edf8ff;
    padding: 2.2rem 1rem 0;
    overflow: hidden;
}

.site-footer-old__inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-footer-old__grid {
    display: grid;
    grid-template-columns: 1.15fr 1.1fr 0.9fr;
    gap: 2.4rem;
    align-items: start;
}

.site-footer-old__col h3 {
    margin: 0 0 0.8rem;
    font-size: 1.7rem;
    line-height: 1.2;
    color: #edf8ff;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.site-footer-old__line {
    display: block;
    width: 100%;
    max-width: 180px;
    height: 2px;
    background: linear-gradient(90deg, #3cc4ff, rgba(60,196,255,0));
    margin-bottom: 1.6rem;
}

.site-footer-old__support-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem 0.9rem;
    border: 1px solid rgba(88, 164, 225, 0.45);
    border-radius: 14px;
    background: rgba(15, 39, 63, 0.52);
    margin-bottom: 1rem;
}

.site-footer-old__icon-wrap {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1aa9ff, #1d5dd4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 0 2px rgba(117, 185, 255, 0.2);
}

.site-footer-old__time {
    color: rgba(232, 244, 255, 0.92);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.site-footer-old__link {
    color: #edf8ff;
    font-size: 1.1rem;
    font-weight: 700;
}

.site-footer-old__info .site-footer-old__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1.1rem;
}

.site-footer-old__links a {
    color: #edf8ff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
}

.site-footer-old__brand {
    color: #edf8ff;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.site-footer-old__email {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #edf8ff;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}

.site-footer-old__email span:first-child {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: rgba(74, 165, 255, 0.15);
    border: 1px solid rgba(118, 180, 245, 0.45);
    font-size: 1rem;
}

.site-footer-old__youtube {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, #e41414, #cf0d0d);
    position: relative;
    box-shadow: 0 12px 30px rgba(216, 24, 24, 0.35);
}

.site-footer-old__youtube::before {
    content: "";
    position: absolute;
    left: 1.8rem;
    top: 1.5rem;
    width: 0;
    height: 0;
    border-left: 1.2rem solid #fff;
    border-top: 0.8rem solid transparent;
    border-bottom: 0.8rem solid transparent;
}

.site-footer-old__payments {
    margin-top: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(122, 170, 218, 0.35);
    margin-bottom: 1.4rem;
}

.site-footer-old__pay-label {
    min-width: 90px;
    font-size: 1.1rem;
    color: #edf8ff;
    font-weight: 700;
}

.site-footer-old__pay-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.site-footer-old__pay-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 42px;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(123, 180, 230, 0.45);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

