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

:root {
    --bg-dark: #07090e;
    --bg-surface: #0e121a;
    --card-bg: rgba(21, 26, 38, 0.85);
    --card-border: #232d3f;
    --primary-gold: #f59e0b;
    --primary-gold-glow: rgba(245, 158, 11, 0.5);
    --pubg-orange: #ff7700;
    --pubg-red: #ef4444;
    --pubg-red-glow: rgba(239, 68, 68, 0.6);
    --accent-blue: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 15%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(239, 68, 68, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, #07090e 0%, #0c1017 100%);
    color: var(--text-main);
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background floating battle embers */
#emberCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* Navbar */
.pubg-header {
    background: rgba(11, 15, 23, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 900;
    font-size: 1.55rem;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
    letter-spacing: 0.5px;
}

.logo-badge img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 15px var(--primary-gold-glow);
    animation: rotate-slow 15s linear infinite;
}

/* Hero Section with PUBG Banner */
.hero-wrapper {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 2px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.15);
}

.hero-banner {
    position: relative;
    min-height: 420px;
    background: url('../images/hero-banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 3rem 2.5rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 9, 14, 0.95) 0%, rgba(7, 9, 14, 0.75) 55%, rgba(7, 9, 14, 0.4) 100%),
                linear-gradient(180deg, transparent 60%, rgba(7, 9, 14, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
    background: linear-gradient(135deg, #ffffff 30%, #fbbf24 80%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.airdrop-badge-float {
    position: absolute;
    bottom: 25px;
    left: 40px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(14, 18, 26, 0.85);
    border: 1px solid rgba(239, 68, 68, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--pubg-red-glow);
}

.airdrop-badge-float img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    animation: flare-pulse 2s ease-in-out infinite;
}

/* Section Cards */
.section-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
}

.section-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
}

.section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Package Card Grid */
.package-card {
    background: linear-gradient(180deg, #161c28 0%, #0e121a 100%);
    border: 2px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.5rem 1rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.package-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.3);
}

.package-card.selected {
    border-color: var(--primary-gold);
    background: linear-gradient(180deg, #222b3d 0%, #151a26 100%);
    animation: gold-glow 2.5s infinite;
    transform: translateY(-4px);
}

.package-card.selected::after {
    content: '✔ مختارة';
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary-gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.package-coin-img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin-bottom: 0.85rem;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
    transition: transform 0.4s ease;
}

.package-card:hover .package-coin-img {
    transform: scale(1.1) rotate(6deg);
}

.package-card .uc-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.package-card .uc-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.package-card.out-of-stock {
    opacity: 0.55;
    border-color: rgba(239, 68, 68, 0.35);
    cursor: not-allowed;
    filter: grayscale(0.6);
    background: rgba(15, 23, 42, 0.6);
}

.package-card.out-of-stock:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(239, 68, 68, 0.5);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-bottom-left-radius: 10px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

/* Call to Action Button */
.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f59e0b 100%);
    background-size: 200% auto;
    color: #000000 !important;
    font-weight: 900;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    letter-spacing: 0.5px;
}

.btn-gold:hover:not(:disabled) {
    background-position: right center;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.7);
    transform: translateY(-2px);
}

.btn-gold:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Status Badges */
.badge-paid {
    background: linear-gradient(135deg, #065f46, #047857);
    color: #6ee7b7;
    border: 1px solid #059669;
    padding: 0.4rem 0.8rem;
    font-weight: 700;
}

.badge-pending {
    background: linear-gradient(135deg, #78350f, #92400e);
    color: #fde68a;
    border: 1px solid #b45309;
    padding: 0.4rem 0.8rem;
    font-weight: 700;
}

.badge-review {
    background: linear-gradient(135deg, #581c87, #6b21a8);
    color: #e9d5ff;
    border: 1px solid #7e22ce;
    padding: 0.4rem 0.8rem;
    font-weight: 700;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

@keyframes flare-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.9));
    }
}

@keyframes gold-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(245, 158, 11, 0.4), inset 0 0 10px rgba(245, 158, 11, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(245, 158, 11, 0.8), inset 0 0 15px rgba(245, 158, 11, 0.4);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-banner {
        min-height: 340px;
        padding: 2rem 1.25rem;
    }
    .airdrop-badge-float {
        display: none;
    }
    .package-card {
        padding: 1rem 0.5rem;
    }
    .package-coin-img {
        width: 52px;
        height: 52px;
    }
}

/* WhatsApp Floating Support Button */
.whatsapp-float-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    text-decoration: none !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.8);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.75;
    animation: wa-pulse 2s infinite ease-out;
    z-index: -1;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.65); opacity: 0; }
}
/* تحسين وضوح وقراءة النصوص على الخلفية الداكنة */
.text-secondary,
.form-label.text-secondary,
label.text-secondary,
span.text-secondary,
p.text-secondary {
    color: #e2e8f0 !important; /* أبيض ناصع وواضح جداً */
}

.text-muted,
small.text-muted,
span.text-muted {
    color: #cbd5e1 !important; /* فضي فاتح عالي الوضوح */
}

.form-label {
    color: #f8fafc !important;
    font-weight: 700 !important;
}

/* بطاقة ملخص الطلب والأسعار */
.d-flex span.text-secondary {
    color: #e2e8f0 !important;
    font-weight: 600;
}