@font-face {
    font-family: 'ABC Camera';
    src: url('assets/fonts/YoungSerif.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

html {
    height: 100%;
    background: rgb(2, 4, 49);
}

body {
    font-family: 'Epilogue', sans-serif;
    background: radial-gradient(125.5% 125.5% at 48.6% 100%, rgb(79, 2, 151) 0%, rgb(2, 4, 49) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    height: 100%;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 24px;
}

.logo {
    font-family: 'ABC Camera', serif;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 40px;
}

.content {
    flex: 1;
}

h1 {
    font-family: 'ABC Camera', serif;
    font-size: 56px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 32px;
}

.description {
    margin-bottom: 40px;
}

.description p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.description p:last-child {
    margin-bottom: 0;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.signup-form input {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Epilogue', sans-serif;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    color: #1a1a1a;
    outline: none;
    height: 52px;
}

.signup-form input::placeholder {
    color: #999999;
}

.signup-form input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.signup-form button {
    width: 100%;
    padding: 15px;
    font-family: 'Epilogue', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    background: rgb(0, 0, 0);
    color: #ffffff;
    cursor: pointer;
    height: 52px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.signup-form button:hover {
    background: #1a1a1a;
}

.signup-form button:active {
    transform: scale(0.98);
}

.note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer {
    padding-top: 60px;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Fade in / Slide up animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

h1 {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.description p:nth-child(1) {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.35s;
    opacity: 0;
}

.description p:nth-child(2) {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.45s;
    opacity: 0;
}

.description p:nth-child(3) {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.55s;
    opacity: 0;
}

.signup-form {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.note {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.85s;
    opacity: 0;
}

.footer {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1s;
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 40px;
    }

    .description p {
        font-size: 16px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo,
    h1,
    .description p,
    .signup-form,
    .note,
    .footer {
        animation: none;
        opacity: 1;
    }
}
