/* SLY NEWS Panel System Styles - Trust Me, I'm a Fox! */
/* Featuring Sly Lyka Fox and Friends */

/* Show Layout Base */
.show-layout {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease-in;
}

/* Show Banner */
.show-banner {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ff6b6b, #c41e3a);
    padding: 10px 30px;
    border-radius: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    z-index: 200;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.show-time {
    background: white;
    color: #c41e3a;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
}

.show-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.show-type {
    background: rgba(0,0,0,0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/* Couch Layout - Morning Shows */
.layout-couch .couch-set {
    width: 90%;
    height: 70%;
    position: relative;
    background: linear-gradient(180deg, #87CEEB 0%, #FFE4B5 100%);
    border-radius: 20px;
    padding: 20px;
}

.couch-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23f0f0f0" width="1200" height="400"/><rect fill="%23e0e0e0" x="100" y="50" width="200" height="250"/><rect fill="%23e0e0e0" x="500" y="50" width="200" height="250"/><rect fill="%23e0e0e0" x="900" y="50" width="200" height="250"/></svg>') center/cover;
    opacity: 0.3;
}

.couch-furniture {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.couch-seats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.couch-panelist {
    background: linear-gradient(145deg, #8B4513, #D2691E);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: bounce-in 0.5s ease-out;
    position: relative;
}

.coffee-table {
    width: 300px;
    height: 60px;
    background: linear-gradient(145deg, #654321, #8B4513);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.table-items {
    font-size: 24px;
    letter-spacing: 20px;
}

/* Round Table Layout - The Five */
.layout-table .table-set {
    width: 80%;
    height: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.round-table {
    width: 400px;
    height: 400px;
    position: relative;
}

.table-surface {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #8B4513, #654321);
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.table-panelists {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.table-panelist {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    animation: float 3s ease-in-out infinite;
}

.debate-indicator {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.debate-bubble {
    background: white;
    color: #c41e3a;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    animation: pop-in 0.3s ease-out;
}

/* Panel Grid Layout - Brady Bunch Style */
.layout-panel .panel-set {
    width: 90%;
    height: 80%;
    position: relative;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    height: 100%;
}

.panel-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    animation: slide-in 0.5s ease-out;
}

.panel-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 3px solid #c41e3a;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.panelist-lower-third {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #c41e3a, transparent);
    padding: 5px 10px;
}

.speaking-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff00;
    opacity: 0;
    transition: opacity 0.3s;
}

.speaking-indicator.speaking {
    opacity: 1;
    animation: pulse 1s infinite;
}

/* Desk Layouts */
.news-desk-duo, .news-desk-solo {
    width: 80%;
    height: 150px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 20px 20px 0 0;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.desk-surface, .desk-surface-solo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(90deg, #c41e3a, #ff6b6b);
}

.desk-anchor {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.desk-props {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    font-size: 24px;
}

/* Fox Avatars */
.fox-avatar {
    font-size: 48px;
    animation: ear-wiggle 2s ease-in-out infinite;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.fox-avatar.large {
    font-size: 72px;
}

.fox-avatar.professional {
    font-size: 56px;
    animation: professional-nod 4s ease-in-out infinite;
}

.fox-avatar.animated {
    animation: spin-talk 3s ease-in-out infinite;
}

/* Panelist Info */
.panelist-info, .anchor-info {
    text-align: center;
    margin-top: 10px;
}

.panelist-name, .anchor-name {
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.anchor-name-large {
    font-size: 24px;
    color: white;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.panelist-role, .anchor-role {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 2px;
}

/* Speech Bubbles */
.speech-bubble {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    max-width: 150px;
    text-align: center;
}

.speech-bubble.active {
    opacity: 1;
    animation: bubble-bounce 0.5s ease-out;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: white;
}

/* Reactions */
.panelist-reaction {
    position: absolute;
    top: -30px;
    right: -10px;
    font-size: 24px;
    animation: reaction-pop 2s ease-out;
}

/* Show Logos */
.show-logo {
    font-size: 32px;
    font-weight: bold;
    color: #c41e3a;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #ff6b6b, #c41e3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logo-shine 3s ease-in-out infinite;
}

.show-tagline {
    font-size: 16px;
    color: white;
    font-style: italic;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Show Announcement */
.show-announcement {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(45deg, #c41e3a, #ff6b6b);
    padding: 40px;
    border-radius: 20px;
    z-index: 1000;
    transition: transform 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.show-announcement.show {
    transform: translate(-50%, -50%) scale(1);
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.announcement-logo {
    font-size: 72px;
    animation: spin 1s ease-in-out;
}

.announcement-now {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.announcement-title {
    color: white;
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
}

.announcement-tagline {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    font-style: italic;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce-in {
    0% { transform: scale(0) rotate(-180deg); }
    50% { transform: scale(1.1) rotate(10deg); }
    100% { transform: scale(1) rotate(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes ear-wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes professional-nod {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes spin-talk {
    0%, 100% { transform: rotate(0) scale(1); }
    25% { transform: rotate(-10deg) scale(1.05); }
    75% { transform: rotate(10deg) scale(1.05); }
}

@keyframes bubble-bounce {
    0% { transform: translateX(-50%) translateY(10px); }
    100% { transform: translateX(-50%) translateY(0); }
}

@keyframes reaction-pop {
    0% { transform: scale(0) rotate(-180deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0) translateY(-20px); opacity: 0; }
}

@keyframes logo-shine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

@keyframes pop-in {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes slide-in {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}