@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("https://www.vcux.com/fonts/Figtree-500.woff2") format("woff2");
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("https://www.vcux.com/fonts/Figtree-700.woff2") format("woff2");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    background-color: #002fa7;
    color: white;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #002fa7;
    color: white;
    text-shadow: none;
}

::-moz-selection {
    background: #002fa7;
    color: white;
    text-shadow: none;
}

::-webkit-scrollbar {
    display: none;
}

.container {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0 40px;
    padding-top: 24vh;
}

.header {
    font-size: 80px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.email-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid white;
    border-radius: 9999px;
    padding: 18px 28px;
    width: 100%;
    margin: 0 auto;
    transition: box-shadow 0.3s;
}

.email-box:focus-within {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.email-info {
    margin-top: 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.email-info .number {
    display: inline-block;
    overflow: hidden;
    height: 20px;
    vertical-align: middle;
}

.email-info .number.animating {
    animation: scrollEmail 0.4s ease-in-out;
}

.email-address {
    flex: 1;
    font-size: 24px;
    font-weight: 500;
    color: #002fa7;
    word-break: break-all;
    margin-right: 16px;
    user-select: all;
    -webkit-user-select: all;
    overflow: hidden;
    height: 32px;
    display: flex;
    align-items: center;
}

.email-address.animating {
    animation: scrollEmail 0.4s ease-in-out;
}

@keyframes scrollEmail {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0;
    }
    51% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.button-group {
    display: flex;
    gap: 16px;
}

.btn {
    background: #002fa7;
    border: none;
    color: white;
    padding: 14px 28px;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: "Figtree", sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
}

.btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

.btn-white {
    background: white;
    color: #002fa7;
    border: 2px solid #002fa7;
}

.btn-white:hover {
    background: white;
    color: #002fa7;
    opacity: 0.9;
}

@media (max-width: 640px) {
    .container {
        padding: 100px 20px 20px;
    }
    .header {
        font-size: 40px;
    }
    .email-box {
        padding: 12px 20px;
    }
    .email-address {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 80px 16px 16px;
    }
    .header {
        font-size: 32px;
    }
    .button-group {
        gap: 8px;
    }
    .btn {
        font-size: 13px;
        padding: 6px;
    }
}

.page-footer {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 800px;
    max-width: calc(100% - 80px);
}

.footer-text {
    font-size: 12px;
    letter-spacing: 0.1em;
    opacity: 0.7;
    text-transform: uppercase;
}
