/* VIXEN NEWS - Professional Broadcast Styling */

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

body {
    background: #0a0a0a;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.tv-frame {
    width: 100%;
    max-width: 1920px;
    background: #000;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
}

.screen {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
    overflow: hidden;
}

/* Breaking News Alert */
.breaking-news-alert {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #c41e3a, #8b0000);
    color: white;
    padding: 8px;
    font-weight: bold;
    font-size: 18px;
    z-index: 1000;
    display: none;
    animation: pulse 1s infinite;
    text-align: center;
}

.breaking-news-alert.active {
    display: block;
}

.alert-badge {
    background: #fff;
    color: #c41e3a;
    padding: 2px 10px;
    margin-right: 10px;
    font-weight: 900;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Professional News Header */
.news-header {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #c41e3a;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    font-size: 36px;
    font-weight: 900;
    color: white;
    letter-spacing: -2px;
}

.tagline {
    color: #ffd700;
    font-size: 14px;
    font-style: italic;
    font-weight: bold;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: bold;
    background: #c41e3a;
    padding: 5px 15px;
    border-radius: 3px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.time-display {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Main News Content Area */
.news-content {
    position: relative;
    height: calc(100vh - 200px);
    display: flex;
}

/* Professional Anchor Desk */
.anchor-desk {
    flex: 1;
    display: flex;
    position: relative;
    background: url('assets/newsroom-bg.jpg') center/cover;
}

.anchor-container {
    flex: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
}

.fox-anchor {
    position: relative;
    width: 600px;
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.fox-anchor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

/* Professional Name Plate */
.anchor-name-plate {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    padding: 10px 30px;
    border: 2px solid #ffd700;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.anchor-name {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.anchor-title {
    color: #ffd700;
    font-size: 14px;
    margin-top: 2px;
}

/* Teleprompter */
.teleprompter {
    position: absolute;
    bottom: 180px;
    width: 80%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-left: 4px solid #c41e3a;
}

.teleprompter-text {
    color: white;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
}

/* Expert Panel (Split Screen) */
.expert-panel {
    flex: 1;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
    border-left: 3px solid #c41e3a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.panel-header {
    background: #c41e3a;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.expert-fox {
    text-align: center;
}

.expert-fox img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
    border: 3px solid #2a5298;
}

.expert-name {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
}

.expert-title {
    color: #ffd700;
    font-size: 14px;
    margin-top: 5px;
}

/* Lower Third Graphics */
.lower-third {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 100;
}

.headline-bar {
    background: linear-gradient(90deg, #c41e3a 0%, #8b0000 100%);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    border-top: 3px solid #ffd700;
}

.headline-label {
    background: white;
    color: #c41e3a;
    padding: 5px 15px;
    font-weight: 900;
    margin-right: 20px;
    font-size: 18px;
}

.headline-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* News Ticker */
.ticker-container {
    background: #1e3c72;
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
    border-top: 2px solid #ffd700;
}

.ticker-label {
    background: #c41e3a;
    color: white;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    position: relative;
    z-index: 10;
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: scroll 60s linear infinite;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.ticker-item {
    padding: 0 50px;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Side Graphics */
.side-graphics {
    position: absolute;
    right: 20px;
    top: 150px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.poll-widget {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #c41e3a;
    padding: 15px;
}

.poll-header {
    background: #c41e3a;
    color: white;
    padding: 8px;
    margin: -15px -15px 10px;
    text-align: center;
    font-weight: bold;
}

.poll-question {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
}

.poll-option {
    color: white;
    margin: 10px 0;
    font-size: 14px;
}

.poll-bar {
    background: linear-gradient(90deg, #2a5298, #1e3c72);
    height: 25px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: bold;
}

/* Fear Meter */
.fear-meter {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ff6600;
    padding: 15px;
}

.meter-header {
    background: #ff6600;
    color: white;
    padding: 8px;
    margin: -15px -15px 10px;
    text-align: center;
    font-weight: bold;
}

.meter-display {
    text-align: center;
}

.meter-bar {
    height: 30px;
    background: linear-gradient(90deg, #00ff00, #ffff00, #ff6600, #ff0000);
    position: relative;
    margin: 10px 0;
}

.meter-bar::after {
    content: '▼';
    position: absolute;
    top: -10px;
    left: 75%;
    color: white;
    font-size: 20px;
}

.meter-label {
    color: #ff6600;
    font-weight: bold;
    font-size: 18px;
}

/* Control Panel */
.control-panel {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 200;
}

.control-btn {
    background: #2a5298;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
}

.control-btn:hover {
    background: #1e3c72;
    transform: scale(1.05);
}

.control-btn.primary {
    background: #c41e3a;
}

.news-generator {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid #444;
}

#topicInput {
    padding: 10px;
    width: 250px;
    background: #222;
    border: 1px solid #444;
    color: white;
    border-radius: 5px;
}

/* Sponsor Bar */
.sponsor-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #ffd700;
    padding: 5px;
    text-align: center;
    font-size: 14px;
    font-style: italic;
}

/* Professional Look */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;700&display=swap');

.logo, .headline-text {
    font-family: 'Bebas Neue', sans-serif;
}

.anchor-name, .expert-name {
    font-family: 'Oswald', sans-serif;
}