/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    text-align: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Background Glowing Animation */
body::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #d4af37;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translate(-100px, -100px); }
    100% { transform: translate(100px, 100px); }
}

.container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

/* Branding & Text */
.brand h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.brand h1 span {
    color: #d4af37; /* Gold Accent Color */
}

.tagline {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 40px;
}

/* Timer Watch Styling */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
    min-width: 110px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.time-box span {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.time-box p {
    font-size: 0.85rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Subscription Form */
.subscribe-box form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-box input {
    width: 70%;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    outline: none;
    font-size: 0.95rem;
}

.subscribe-box button {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    background: #d4af37;
    color: #111;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-box button:hover {
    background: #f39c12;
}

.success-msg {
    margin-top: 15px;
    color: #2ecc71;
    font-size: 0.9rem;
}

/* Entry Animations */
.animated-fade {
    animation: fadeIn 1.5s ease-in-out forwards;
}

.animated-scale {
    animation: scaleUp 1.2s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .brand h1 { font-size: 2rem; }
    .time-box { min-width: 75px; padding: 12px; }
    .time-box span { font-size: 1.8rem; }
    .subscribe-box form { flex-direction: column; }
    .subscribe-box input { width: 100%; }
}