/* استدعاء خطوط حديثة تناسب الهوية الشخصية */
@import url('https://googleapis.com');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #0b0f19; /* لون داكن عميق وعصري */
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* خلفية الأكواد التفاعلية */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.12;
    font-family: 'Fira Code', monospace;
    overflow: hidden;
    user-select: none;
}

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    padding: 30px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* الشعار الشخصي */
.logo {
    font-family: 'Fira Code', monospace;
    font-size: 2.2rem;
    font-weight: 600;
    color: #6366f1; /* لون بنفسجي نيون */
    margin-bottom: 25px;
    display: inline-block;
    direction: ltr; /* لضمان ظهور الترتيب البرمجي للشعار بشكل صحيح */
}

.code-bracket {
    color: #38bdf8; /* أزرق سماوي مضيء */
    animation: pulse 1.5s infinite alternate;
}

/* أنيميشن تأثير الكتابة الآلية للعنوان */
.typing-text {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
    border-left: 3px solid #38bdf8;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    margin-left: auto;
    margin-right: auto;
    animation: typing 3s steps(30) forwards, blink 0.75s step-end infinite;
}

.description {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 40px;
}

.description strong {
    color: #38bdf8;
}

/* العداد التنازلي */
.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.time-box {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 16px;
    min-width: 95px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.time-box:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
}

.time-box span {
    font-family: 'Fira Code', monospace;
    font-size: 2.2rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
}

.time-box p {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 5px;
}

/* نموذج الاشتراك المتناسق */
.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 30px auto;
}

.subscribe-form input {
    flex: 1;
    background: #0f172a;
    border: 1px solid #334155;
    padding: 14px 20px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.subscribe-form input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.subscribe-form button {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.subscribe-form button:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

/* تذييل الصفحة بالدومين الخاص بك */
.domain-footer {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: #475569;
    letter-spacing: 0.5px;
    margin-top: 20px;
}

/* خطوط متحركة وتأثيرات البصر */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #38bdf8 }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.08); opacity: 1; }
}
