:root {
    --primary-color: #ffffff;
    --text-color: #f8f9fa;
    --accent-color: #fbbf24;
    /* Premium gold accent instead of gray */
    --bg-overlay: rgba(15, 23, 42, 0.45);
    --glass-bg: rgba(20, 25, 35, 0.5);
    /* Slightly darker glass for contrast */
    --glass-border: rgba(251, 191, 36, 0.3);
    /* Gold tinted border */
    --blur-amount: 16px;
}

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

body,
html {
    width: 100%;
    height: 100%;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    background-color: #000;
}

/* Background Image setup */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/cover_2550.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    /* Subtle zoom animation */
    animation: slowZoom 20s ease-in-out infinite alternate;
    z-index: 1;
}

/* Overlay to ensure text readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    /* Darker gradient at top for contrast, fading towards bottom */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 2;
}

/* Main Content Container */
.content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Drop the card to the lower part of the screen */
    padding: 20px;
    padding-bottom: 8%;
    /* Create space from bottom edge */
}

/* Glassmorphism Card CSS */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 4rem;
    text-align: center;
    color: var(--primary-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
    max-width: 600px;
    width: 100%;
}

/* Typography elements */
.badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    background: rgba(251, 191, 36, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
    padding-bottom: 0.15em;
    margin-bottom: 0.85rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    background: linear-gradient(to right, #ffffff, #fef3c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.divider {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Decorative Loading Bar */
.loading-bar-container {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    margin: 0 auto 1.5rem auto;
    overflow: hidden;
    max-width: 200px;
}

.loading-bar {
    width: 30%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 3px;
    animation: loading 2s ease-in-out infinite alternate;
    box-shadow: 0 0 10px var(--accent-color);
    /* Add glow effect */
}

.footer-text {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* Improved contrast */
}

/* Animations */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

@keyframes loading {
    0% {
        transform: translateX(0%);
        width: 10%;
    }

    100% {
        transform: translateX(100%);
        width: 90%;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .background-container {
        background-image: url('img/cover.jpg');
    }

    .glass-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .subtitle {
        flex-direction: column;
        gap: 5px;
    }

    .divider {
        display: none;
    }
}