* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --dark-color: #121212;
    --light-color: #ffffff;
    --accent-color: #7b2cbf;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

#space-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #000;
}

.particles-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 10; /* Increased z-index to ensure content appears above background elements */
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* You might also need to add a semi-transparent background to text elements */
.countdown-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 8px;
}

.logo img {
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

header {
    padding: 1rem 0;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo styling */
.logo {
    text-align: center;
    padding: 1rem 0;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    margin: 0;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 30px rgba(255, 0, 255, 0.5);
    }
}

.logo h1 span {
    font-weight: 700;
    }

.logo h1::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--secondary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo h1:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.7), 0 0 30px rgba(255, 0, 255, 0.5);
    letter-spacing: 3px;
}

.logo h1:hover::before {
    opacity: 0.3;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.logo h1 span {
    font-weight: 700;
    position: relative;
}

/* Remove the logo-small class */
.logo-small {
    display: none;
}

.logo-small {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 120px;
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

@media (max-width: 768px) {
    .logo-small {
        width: 40px;
        height: 40px;
    }
}

.logo h1 span {
    font-weight: 700;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .container {
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .logo h1 {
        font-size: 2.2rem;
    }
    
    .countdown-container {
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    .countdown-container {
        gap: 1rem;
    }
    
    .countdown-box {
        min-width: 60px;
    }
    
    .countdown-box div {
        font-size: 2rem;
    }
    
    .content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .countdown-container {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-box {
        min-width: 80px;
        margin-bottom: 0.5rem;
    }
    
    .countdown-box div {
        font-size: 1.5rem;
    }
    
    form {
        flex-direction: column;
    }
    
    input[type="email"] {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    button {
        border-radius: 4px;
        width: 100%;
    }
    
    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 400px) {
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .content {
        padding: 1rem;
    }
}
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content {
    max-width: 800px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-box div {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.countdown-box span {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
    color: var(--light-color);
}

.description {
    margin: 2rem 0;
    line-height: 1.6;
}

.subscribe {
    margin: 2rem 0;
}

.subscribe h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

input[type="email"] {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Poppins', sans-serif;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 20px;
}

footer {
    padding: 2rem 0 1rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    transform: translateY(-3px);
}

footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}