/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #c0392b;
    --accent-color: #34495e;
    --background-color: #ecf0f1;
    --text-color: #2c3e50;
    --light-color: #bdc3c7;
    --gradient-start: #2c3e50;
    --gradient-end: #3498db;
}

html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    background-size: cover;
    background-position: center;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: clamp(10px, 2vw, 20px);
    padding: clamp(0.8rem, 2vh, 1.5rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: min(95%, 1200px);
    min-height: min(92vh, 900px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(0.3rem, 1vh, 0.8rem);
    overflow-y: auto;
}

.content:hover {
    transform: translateY(-5px);
}

/* Logo */
.logo {
    width: min(40%, 160px);
    margin: 0 auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Typography */
h1 {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.under-construction {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: clamp(0.3rem, 1vh, 0.8rem) 0;
}

.under-construction span {
    color: var(--secondary-color);
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 700;
    margin: 0 clamp(0.5rem, 1vw, 1rem);
}

.line {
    height: 2px;
    background-color: var(--secondary-color);
    flex-grow: 1;
    max-width: min(80px, 15vw);
}

.message {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: var(--accent-color);
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin: 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: clamp(8px, 1.5vw, 15px);
    padding: clamp(0.5rem, 1.5vh, 1.2rem);
    min-width: clamp(60px, 15vw, 100px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

@keyframes pulse-countdown {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.countdown-item.pulse span:first-child {
    animation: pulse-countdown 0.5s ease-in-out;
}

.countdown-item span:first-child {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
}

.countdown-item .label {
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-size: clamp(0.8rem, 1.8vw, 1rem);
}

.contact-item i {
    font-size: 1.2rem;
}

/* Social Media */
.social-media {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(360deg);
    border-color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Newsletter */
.newsletter {
    margin: 2.5rem 0 1rem;
}

.newsletter h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-color);
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

#newsletter-form input:focus {
    border-color: var(--accent-color);
}

#newsletter-form button {
    background: linear-gradient(145deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#newsletter-form button:hover {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: clamp(0.3rem, 1vh, 0.8rem);
    font-size: clamp(0.6rem, 1.2vw, 0.8rem);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .content {
        padding: 0.8rem;
        gap: 0.5rem;
        height: auto;
        min-height: auto;
        max-height: 85vh;
    }

    .logo {
        width: min(35%, 120px);
    }

    h1 {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-bottom: 0.3rem;
    }

    .under-construction span {
        font-size: clamp(0.9rem, 4vw, 1.4rem);
    }

    .message {
        font-size: clamp(0.8rem, 3.5vw, 1rem);
        margin: 0.5rem 0;
    }

    .countdown {
        gap: 0.5rem;
        margin: 0.5rem 0;
    }

    .countdown-item {
        min-width: clamp(50px, 20vw, 80px);
        padding: 0.5rem;
    }

    .countdown-item span:first-child {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .countdown-item .label {
        font-size: clamp(0.7rem, 3vw, 0.9rem);
    }

    .contact-info {
        gap: 0.8rem;
        margin: 0.5rem 0;
    }

    .contact-item {
        font-size: clamp(0.75rem, 3.5vw, 0.9rem);
    }

    footer {
        padding: 0.4rem;
        font-size: clamp(0.6rem, 2.5vw, 0.8rem);
    }
}

@media screen and (max-width: 768px) {
    .content {
        padding: 2rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .under-construction span {
        font-size: 1.4rem;
    }
    
    .message {
        font-size: 1.1rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }

    .content {
        padding: 0.6rem;
        gap: 0.4rem;
    }

    .logo {
        width: min(30%, 100px);
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-item {
        justify-content: center;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 50px;
    }

    #newsletter-form {
        flex-direction: column;
    }

    #newsletter-form button {
        width: 100%;
        margin-top: 0.5rem;
    }
}
