/* language: CSS, file: assets/style.css, target: Frontend Unified SPA Styling (Devman07 Chicken Road & Chicken Road 2.0 Bot v4) */
:root {
    --bg-night-top: #050711;
    --bg-night-mid: #0c1228;
    --bg-night-bot: #141c3a;
    --accent-blue: #00d2ff;
    --accent-gold: #ffcc00;
    --accent-green: #00e676;
    --accent-orange: #ff7b00;
    --accent-red: #ff3b5c;
    --accent-purple-1: #7c3aed;
    --accent-purple-2: #5b21b6;
    --dark-red-btn: #8b111e;
    --dark-red-border: #c92a3a;
    --card-glass: rgba(12, 17, 38, 0.94);
    --border-glass: rgba(0, 210, 255, 0.28);
    --btn-uniform-height: 52px;
    --btn-uniform-max-width: 440px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

body {
    background: linear-gradient(180deg, var(--bg-night-top) 0%, var(--bg-night-mid) 58%, var(--bg-night-bot) 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
}

html[dir="rtl"] body,
body.lang-ar {
    font-family: 'Almarai', 'Poppins', sans-serif;
}

/* =====================================================
   🪶🌌 1. خلفية الليل الهادئة + النجوم المتلألئة + ريش الدجاج المتساقط بنعومة فقط
   ===================================================== */
.night-sky-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(180deg, #04060e 0%, #0a1024 55%, #121b38 100%);
}

#starsCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* =====================================================
   ⏳ 2. شاشة انتظار الاتصال بالسيرفر (أيقونة تحميل واحدة فقط)
   ===================================================== */
.loading-server-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 16, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.loading-server-overlay.show {
    display: flex;
    animation: stageFadeIn 0.25s ease;
}

.loading-server-box {
    background: rgba(16, 22, 48, 0.96);
    border: 1px solid rgba(0, 210, 255, 0.5);
    border-radius: 20px;
    padding: 28px 22px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.3);
}

.cyber-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(255, 204, 0, 0.2);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spinLoader 0.85s linear infinite;
}

@keyframes spinLoader {
    to { transform: rotate(360deg); }
}

#serverLoadingText {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.5;
}

/* =====================================================
   🧭 3. الشريط العلوي الموحد (تليجرام + التاريخ والوقت وعلم البلد في المنتصف + اللغة)
   ===================================================== */
.unified-header {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: rgba(7, 10, 24, 0.95);
    border-bottom: 1px solid rgba(255, 204, 0, 0.22);
    min-height: 62px;
    gap: 8px;
}

.header-side-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.join-tg-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(0, 183, 255, 0.2), rgba(0, 119, 255, 0.32));
    border: 1px solid rgba(0, 210, 255, 0.6);
    color: #ffffff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 183, 255, 0.25);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.join-tg-pill img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: contain;
}

.join-tg-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 210, 255, 0.45);
}

.header-center-clock {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 9px;
    direction: ltr !important;
    font-family: 'Poppins', monospace !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 204, 0, 0.3);
    padding: 4px 13px;
    border-radius: 14px;
    flex-shrink: 0;
}

.clock-flag-icon {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    display: block;
}

.clock-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.22;
    text-align: left;
}

.clock-date {
    color: var(--accent-gold);
    font-size: 10.5px;
    font-weight: 800;
    display: block;
    white-space: nowrap;
}

.clock-time {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    font-family: 'Poppins', monospace !important;
    white-space: nowrap;
}

.header-side-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 1;
}

.lang-unified-wrap {
    position: relative;
}

.lang-pill-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    padding: 6px 11px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-family: inherit;
}

.lang-pill-btn:hover {
    background: rgba(255, 204, 0, 0.18);
    border-color: var(--accent-gold);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(10, 14, 32, 0.98);
    border: 1px solid rgba(255, 204, 0, 0.4);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85);
    width: 165px;
    max-height: 260px;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    padding: 6px;
    z-index: 999;
    direction: ltr !important;
}

html[dir="rtl"] .lang-dropdown-menu {
    right: auto;
    left: 0;
}

.lang-dropdown-menu.open {
    display: flex;
    animation: stageFadeIn 0.2s ease;
}

.lang-item-opt {
    padding: 8px 10px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    color: #e2e8f0;
}

.lang-item-opt:hover,
.lang-item-opt.active {
    background: rgba(255, 204, 0, 0.2);
    color: var(--accent-gold);
}

/* =====================================================
   📦 4. الحاوية الرئيسية + منع اختفاء الصور والعناصر عند السكرول السريع نهائياً
   ===================================================== */
.app-main-wrapper {
    position: relative;
    z-index: 10;
    flex: 1;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 14px 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.unified-brand-header {
    text-align: center;
    margin-bottom: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-logo-main {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(255, 204, 0, 0.45));
    margin-bottom: 6px;
    display: block;
}

.tg-dynamic-profile {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 4px auto 8px;
    background: rgba(0, 183, 255, 0.1);
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.tg-user-photo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    object-fit: cover;
}

.tg-welcome-text {
    font-weight: 800;
    color: #ffffff;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tg-user-name {
    color: var(--accent-blue);
}

.brand-title-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 44px;
    width: 340px;
    min-width: 340px;
    max-width: 340px;
    direction: ltr !important;
    font-family: 'Poppins', sans-serif !important;
    position: relative;
}

.dynamic-title-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 40px;
    font-size: 19px;
    font-weight: 800;
    background: linear-gradient(45deg, #ffcc00, #00e676, #00d2ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease infinite;
    transition: opacity 0.35s ease;
    white-space: nowrap;
    overflow: hidden;
    flex-shrink: 0;
    text-align: center;
}

.brand-title-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.45));
    display: block;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* إزالة transform من حاويات المراحل لمنع قص العناصر (Layer Clipping) أثناء السكرول السريع في الهواتف */
.stage-view {
    display: none;
    width: 100%;
}

.stage-view.active-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    animation: stageFadeIn 0.25s ease;
}

@keyframes stageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* إزالة backdrop-filter من الحاوية الطويلة لمنع اختفاء الصور والعناصر عند السكرول السريع في شاشات الموبايل */
.glass-card-panel {
    width: 100%;
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 18px 15px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =====================================================
   ✨ 5. توحيد أحجام الأزرار
   ===================================================== */
.btn-interactive {
    position: relative;
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    height: var(--btn-uniform-height);
    min-height: var(--btn-uniform-height);
    padding: 0 18px;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 6px auto;
    letter-spacing: 0.4px;
    text-align: center;
}

.btn-interactive::after {
    content: "";
    position: absolute;
    top: 0;
    left: -85%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-25deg);
    animation: subtleShimmer 3.6s infinite;
}

@keyframes subtleShimmer {
    0% { left: -85%; }
    25% { left: 135%; }
    100% { left: 135%; }
}

.btn-interactive:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-interactive:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.btn-interactive:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.5);
    box-shadow: none !important;
}

.btn-orange-glow {
    background: linear-gradient(135deg, #ff7300, #fe4a17);
    box-shadow: 0 6px 18px rgba(255, 115, 0, 0.35);
}

.btn-green-glow {
    background: linear-gradient(135deg, #00c853, #009624);
    box-shadow: 0 6px 18px rgba(0, 200, 83, 0.35);
}

.btn-blue-glow {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    box-shadow: 0 6px 18px rgba(0, 180, 219, 0.35);
}

.btn-terms-glow {
    background: linear-gradient(135deg, var(--accent-purple-1), var(--accent-purple-2));
    border: 1px solid rgba(196, 181, 253, 0.55);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-back-darkred {
    background: linear-gradient(135deg, var(--dark-red-btn), #5c0912);
    border: 1px solid var(--dark-red-border);
    box-shadow: 0 6px 18px rgba(139, 17, 30, 0.45);
    color: #ffffff;
    margin-top: 12px;
}

html[dir="rtl"] .btn-back-darkred i.fa-arrow-left {
    transform: scaleX(-1);
}

/* =====================================================
   🎬 6. مشغل الفيديو وأزرار تبديل المنصات
   ===================================================== */
.odysee-player-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 500px;
    margin: 0 auto 12px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 204, 0, 0.35);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.odysee-player-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-switch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    margin-bottom: 12px;
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-btn img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.glass-btn.green-brown-glass {
    background: linear-gradient(135deg, rgba(16, 115, 58, 0.5), rgba(11, 68, 37, 0.72));
    border-color: rgba(0, 221, 86, 0.45);
}
.glass-btn.green-brown-glass:hover,
.glass-btn.green-brown-glass.active {
    background: linear-gradient(135deg, rgba(20, 145, 72, 0.75), rgba(11, 82, 44, 0.9));
    border-color: #00dd56;
    box-shadow: 0 4px 15px rgba(0, 221, 86, 0.4);
    transform: translateY(-2px);
}

.glass-btn.paripulse-glass {
    background: linear-gradient(135deg, rgba(14, 98, 49, 0.5), rgba(8, 56, 28, 0.72));
    border-color: rgba(36, 154, 82, 0.5);
}
.glass-btn.paripulse-glass:hover,
.glass-btn.paripulse-glass.active {
    background: linear-gradient(135deg, rgba(25, 135, 68, 0.75), rgba(12, 74, 38, 0.9));
    border-color: #2ecc71;
    box-shadow: 0 4px 15px rgba(36, 154, 82, 0.4);
    transform: translateY(-2px);
}

.glass-btn.blue-glass {
    background: rgba(0, 145, 255, 0.24);
    border-color: rgba(0, 190, 255, 0.55);
}
.glass-btn.blue-glass:hover,
.glass-btn.blue-glass.active {
    background: rgba(0, 155, 255, 0.46);
    border-color: #00d2ff;
    box-shadow: 0 4px 15px rgba(0, 165, 255, 0.45);
    transform: translateY(-2px);
}

.glass-btn.red-glass {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.32), rgba(255, 45, 70, 0.38));
    border-color: rgba(165, 65, 235, 0.55);
}
.glass-btn.red-glass:hover,
.glass-btn.red-glass.active {
    background: linear-gradient(135deg, rgba(0, 135, 255, 0.52), rgba(255, 50, 75, 0.58));
    border-color: #c471ed;
    box-shadow: 0 4px 15px rgba(165, 65, 235, 0.45);
    transform: translateY(-2px);
}

.welcome-banner-text {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin: 6px 0 10px;
    color: #e2e8f0;
}

/* =====================================================
   📋 7. المرحلة 2: أزرار الأفلييت وإدخال المعلومات (ثابتة 100% أثناء السكرول السريع)
   ===================================================== */
.deposit-alert-box {
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.78), rgba(15, 23, 42, 0.94));
    border: 1px solid rgba(59, 130, 246, 0.6);
    border-left: 4px solid var(--accent-gold);
    padding: 13px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    margin-bottom: 12px;
    text-align: center;
}

#countryRestrictionAlert {
    width: 100%;
    max-width: var(--btn-uniform-max-width);
}

.country-alert {
    margin-bottom: 12px;
    padding: 12px 14px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 12px;
    line-height: 1.55;
    text-align: center;
}

.vpn-alert {
    background: rgba(255, 59, 92, 0.16);
    border: 1px solid rgba(255, 59, 92, 0.5);
    border-left: 4px solid #ff3b5c;
    color: #ffb3c1;
}

.megapari-alert {
    background: rgba(255, 165, 0, 0.16);
    border: 1px solid rgba(255, 165, 0, 0.5);
    border-left: 4px solid #ffa500;
    color: #ffe0a3;
}

.promo-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    margin-bottom: 14px;
}

.promo-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 13, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 10px 12px;
    gap: 10px;
    transition: border-color 0.25s ease;
}

.promo-card-row:hover {
    border-color: rgba(255, 204, 0, 0.45);
}

.hand-icon {
    width: 38px;
    height: 28px;
    min-width: 38px;
    min-height: 28px;
    object-fit: contain;
    animation: pointHand 1.1s ease-in-out infinite;
    flex-shrink: 0;
    display: block !important;
}

@keyframes pointHand {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-6px); }
}

html[dir="rtl"] .hand-icon {
    animation-name: pointHandRtl;
}

@keyframes pointHandRtl {
    0%, 100% { transform: translateX(0) scaleX(-1); }
    50% { transform: translateX(6px) scaleX(-1); }
}

.promo-platform-btn {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.promo-platform-btn img.promo-image {
    width: 148px;
    height: 42px;
    object-fit: contain;
    display: block !important;
    transition: transform 0.22s ease;
}

.promo-platform-btn img.promo-image:hover {
    transform: scale(1.04);
}

.promo-code-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 9px;
    border-radius: 10px;
    border: 1px dashed rgba(0, 230, 118, 0.45);
}

.promo-label-txt {
    font-size: 11px;
    color: #cbd5e1;
    display: none;
}

@media (min-width: 460px) {
    .promo-label-txt { display: inline; }
}

.promo-code-val {
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.8px;
}

.btn-copy-mini {
    background: var(--accent-green);
    color: #060814;
    border: none;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

.input-frame-box {
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    background: rgba(8, 11, 25, 0.88);
    border: 1px solid rgba(0, 230, 118, 0.35);
    border-radius: 16px;
    padding: 14px 12px;
    margin-bottom: 10px;
}

.platform-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    gap: 8px;
    margin: 8px 0 14px;
}

.platform-card-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.platform-card-item img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin-bottom: 4px;
    display: block !important;
}

.platform-card-item span {
    font-size: 12.5px;
    font-weight: 700;
    color: #cbd5e1;
}

.platform-card-item.selected {
    border-color: var(--accent-green);
    background: rgba(0, 230, 118, 0.14);
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.28);
}

.platform-card-item.selected span {
    color: var(--accent-green);
}

.field-group {
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    margin: 0 auto 12px;
    position: relative;
}

.field-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #cbd5e1;
}

.cyber-input {
    width: 100%;
    height: var(--btn-uniform-height);
    padding: 0 38px 0 16px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(5, 8, 20, 0.9);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    direction: ltr;
    font-family: 'Poppins', monospace;
}

.cyber-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.25);
}

.cyber-input.valid { border-color: var(--accent-green); }
.cyber-input.invalid { border-color: var(--accent-red); }

.field-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.45);
}

.upload-msg-txt {
    font-size: 12.5px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.btn-example-pill {
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    height: 44px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 16px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.25s;
}

.btn-example-pill img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
}

.upload-zone-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 14px;
    border: 2px dashed rgba(0, 210, 255, 0.45);
    border-radius: 12px;
    background: rgba(0, 210, 255, 0.05);
    cursor: pointer;
    font-weight: 700;
    font-size: 13.5px;
    transition: 0.25s;
}

.upload-zone-label:hover {
    background: rgba(0, 210, 255, 0.12);
    border-color: var(--accent-blue);
}

.selected-file-badge {
    color: var(--accent-green);
    font-size: 12px;
    margin-top: 6px;
    font-weight: 700;
}

.ban-alert-banner {
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    background: rgba(255, 59, 92, 0.16);
    border: 1px solid var(--accent-red);
    color: #ff8fa3;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* =====================================================
   🐔🐣 8. المرحلة 4: واجهة نتائج Chicken Road & Chicken Road 2.0 الذكية
   ===================================================== */
.chicken-stage-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 100%;
}

.session-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    background: rgba(5, 8, 20, 0.65);
    border: 1px solid rgba(255, 204, 0, 0.28);
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
}

.session-id-pill {
    color: var(--accent-blue);
    direction: ltr !important;
    font-family: 'Poppins', monospace !important;
}

.session-attempts-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.4);
    color: #e2e8f0;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.session-attempts-pill b {
    color: var(--accent-green);
    font-family: 'Poppins', monospace !important;
    font-size: 14px;
    direction: ltr !important;
}

.timer-pill-box {
    font-family: 'Poppins', monospace !important;
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1 !important;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--accent-gold);
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid rgba(255, 204, 0, 0.4);
    padding: 3px 8px;
    min-width: 82px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    letter-spacing: 0.8px;
    direction: ltr !important;
    flex-shrink: 0;
}

.chicken-mode-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    background: rgba(6, 10, 24, 0.8);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(0, 210, 255, 0.28);
    direction: ltr !important;
}

.mode-switch-btn {
    height: 44px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.mode-switch-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.mode-switch-btn.active {
    background: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 16px rgba(0, 210, 255, 0.45);
    transform: translateY(-1px);
}

.chicken-result-matrix-card {
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    background: radial-gradient(circle at top, rgba(24, 34, 72, 0.92), rgba(9, 13, 28, 0.96));
    border: 2px solid rgba(255, 204, 0, 0.45);
    border-radius: 18px;
    padding: 16px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), inset 0 0 22px rgba(255, 204, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.chicken-steps-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 230, 118, 0.14);
    border: 1.5px solid var(--accent-green);
    padding: 6px 20px;
    border-radius: 30px;
    box-shadow: 0 0 18px rgba(0, 230, 118, 0.28);
}

.steps-number-val {
    font-family: 'Poppins', monospace !important;
    font-size: 26px;
    font-weight: 900;
    color: var(--accent-green);
    direction: ltr !important;
    text-shadow: 0 0 12px rgba(0, 230, 118, 0.6);
}

.steps-label-txt {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

.cashout-label-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: 0.4px;
    margin-bottom: -4px;
}

.chicken-image-stage {
    position: relative;
    width: 235px;
    height: 195px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px auto;
    direction: ltr !important;
}

.chicken-result-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 16px rgba(255, 204, 0, 0.35));
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

.chicken-multiplier-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    direction: ltr !important;
    background: transparent !important;
    border: none !important;
}

.chicken-multiplier-val {
    font-family: 'Poppins', sans-serif !important;
    font-size: 44px;
    font-weight: 900;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    letter-spacing: 1px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95), 0 0 18px rgba(0, 0, 0, 0.85);
    white-space: nowrap;
    direction: ltr !important;
    transition: transform 0.25s ease;
}

.chicken-multiplier-val.score-new-pulse {
    animation: newScorePulse 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes newScorePulse {
    0% { transform: scale(0.45); opacity: 0.2; }
    55% { transform: scale(1.22); opacity: 1; }
    80% { transform: scale(0.94); }
    100% { transform: scale(1); }
}

.chicken-multiplier-val.glitch-roll {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95) !important;
}

.difficulty-levels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    margin-top: 2px;
    direction: ltr !important;
}

.diff-level-btn {
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.85);
    color: #cbd5e1;
    font-family: 'Poppins', sans-serif !important;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.22s ease;
    text-transform: uppercase;
    padding: 0 4px;
    white-space: nowrap;
}

.diff-level-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.diff-level-btn[data-level="EASY"].active {
    background: rgba(46, 213, 115, 0.22);
    border-color: #2ed573;
    color: #2ed573;
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.45);
}

.diff-level-btn[data-level="MEDIUM"].active {
    background: rgba(255, 165, 2, 0.22);
    border-color: #ffa502;
    color: #ffa502;
    box-shadow: 0 0 15px rgba(255, 165, 2, 0.45);
}

.diff-level-btn[data-level="HARD"].active {
    background: rgba(255, 71, 87, 0.22);
    border-color: #ff4757;
    color: #ff4757;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.45);
}

.diff-level-btn[data-level="HARDCORE"].active {
    background: rgba(165, 94, 234, 0.25);
    border-color: #a55eea;
    color: #d8b4fe;
    box-shadow: 0 0 15px rgba(165, 94, 234, 0.5);
}

.pred-watermark-link {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 204, 0, 0.9);
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(255, 204, 0, 0.55);
    padding: 3px 16px;
    border-radius: 20px;
    background: rgba(255, 204, 0, 0.08);
    border: 1px solid rgba(255, 204, 0, 0.28);
    margin-top: 2px;
    margin-bottom: 2px;
    transition: all 0.25s ease;
    animation: watermarkGlow 2.4s ease-in-out infinite alternate;
    direction: ltr !important;
}

.pred-watermark-link:hover {
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.16);
    transform: scale(1.04);
}

@keyframes watermarkGlow {
    0% { opacity: 0.75; text-shadow: 0 0 8px rgba(255, 204, 0, 0.3); }
    100% { opacity: 1; text-shadow: 0 0 16px rgba(255, 204, 0, 0.85); }
}

.pred-status-line {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

/* =====================================================
   💎 9. النوافذ المنبثقة (الشروط + تيليجرام + التنبيه في منتصف الشاشة)
   ===================================================== */
.custom-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 16, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 14px;
}

.custom-modal-backdrop.show {
    display: flex;
    animation: stageFadeIn 0.25s ease;
}

.modal-card-modern {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(180deg, #131a3a 0%, #0b0f24 100%);
    border-radius: 22px;
    padding: 24px 18px 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    border: 2px solid rgba(0, 210, 255, 0.45);
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-card-modern.modal-success {
    border-color: var(--accent-green);
    box-shadow: 0 0 35px rgba(0, 230, 118, 0.25);
}

.modal-card-modern.modal-error {
    border-color: var(--accent-red);
    box-shadow: 0 0 35px rgba(255, 59, 92, 0.25);
}

.modal-close-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 59, 92, 0.25);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 5;
}

.modal-badge-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.modal-success .modal-badge-icon {
    background: rgba(0, 230, 118, 0.15);
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.modal-error .modal-badge-icon {
    background: rgba(255, 59, 92, 0.15);
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
}

.generated-code-display {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px dashed var(--accent-gold);
    padding: 13px 10px;
    border-radius: 12px;
    font-family: 'Poppins', monospace;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 0.8px;
    margin: 12px 0;
    word-break: break-all;
    direction: ltr;
}

.modal-terms-card {
    max-width: 500px;
    border-color: var(--accent-purple-1);
}

.terms-modal-title {
    color: var(--accent-gold);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 12px;
    padding-top: 6px;
}

.terms-scroll-body {
    width: 100%;
    max-height: 58dvh;
    overflow-y: auto;
    text-align: start;
    background: rgba(6, 9, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px;
    font-size: 12.5px;
    line-height: 1.65;
    color: #e2e8f0;
}

.terms-rule-item {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.terms-rule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-rule-item b {
    color: var(--accent-blue);
}

/* =====================================================
   🎮 10. سلايدر الألعاب التفاعلي
   ===================================================== */
.after-footer-slider {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 6px 14px 20px;
    direction: ltr !important;
}

.slider-wrapper {
    width: 100%;
    max-width: 540px;
    background: rgba(12, 16, 36, 0.92);
    border-radius: 18px;
    border: 1px solid rgba(0, 210, 255, 0.22);
    padding: 12px;
    overflow: hidden;
}

.slider-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}

.slider-title {
    text-align: center;
    font-size: 13.5px;
    font-weight: 800;
    background: linear-gradient(90deg, #ffff66, #00ff88, #00e5ff);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    margin: 0;
}

.slider-arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 210, 255, 0.45);
    background: rgba(0, 210, 255, 0.14);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: 0.2s;
}

.slider-arrow-btn:hover {
    background: var(--accent-blue);
    color: #060814;
}

.slider-viewport {
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}

.slider-viewport:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    gap: 12px;
    will-change: transform;
}

.game-card {
    flex: 0 0 auto;
    width: 135px;
    text-align: center;
    background: rgba(0, 0, 0, 0.42);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-thumb {
    width: 100%;
    height: 78px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.play-btn {
    display: inline-block;
    margin-top: 7px;
    padding: 5px 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    font-size: 11.5px;
    font-weight: 700;
}

.unified-footer {
    position: relative;
    z-index: 20;
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    background: rgba(5, 7, 18, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: auto;
}

.unified-footer span {
    color: var(--accent-gold);
    font-weight: 800;
}

/* =====================================================
   📱 11. التجاوب التام مع شاشات الهواتف
   ===================================================== */
@media screen and (max-width: 480px) {
    :root {
        --btn-uniform-height: 48px;
    }
    .unified-header { min-height: 54px; padding: 6px 10px; }
    .join-tg-pill { padding: 5px 9px; font-size: 11px; }
    .lang-pill-btn { padding: 5px 9px; font-size: 11px; }
    .header-center-clock { padding: 3px 9px; gap: 7px; }
    .clock-flag-icon { width: 24px; height: 17px; }
    .clock-date { font-size: 9.5px; }
    .clock-time { font-size: 11.5px; }

    .brand-logo-main {
        width: 82px;
        height: 82px;
        margin-bottom: 4px;
    }

    .brand-title-row {
        width: 312px;
        min-width: 312px;
        max-width: 312px;
        height: 40px;
    }

    .dynamic-title-text {
        width: 258px;
        min-width: 258px;
        max-width: 258px;
        font-size: 17px;
    }

    .brand-title-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .app-main-wrapper { padding: 8px 10px 14px; }
    .glass-card-panel { padding: 14px 11px; border-radius: 16px; }
    .btn-interactive { font-size: 14px; margin: 5px auto; }

    .promo-platform-btn img.promo-image {
        width: 132px;
        height: 38px;
    }

    .chicken-image-stage { width: 205px; height: 170px; }
    .chicken-multiplier-val { font-size: 38px; }
    .diff-level-btn { font-size: 10.5px; height: 38px; }
    .mode-switch-btn { font-size: 12px; height: 40px; }
    .pred-watermark-link { font-size: 12.5px; }
}


/* =====================================================
   🎬 تخصيص أزرار الفيديو الديناميكية في assets/style.css
   ===================================================== */
.video-switch-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: var(--btn-uniform-max-width);
    margin-bottom: 12px;
}

.glass-btn.custom-dyn-vid-btn {
    background: var(--btn-bg, linear-gradient(135deg, #10733a, #0b4425)) !important;
    border: 1.8px solid var(--btn-border, #00dd56) !important;
    color: #ffffff !important;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.glass-btn.custom-dyn-vid-btn img {
    width: 19px;
    height: 19px;
    object-fit: contain;
    flex-shrink: 0;
}

/* زر نصف سطر (قربه زر آخر) أو زر طويل لوحده */
.glass-btn.vid-btn-half {
    flex: 1 1 calc(50% - 8px);
    min-width: 145px;
}

.glass-btn.vid-btn-full {
    flex: 1 1 100%;
    width: 100%;
}

/* ترتيب وموضع الزر (فوق / يمين / يسار) */
.glass-btn.vid-align-top {
    order: -10;
}

.glass-btn.vid-align-left {
    margin-right: auto;
}

.glass-btn.vid-align-right {
    margin-left: auto;
}

/* لون الزر عند الضغط عليه (Active) وعند التمرير */
.glass-btn.custom-dyn-vid-btn.active,
.glass-btn.custom-dyn-vid-btn:hover {
    background: var(--btn-active-bg, #149148) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 20px var(--btn-border, rgba(0, 221, 86, 0.75)), 0 0 10px rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) scale(1.02) !important;
}


/* =====================================================
   ⚡ قسم البوت المساعد الذكي + زر تيليجرام بدون خيال خلفي
   ===================================================== */
#feedbackModalBody {
    overflow-y: auto;
    max-height: 68dvh;
    padding-bottom: 4px;
}

.verif-title-lottie-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* مسافة واضحة ومريحة بين النص القديم والنص الجديد */
.tg-assistant-helper-box {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed rgba(42, 171, 238, 0.32);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* النص الجديد مكبّر وباللون الأزرق الفاتح الخاص بتيليجرام */
.tg-assistant-helper-text {
    color: #54c7fc;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.75;
    margin: 0 0 16px 0;
}

.tg-helper-line1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.tg-helper-line2 {
    display: block;
    margin-top: 4px;
}

/* شكل الزر الكبسولة الصافي بدون أي خيال أو توهج خلفي */
.tg-pill-lightning-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 240px;
    max-width: 92%;
    height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2cabee 0%, #229ed9 55%, #1d82bd 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none !important;
    animation: none !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.tg-pill-lightning-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: none !important;
}

.tg-pill-lightning-btn:active {
    transform: scale(0.97);
    box-shadow: none !important;
}

.tg-pill-btn-text,
.lottie-tg-btn-logo {
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

/* شعاع البرق الخاطف داخل الزر فقط دون الخروج للخلفية */
.tg-lightning-flash {
    position: absolute;
    inset: -20% -60%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, 0.15) 42%,
        rgba(255, 255, 255, 0.92) 46%,
        rgba(140, 244, 255, 0.85) 48%,
        transparent 51%,
        rgba(255, 255, 255, 0.8) 54%,
        transparent 58%,
        transparent 100%
    );
    transform: translateX(-120%) skewX(-22deg);
    animation: tgLightningStrike 3.2s infinite;
}

@keyframes tgLightningStrike {
    0% { transform: translateX(-120%) skewX(-22deg); opacity: 0; }
    6% { opacity: 1; }
    16% { transform: translateX(120%) skewX(-22deg); opacity: 1; }
    18% { opacity: 0; }
    21% { transform: translateX(15%) skewX(-22deg); opacity: 0.85; }
    25% { transform: translateX(125%) skewX(-22deg); opacity: 0; }
    100% { transform: translateX(125%) skewX(-22deg); opacity: 0; }
}