body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0B0F1A;
    color: #E6E6E6;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh; /* مهم جدًا */
    overflow-y: auto;  /* يسمح بالسكرول عند الحاجة فقط */
    overflow-x: hidden;

    text-align: center;

}

.container {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 600px) {
    .logo {
        transform: scale(1.3);
    }

    h1 {
        font-size: 40px;
    }
}

/* Loader */
.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0B0F1A;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 999;
    transition: 0.5s;
}

/* Particles */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 2;
}

/* Logo */
.logo {
    width: 160px;
    transform: scale(1.8);
    filter: drop-shadow(0 0 25px rgba(30,144,255,0.6));
    margin-bottom: 10px;
}

/* Title */
h1 {
    font-size: 55px;
    margin: 0;
}

h1 span {
    color: #1E90FF;
}

/* Tagline */
.tag {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 20px;
}

/* Countdown */
#countdown {
    margin: 20px 0;
    font-size: 22px;
    color: #1E90FF;
    font-weight: bold;
}

/* Typing */
#typing {
    font-size: 18px;
    color: #AAB3C5;
    min-height: 25px;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(45deg, #25D366, #1E90FF);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn i {
    font-size: 18px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(30,144,255,0.5);
}

/* Footer */
.footer {
    margin-top: 30px;
    font-size: 14px;
    color: #666;
}

/* Mode Button */
.mode-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #1E90FF;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
}

/* Light Mode */
.light-mode {
    background: #ffffff;
    color: #111;
}

.light-mode .tag {
    color: #000;
}

.light-mode p {
    color: #333;
}

.light-mode #countdown {
    color: #007BFF;
}

.light-mode .btn {
    background: #007BFF;
}

.light-mode .loader {
    background: #ffffff;
}