/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(18, 24, 38, 0.7);
    --primary-cyan: #00d2ff;
    --neon-green: #00ff88;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}

/* Background Animated/Ambient Glow Blobs */
.glow-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.blob-1 {
    top: -100px;
    left: -100px;
    background: var(--primary-cyan);
}

.blob-2 {
    bottom: -100px;
    right: -100px;
    background: var(--neon-green);
}

/* Container Layout */
.landing-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Header Styles */
.logo-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo-i {
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.logo-browse {
    color: var(--primary-cyan);
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.dot {
    color: var(--neon-green);
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.badge {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.instruction-text {
    max-width: 600px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Country Selection Grid */
.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: 10px;
}

.country-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px 25px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.country-card .card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(0, 210, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.country-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.15);
}

.country-card:hover .card-glow {
    opacity: 1;
}

.flag-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.country-card:hover .flag-icon {
    transform: scale(1.1) rotate(5deg);
}

.country-info {
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.country-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.country-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary-cyan);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 210, 255, 0.2);
    transition: all 0.3s ease;
}

.country-card:hover .explore-btn {
    background: var(--primary-cyan);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

/* Footer */
footer {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    width: 100%;
    padding-top: 20px;
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2.8rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .country-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .country-card {
        padding: 25px 20px;
    }
}