* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    transition: background-position 0.5s ease-out, background-size 0.5s ease-out;
    will-change: background-position, background-size;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 40px;
    position: relative;
}

main {
    text-align: center;
    padding: 20px 0;
}

.coming-soon {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.7);
    color: #4CAF50;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
    position: relative;
    top: -15px;
    border: 1px solid rgba(76, 175, 80, 0.5);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

h1 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: -0.03em;
    min-height: 8rem;
}

.line-container {
    margin-bottom: 0.8rem;
    text-align: center;
    width: 100%;
}

.line-container:first-child {
    white-space: nowrap;
    display: flex;
    justify-content: center;
}

.typewriter-text {
    position: relative;
    display: inline-block;
    height: 100%;
}

.typewriter-text.before-typing::after {
    display: none;
}

.typewriter-text::after {
    content: '|';
    position: absolute;
    right: -8px;
    animation: blink 0.7s infinite;
}

.typewriter-text.typing::after {
    display: none;
}

.typewriter-text.completed::after {
    display: none;
}

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

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-out;
}

.char.space {
    margin-right: 0.25em;
}

.char.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.signup-form {
    display: flex;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

input[type="email"] {
    flex: 1;
    padding: 18px 24px;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

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

button {
    padding: 18px 28px;
    background-color: #45494d;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

button:hover {
    background-color: #2f3235;
}

button:disabled {
    background-color: #2a2c2e;
    cursor: not-allowed;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .signup-form {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .coming-soon {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        background-size: 250% auto;
        background-position: center center;
        background-attachment: fixed;
        min-height: 100vh;
        height: 100%;
        overflow: hidden;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    
    html {
        height: 100%;
        width: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    
    .container {
        padding: 15px;
        width: 100%;
        min-height: unset;
        box-sizing: border-box;
        overflow-y: hidden;
    }
    
    h1 {
        font-size: 2.3rem;
        min-height: unset;
        margin-bottom: 0.8rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: visible;
        text-align: center;
    }
    
    h2 {
        font-size: 0.5rem;
        margin-bottom: 1.2rem;
        text-align: center;
        white-space: nowrap;
    }
    
    .coming-soon {
        font-size: 0.92rem;
        padding: 6px 14px;
        margin-bottom: 0.8rem;
    }
    
    .line-container {
        margin-bottom: 0.3rem;
        white-space: nowrap;
    }
    
    .line-container:first-child,
    .line-container {
        white-space: nowrap;
        display: block;
        overflow: visible;
        word-wrap: normal;
        word-break: normal;
        text-align: center;
    }
    
    .signup-form {
        flex-direction: column;
        max-width: 100%;
        width: 90%;
        margin: 0 auto;
    }
    
    .signup-form input[type="email"] {
        padding: 12px 15px;
        width: 100%;
        box-sizing: border-box;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .signup-form button {
        padding: 12px 15px;
        font-size: 0.85rem;
        width: 100%;
    }
    
    .typewriter-text {
        display: inline;
        width: auto;
        white-space: nowrap;
        overflow: visible;
    }
    
    .typewriter-text::after {
        position: relative;
        display: inline-block;
        margin-left: 2px;
        right: auto;
    }
    
    .char.space {
        margin-right: 0.2em;
        display: inline-block;
    }
    
    .char {
        display: inline-block;
        white-space: nowrap;
        font-size: 0.98em;
    }
}

/* Add initial opacity 0 to elements we want to fade in later */
.coming-soon, h2, .signup-form {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.coming-soon.visible, h2.visible, .signup-form.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Notification Component */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 0;
    z-index: 1000;
    transition: transform 0.4s ease-in-out;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    width: auto;
    max-width: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.notification-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 25px;
    text-align: center;
}

.notification.success {
    border: 2px solid #4CAF50;
}

.notification.error {
    border: 2px solid #F44336;
}

#notification-message {
    text-align: center;
    margin: 0;
    width: 100%;
}

/* Remove or comment out the close button styles */
/*
#notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 5px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#notification-close:hover {
    color: #ccc;
}
*/

@media (max-width: 480px) {
    .notification {
        max-width: 85%;
        top: 15px;
    }
    
    .notification-content {
        padding: 12px 20px;
    }
    
    #notification-message {
        font-size: 0.9rem;
    }
} 