:root {
    --background: #080604;
    --panel: rgba(12, 9, 6, 0.94);
    --orange: #f2a13b;
    --orange-light: #ffc16b;
    --border: rgba(190, 125, 42, 0.38);
    --text: #f3f0ec;
    --muted: #aaa096;
    --green: #42d895;
    --red: #e35b52;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(116, 65, 15, 0.19), transparent 55%),
        linear-gradient(180deg, #100a04 0%, #050403 55%, #000 100%);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
}

a {
    color: var(--orange-light);
    text-decoration: none;
}

a:hover {
    color: #fff;
}

.page {
    width: min(100% - 32px, 900px);
    margin: 0 auto;
}

.site-header {
    text-align: center;
    padding: 65px 0 34px;
}

.brand {
    display: inline-block;
    color: white;
}

.brand-logo {
    display: inline-block;
    padding: 17px 22px 12px;
    border: 2px solid var(--orange);
    box-shadow: 0 0 25px rgba(242, 161, 59, 0.13);
    font-size: clamp(32px, 7vw, 56px);
    font-weight: 900;
    letter-spacing: 7px;
    line-height: 1;
}

.brand-tagline {
    color: var(--orange-light);
    font-size: 13px;
    letter-spacing: 4px;
    margin-top: 5px;
}

main {
    padding-bottom: 20px;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 28px;
    margin-bottom: 22px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.25);
}

.intro-panel {
    text-align: center;
    padding: 34px 28px;
}

h1, h2 {
    color: var(--orange-light);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 3px;
    margin: 0;
}

.gold-line {
    width: 90px;
    height: 1px;
    margin: 16px auto 24px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.intro-text {
    max-width: 650px;
    margin: 0 auto 22px;
    line-height: 1.8;
}

.primary-button,
.send-button {
    display: inline-block;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(110deg, #f39816, #ffc16b);
    color: #261607;
    font-weight: 800;
    padding: 13px 27px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary-button:hover,
.send-button:hover {
    color: #170d03;
    transform: translateY(-2px);
    box-shadow: 0 5px 22px rgba(242, 161, 59, 0.25);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.status-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 25px;
    font-size: 13px;
}

.status-dot,
.live-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #777;
}

.status-dot.online {
    background: var(--green);
    box-shadow: 0 0 9px rgba(66, 216, 149, 0.55);
}

.status-dot.offline {
    background: var(--red);
}

.status-value {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.chat-panel {
    padding: 25px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.live-indicator {
    color: var(--green);
    font-size: 11px;
    letter-spacing: 1px;
}

.live-indicator span {
    background: var(--green);
    margin-right: 5px;
}

.chat-panel .gold-line {
    margin: 15px 0 20px;
}

.chat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.chat-platforms {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.platform-tag,
.status-pill {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 10px;
    color: var(--orange-light);
    font-size: 10px;
    letter-spacing: 1px;
}

.webchat-tag {
    color: var(--green);
}

.connection-label {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.chat-messages {
    height: 390px;
    overflow-y: auto;
    padding: 15px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.chat-message {
    padding: 9px 5px;
    border-bottom: 1px solid rgba(190, 125, 42, 0.12);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.chat-message:last-child {
    border-bottom: 0;
}

.chat-platform {
    display: inline-block;
    color: var(--orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-right: 8px;
}

.chat-nickname {
    color: #fff;
    font-weight: 700;
    margin-right: 7px;
}

.chat-time {
    color: #766d62;
    font-size: 10px;
    margin-right: 8px;
}

.chat-text {
    color: #ded8d0;
}

.empty-chat {
    color: var(--muted);
    text-align: center;
    padding: 35px 10px;
}

.chat-form {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 9px;
    margin-top: 13px;
}

.chat-form input {
    width: 100%;
    min-width: 0;
    background: #090705;
    border: 1px solid var(--border);
    border-radius: 25px;
    color: white;
    padding: 12px 15px;
    outline: none;
    font: inherit;
}

.chat-form input:focus {
    border-color: var(--orange);
}

.chat-form input::placeholder {
    color: #82776b;
}

.send-button {
    padding: 11px 22px;
}

.chat-notice,
.muted {
    color: var(--muted);
    font-size: 12px;
}

.chat-notice {
    margin: 12px 2px 0;
}

.radio-panel {
    padding: 22px 25px;
}

.radio-panel .muted {
    margin-bottom: 0;
}

.community-section {
    text-align: center;
    padding: 22px 10px 30px;
}

.community-section h2 {
    font-size: 14px;
    margin-bottom: 18px;
}

.community-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.community-links a {
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 25px;
    font-size: 13px;
}

.community-links a:hover {
    border-color: var(--orange);
    background: rgba(242, 161, 59, 0.08);
}

.contact-line {
    margin-top: 22px;
    font-size: 13px;
}

footer {
    text-align: center;
    color: #aaa096;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 15px 0 35px;
}

footer span {
    color: var(--orange);
}

footer div {
    color: #75695c;
    font-size: 9px;
    margin-top: 8px;
    letter-spacing: 3px;
}

@media (max-width: 600px) {
    .site-header {
        padding-top: 38px;
    }

    .brand-logo {
        letter-spacing: 4px;
    }

    .brand-tagline {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .panel {
        padding: 20px 16px;
    }

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

    .chat-messages {
        height: 340px;
    }

    .chat-form {
        grid-template-columns: 1fr auto;
    }

    .chat-form input:first-child {
        grid-column: 1 / -1;
    }

    .section-heading h2 {
        font-size: 14px;
    }
}
