@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-logo: 'Great Vibes', cursive;
    --bg-dark: #000000;
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #4a4a4a;
    --card-bg: rgba(220, 220, 220, 0.55);
    --card-border: rgba(255, 255, 255, 0.3);
    --card-blur: 2px;
    --header-height: 80px;
}

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

body, html {
    min-height: 100%;
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Header styling */
header {
    height: var(--header-height);
    background-color: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-container:hover {
    opacity: 0.85;
}

.logo-img {
    height: 72px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.globe-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.globe-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.globe-icon {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Main Hero section */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 8%;
    overflow: hidden;
}

/* Background video styling */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Card Overlay styling */
.card {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 620px;
    background-color: var(--card-bg);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--card-border);
    padding: 4rem 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Card elements */
.card-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.45;
    margin-bottom: 2rem;
    max-width: 480px;
}

.card-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2.2rem;
    letter-spacing: -0.5px;
}

.flag-row {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.flag-img {
    width: 42px;
    height: 28px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.flag-img:hover {
    transform: translateY(-2px) scale(1.08);
}

.card-currently-in {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.single-flag-container {
    display: flex;
    justify-content: center;
}

.single-flag-container a {
    display: inline-block;
    line-height: 0;
}

.flag-large {
    width: 48px;
    height: 32px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        padding: 0 1.5rem;
    }
    
    .logo-img {
        height: 54px;
    }
    
    .hero {
        justify-content: center;
        padding: 2rem 1.5rem;
    }
    
    .card {
        padding: 2.5rem 1.5rem;
    }
    
    .card-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }
    
    .card-title {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }
    
    .flag-row {
        margin-bottom: 2rem;
        gap: 1rem;
    }
    
    .card-currently-in {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 2rem 1.25rem;
        max-width: 340px;
    }
    
    .card-title {
        font-size: 1.6rem;
    }
}
