/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background-color: #0f172a;
    /* Fallback color */
    background-image: url('./assets/background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Overlay for readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(11 25 65 / 20%) 0%, rgba(135, 94, 244, 0.5) 100%);
    z-index: 1;
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.7) 0%, transparent 70%);
}

/* Header */
.header {
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.title {
    color: #e2e8f0;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.75rem;
    font-weight: 400;
    color: #e2e8f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 2.5rem;
}

.description {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #cbd5e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.description p {
    margin-bottom: 0.5rem;
}

/* Buttons */
.actions {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #875ef4;
    color: #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(135, 94, 244, 0.5);
}

.btn-primary:hover {
    background-color: #7a55e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(135, 94, 244, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border-color: #e2e8f0;
    color: #e2e8f0;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    padding: 1.5rem 2rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links .divider {
    color: #cbd5e1;
}

.legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (min-width: 768px) {
    .title {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 2.25rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .legal-links a {
        font-size: 0.75rem;
    }

    .legal-links .divider {
        display: none;
    }
}