/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root {
    --text-color: #f1f5f9;
    --text-muted: #cbd5e1;
    --accent: #facc15;
    --card-bg: rgba(15, 23, 42, 0.45);
    --card-border: rgba(255, 255, 255, 0.15);
}

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

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #000;
    overflow: hidden; /* prevent scroll from images */
}

/* Background Slideshow */
#bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* To improve readability on varying brightness sun photos */
#bg-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out, transform 15s linear;
    transform: scale(1.05); /* Slight zoom in */
}

.bg-slide.visible {
    opacity: 1;
    transform: scale(1);
}

/* Main Layout */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.glass-card {
    position: relative;
    z-index: 10;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 48px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header .brand-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.brand-svg {
    width: 48px;
    height: 48px;
    color: var(--text-color);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.sun-icon {
    color: var(--accent);
}

.brand-flag {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

header p {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 300;
}

header a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 2px;
    transition: all 0.3s;
}

header a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 400;
    font-size: 1.15rem;
    border: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.email-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.copyright a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.copyright a:hover {
    color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .glass-card {
        padding: 36px 24px;
        border-radius: 24px;
    }
    
    header .brand-icons {
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .brand-svg, .brand-flag {
        height: 40px;
    }
    
    .brand-svg {
        width: 40px;
    }
    
    .brand-flag {
        width: 40px;
        height: 30px;
    }
    
    header p {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }
    
    .email-btn {
        padding: 12px 24px;
        font-size: 1.05rem;
    }
}
