:root {
    --bg: #f4f5f7;
    --ink: #20222b;
    --muted: #8b8f9d;
    --line: #e3e5ea;
    --accent: #5d55ee;
    --dark: #242631;
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--ink);
}
button,
input {
    font: inherit;
}
.site-header,
.site-footer {
    display: none;
}
.page-shell {
    min-height: 100vh;
    padding: 28px 7vw;
}
.landing {
    max-width: 1120px;
    margin: 0 auto;
}
.landing-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
    text-decoration: none;
}
.brand > span:last-child > span {
    color: var(--accent);
}
.brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transform: rotate(-8deg);
}
.brand-mark span {
    width: 3px;
    background: #fff;
    border-radius: 3px;
}
.brand-mark span:nth-child(1) {
    height: 8px;
}
.brand-mark span:nth-child(2) {
    height: 15px;
}
.brand-mark span:nth-child(3) {
    height: 11px;
}
.online-pill {
    font-size: 12px;
    color: var(--muted);
}
.online-pill i,
.room-status i {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #3ac58a;
    border-radius: 50%;
    margin-right: 6px;
}
.landing-grid {
    min-height: calc(100vh - 100px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.room-panel {
    max-width: 460px;
}
.panel-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.room-panel h1 {
    font-size: 48px;
    line-height: 1.02;
    letter-spacing: -3px;
    margin: 18px 0 34px;
}
.panel-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.primary-button {
    border: 0;
    border-radius: 10px;
    padding: 14px 20px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px #5d55ee33;
}
.primary-button:hover {
    background: #4b43d6;
}
.primary-button:disabled {
    opacity: 0.65;
}
.join-inline {
    height: 47px;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding-left: 13px;
}
.join-inline input {
    width: 100px;
    border: 0;
    outline: 0;
    color: var(--ink);
    text-transform: uppercase;
    font-size: 13px;
}
.join-inline input::placeholder {
    text-transform: none;
    color: #a4a7b1;
}
.text-button {
    border: 0;
    background: #eeedff;
    color: var(--accent);
    border-radius: 7px;
    padding: 9px 11px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 4px;
}
.text-button span {
    font-size: 17px;
    margin-left: 4px;
}
.room-result {
    margin-top: 18px;
    min-height: 20px;
}
.result-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
    align-items: center;
    background: #fff;
    border: 1px solid #dddafe;
    border-radius: 10px;
    padding: 13px;
    font-size: 12px;
}
.result-box strong {
    grid-column: 1/-1;
}
.result-box a {
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-box button {
    border: 0;
    border-radius: 7px;
    background: #efeeff;
    color: var(--accent);
    padding: 7px 9px;
    font-size: 11px;
    font-weight: 700;
}
.error-message {
    color: #c75970;
    font-size: 12px;
}
.preview-card {
    height: 390px;
    border-radius: 22px;
    background: var(--dark);
    box-shadow: 0 25px 45px #25273230;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.preview-card:after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: #5d55ee;
    opacity: 0.25;
    filter: blur(4px);
    right: -90px;
    bottom: -130px;
}
.preview-head,
.preview-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #9da1b1;
    position: relative;
    z-index: 1;
}
.preview-menu {
    margin-left: auto;
    color: #c9cad1;
}
.live-dot {
    width: 7px;
    height: 7px;
    background: #4ed49e;
    border-radius: 50%;
}
.preview-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 17px;
    font-size: 18px;
    font-weight: 600;
}
.preview-avatar {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: #353846;
    border: 1px solid #ffffff1f;
    display: grid;
    place-items: center;
    color: #aaa5ff;
    font-size: 43px;
    font-weight: 300;
}
.preview-foot {
    justify-content: space-between;
}
.room-page {
    max-width: 760px;
    margin: 35px auto;
}
.room-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 30px;
}
.room-heading h1 {
    font-size: 45px;
    letter-spacing: -2px;
    margin: 12px 0 0;
}
.room-heading h1 em {
    color: var(--accent);
    font-style: normal;
}
.room-status {
    color: #4caa80;
    font-size: 12px;
}
.room-stage {
    min-height: 390px;
    border-radius: 22px;
    background: var(--dark);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}
.stage-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    background: #353846;
    display: grid;
    place-items: center;
    color: #aaa5ff;
    font-size: 30px;
    margin-bottom: 20px;
}
.room-stage strong {
    font-size: 25px;
}
.room-stage small {
    color: #aeb1bd;
    margin: 12px 0 25px;
}
.room-stage .primary-button {
    background: #fff;
    color: var(--accent);
    box-shadow: none;
}
.room-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
    padding-top: 18px;
}
@media (max-width: 800px) {
    .page-shell {
        padding: 22px;
    }
    .landing-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        min-height: auto;
        padding: 75px 0;
    }
    .room-panel {
        max-width: none;
    }
    .room-panel h1 {
        font-size: 42px;
    }
    .preview-card {
        height: 310px;
    }
    .room-page {
        margin: 20px 0;
    }
}
@media (max-width: 480px) {
    .landing-grid {
        padding-top: 60px;
    }
    .room-panel h1 {
        font-size: 38px;
    }
    .panel-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .primary-button {
        width: 100%;
    }
    .join-inline {
        width: 100%;
        justify-content: space-between;
    }
    .join-inline input {
        flex: 1;
    }
    .room-meta {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
