/* --- CSS Reset & Global Styling --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
   /** background-color: #121212; /* Fallback color */
	background-color: #ee4d2d; /* Warna utama Shopee */
  background-image: linear-gradient(135deg, #ff7b00 0%, #ee4d2d 100%);
    /**background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);**/
    overflow-x: hidden;
}

/* --- Main Container --- */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

/* --- Header & Logo --- */
.logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- Main Content --- */
.content {
    max-width: 700px;
    width: 100%;
}

.content h2 {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.content .subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* --- Countdown Timer --- */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.time-block {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.time-block span {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
}

.time-block small {
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.launched-message {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem;
    background: #f9ca24;
    color: #333;
    border-radius: 8px;
}

/* --- Notify Me Section & Form --- */
.notify-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.notify-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.notify-section p {
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.subscribe-form input[type="email"] {
    width: 100%;
    max-width: 350px;
    padding: 0.9rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.subscribe-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
}

.subscribe-form button {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    border: none;
    background-color: #f9ca24; /* A vibrant call-to-action color */
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #f6e58d;
}

/* --- Footer --- */
footer {
    position: absolute;
    bottom: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .content h2 {
        font-size: 2.2rem;
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form input[type="email"] {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .subscribe-form button {
        width: 100%;
    }

    .countdown {
        gap: 0.5rem;
    }

    .time-block {
        padding: 0.8rem;
        min-width: 70px;
    }

    .time-block span {
        font-size: 2rem;
    }
}

/* --- Styling untuk Pesan Status/Notifikasi --- */
.status-msg {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 400;
    border: 1px solid transparent;
}

.status-msg.success {
    background-color: rgba(46, 213, 115, 0.2);
    border-color: #2ed573;
    color: #ffffff;
}

.status-msg.notice {
    background-color: rgba(255, 165, 2, 0.2);
    border-color: #ffa502;
    color: #ffffff;
}

.status-msg.error {
    background-color: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
    color: #ffffff;
}
