:root {
    --primary-color: #1a1a1a;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #ffffff;
    --light-color: #fff;
}

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(-45deg, #000000, #1a1a1a, #2c3e50, #2980b9);
    background-size: 400% 400%;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    animation: gradientShift 15s ease infinite;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

header {
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.main-logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
    animation: floatAnimation 3s ease-in-out infinite;
}

.main-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    animation: glowPulse 2s infinite;
}

main {
    margin-bottom: 2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

h2::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: #3498db;
    right: -10px;
    top: 0;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 150px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: borderGlow 4s infinite;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.countdown-separator {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.countdown-item span {
    display: block;
}

.countdown-item span:first-child {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(-45deg, #3498db, #2ecc71, #3498db);
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.notification-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
}

.notification-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.input-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.1);
    animation: borderGlow 4s infinite;
}

input[type="email"] {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 25px;
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transition: all 0.3s ease;
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input[type="email"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

button {
    padding: 1rem 2rem;
    background: linear-gradient(-45deg, #3498db, #2ecc71);
    background-size: 200% 200%;
    color: var(--light-color);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

button:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

button i {
    transition: transform 0.3s ease;
}

button:hover i {
    transform: translateX(5px);
}

button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1)
    );
    transform: rotate(45deg);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-link {
    color: var(--light-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

footer {
    margin-top: 2rem;
    padding-bottom: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.address {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    header {
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }

    .main-logo {
        max-width: 180px;
    }

    h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .countdown-container {
        gap: 0.3rem;
        margin: 1.5rem 0;
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .countdown-item {
        min-width: auto;
        width: 20%;
        padding: 0.6rem;
        border-radius: 8px;
    }

    .countdown-separator {
        font-size: 1.2rem;
        padding: 0;
        align-self: center;
        width: 5%;
    }

    .countdown-item span:first-child {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }

    .label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .notification-form {
        padding: 1rem;
    }

    .notification-form h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    footer {
        margin-top: 1.5rem;
    }
}

/* Add iPhone-specific media query */
@media only screen 
    and (max-width: 430px) {
    
    .countdown-container {
        gap: 0.2rem;
    }

    .countdown-item {
        padding: 0.5rem 0.3rem;
    }

    .countdown-item span:first-child {
        font-size: 1.2rem;
    }

    .label {
        font-size: 0.6rem;
    }

    .countdown-separator {
        font-size: 1rem;
    }
}

/* Extra small screens */
@media only screen 
    and (max-width: 360px) {
    
    .countdown-container {
        gap: 0.15rem;
    }

    .countdown-item {
        padding: 0.4rem 0.2rem;
    }

    .countdown-item span:first-child {
        font-size: 1.1rem;
    }

    .label {
        font-size: 0.55rem;
    }

    .countdown-separator {
        font-size: 0.9rem;
    }
}

/* Add smooth scrolling and better touch handling */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-overflow-scrolling: touch;
    }

    input, button {
        -webkit-tap-highlight-color: transparent;
    }

    .countdown-item:active {
        transform: scale(0.98);
    }

    button:active {
        transform: scale(0.98);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

@keyframes glowPulse {
    0% { filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(52, 152, 219, 0.8)); }
    100% { filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5)); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
    0% { border-color: rgba(52, 152, 219, 0.3); }
    50% { border-color: rgba(46, 204, 113, 0.6); }
    100% { border-color: rgba(52, 152, 219, 0.3); }
}

/* Add a futuristic line effect */
.line-effect {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.5), transparent);
    animation: lineScan 3s linear infinite;
    top: 0;
    left: 0;
}

@keyframes lineScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Add scanning line effect to the container */
.container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(52, 152, 219, 0.2),
        rgba(46, 204, 113, 0.2),
        transparent
    );
    top: 0;
    left: 0;
    animation: scanLine 4s linear infinite;
}

@keyframes scanLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
} 