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

:root {
    --bg-dark: #0a0a0a;
    --gold-primary: #FFD700;
    --gold-light: #FFED4A;
    --gold-dark: #B8860B;
    --red-alert: #ff3333;
    --card-bg: rgba(15, 15, 15, 0.92);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Cairo', sans-serif; }

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Carbon Fiber Background Effect */
.carbon-bg {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
        linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0px,
        linear-gradient(27deg, #222 5px, transparent 5px) 0px 10px,
        linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
        linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
        linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424 100%);
    background-color: #131313;
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0.9;
}

/* Lightning flashes */
.lightning-flash {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
    animation: thunder 4s infinite;
}

@keyframes thunder {
    0%, 90%, 100% { opacity: 0.5; }
    92% { opacity: 1; background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.3) 0%, transparent 70%); }
    94% { opacity: 0.2; }
    96% { opacity: 0.9; }
}

/* Floating Particles */
.particles-container { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.particle {
    position: absolute;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-primary);
    animation: floatParticle linear infinite;
}
.particle:nth-child(1) { left: 15%; width: 4px; height: 4px; animation-duration: 8s; animation-delay: 0s; }
.particle:nth-child(2) { left: 85%; width: 2px; height: 2px; animation-duration: 6s; animation-delay: 2s; }
.particle:nth-child(3) { left: 50%; width: 5px; height: 5px; animation-duration: 10s; animation-delay: 1s; }
.particle:nth-child(4) { left: 30%; width: 3px; height: 3px; animation-duration: 7s; animation-delay: 3s; }
.particle:nth-child(5) { left: 70%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 0.5s; background: #fff; }
.particle:nth-child(6) { left: 10%; width: 3px; height: 3px; animation-duration: 9s; animation-delay: 4s; }

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-20vh) scale(1.5); opacity: 0; }
}

/* Main Container */
.premium-container {
    width: 100%;
    max-width: 460px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* The Legendary Card */
.legendary-card {
    background: var(--card-bg);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 30%, rgba(255, 215, 0, 0.2) 50%, transparent 70%, transparent 100%);
    animation: rotateGlow 8s linear infinite;
    z-index: 0;
    pointer-events: none;
}

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

.legendary-card > * { position: relative; z-index: 2; }

/* Header Elements */
.header-section { text-align: center; margin-bottom: 25px; }
.power-icon {
    font-size: 55px;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 20px var(--gold-primary));
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px) scale(1.05); }
}

h1 {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--gold-light), var(--gold-primary), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    margin-bottom: 5px;
}

.subtitle { color: #b3b3b3; font-size: 14px; font-weight: 600; }

/* Feature Badges */
.premium-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}
.badge {
    background: linear-gradient(145deg, rgba(40,40,40,0.8), rgba(20,20,20,0.9));
    border: 1px solid rgba(255, 215, 0, 0.25);
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* Gentle Notice Box */
.notice-box {
    background: linear-gradient(270deg, rgba(255, 215, 0, 0.08), transparent);
    border-right: 4px solid var(--gold-primary);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.notice-icon { 
    font-size: 24px; 
    animation: gentlePulse 2.5s infinite ease-in-out; 
}
.notice-text { 
    font-size: 13px; 
    color: #e0e0e0; 
    line-height: 1.6; 
    text-align: right; 
}
.notice-text strong { 
    color: var(--gold-light); 
    display: block; 
    font-size: 14px; 
    margin-bottom: 3px;
    font-weight: 800;
}

/* وميض ذهبي ناعم وغير مزعج */
@keyframes gentlePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 8px var(--gold-primary)); }
}

/* Form Inputs */
.input-group { margin-bottom: 20px; text-align: right; }
label { display: block; font-size: 14px; font-weight: 800; color: #d4d4d4; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.input-wrapper:focus-within {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2), inset 0 2px 10px rgba(0,0,0,0.5);
}

.input-icon {
    padding: 0 15px;
    color: var(--gold-primary);
    font-size: 18px;
    border-left: 1px solid #333;
    background: #1a1a1a;
    height: 100%;
    display: flex;
    align-items: center;
}

input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    outline: none;
}
input::placeholder { color: #666; font-weight: 600; }

.range-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #777;
    padding: 0 5px;
    font-weight: 600;
}

/* Price Box */
.total-price-box {
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 15px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
}
.total-price-box::after {
    content: '';
    position: absolute;
    top: 0; right: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,215,0,0.15), transparent);
    animation: scanline 3s linear infinite;
}

@keyframes scanline { 100% { right: 200%; } }

.price-label { color: #ccc; font-size: 15px; font-weight: 800; }
.price-value { display: flex; align-items: baseline; gap: 6px; }
#totalPrice {
    font-size: 34px;
    font-weight: 900;
    color: var(--gold-primary);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}
.currency-badge {
    font-size: 13px;
    background: var(--gold-dark);
    color: #000;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 900;
}

/* The Legendary Button */
.btn-legendary {
    width: 100%;
    background: linear-gradient(45deg, #ff9100, #FFD700, #ff9100);
    background-size: 200% 200%;
    border: none;
    padding: 20px;
    border-radius: 14px;
    color: #111;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: btnGradient 3s ease infinite;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 145, 0, 0.5);
    letter-spacing: 1px;
}

@keyframes btnGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-glare {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.7), transparent);
    transform: skewX(-25deg);
    animation: glare 3s infinite;
}

@keyframes glare {
    0%, 50% { left: -100%; }
    100% { left: 200%; }
}

.btn-legendary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.7);
}

.btn-legendary:active { transform: translateY(1px) scale(0.98); }

.btn-legendary.loading {
    opacity: 0.8;
    pointer-events: none;
    animation: pulseLoading 1s infinite alternate;
}

@keyframes pulseLoading {
    from { transform: scale(1); }
    to { transform: scale(0.97); }
}

/* Footer & Error Msg */
.secure-checkout {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 18px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.error-msg {
    background: rgba(255, 51, 51, 0.15);
    color: var(--red-alert);
    border: 1px solid var(--red-alert);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.2);
}

/* --- القسم الجديد المضاف (منصة لايكات والتوثيقات) --- */
.footer-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.2), transparent);
    margin: 25px 0 15px 0;
}

.platform-footer {
    text-align: center;
    margin-top: 10px;
}

.footer-text {
    font-size: 13px;
    color: #b3b3b3;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-text strong {
    color: var(--gold-primary);
    font-weight: 800;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
}

.logo-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 6px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.logo-item:hover {
    border-color: rgba(255, 215, 0, 0.25);
    background: rgba(30, 30, 30, 0.8);
    transform: translateY(-2px);
}

.footer-logo {
    height: 28px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.logo-likat {
    height: 32px; /* لتتناسب أبعاد شعار لايكات مع باقي الشعارات */
}

.registration-num {
    font-size: 10px;
    color: #8c8c8c;
    font-weight: 700;
    white-space: nowrap;
}