:root {
    --color-primary: #9bdec0;
    /* Eucalyptus Green */
    --color-text: #4a4a4a;
    /* Warm Dark Gray */
    --color-bg: #fdfbf7;
    /* Creamy White */

    --font-main: 'Quicksand', sans-serif;

    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    /* For absolute positioning of clouds */
    -webkit-font-smoothing: antialiased;
}

/* Clouds */
.clouds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Behind everything */
    overflow: hidden;
    pointer-events: none;
}

.cloud {
    background: var(--color-primary);
    width: 300px;
    height: 100px;
    border-radius: 150px;
    position: absolute;
    opacity: 0.4;
    /* Lower opacity for subtle background effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow for visibility */
}

.cloud::after,
.cloud::before {
    content: '';
    background: var(--color-primary);
    position: absolute;
    border-radius: 50%;
}

.cloud::after {
    width: 100px;
    height: 100px;
    top: -50px;
    left: 50px;
}

.cloud::before {
    width: 120px;
    height: 120px;
    top: -70px;
    right: 50px;
}

/* Specific Clouds & Animations */
.c1 {
    top: 10%;
    left: -300px;
    transform: scale(0.6);
    opacity: 0.8;
    animation: float 25s linear infinite;
    /* Faster */
}

.c2 {
    top: 25%;
    left: -300px;
    transform: scale(0.8);
    opacity: 0.7;
    animation: float 20s linear infinite;
    /* Faster */
    animation-delay: 2s;
}

.c3 {
    top: 60%;
    left: -300px;
    transform: scale(0.5);
    opacity: 0.6;
    animation: float 28s linear infinite;
    /* Faster */
    animation-delay: 5s;
}

.c4 {
    top: 80%;
    left: -300px;
    transform: scale(0.7);
    opacity: 0.8;
    animation: float 18s linear infinite;
    /* Faster */
    animation-delay: 0s;
}

@keyframes float {
    0% {
        left: -300px;
    }

    100% {
        left: 100%;
    }
}

#app {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    background: white;
    width: 100%;
    max-width: 450px;
    height: 550px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-content {
    opacity: 1;
    transition: opacity 0.5s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    font-weight: 500;
}

.hint-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hint-text {
    font-size: 1.4rem;
    color: var(--color-text);
    font-weight: 500;
}

.logo-reveal {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    display: block;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.domain-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 5px;
    display: block;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.domain-name:hover {
    color: var(--color-primary);
}

.subtitle {
    color: #888;
    margin-bottom: 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: auto;
}

.email-input {
    padding: 15px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s;
    outline: none;
    width: 100%;
    background: #fafafa;
}

.email-input:focus {
    border-color: var(--color-primary);
    background: white;
}

.submit-btn {
    background-color: var(--color-primary);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.submit-btn:hover {
    transform: scale(1.02);
    background-color: #8acbb0;
    box-shadow: 0 5px 15px rgba(155, 222, 192, 0.4);
}

.tap-instruction {
    font-size: 0.85rem;
    color: #ccc;
    position: absolute;
    bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}