/* ========================================
   بيلانسيا - صفحة تحت الإنشاء
   Belansia - Under Construction Page
   ======================================== */

/* --- CSS Variables & Root --- */
:root {
    --deep-black: #0a0a0a;
    --rich-black: #1a1a1a;
    --charcoal: #3A3A3A;
    --gold-primary: #C8A84E;
    --gold-light: #D4B96A;
    --gold-dark: #A88B3D;
    --gold-shimmer: #E8D5A0;
    --warm-ivory: #F8F4EA;
    --sand: #D9C6A6;
    --light-beige: #EDE4D6;
    --white: #ffffff;
    --font-arabic: 'Cairo', 'Tajawal', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-arabic);
    background: var(--deep-black);
    color: var(--warm-ivory);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* --- Animated Background Particles --- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

/* --- Decorative Lines --- */
.deco-line {
    position: fixed;
    height: 1px;
    width: 100%;
    z-index: 1;
    background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 20%, var(--gold-shimmer) 50%, var(--gold-primary) 80%, transparent 100%);
    opacity: 0.3;
}

.deco-line-top {
    top: 0;
    animation: shimmerLine 4s ease-in-out infinite;
}

.deco-line-bottom {
    bottom: 0;
    animation: shimmerLine 4s ease-in-out infinite 2s;
}

@keyframes shimmerLine {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* --- Background Radial Glow --- */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(200, 168, 78, 0.06) 0%, rgba(200, 168, 78, 0.02) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* --- Subtle Pattern Overlay --- */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(200, 168, 78, 0.015) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(200, 168, 78, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* --- Main Container --- */
.main-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    max-width: 800px;
    width: 100%;
    min-height: 100vh;
}

/* --- Logo Section --- */
.logo-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 168, 78, 0.1) 0%, rgba(200, 168, 78, 0.03) 50%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.logo {
    width: 280px;
    max-width: 70vw;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(200, 168, 78, 0.15));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 60px rgba(200, 168, 78, 0.25));
}

/* --- Ornamental Divider --- */
.ornamental-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    animation: fadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.divider-line {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.divider-diamond {
    display: block;
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    transform: rotate(45deg);
    flex-shrink: 0;
    animation: rotateDiamond 6s linear infinite;
}

@keyframes rotateDiamond {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

/* --- Text Section --- */
.text-section {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.main-title {
    font-family: var(--font-arabic);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--warm-ivory);
    letter-spacing: 2px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--warm-ivory) 0%, var(--gold-light) 50%, var(--warm-ivory) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.sub-title {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: 300;
    color: var(--gold-primary);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.description {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 300;
    color: var(--sand);
    line-height: 2;
    max-width: 560px;
    margin: 0 auto;
}

/* --- Countdown Section --- */
.countdown-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(65px, 14vw, 90px);
    height: clamp(70px, 14vw, 95px);
    background: linear-gradient(145deg, rgba(200, 168, 78, 0.08), rgba(200, 168, 78, 0.02));
    border: 1px solid rgba(200, 168, 78, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.countdown-item:hover {
    border-color: rgba(200, 168, 78, 0.4);
    transform: translateY(-4px);
}

.countdown-number {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    direction: ltr;
}

.countdown-label {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-weight: 400;
    color: var(--sand);
    margin-top: 6px;
}

.countdown-separator {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--gold-primary);
    opacity: 0.5;
    animation: blink 1.5s ease-in-out infinite;
    padding-bottom: 20px;
}

@keyframes blink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.1; }
}

/* --- Notify Section --- */
.notify-section {
    text-align: center;
    margin-bottom: 24px;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.9s;
    opacity: 0;
    width: 100%;
    max-width: 520px;
}

.notify-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--sand);
    margin-bottom: 16px;
}

.notify-form {
    display: flex;
    gap: 0;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(200, 168, 78, 0.2);
    background: rgba(200, 168, 78, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notify-form:focus-within {
    border-color: rgba(200, 168, 78, 0.5);
    box-shadow: 0 0 30px rgba(200, 168, 78, 0.08);
}

.notify-input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    color: var(--warm-ivory);
    direction: rtl;
}

.notify-input::placeholder {
    color: rgba(217, 198, 166, 0.5);
}

.notify-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--deep-black);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.notify-btn:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    transform: scale(1.02);
}

.notify-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    display: flex;
    align-items: center;
    transform: scaleX(-1);
}

.notify-success {
    display: none;
    margin-top: 16px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    color: var(--gold-light);
    animation: fadeIn 0.5s ease-in-out;
}

.notify-success.show {
    display: block;
}

/* --- Contact Section --- */
.contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.1s;
    opacity: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    color: var(--sand);
    transition: color 0.3s ease;
    direction: ltr;
}

.contact-item:hover {
    color: var(--gold-light);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
    flex-shrink: 0;
}

/* --- Social Section --- */
.social-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.3s;
    opacity: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(200, 168, 78, 0.2);
    background: rgba(200, 168, 78, 0.04);
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
    background: rgba(200, 168, 78, 0.15);
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(200, 168, 78, 0.15);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    width: 100%;
    animation: fadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

.footer p {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(217, 198, 166, 0.4);
    letter-spacing: 1px;
}

/* --- Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .main-container {
        padding: 32px 20px;
    }

    .logo {
        width: 260px;
    }

    .logo-glow {
        width: 280px;
        height: 280px;
    }

    .countdown-section {
        gap: 6px;
    }

    .contact-section {
        flex-direction: column;
        gap: 16px;
    }

    .notify-form {
        flex-direction: column;
        border-radius: 14px;
    }

    .notify-btn {
        justify-content: center;
        border-radius: 0 0 13px 13px;
    }

    .divider-line {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 220px;
    }

    .logo-glow {
        width: 240px;
        height: 240px;
    }

    .countdown-item {
        width: 62px;
        height: 74px;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--deep-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* --- Selection --- */
::selection {
    background: rgba(200, 168, 78, 0.3);
    color: var(--warm-ivory);
}
