@import url('https://fonts.googleapis.com/css?family=Poiret+One|Source+Sans+Pro');

:root {
    --primary-color: #ff6b6b;
    --text-color: #ffffff;
    --background-color: #121212;
}

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

html,
body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Reduced from 0.7 */
    z-index: 1;
}

.main {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.contact {
    max-width: 800px;
    width: 100%;
}

.title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    font-family: 'Poiret One', cursive;
}

.sub-title {
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 2rem;
    font-weight: 300;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.countdown-item span {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: bold;
}

.countdown-item .label {
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: normal;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 107, 107, 0.1);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 107, 107, 0.2);
    box-shadow: 0 8px 32px -4px rgba(255, 107, 107, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn:hover::before {
    left: 100%;
}

/* Remove previous star classes and animations */
.stars, .stars2, .stars3 {
    display: none;
}

/* Add new star background */
body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: transparent;
}

body::before {
    background-image: 
        radial-gradient(1.2px 1.2px at 25% 25%, rgba(255, 255, 255, 0.95) 1px, transparent 0),
        radial-gradient(1.2px 1.2px at 50% 50%, rgba(255, 255, 255, 0.95) 1px, transparent 0),
        radial-gradient(1.2px 1.2px at 75% 75%, rgba(255, 255, 255, 0.95) 1px, transparent 0),
        radial-gradient(2.2px 2.2px at 10% 90%, rgba(255, 255, 255, 0.95) 1px, transparent 0),
        radial-gradient(2.2px 2.2px at 90% 10%, rgba(255, 255, 255, 0.95) 1px, transparent 0);
    background-size: 250px 250px;
    animation: stars 100s linear infinite;
    opacity: 0.7; /* Increased from 0.5 */
}

body::after {
    background-image: 
        radial-gradient(1.2px 1.2px at 10% 10%, rgba(255, 255, 255, 0.95) 1px, transparent 0),
        radial-gradient(1.2px 1.2px at 40% 60%, rgba(255, 255, 255, 0.95) 1px, transparent 0),
        radial-gradient(1.7px 1.7px at 60% 30%, rgba(255, 255, 255, 0.95) 1px, transparent 0),
        radial-gradient(1.7px 1.7px at 85% 85%, rgba(255, 255, 255, 0.95) 1px, transparent 0);
    background-size: 200px 200px;
    animation: stars 50s linear infinite;
    opacity: 0.6; /* Increased from 0.4 */
}

@keyframes stars {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

@media (max-width: 600px) {
    .countdown-item {
        min-width: 70px;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
}
