:root {
    --blue-900: #0a1628;
    --blue-800: #0f1f3a;
    --blue-700: #152d4e;
    --blue-600: #1a3d66;
    --blue-500: #1e4d7a;
    --blue-400: #2a6fa8;
    --blue-200: #7ab0d8;
    --orange-500: #f59e0b;
    --orange-400: #fbbf24;
    --orange-300: #fcd34d;
    --orange-100: #fef3c7;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--blue-900);
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    position: relative;
}

#canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: .15;
}

.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.header {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo { display: flex; align-items: center; gap: .75rem; }
.header-logo i { font-size: 1.8rem; color: var(--orange-400); }
.header-logo h1 { font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.header-logo span { font-size: .7rem; color: var(--blue-200); }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--blue-200);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    padding: .5rem 1rem;
    border-radius: 100px;
    transition: all .3s ease;
    border: 1px solid rgba(255,255,255,.1);
}
.back-btn:hover { background: rgba(255,255,255,.1); color: var(--white); }

.main { flex: 1; }

.hero-credits {
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 50%, var(--blue-700) 100%);
    text-align: center;
    padding: 4rem 1.5rem;
    border-bottom: 4px solid var(--orange-400);
}

.hero-content { max-width: 700px; margin: 0 auto; }

.hero-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: .75rem;
}
.hero-content h2 span {
    background: linear-gradient(135deg, var(--orange-300), var(--orange-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--blue-200);
}

.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.article {
    background: var(--blue-800);
    color: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(122,176,216,.1);
    box-shadow: var(--shadow);
    transition: all .3s ease;
}
.article:hover { border-color: rgba(122,176,216,.25); }

.article h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--orange-400);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid rgba(251,191,36,.15);
}

.article p {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--blue-200);
    margin-bottom: 1rem;
}
.article p:last-child { margin-bottom: 0; }
.article p strong { color: var(--orange-300); font-weight: 600; }

.article-final h3 {
    font-size: 1.8rem;
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
}
.article-final p:last-child {
    font-size: 1.1rem;
    text-align: center;
    color: var(--orange-300);
    font-weight: 500;
}

.flags {
    text-align: center;
    font-size: 2.5rem;
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.flags span {
    display: inline-block;
    transition: transform .3s ease;
}
.flags span:hover { transform: scale(1.3); }

.footer {
    text-align: center;
    color: var(--gray-500);
    padding: 2rem;
    font-size: .85rem;
    border-top: 1px solid rgba(255,255,255,.05);
    background: var(--blue-900);
}

@media (max-width: 768px) {
    .hero-credits { padding: 2.5rem 1rem; }
    .hero-content h2 { font-size: 1.5rem; }
    .container { padding: 1.5rem 1rem; }
    .article { padding: 1.5rem; }
    .article h3 { font-size: 1.15rem; }
    .back-btn span { display: none; }
    .flags { font-size: 2rem; }
}
