/*
 * Athens Vibe Coding Competition 2026
 * Style overrides: Mediterranean blue palette
 * Inspired by Drupal Developer Days Athens 2026
 */

:root {
    --athens-bg: #0a1628;
    --athens-bg-alt: #0d1f38;
    --athens-primary: #1565C0;
    --athens-blue: #1E88E5;
    --athens-light-blue: #64B5F6;
    --athens-gold: #F59E0B;
    --athens-gold-dark: #D97706;
    --athens-text: #E8EEF5;
    --athens-muted: #8BA7C7;
    --athens-border: rgba(100, 181, 246, 0.2);
    --athens-border-strong: rgba(100, 181, 246, 0.4);
}

/* ── Base ─────────────────────────────────────────── */
body {
    background: var(--athens-bg);
}

/* ── Navigation ───────────────────────────────────── */
.main-nav {
    background: rgba(10, 22, 40, 0.92);
    border-bottom: 1px solid var(--athens-border);
}

.nav-logo {
    text-shadow: 0 0 20px rgba(30, 136, 229, 0.5);
}

.nav-cta {
    background: var(--athens-gold);
    color: #0a1628 !important;
}

.nav-cta:hover {
    background: var(--athens-gold-dark);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
    background: linear-gradient(160deg, #08111e 0%, #0d1f38 45%, #08111e 100%);
}

.hero::before {
    background:
        radial-gradient(circle at 50% 40%, rgba(21, 101, 192, 0.25), transparent 55%),
        radial-gradient(circle at 80% 15%, rgba(30, 136, 229, 0.15), transparent 40%),
        radial-gradient(circle at 15% 80%, rgba(245, 158, 11, 0.08), transparent 40%);
}

h1 {
    background: linear-gradient(135deg, #64B5F6 0%, #1565C0 55%, #E3F2FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(21, 101, 192, 0.5)); }
    50%       { filter: drop-shadow(0 0 40px rgba(30, 136, 229, 0.8)); }
}

/* ── Participation Notice (hero) ──────────────────── */
.participation-notice {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0 2rem;
}

.participation-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid;
}

.participation-badge--required {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--athens-gold);
    color: var(--athens-gold);
}

.participation-badge--open {
    background: rgba(100, 181, 246, 0.1);
    border-color: var(--athens-light-blue);
    color: var(--athens-light-blue);
}

/* ── Buttons ──────────────────────────────────────── */
.btn-primary {
    background: var(--athens-gold);
    color: #0a1628;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: var(--athens-gold-dark);
    box-shadow: 0 15px 45px rgba(245, 158, 11, 0.45);
}

/* ── DDD Banner ───────────────────────────────────── */
.ddd-banner {
    margin-top: 58px;
    padding: 1.2rem 2rem;
    background: rgba(21, 101, 192, 0.15);
    border-bottom: 2px solid var(--athens-blue);
    text-align: center;
    font-size: 0.95rem;
    color: var(--athens-light-blue);
}

.ddd-banner a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ddd-banner a:hover {
    color: var(--athens-gold);
}

/* ── Section titles ───────────────────────────────── */
.section-title {
    background: linear-gradient(135deg, var(--athens-light-blue), var(--athens-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Sections ─────────────────────────────────────── */
.vibe-section {
    background: var(--athens-bg);
}

.faq-section {
    background: linear-gradient(180deg, var(--athens-bg-alt) 0%, var(--athens-bg) 100%);
}

.sponsors-section {
    background: var(--athens-bg);
}

/* ── Competition cards ────────────────────────────── */
.vibe-card {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.12), rgba(30, 136, 229, 0.08));
    border-color: var(--athens-border);
}

.vibe-card h3 {
    color: var(--athens-light-blue);
}

.vibe-card li::before {
    color: var(--athens-gold);
}

/* ── Prize Section ────────────────────────────────── */
.prize-highlight {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.12), rgba(245, 158, 11, 0.08));
    border-color: var(--athens-blue);
}

.prize-highlight h2 {
    color: var(--athens-gold);
}

.prize-tier strong {
    color: var(--athens-light-blue);
}

/* ── Judging Section ──────────────────────────────── */
.judging-section {
    padding: 6rem 2rem;
    background: var(--athens-bg);
}

.judging-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.judging-card {
    padding: 2rem 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--athens-border);
    background: rgba(21, 101, 192, 0.07);
    transition: border-color 0.2s ease;
}

.judging-card:hover {
    border-color: var(--athens-border-strong);
}

.judging-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12rem;
    color: var(--athens-gold);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.judging-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.judging-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.judging-card li {
    font-size: 0.875rem;
    color: var(--athens-muted);
    padding: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.judging-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--athens-blue);
}

/* ── Registration Section ─────────────────────────── */
.register-section {
    padding: 6rem 2rem;
    background: var(--athens-bg-alt);
}

.register-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.register-intro p {
    color: var(--athens-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.register-frame-wrap {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.register-frame-wrap iframe {
    display: block;
    width: 100%;
    border: none;
}

.register-direct-link {
    text-align: center;
    margin-top: 1.5rem;
}

.register-direct-link a {
    color: var(--athens-muted);
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.register-direct-link a:hover {
    color: var(--athens-light-blue);
}

/* ── Event details ────────────────────────────────── */
.detail-item {
    background: rgba(21, 101, 192, 0.1);
    border-color: var(--athens-border);
}

/* ── FAQ ──────────────────────────────────────────── */
.faq-item {
    border-color: var(--athens-border);
}

.faq-item:hover {
    border-color: var(--athens-border-strong);
}

.faq-question:hover {
    color: var(--athens-light-blue);
}

.faq-question::after {
    color: var(--athens-blue);
}

/* ── Sponsors ─────────────────────────────────────── */
.sponsor-card:hover {
    border-color: var(--athens-border-strong);
    box-shadow: 0 20px 60px rgba(21, 101, 192, 0.2);
}

/* ── Footer ───────────────────────────────────────── */
footer {
    background: var(--athens-bg);
    border-top-color: var(--athens-border);
}

.footer-links a {
    color: var(--athens-light-blue);
}

.footer-links a:hover {
    color: var(--athens-gold);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .participation-notice {
        flex-direction: column;
        align-items: center;
    }
}
