/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #8A2BE2;
    /* Blue Violet */
    --secondary: #4169E1;
    /* Royal Blue */
    --accent: #FF007F;
    /* Neon Pink */
    --bg-dark: #0A0E17;
    --bg-card: rgba(20, 25, 40, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #FFFFFF;
    --text-muted: #A0AEC0;
    --success: #00E676;
    --danger: #FF3D00;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, rgba(65, 105, 225, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    padding-bottom: 80px;
    /* Space for bottom nav */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* AOS safety fallback:
   If AOS JS fails to load/init, AOS CSS can keep [data-aos] elements invisible (opacity:0).
   We only allow AOS to hide elements when JS marks the page as ready. */
html:not(.rz-aos-ready) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Lightweight "lighting" polish (no heavy filters to avoid lag) */
.btn, .glass-card, .nav-item i {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover {
    box-shadow: 0 10px 26px rgba(138, 43, 226, 0.18);
}
.btn-outline-info:hover, .btn-outline-primary:hover, .btn-outline-glow:hover {
    box-shadow: 0 10px 26px rgba(65, 105, 225, 0.18);
}
.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.nav-item.active i {
    filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.55));
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Gradients and Text */
.text-gradient {
    background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-purple {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.rz-user .btn:not(.btn-close) {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.rz-user .btn:not(.btn-close)::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -35%;
    width: 65%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: rotate(20deg);
    opacity: 0.85;
    pointer-events: none;
}

.rz-user .btn:not(.btn-close):hover,
.rz-user .btn:not(.btn-close):focus {
    transform: translateY(-1px);
    filter: brightness(1.04) saturate(1.04);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 10px 24px;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.rz-user .btn-gradient {
    background: linear-gradient(135deg, #25d6ff 0%, #3b82f6 38%, #8a2be2 100%);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.10) inset,
        0 14px 34px rgba(138,43,226,0.26),
        0 12px 26px rgba(59,130,246,0.16);
}

.btn-gradient:hover,
.btn-gradient:focus {
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.btn-outline-glow {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary);
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.rz-user .btn-outline-glow {
    border-color: rgba(37,214,255,0.45);
    box-shadow: 0 0 0 1px rgba(37,214,255,0.12) inset, 0 10px 26px rgba(37,214,255,0.10);
}

.btn-outline-glow:hover {
    background: rgba(138, 43, 226, 0.1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    color: white;
}

.rz-user .btn-outline-glow:hover,
.rz-user .btn-outline-glow:focus {
    background: rgba(37,214,255,0.08);
    border-color: rgba(255,255,255,0.18);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.12) inset,
        0 16px 34px rgba(138,43,226,0.20),
        0 12px 26px rgba(37,214,255,0.14);
}

/* Top Navbar */
.top-navbar {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.wallet-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wallet-badge-link {
    display: inline-block;
    border-radius: 999px;
}
.wallet-badge-premium {
    position: relative;
    overflow: hidden;
    padding: 8px 16px 8px 14px;
    border: 1px solid transparent;
    background:
        linear-gradient(145deg, rgba(18, 22, 38, 0.95), rgba(30, 20, 50, 0.9)) padding-box,
        linear-gradient(135deg, rgba(168, 85, 247, 0.65), rgba(59, 130, 246, 0.45), rgba(168, 85, 247, 0.35)) border-box;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 4px 18px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(139, 92, 246, 0.22);
    isolation: isolate;
}
.wallet-badge-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.18), transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.wallet-badge-premium .wallet-badge-icon {
    position: relative;
    z-index: 1;
    color: #c4b5fd;
    filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.5));
    font-size: 1rem;
}
.wallet-badge-amount {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    color: #f8fafc;
    text-shadow: 0 0 12px rgba(167, 139, 250, 0.35);
}
.wallet-badge-link:hover .wallet-badge-premium {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 6px 24px rgba(0, 0, 0, 0.5),
        0 0 28px rgba(139, 92, 246, 0.35);
    transform: translateY(-1px);
}
.wallet-badge-link:active .wallet-badge-premium {
    transform: translateY(0);
}

/* Profile menu rows (wallet + links) */
.profile-menu-card .profile-menu-item {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.profile-menu-card .profile-menu-item:last-child {
    border-bottom: none !important;
}
.profile-menu-card .profile-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.9), rgba(59, 130, 246, 0.5));
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 0 4px 4px 0;
}
.profile-menu-card .profile-menu-item:hover,
.profile-menu-card .profile-menu-item:focus {
    background: rgba(138, 43, 226, 0.08) !important;
    box-shadow: inset 0 0 24px rgba(138, 43, 226, 0.06);
}
.profile-menu-card .profile-menu-item:hover::before,
.profile-menu-card .profile-menu-item:focus::before {
    opacity: 1;
}
.profile-menu-card .profile-menu-item.profile-menu-wallet {
    background: linear-gradient(90deg, rgba(30, 27, 60, 0.5), rgba(20, 24, 40, 0.3)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.profile-menu-card .profile-menu-item.profile-menu-wallet i.fa-wallet {
    color: #c4b5fd !important;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.45));
}

.profile-card-top-row .profile-add-balance-btn {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.10) inset,
        0 10px 26px rgba(138, 43, 226, 0.32),
        0 8px 20px rgba(59, 130, 246, 0.14);
}

/* Profile: premium header + stats */
.profile-card-top-row .profile-add-balance-btn {
    border-radius: 999px !important;
    padding: 10px 14px !important;
    font-weight: 900;
    letter-spacing: 0.02em;
}
.profile-card-top-row .profile-add-balance-btn i {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}
.profile-cover-premium {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 0%, rgba(37,214,255,0.16), transparent 45%),
                radial-gradient(circle at 100% 30%, rgba(138,43,226,0.20), transparent 45%),
                linear-gradient(135deg, rgba(138,43,226,0.28), rgba(65,105,225,0.22));
}
.profile-cover-premium::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -35%;
    width: 65%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: rotate(20deg);
    opacity: 0.75;
    pointer-events: none;
}
.profile-avatar-ring {
    border: 2px solid rgba(37,214,255,0.25) !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.10) inset,
        0 18px 42px rgba(0,0,0,0.45),
        0 0 28px rgba(138,43,226,0.26);
}
.profile-stat-tile {
    background: rgba(0,0,0,0.20) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.profile-stat-tile .profile-stat-k {
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.70rem;
    color: rgba(160,174,192,0.92) !important;
}
.profile-stat-tile .profile-stat-v {
    font-weight: 950;
    letter-spacing: 0.01em;
}

@media (max-width: 360px) {
    .profile-card-top-row .profile-add-balance-btn {
        font-size: 0.72rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.profile-wallet-hint {
    color: rgba(196, 181, 253, 0.88) !important;
}

.profile-wallet-tutorials {
    background: rgba(20, 24, 40, 0.45) !important;
}

/* Wallet: deposit + withdraw both solid gradient (withdraw slightly cooler tone) */
.wallet-main-action-btn {
    text-transform: none;
    font-size: 0.95rem;
}

.wallet-main-action-btn {
    position: relative;
    overflow: hidden;
}
.wallet-main-action-btn::after{
    content:'';
    position:absolute;
    top:-40%;
    left:-35%;
    width:65%;
    height:200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
    transform: rotate(20deg);
    opacity:0.85;
    pointer-events:none;
}

.wallet-withdraw-gradient {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.wallet-withdraw-gradient:hover,
.wallet-withdraw-gradient:focus {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
}

/* Wallet: combined deposit + withdraw YouTube guide card */
.wallet-combined-guide-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.wallet-combined-guide-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    text-decoration: none !important;
    color: #f1f5f9 !important;
    background: linear-gradient(152deg, rgba(28, 22, 40, 0.98) 0%, rgba(18, 22, 36, 0.99) 50%, rgba(22, 18, 32, 0.98) 100%);
    border: 1px solid rgba(239, 68, 68, 0.38);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 10px 36px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(239, 68, 68, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wallet-combined-guide-card:hover,
.wallet-combined-guide-card:focus {
    color: #fff !important;
    border-color: rgba(248, 113, 113, 0.65);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 14px 40px rgba(0, 0, 0, 0.5),
        0 0 48px rgba(239, 68, 68, 0.2);
    transform: translateY(-3px);
}

.wallet-combined-guide-yt {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #fff;
    background: linear-gradient(145deg, #ff183e, #c4001e);
    box-shadow: 0 6px 20px rgba(255, 24, 62, 0.45);
}

.wallet-combined-guide-text {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.wallet-combined-guide-text strong {
    color: #fda4af;
    font-weight: 700;
}

.wallet-combined-guide-em {
    color: #7dd3fc;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(125, 211, 252, 0.45);
    text-underline-offset: 3px;
}

.wallet-combined-guide-card:hover .wallet-combined-guide-em {
    color: #bae6fd;
}

.wallet-combined-guide-external {
    flex-shrink: 0;
    font-size: 0.95rem;
    opacity: 0.55;
    color: #e2e8f0;
}

.wallet-combined-guide-card:hover .wallet-combined-guide-external {
    opacity: 0.95;
}

.wallet-combined-guide-card-secondary {
    border-color: rgba(167, 139, 250, 0.4) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 8px 28px rgba(0, 0, 0, 0.4),
        0 0 32px rgba(139, 92, 246, 0.1) !important;
}

.wallet-combined-guide-card-secondary:hover {
    border-color: rgba(196, 181, 253, 0.55) !important;
}

.wallet-balance-split .wallet-split-pill {
    background: rgba(15, 20, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.65rem 0.5rem;
    text-align: center;
}

.wallet-balance-split .wallet-split-pill-locked {
    border-color: rgba(251, 191, 36, 0.25);
    box-shadow: inset 0 0 20px rgba(251, 191, 36, 0.06);
}

/* Bottom Mobile Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 20, 31, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-glass);
    z-index: 1030;
    display: flex;
    justify-content: space-around;
    padding: 12px 10px 18px 10px;
    /* Extra bottom padding for iOS home indicator */
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 4px;
    width: 25%;
}

.nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active i {
    color: var(--secondary);
    filter: drop-shadow(0 0 8px rgba(65, 105, 225, 0.6));
    transform: translateY(-3px);
}

.nav-item:hover {
    color: white;
}

/* Forms & Inputs */
.form-control,
.form-select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    color: white;
    border-radius: 12px;
    padding: 12px 15px;
}

.form-control:focus,
.form-select:focus {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    border-right: none;
}

.form-control-with-icon {
    border-left: none;
}

/* SweetAlert Dark Theme Override */
.swal2-popup {
    background: #141928 !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: 20px !important;
    color: white !important;
}

.swal2-title,
.swal2-html-container {
    color: white !important;
}

/* Utilities */
.text-muted {
    color: var(--text-muted) !important;
}

.b-radius-xl {
    border-radius: 24px;
}

.b-radius-lg {
    border-radius: 16px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Animation Classes */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    z-index: -1;
    background-size: 400% 400%;
    animation: gradientBorder 5s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-border:hover::before {
    opacity: 1;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Custom Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255, 255, 255, 0.1) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Modal */
.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
}

.modal-header {
    border-bottom: 1px solid var(--border-glass);
}

.modal-footer {
    border-top: 1px solid var(--border-glass);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* SweetAlert2 — match join success (glow / lighting) */
.rz-join-success-popup {
    background: linear-gradient(155deg, rgba(14, 18, 32, 0.98) 0%, rgba(26, 16, 48, 0.96) 50%, rgba(12, 20, 40, 0.98) 100%) !important;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
    border-radius: 22px !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 48px rgba(138, 43, 226, 0.35),
        0 0 96px rgba(59, 130, 246, 0.12) !important;
    padding: 1.35rem 1.1rem 1.1rem !important;
}

.rz-join-sw-container.swal2-container {
    padding: 0.75rem !important;
    align-items: center !important;
}

.rz-join-success-popup .rz-join-sw-actions.swal2-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.1rem 0 0 !important;
}

.rz-join-success-popup .rz-join-sw-actions .swal2-confirm,
.rz-join-success-popup .rz-join-sw-actions .swal2-deny {
    flex: 1 1 calc(50% - 0.35rem) !important;
    min-width: min(140px, 42vw) !important;
    margin: 0 !important;
}

.rz-join-sw-title-wrap {
    padding: 0 0.25rem !important;
}

.rz-join-sw-title {
    display: inline-block;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(92deg, #e9d5ff, #93c5fd, #c4b5fd, #e9d5ff);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rzJoinTitleShine 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.35);
}

@keyframes rzJoinTitleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.rz-join-html {
    margin-top: 0.35rem !important;
}

.rz-join-sw-wrap {
    position: relative;
    padding: 0.5rem 0.35rem 0.15rem;
}

.rz-join-sw-check-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.65rem;
}

.rz-join-sw-check-ico {
    font-size: 3.1rem;
    color: #4ade80;
    filter: drop-shadow(0 0 18px rgba(74, 222, 128, 0.55));
    animation: rzJoinCheckPop 0.45s ease-out;
}

@keyframes rzJoinCheckPop {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.rz-join-sw-hint {
    position: relative;
    margin: 0.85rem 0 0;
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #94a3b8;
    text-align: center;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 12px;
}

.rz-join-sw-hint .fa-telegram {
    color: #38bdf8;
    margin-right: 0.25rem;
}

.rz-join-cta-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.rz-join-sw-glow-ring {
    position: absolute;
    inset: -6px 18% 0;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 40%, rgba(168, 85, 247, 0.35), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
    animation: rzJoinPulse 2.4s ease-in-out infinite;
}

@keyframes rzJoinPulse {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

.rz-join-sw-msg {
    position: relative;
    color: #e2e8f0;
    font-size: 1.02rem;
    line-height: 1.55;
    margin: 0;
    font-weight: 500;
}

.rz-join-sw-icon.swal2-success {
    border-color: transparent !important;
    color: #4ade80 !important;
    box-shadow: 0 0 28px rgba(74, 222, 128, 0.35) !important;
}

.rz-join-sw-icon.swal2-success .swal2-success-ring {
    border-color: rgba(74, 222, 128, 0.45) !important;
}

.rz-join-btn-ok {
    margin: 0.35rem 0.35rem 0 !important;
    padding: 0.55rem 1.35rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: linear-gradient(135deg, #7c3aed, #6366f1) !important;
    color: #fff !important;
    box-shadow: 0 4px 22px rgba(124, 58, 237, 0.45) !important;
}

.rz-join-btn-ok:hover {
    filter: brightness(1.08);
    color: #fff !important;
}

.rz-join-btn-cta {
    margin: 0.35rem 0.35rem 0 !important;
    padding: 0.55rem 1.15rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    background: rgba(8, 47, 73, 0.65) !important;
    color: #7dd3fc !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2) !important;
}

.rz-join-btn-cta:hover {
    background: rgba(14, 116, 144, 0.5) !important;
    color: #e0f2fe !important;
}