@font-face {
    font-family: 'Asimovian';
    src: url('media/Asimovian-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: white;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

.join-waitlist-btn:focus,
.submit-btn:focus,
.success-content button:focus,
.close:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

.checkbox-group a:focus {
    outline: 2px solid #005fcc;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: black;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 2px #005fcc;
}

#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#particle-container.loaded {
    opacity: 1;
}

.easter-egg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    filter: blur(5px) brightness(0.2);
}

.easter-egg-video.active {
    opacity: 1;
}

.main-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.logo svg {
    width: 100%;
    height: 100%;
}

.title {
    font-family: 'Asimovian', Arial, sans-serif;
    font-size: 4rem;
    font-weight: normal;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 1rem;
    font-weight: 300;
}

.description {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
}

.join-waitlist-btn {
    background: white;
    color: black;
    border: 2px solid black;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.join-waitlist-btn:hover {
    background: #333;
    color: white;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    margin: 0;
    padding: 30px;
    border-radius: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border: 3px solid black;
    color: black;
    position: relative;
}

.terms-content {
    max-width: 95vw;
    max-height: 95vh;
    overflow-y: auto;
    margin: 0;
}

.close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    background: white;
    transition: all 0.3s ease;
}

.close:hover {
    background: black;
    color: white;
}

.modal h2 {
    margin-bottom: 20px;
    color: black;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.modal p {
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

.form-error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid black;
    border-radius: 0;
    background: white;
    color: black;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.checkbox-group {
    display: block;
    line-height: 1.4;
    width: 100%;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: black;
    vertical-align: top;
    display: inline-block;
}

.checkbox-group label {
    margin-bottom: 0;
    line-height: 1.4;
    display: inline;
    width: auto;
}

.checkbox-group .label-text {
    display: inline;
    vertical-align: top;
}

.checkbox-group a {
    color: black;
    text-decoration: underline;
    font-weight: bold;
    display: inline;
    white-space: nowrap;
}

.checkbox-group a:hover {
    text-decoration: none;
    background: black;
    color: white;
    padding: 2px 4px;
}

.submit-btn {
    width: 100%;
    background: black;
    color: white;
    border: 2px solid black;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: white;
    color: black;
    transform: translateY(-1px);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.success-content {
    background: white;
    margin: 0;
    padding: 40px;
    border-radius: 0;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border: 3px solid black;
    color: black;
}

.success-content h3 {
    color: black;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.success-content p {
    margin-bottom: 25px;
    color: #333;
    line-height: 1.5;
}

.success-content button {
    background: black;
    color: white;
    border: 2px solid black;
    padding: 12px 30px;
    border-radius: 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-content button:hover {
    background: white;
    color: black;
    transform: translateY(-1px);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.terms-content h1, .terms-content h2, .terms-content h3 {
    color: black;
    margin-top: 25px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.terms-content h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
    border-bottom: 3px solid black;
    padding-bottom: 15px;
}

.terms-content p {
    color: black;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.terms-content ol, .terms-content ul {
    color: black;
    margin-left: 20px;
    margin-bottom: 15px;
}

.terms-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .modal-content {
        margin: 0;
        padding: 20px;
        width: 95%;
    }
    
    .terms-content {
        margin: 0;
        max-height: 98vh;
        width: 98vw;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .join-waitlist-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}