:root {
    --color-orange: #ff4d00;
    --color-bg: #f0f0f0;
    --color-text: #1a1a1a;
    --color-border: #1a1a1a;
    --color-white: #ffffff;
    --color-accent: #0055ff;
    /* Subtle blue accent for Greenland/EU reference maybe? or just techy blue */

    --font-heading: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;

    --border-width: 2px;
    --spacing-unit: 1rem;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-heading);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.grid-container {
    width: 100%;
    max-width: 800px;
    border: var(--border-width) solid var(--color-border);
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-unit);
    border-bottom: var(--border-width) solid var(--color-border);
}

.logo {
    font-family: var(--font-mono);
    font-weight: 700;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.logo-icon {
    background: var(--color-orange);
    color: var(--color-white);
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
}

.controls .lang-switch {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    color: #999;
}

.lang-btn.active {
    color: var(--color-orange);
    font-weight: 700;
    text-decoration: underline;
}

/* Hero */
.hero {
    padding: 3rem 2rem;
    border-bottom: var(--border-width) solid var(--color-border);
    text-align: left;
}

.status-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border: 1px solid var(--color-border);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: #555;
}

/* Info */
.info {
    display: grid;
    grid-template-columns: 3fr 1fr;
    border-bottom: var(--border-width) solid var(--color-border);
}

.info-content {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
    border-right: var(--border-width) solid var(--color-border);
}

.info-stat {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    gap: 0.5rem;
    background: #f9f9f9;
}

/* Poll */
.poll {
    padding: 2rem;
    background: #f4f4f4;
}

.poll-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vote-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    border: var(--border-width) solid var(--color-border);
    background: var(--color-white);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
    border-color: var(--color-orange);
}

.vote-btn:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
}

.vote-btn.yes:hover .btn-label {
    color: var(--color-orange);
}

.vote-btn.no:hover .btn-label {
    color: var(--color-text);
}

.btn-label {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.btn-sub {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Form Styles */
.boycott-form {
    background: var(--color-white);
    padding: 2rem;
    border: var(--border-width) solid var(--color-border);
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.boycott-form h3 {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-desc {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    background: #f9f9f9;
    font-family: var(--font-mono);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--color-orange);
    background: var(--color-white);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-submit,
.btn-cancel {
    padding: 0.8rem 1.5rem;
    border: var(--border-width) solid var(--color-border);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-submit {
    background: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
    flex: 1;
}

.btn-submit:hover {
    background: #e64500;
}

.btn-cancel {
    background: transparent;
    color: #666;
    border-color: #ccc;
}

.btn-cancel:hover {
    border-color: #999;
    color: var(--color-text);
}


/* Results */
.hidden {
    display: none;
}

.results {
    border: var(--border-width) solid var(--color-border);
    background: var(--color-white);
    padding: 1.5rem;
}

.result-bar-container {
    margin-bottom: 1rem;
}

.result-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.progress-bar {
    height: 1.5rem;
    background: #eee;
    border: 1px solid var(--color-border);
    position: relative;
}

.fill {
    height: 100%;
    background: #ccc;
    transition: width 0.5s ease-out;
}

.yes-fill {
    background: var(--color-orange);
}

.no-fill {
    background: var(--color-text);
}

.thank-you {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-top: 1rem;
    color: var(--color-orange);
    animation: blink 3s infinite;
}

/* Footer */
.footer {
    border-top: var(--border-width) solid var(--color-border);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0;
    background: var(--color-text);
    color: var(--color-white);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.footer-meta {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #888;
}

/* Responsive */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .info {
        grid-template-columns: 1fr;
    }

    .info-content {
        border-right: none;
        border-bottom: var(--border-width) solid var(--color-border);
    }

    .poll-container {
        flex-direction: column;
    }

    .grid-container {
        border: none;
        box-shadow: none;
        width: 100%;
        max-width: none;
    }

    body {
        padding: 0;
    }
}