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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #5B8DEF 0%, #4A7FE8 50%, #3D72E3 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

/* Logo */
.logo {
    margin-bottom: 3rem;
    animation: fadeIn 0.6s ease-out;
}

.logo img {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Content */
.content {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.description {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    font-weight: 400;
}

/* CTA Button */
.cta-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-bottom: 3rem;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Waiting Section */
.waiting-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.avatars {
    display: flex;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    border: 3px solid #5B8DEF;
    margin-left: -12px;
    transition: transform 0.3s ease;
}

.avatar:first-child {
    margin-left: 0;
    background: linear-gradient(135deg, #E879F9, #EC4899);
}

.avatar:nth-child(2) {
    background: linear-gradient(135deg, #EF4444, #F59E0B);
}

.avatar:nth-child(3) {
    background: linear-gradient(135deg, #F59E0B, #EAB308);
}

.avatar:hover {
    transform: translateY(-5px);
    z-index: 10;
}

.waiting-text {
    font-size: 1rem;
    font-weight: 500;
}

#waitingCount {
    font-weight: 700;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.modal-description {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#emailInput {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.3s ease;
    color: #1f2937;
}

#emailInput:focus {
    outline: none;
    border-color: #5B8DEF;
    box-shadow: 0 0 0 4px rgba(91, 141, 239, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, #5B8DEF, #4A7FE8);
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 141, 239, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.modal-message {
    margin-top: 1rem;
    font-size: 0.875rem;
    text-align: center;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-message.success {
    color: #10b981;
    opacity: 1;
}

.modal-message.error {
    color: #ef4444;
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }

    .logo img {
        width: 150px;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .waiting-section {
        flex-direction: column;
        gap: 0.75rem;
    }

    .avatar {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }

    .social-icon {
        width: 46px;
        height: 46px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .modal-content {
        padding: 2.5rem 1.5rem;
    }

    .modal-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-icon {
        width: 44px;
        height: 44px;
    }

    .modal-content {
        width: 95%;
        padding: 2rem 1.25rem;
    }
}
