:root {
    --bg: #0a0a0a;
    --surface: #121212;
    --primary: #00ff41;
    --text: #e0e0e0;
    --muted: #888;
    --encrypted-bg: #222;
    --border: #333;
}

/* ===== BASE / MOBILE STYLES ===== */

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .mono {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* Shared Site Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
    padding: 10px 16px;
    margin-bottom: 24px;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.02);
}

.site-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.site-header-brand:visited {
    color: inherit;
}

.site-header-brand:hover .site-header-name {
    color: var(--primary);
}

.site-header-logo {
    height: 32px;
    width: auto;
    filter: brightness(1.1);
}

.site-header-name {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 32px;
    transition: color 0.2s;
}

.site-header-nav {
    display: none;
    align-items: center;
    gap: 24px;
}

.site-header-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}

.site-header-link:visited {
    color: var(--muted);
}

.site-header-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.site-header-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.site-header-auth {
    display: none;
    align-items: center;
    flex-shrink: 0;
}

.site-header-signin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    padding: 6px 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-header-signin:hover {
    background: var(--primary);
    color: var(--bg);
}

.site-header-signin.mobile {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.8rem;
}

/* Hamburger */
.site-header-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.site-header-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

.site-header-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.site-header-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.site-header-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.site-header-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-top: none;
    margin-top: -24px;
    margin-bottom: 24px;
    background: var(--surface);
    padding: 8px 0;
}

.site-header-mobile-menu.open {
    display: flex;
}

.site-header-mobile-link {
    color: var(--muted);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    padding: 10px 16px;
    transition: color 0.2s, background 0.2s;
}

.site-header-mobile-link:visited {
    color: var(--muted);
}

.site-header-mobile-link:hover {
    color: var(--primary);
    background: rgba(0, 255, 65, 0.05);
}

.site-header-mobile-link.active {
    color: var(--primary);
}

/* Desktop Dropdown */
.site-header-dropdown {
    position: relative;
}

.site-header-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--muted);
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s;
}

.site-header-dropdown-toggle:hover,
.site-header-dropdown-toggle.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.site-header-dropdown-toggle svg {
    transition: transform 0.2s;
}

.site-header-dropdown:hover .site-header-dropdown-toggle svg {
    transform: rotate(180deg);
}

.site-header-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    min-width: 180px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 6px 0;
    z-index: 200;
    flex-direction: column;
}

.site-header-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.site-header-dropdown:hover .site-header-dropdown-menu {
    display: flex;
}

.site-header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    padding: 8px 14px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.site-header-dropdown-item:visited {
    color: var(--muted);
}

.site-header-dropdown-item:hover {
    color: var(--primary);
    background: rgba(0, 255, 65, 0.05);
}

.site-header-dropdown-item.disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.site-header-dropdown-item.disabled:hover {
    color: var(--muted);
    background: none;
}

.coming-soon-badge {
    font-size: 0.6rem;
    color: var(--muted);
    opacity: 0.7;
    margin-left: auto;
    padding-left: 8px;
}

/* Mobile Dropdown */
.site-header-mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.site-header-mobile-dropdown-toggle .mobile-dropdown-arrow {
    transition: transform 0.2s;
}

.site-header-mobile-dropdown-toggle.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.site-header-mobile-submenu {
    display: none;
    flex-direction: column;
}

.site-header-mobile-submenu.open {
    display: flex;
}

.site-header-mobile-link.sub {
    padding-left: 32px;
    font-size: 0.8rem;
}

.site-header-mobile-link.disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.site-header-mobile-link.disabled:hover {
    color: var(--muted);
    background: none;
}

/* Legacy support for pages that still use inline header */
.mission-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.02);
    gap: 12px;
}

a.header-brand,
a.header-brand:visited,
.header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

a.header-brand:hover .header-title {
    color: #ffffff;
}

.header-logo {
    height: 36px;
    width: auto;
    filter: brightness(1.1);
}

.header-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 36px;
    transition: color 0.2s;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 0.8rem;
}

.status-item span {
    color: var(--primary);
    font-weight: bold;
}

.header-nav {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-align: center;
    display: flex;
    gap: 16px;
    justify-content: center;
}

a.header-nav-link,
a.header-nav-link:visited,
.header-nav-link {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

a.header-nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.header-nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Top Secret Banner */
.banner {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 32px;
    position: relative;
    animation: flicker 2s infinite;
    font-size: 0.8rem;
}

@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Hero Section */
header {
    text-align: center;
    margin-bottom: 48px;
}

h1 {
    font-size: 1.8rem;
    margin: 0;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.1;
}

.subheadline {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 16px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Encrypted Text Effect */
.encrypted {
    background-color: var(--encrypted-bg);
    color: var(--encrypted-bg);
    padding: 0 4px;
    transition: all 0.3s ease;
    cursor: help;
    border-radius: 2px;
    position: relative;
}

.encrypted::after {
    content: '[TITKOSÍTVA]';
    font-size: 0.6rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #444;
}

.encrypted:hover {
    color: var(--primary);
    background: transparent;
}

.encrypted:hover::after {
    display: none;
}

/* Form / Registration */
.cta-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 24px 16px;
    text-align: center;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

input[type="email"] {
    background: #1a1a1a;
    border: 1px solid var(--border);
    padding: 12px;
    width: 100%;
    max-width: 400px;
    color: white;
    font-family: inherit;
    margin-bottom: 16px;
    outline: none;
    box-sizing: border-box;
}

input[type="email"]:focus {
    border-color: var(--primary);
}

button {
    background: var(--primary);
    color: black;
    border: none;
    padding: 12px 24px;
    font-weight: bold;
    font-family: 'Space Mono', monospace;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 0.85rem;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

/* Timeline Section */
.timeline {
    margin: 48px 0;
    border-left: 1px solid var(--border);
    padding-left: 20px;
}

.step {
    margin-bottom: 32px;
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.step-title {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Footer */
footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 60px;
    padding-top: 40px;
    padding-bottom: 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 32px;
    text-align: left;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--primary);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.footer-contact-item:hover {
    color: var(--primary);
}

.footer-contact-item:hover .footer-icon {
    stroke: var(--primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-link:hover .footer-icon {
    stroke: var(--primary);
}

.footer-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--muted);
    transition: stroke 0.3s ease;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 24px 0 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    color: var(--muted);
    font-size: 0.75rem;
    margin: 0;
}

.footer-credit {
    color: var(--muted);
    font-size: 0.75rem;
    margin: 0;
    text-align: center;
}

.footer-credit a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--primary);
}

.footer-credit-br {
    display: none;
}

/* Footer Social Media */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
}

.footer-social-item:hover {
    color: var(--primary);
    background: rgba(0, 255, 65, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-social-item .footer-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

/* Prize Highlight */
.prize-highlight {
    text-align: center;
    margin-bottom: 48px;
}

.prize-amount {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
    letter-spacing: 2px;
}

.prize-label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 5px;
    margin-top: 8px;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .prize-amount {
        font-size: 4.5rem;
        text-shadow: 0 0 40px rgba(0, 255, 65, 0.5);
    }

    .prize-label {
        font-size: 1rem;
        letter-spacing: 8px;
    }
}

/* Stamp */
.stamp {
    position: absolute;
    top: -12px;
    right: -8px;
    border: 3px solid #ff4444;
    color: #ff4444;
    padding: 4px 10px;
    font-weight: bold;
    transform: rotate(15deg);
    opacity: 0.7;
    pointer-events: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 0;
    color: var(--text);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
    transform: none;
    box-shadow: none;
}

/* Modern Grid Animation for smooth height transition */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.95rem;
    padding-right: 20px;
}

/* Inner padding applied to the content, not the wrapper, to prevent jumps */
.faq-answer-content {
    padding-bottom: 20px;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

/* Email Validation Styles */
.email-input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 16px;
    background: #1a1a1a;
    border: 1px solid var(--border);
    color: white;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.email-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1);
}

.email-input.valid {
    border-color: var(--primary);
    background-color: rgba(0, 255, 65, 0.05);
}

.email-input.invalid {
    border-color: #ff4444;
    background-color: rgba(255, 68, 68, 0.05);
}

.email-input.shake {
    animation: shake 0.5s ease;
}

/* Email Validation Feedback */
.email-validation-feedback {
    font-family: 'Inter', sans-serif;
    text-align: left;
    max-width: 400px;
    margin: 10px auto 0;
    padding: 0;
    font-size: 14px;
    min-height: 24px;
    animation: fadeIn 0.3s ease;
}

.email-validation-feedback.error {
    color: #ff6666;
}

.email-validation-feedback.success {
    color: var(--primary);
    font-weight: 500;
    padding: 8px 12px;
    background-color: rgba(0, 255, 65, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
}

/* Validation Error List */
.validation-errors {
    list-style: none;
    margin: 0;
    padding: 8px 12px;
    background-color: rgba(255, 68, 68, 0.1);
    border-left: 3px solid #ff4444;
    border-radius: 4px;
}

.validation-errors li {
    color: #ff6666;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
}

.validation-errors li:before {
    content: '✕';
    margin-right: 8px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Validation Warnings List */
.validation-warnings {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 8px 12px;
    background-color: rgba(255, 152, 0, 0.1);
    border-left: 3px solid #ff9800;
    border-radius: 4px;
}

.validation-warnings li {
    color: #ffb74d;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
}

.validation-warnings li:before {
    content: '⚠';
    margin-right: 8px;
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Submit Button Disabled State */
#submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Notification (for success messages) */
.notification {
    max-width: 500px;
    margin: 0 auto 20px;
    padding: 15px 20px;
    border-radius: 4px;
    text-align: center;
    font-family: 'Space Mono', monospace;
    animation: fadeIn 0.3s ease;
}

/* Visually Hidden (for screen readers) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Terms acceptance text */
.terms-text {
    font-size: 0.65rem;
    color: rgba(136, 136, 136, 0.5);
    margin-bottom: 8px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.terms-checkbox {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--primary);
}

/* Links in terms text - underline only */
.terms-text a {
    color: inherit;
    text-decoration: underline;
}

/* Calendar button - shown after successful registration */
.calendar-button {
    display: none;
    margin-top: 15px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.calendar-button.show {
    display: inline-block;
}

.calendar-button:hover {
    background: var(--primary);
    color: black;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

/* Email help text after registration */
.email-help-text {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 15px;
}

.email-help-text a {
    color: var(--primary);
    text-decoration: none;
}

.email-help-text a:hover {
    text-decoration: underline;
}

/* Back to homepage button */
.back-button {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-button:hover {
    background: var(--primary);
    color: black;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

/* Organizers Section */
.organizers-section {
    margin-top: 48px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
    margin-bottom: 40px;
}

.organizers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.organizer-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.organizer-card-link:hover .organizer-card {
    transform: translateY(-4px);
}

.organizer-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

.organizer-image-wrapper {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
    position: relative;
}

.organizer-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    transition: border-color 0.3s ease;
    background: var(--surface);
    color: transparent;
    font-size: 0;
}

.organizer-image:hover {
    border-color: var(--primary);
}

.organizer-name {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    color: var(--text);
    font-weight: bold;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.linkedin-link:hover {
    color: var(--primary);
}

.linkedin-icon {
    width: 20px;
    height: 20px;
}

.organizer-title {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

/* Global heading color for mono headings */
h2.mono {
    color: var(--primary);
}

/* Status text (system active indicators) */
.status-text {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 15px;
}

/* FAQ section wrapper */
.faq-section {
    margin-top: 80px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.faq-section h2 {
    margin-bottom: 30px;
}

/* CTA box bottom variant */
.cta-box--bottom {
    margin-top: 80px;
}

.mono-lg {
    font-size: 1.2rem;
}

.btn-mt {
    margin-top: 15px;
}

/* Organizers section heading */
.organizers-section h2 {
    margin-bottom: 40px;
    text-align: center;
}

/* Organizer title links */
.organizer-title a {
    color: inherit;
    text-decoration: none;
}

/* Timeline step links inherit color */
.step a {
    color: inherit;
}

/* Diak-verseny page */
.diak-section {
    margin-top: 60px;
}

.diak-section h2 {
    margin-bottom: 20px;
}

.diak-body {
    color: var(--text);
    line-height: 1.8;
    font-size: 1rem;
}

.diak-body-muted {
    color: var(--muted);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-top: 16px;
}

/* Legal/document pages */
.legal-content {
    margin-top: 40px;
    max-width: 800px;
}

.legal-content h2 {
    margin-top: 30px;
}

.legal-content h3 {
    margin-top: 20px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--border);
    padding: 10px;
    text-align: left;
}

.legal-table thead tr {
    background-color: var(--border);
}

.legal-kelt {
    margin-top: 20px;
}

.back-nav {
    margin-top: 48px;
    text-align: center;
}

.footer-placeholder--bottom {
    margin-top: 80px;
}

.nested-list {
    margin-top: 10px;
}

/* Hidden utility for JS toggling */
.hidden {
    display: none;
}

/* ===== TABLET (>=480px) ===== */
@media (min-width: 480px) {
    .container {
        padding: 28px 20px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .banner {
        letter-spacing: 3px;
        font-size: 0.9rem;
        padding: 10px;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .stamp {
        top: -16px;
        right: -12px;
        font-size: 0.85rem;
        padding: 5px 12px;
        border-width: 4px;
    }

    .status-items {
        flex-direction: row;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }

    .footer-credit {
        text-align: right;
    }

    .calendar-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .back-button {
        padding: 15px 40px;
        font-size: 0.9rem;
    }

    button {
        padding: 15px 40px;
        font-size: inherit;
    }
}

/* ===== TABLET LANDSCAPE (>=768px) ===== */
@media (min-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    /* Site Header - Desktop */
    .site-header {
        padding: 12px 25px;
        margin-bottom: 40px;
    }

    .site-header-logo {
        height: 40px;
    }

    .site-header-name {
        font-size: 1.2rem;
        letter-spacing: 3px;
        line-height: 40px;
    }

    .site-header-nav {
        display: flex;
    }

    .site-header-auth {
        display: flex;
    }

    .site-header-hamburger {
        display: none;
    }

    .site-header-mobile-menu {
        display: none !important;
    }

    /* Legacy header - Desktop */
    .mission-status {
        flex-direction: row;
        text-align: left;
        padding: 15px 25px;
        margin-bottom: 40px;
        font-size: 0.9rem;
        gap: 20px;
    }

    .header-brand {
        justify-content: flex-start;
    }

    .header-logo {
        height: 50px;
    }

    .header-title {
        font-size: 1.6rem;
        letter-spacing: 3px;
        line-height: 50px;
    }

    .header-right {
        align-items: flex-end;
        flex: 1;
    }

    .status-items {
        justify-content: flex-end;
    }

    .header-nav {
        font-size: 0.8rem;
        justify-content: flex-end;
    }

    .banner {
        letter-spacing: 5px;
        margin-bottom: 60px;
        font-size: inherit;
    }

    header {
        margin-bottom: 80px;
    }

    h1 {
        font-size: 3rem;
    }

    .subheadline {
        font-size: 1.2rem;
        margin-top: 20px;
    }

    .cta-box {
        padding: 40px;
    }

    .stamp {
        top: -20px;
        right: -20px;
    }

    .timeline {
        margin: 80px 0;
        padding-left: 30px;
    }

    .step {
        margin-bottom: 40px;
    }

    .step::before {
        left: -36px;
    }

    .faq-question {
        font-size: 1.1rem;
        padding: 20px 0;
    }

    .organizers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }

    .organizer-image-wrapper {
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }

    .organizer-name {
        font-size: 1.3rem;
    }

    .organizers-section {
        margin-top: 80px;
        padding-top: 60px;
        margin-bottom: 60px;
    }

    footer {
        margin-top: 100px;
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-heading {
        margin-bottom: 20px;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 30px;
    }

    .footer-social {
        gap: 15px;
    }

    .linkedin-link {
        font-size: 0.9rem;
    }

    .organizer-title {
        font-size: 1rem;
    }
}

/* ===== DESKTOP (>=992px) ===== */
@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 60px;
    }
}
