:root {
    --primary-color: #0a0a0a;
    --secondary-color: #151515;
    --accent-color: #f7c873; /* Gold */
    --text-color: #ffffff;
    --highlight-color: #ff4781; /* Pink */
    --highlight-secondary: #00e5ff; /* Cyan */
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --transition-time: 0.3s;
}

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

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1e1e1e 100%);
    padding: 20px 0;
}

/* خلفية متحركة */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 71, 129, 0.15), transparent 50%),
                radial-gradient(circle at bottom left, rgba(0, 229, 255, 0.15), transparent 50%);
    z-index: -1;
}

/* Main Container */
.container {
    width: 90%;
    max-width: 1200px;
    text-align: center;
    padding: 2.5rem;
    background-color: rgba(21, 21, 21, 0.7);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(247, 200, 115, 0.2);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(247, 200, 115, 0.05), rgba(255, 71, 129, 0.05));
    z-index: -1;
}

/* Logo */
.logo {
    margin-bottom: 3rem;
    position: relative;
    padding: 1rem 0 2rem;
}

.logo::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 200, 115, 0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

.logo h1 {
    font-size: 6rem;
    letter-spacing: 3px;
    background: linear-gradient(120deg, var(--accent-color), var(--highlight-color) 45%, var(--highlight-secondary) 75%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(247, 200, 115, 0.3);
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    max-width: 100%;
}

.logo h1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--highlight-color), var(--highlight-secondary));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
}

.tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    letter-spacing: 2px;
    font-weight: 300;
    text-transform: uppercase;
}

/* Coming Soon Section */
.coming-soon {
    margin-bottom: 3rem;
    position: relative;
}

.coming-soon h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--highlight-secondary);
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 2px;
}

.coming-soon h2::before, .coming-soon h2::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--highlight-color);
    top: 50%;
    transform: translateY(-50%);
}

.coming-soon h2::before {
    left: -45px;
}

.coming-soon h2::after {
    right: -45px;
}

.coming-soon p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.6;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
    gap: 20px;
}

.countdown-item {
    text-align: center;
    width: 120px;
    height: 120px;
    padding: 1.5rem 1rem;
    background: rgba(21, 21, 21, 0.7);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(247, 200, 115, 0.1);
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(247, 200, 115, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.countdown-item:hover {
    transform: translateY(-10px) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(247, 200, 115, 0.3);
}

.countdown-item:hover::before {
    opacity: 1;
}

.countdown-item span {
    display: block;
    position: relative;
    z-index: 2;
}

.countdown-item span:first-child {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 5px;
}

.countdown-item .label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

/* النشرة الإخبارية */
.newsletter {
    margin: 2.5rem 0;
}

.newsletter p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

form {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

input[type="email"] {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    min-width: 300px;
    margin-right: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color var(--transition-time), box-shadow var(--transition-time);
}

input[type="email"]:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

button {
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--highlight-color), var(--highlight-secondary));
    color: white;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 1px;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
    transition: all 0.4s ease;
    z-index: -1;
}

button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 71, 129, 0.4);
}

button:hover::before {
    width: 100%;
}

button:active {
    transform: translateY(0);
}


.success-message {
    color: var(--success-color);
    margin-top: 1rem;
    font-weight: 500;
    display: none;
}

/* مؤشر التحميل */
.loading-indicator {
    display: none;
    margin: 1rem auto;
    text-align: center;
}

.spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* تنسيق رسالة الخطأ */
.error-message {
    color: var(--error-color);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* أيقونات التواصل الاجتماعي */
.social-icons {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all var(--transition-time);
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Contact Info */
.contact-info {
    margin-top: 3rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    position: relative;
    border-top: 1px solid rgba(247, 200, 115, 0.1);
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    padding-bottom: 2px;
}

.contact-info a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

.contact-info a:hover {
    color: var(--highlight-color);
    text-decoration: underline;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .coming-soon h2 {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 80px;
        margin: 0 0.5rem 1rem;
        padding: 0.7rem;
    }
    
    .countdown-item span:first-child {
        font-size: 1.8rem;
    }
    
    input[type="email"] {
        min-width: 100%;
        margin-right: 0;
    }
    
    .container {
        width: 95%;
        padding: 1.5rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        margin: 10px;
        padding: 1.2rem;
        border-radius: 10px;
    }
    
    .logo h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .coming-soon h2 {
        font-size: 1.5rem;
    }
    
    .coming-soon p {
        font-size: 1rem;
    }
    
    .countdown {
        margin: 1.5rem 0;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 0.6rem;
        margin: 0 0.3rem 0.6rem;
    }
    
    .countdown-item span:first-child {
        font-size: 1.3rem;
    }
    
    .countdown-item .label {
        font-size: 0.8rem;
    }
    
    .newsletter p {
        font-size: 0.9rem;
    }
    
    input[type="email"] {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .contact-info {
        font-size: 0.8rem;
    }
}

/* تحسين للأجهزة الصغيرة جداً */
@media (max-width: 320px) {
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .countdown-item {
        min-width: 55px;
        padding: 0.5rem;
        margin: 0 0.2rem 0.5rem;
    }
    
    .countdown-item span:first-child {
        font-size: 1.2rem;
    }
    
    .countdown-item .label {
        font-size: 0.7rem;
    }
}

/* تحسين الرؤية للمحتوى على الأجهزة المحمولة */
@media (max-height: 600px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .coming-soon {
        margin-bottom: 1rem;
    }
    
    .countdown {
        margin: 1rem 0;
    }
    
    .newsletter {
        margin: 1rem 0;
    }
}

/* تأثيرات حركية */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.logo h1 {
    animation: float 6s ease-in-out infinite;
}

/* التصميم المتجاوب للشاشات المختلفة */
@media only screen and (max-width: 1200px) {
    .logo h1 {
        font-size: 5rem;
    }
    
    .countdown-item {
        width: 110px;
        height: 110px;
    }
    
    .coming-soon h2 {
        font-size: 2.8rem;
    }
}

@media only screen and (max-width: 991px) {
    .coming-soon h2::before {
        left: -35px;
    }
    
    .coming-soon h2::after {
        right: -35px;
    }
    
    .countdown-item {
        width: 100px;
        height: 100px;
    }
    
    .countdown-item span:first-child {
        font-size: 2.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .logo h1 {
        font-size: 4rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .coming-soon h2 {
        font-size: 2.4rem;
    }
    
    .coming-soon h2::before {
        left: -30px;
        width: 20px;
    }
    
    .coming-soon h2::after {
        right: -30px;
        width: 20px;
    }
    
    .coming-soon p {
        font-size: 1.1rem;
        max-width: 90%;
    }
    
    .countdown-item {
        width: 90px;
        height: 90px;
        padding: 1rem;
        border-radius: 20px;
    }
    
    .countdown-item:hover {
        transform: translateY(-7px) rotate(3deg);
    }
    
    input[type="email"] {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    button {
        width: 100%;
    }
    
    form {
        flex-direction: column;
        width: 100%;
    }
}

@media only screen and (max-width: 575px) {
    .container {
        width: 95%;
        padding: 2rem 1.5rem;
    }
    
    .logo h1 {
        font-size: 3.2rem;
    }
    
    .logo::before {
        width: 120px;
        height: 120px;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .coming-soon h2 {
        font-size: 2rem;
    }
    
    .coming-soon h2::before, 
    .coming-soon h2::after {
        display: none;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        width: 70px;
        height: 70px;
        padding: 0.7rem;
    }
    
    .countdown-item span:first-child {
        font-size: 1.8rem;
    }
    
    .countdown-item .label {
        font-size: 0.8rem;
    }
    
    .social-icons .social-icon {
        width: 40px;
        height: 40px;
        margin: 0 5px;
        font-size: 1.2rem;
    }
    
    .newsletter p {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 375px) {
    body {
        padding: 10px 0;
    }
    
    .container {
        padding: 1.5rem 1rem;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .logo::before {
        width: 100px;
        height: 100px;
    }
    
    .countdown-item {
        width: 60px;
        height: 60px;
        padding: 0.5rem;
    }
    
    .countdown-item span:first-child {
        font-size: 1.5rem;
    }
    
    .countdown-item .label {
        font-size: 0.7rem;
    }
}
