/* ===================================
   CSS Custom Properties & Variables
   =================================== */
:root {
    /* EU Colors */
    --eu-blue: #003399;
    --eu-blue-light: #0044cc;
    --eu-blue-dark: #002266;
    --eu-gold: #FFCC00;
    --eu-gold-light: #FFD633;

    /* Diversity Accent Colors */
    --accent-1: #E63946;
    /* Red */
    --accent-2: #2A9D8F;
    /* Teal */
    --accent-3: #E9C46A;
    /* Yellow */
    --accent-4: #F4A261;
    /* Orange */
    --accent-5: #9B59B6;
    /* Purple */

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-light: #E9ECEF;
    --gray: #6C757D;
    --dark: #1A1A2E;
    --darker: #0F0F1A;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.25);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(135deg, var(--darker) 0%, var(--eu-blue-dark) 50%, var(--dark) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===================================
   Animated Background
   =================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--eu-gold);
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 0.8;
        transform: scale(1);
    }
}

.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--eu-blue) 0%, var(--accent-5) 100%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--eu-gold) 0%, var(--accent-4) 100%);
    bottom: 10%;
    right: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--accent-2) 0%, var(--eu-blue-light) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* ===================================
   Glass Card Effect
   =================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

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

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

/* EU Emblem - Star Circle */
.eu-emblem {
    margin-bottom: var(--spacing-lg);
}

.star-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.star-circle .star-point {
    position: absolute;
    width: 16px;
    height: 16px;
    color: var(--eu-gold);
    font-size: 16px;
    text-shadow: 0 0 10px var(--eu-gold);
}

/* Title */
.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.title-line {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.title-united {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-diversity {
    background: linear-gradient(135deg, var(--eu-gold) 0%, var(--eu-gold-light) 50%, var(--accent-4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-divider {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--gray);
    text-transform: lowercase;
    font-style: italic;
}

/* Tagline */
.tagline {
    margin-top: var(--spacing-sm);
}

.tagline-latin {
    display: inline-block;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gray);
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    background: var(--glass-bg);
}

/* ===================================
   Message Card
   =================================== */
.message-card {
    max-width: 600px;
    padding: var(--spacing-xl);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.card-content h2 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--white) 0%, var(--eu-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

/* Coming Soon Badge */
.coming-soon {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, var(--eu-blue) 0%, var(--eu-blue-light) 100%);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--eu-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* ===================================
   Values Section
   =================================== */
.values-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
    width: 100%;
    max-width: 700px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.value-card {
    padding: var(--spacing-lg);
    text-align: center;
    cursor: default;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--white);
}

.value-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Footer
   =================================== */
.footer {
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    margin-top: auto;
}

.footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-md);
    }

    .star-circle {
        width: 100px;
        height: 100px;
    }

    .message-card {
        padding: var(--spacing-lg);
    }

    .values-section {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .orb-1 {
        width: 250px;
        height: 250px;
    }

    .orb-2 {
        width: 200px;
        height: 200px;
    }

    .orb-3 {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        gap: var(--spacing-lg);
    }

    .star-circle {
        width: 80px;
        height: 80px;
    }

    .value-card {
        padding: var(--spacing-md);
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--eu-gold);
    outline-offset: 4px;
}