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

body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

.container {
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('cm-logo.jpg');
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.content {
    text-align: center;
    z-index: 2;
    max-width: 1000px;
    background: rgba(0, 0, 0, 0.2);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.logo-container {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 1s forwards;
}

.logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.combined-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 1s forwards 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.combined-title {
    font-family: 'Noto Naskh Arabic', 'Noto Serif', serif;
    font-weight: 400;
    letter-spacing: 1px;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 1s forwards 0.4s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
}

.coming-soon-wrapper {
    margin: 2rem 0;
}

.coming-soon {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    display: inline-block;
    padding: 0.5rem 2rem;
}

.coming-soon::before,
.coming-soon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.coming-soon::before {
    left: -15px;
    transform: translateX(-100%);
}

.coming-soon::after {
    right: -15px;
    transform: translateX(100%);
}

.social-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
}

.coming-soon-text span:nth-child(1) { animation-delay: 0.1s; }
.coming-soon-text span:nth-child(2) { animation-delay: 0.2s; }
.coming-soon-text span:nth-child(3) { animation-delay: 0.3s; }
.coming-soon-text span:nth-child(4) { animation-delay: 0.4s; }
.coming-soon-text span:nth-child(5) { animation-delay: 0.5s; }
.coming-soon-text span:nth-child(6) { animation-delay: 0.6s; }
.coming-soon-text span:nth-child(8) { animation-delay: 0.8s; }
.coming-soon-text span:nth-child(9) { animation-delay: 0.9s; }
.coming-soon-text span:nth-child(10) { animation-delay: 1s; }
.coming-soon-text span:nth-child(11) { animation-delay: 1.1s; }

.space {
    display: inline-block;
    width: 0.5em;
}



.social-links {
    margin-top: 1.5rem;
    position: relative;
    padding-top: 1rem;
}

.social-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.social-icon {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0.8rem;
    opacity: 0.9;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.floating-threads {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.thread {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #eee, transparent);
    animation: float-thread 15s infinite linear;
}

.thread:nth-child(1) { left: 10%; animation-delay: 0s; }
.thread:nth-child(2) { left: 30%; animation-delay: -3s; }
.thread:nth-child(3) { left: 50%; animation-delay: -6s; }
.thread:nth-child(4) { left: 70%; animation-delay: -9s; }
.thread:nth-child(5) { left: 90%; animation-delay: -12s; }

/* Animations */
@keyframes float {
    0% { transform: translateY(0) rotate(0); }
    25% { transform: translateY(-10px) rotate(-2deg); }
    75% { transform: translateY(10px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0); }
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

@keyframes float-thread {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .combined-title {
        font-size: 2rem;
    }
    
    .coming-soon-text {
        font-size: 1.5rem;
        letter-spacing: 6px;
    }
    
    .content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .combined-title {
        font-size: 1.8rem;
    }
    
    .coming-soon-text {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 1rem;
    }
    
    .subscribe-form {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .subscribe-form button {
        width: 100%;
    }
}
