:root {
    --bg-core: #0a0b0d;
    --bg-surface: #15191d;
    --primary: #f59e0b;
    --primary-glow: rgba(245, 158, 11, 0.1);
    --text-main: #e2e8f0;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-core);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 700px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    text-align: center;
}

.container::before {
    content: "MODULE // 07 // PUBLIC_BROADCAST";
    position: absolute;
    top: -24px;
    left: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.back-link {
    display: block;
    text-align: left;
    margin-bottom: 24px;
    text-decoration: none;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

p {
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.billboard {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 8px;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px var(--primary-glow);
}

.billboard::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(245, 158, 11, 0.05) 1px, transparent 1px);
    background-size: 100% 4px;
    pointer-events: none;
}

#latest-message {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
    word-break: break-all;
    animation: fadeIn 0.5s ease;
}

.input-area {
    display: flex;
    gap: 15px;
}

#message-input {
    flex: 1;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
}

#message-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

#submit-button {
    padding: 0 30px;
    background: var(--primary);
    color: var(--bg-core);
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

#submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}