* { box-sizing: border-box; margin: 0; padding: 0; }
body, html { width: 100%; height: 100%; background-color: #020202; overflow: hidden; font-family: 'Courier New', Courier, monospace; }

.room {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #020202;
}

/* Конус света, бьющий сверху вниз */
.table-light {
    position: absolute;
    top: 0;
    width: 140px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.02) 60%, rgba(0,0,0,0) 100%);
    clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
    pointer-events: none;
    z-index: 1;
}

.silhouette {
    position: absolute;
    bottom: 25%;
    width: 280px;
    height: 380px;
    background: #000;
    border-radius: 140px 140px 0 0;
    filter: blur(4px); /* Чуть уменьшил блюр, чтобы силуэт был более графичным */
    opacity: 0.95;
    z-index: 2;
}

.subtitles-container {
    position: absolute;
    bottom: 25%;
    width: 80%;
    max-width: 700px;
    text-align: center;
    min-height: 60px;
    z-index: 3;
}

#subtitles-text {
    color: #e0e0e0;
    font-size: 1.2rem;
    line-height: 1.5;
    text-shadow: 2px 2px 8px rgba(0,0,0,1);
    font-weight: 300;
}

.input-wrapper {
    margin-bottom: 8%;
    width: 90%;
    max-width: 600px;
    display: flex;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    transition: opacity 0.5s ease;
    z-index: 4;
}

textarea {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    outline: none;
    padding: 5px;
    max-height: 120px;
    overflow-y: auto;
}

textarea::placeholder { color: rgba(255,255,255,0.25); }

#send-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 10px;
    opacity: 0.5;
    transition: opacity 0.3s;
}
#send-btn:hover { opacity: 1; }

/* ПЕЙВОЛЛ ОВЕРЛЕЙ */
.paywall-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 2, 2, 0.96);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 20px;
}

.paywall-box {
    text-align: center;
    color: #fff;
    max-width: 440px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #070707;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.paywall-box h2 { 
    color: #c00000; 
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 20px; 
}

.paywall-box p { 
    margin-bottom: 20px; 
    line-height: 1.6; 
    color: #a0a0a0; 
    font-size: 0.95rem;
}

/* СТИЛИЗАЦИЯ КНОПКИ ДЛЯ ТГ */
#tg-btn {
    display: inline-block;
    background: #ffffff; 
    color: #000000;
    text-decoration: none;
    border: none; 
    padding: 14px 28px;
    font-size: 1rem; 
    font-weight: bold; 
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.2s;
    font-family: inherit;
    margin-top: 10px;
}

#tg-btn:hover { 
    background: #e0e0e0; 
    transform: translateY(-1px);
}
#tg-btn:active {
    transform: translateY(1px);
}