/* Live Learning Hub Enhanced - Modern Mobile-First Design */

:root {
    --llh-primary: #2563eb;
    --llh-primary-dark: #1d4ed8;
    --llh-primary-light: #dbeafe;
    --llh-secondary: #059669;
    --llh-secondary-light: #d1fae5;
    --llh-accent: #f59e0b;
    --llh-accent-light: #fef3c7;
    --llh-success: #10b981;
    --llh-error: #ef4444;
    --llh-warning: #f59e0b;
    --llh-info: #3b82f6;
    
    --llh-bg: #f8fafc;
    --llh-surface: #ffffff;
    --llh-surface-hover: #f1f5f9;
    --llh-border: #e2e8f0;
    --llh-text: #1e293b;
    --llh-text-muted: #64748b;
    --llh-text-light: #94a3b8;
    
    --llh-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --llh-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --llh-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --llh-radius: 12px;
    --llh-radius-lg: 16px;
    --llh-radius-xl: 20px;
    
    --llh-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --llh-transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
.live-learning-hub,
.live-learning-home {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--llh-bg);
    border-radius: var(--llh-radius-xl);
    overflow: hidden;
    box-shadow: var(--llh-shadow-xl);
    margin: 1rem 0;
}

/* Home Page Styles */
.live-learning-home {
    background: var(--llh-surface);
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

/* Home Header */
.llh-home-header {
    background: linear-gradient(135deg, var(--llh-primary) 0%, var(--llh-secondary) 100%);
    color: white;
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.llh-home-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.llh-home-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.llh-home-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.025em;
}

.llh-home-header p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0 0 2rem 0;
}

.llh-premium-status,
.llh-membership-upsell {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: var(--llh-radius);
    backdrop-filter: blur(10px);
    margin-top: 1rem;
}

.llh-premium-badge {
    background: var(--llh-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--llh-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Nickname Section */
.llh-nickname-section {
    padding: 2rem 1.5rem;
    background: var(--llh-primary-light);
}

.llh-nickname-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--llh-surface);
    border-radius: var(--llh-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--llh-shadow-lg);
}

.llh-nickname-card h2 {
    margin: 0 0 1rem 0;
    color: var(--llh-primary-dark);
    font-size: 1.5rem;
}

.llh-nickname-card p {
    margin: 0 0 1.5rem 0;
    color: var(--llh-text-muted);
}

.llh-nickname-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-direction: column;
}

@media (min-width: 480px) {
    .llh-nickname-form {
        flex-direction: row;
    }
}

.llh-nickname-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--llh-border);
    border-radius: var(--llh-radius);
    font-size: 1rem;
    transition: var(--llh-transition);
}

.llh-nickname-form input:focus {
    outline: none;
    border-color: var(--llh-primary);
    box-shadow: 0 0 0 3px var(--llh-primary-light);
}

.llh-nickname-info {
    background: var(--llh-surface-hover);
    border-radius: var(--llh-radius);
    padding: 1rem;
    text-align: left;
}

.llh-nickname-info p {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.llh-nickname-info p:last-child {
    margin-bottom: 0;
}

.llh-nickname-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--llh-success);
    padding: 1rem 1.5rem;
    border-radius: var(--llh-radius);
    margin-top: 1rem;
}

.llh-success-badge {
    background: var(--llh-success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--llh-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Features Section */
.llh-features-section {
    padding: 3rem 1.5rem;
    background: var(--llh-surface);
}

.llh-features-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    color: var(--llh-text);
}

.llh-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .llh-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .llh-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.llh-feature-card {
    background: var(--llh-surface);
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--llh-transition);
    position: relative;
}

.llh-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--llh-shadow-lg);
}

.llh-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.llh-feature-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--llh-text);
}

.llh-feature-card p {
    margin: 0 0 1rem 0;
    color: var(--llh-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.llh-feature-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--llh-radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.llh-feature-badge.free {
    background: var(--llh-success);
    color: white;
}

.llh-feature-badge.premium {
    background: var(--llh-accent);
    color: white;
}

/* Sessions Section */
.llh-sessions-section {
    padding: 3rem 1.5rem;
    background: var(--llh-surface-hover);
}

.llh-sessions-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    color: var(--llh-text);
}

.llh-sessions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .llh-sessions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .llh-sessions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.llh-session-card {
    background: var(--llh-surface);
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius-lg);
    padding: 1.5rem;
    position: relative;
    transition: var(--llh-transition);
}

.llh-session-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--llh-shadow-lg);
}

.llh-session-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--llh-radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.llh-session-status.live {
    background: var(--llh-error);
    color: white;
    animation: pulse 2s infinite;
}

.llh-session-status.upcoming {
    background: var(--llh-info);
    color: white;
}

.llh-session-status.scheduled {
    background: var(--llh-secondary);
    color: white;
}

.llh-session-status.ended {
    background: var(--llh-text-muted);
    color: white;
}

.llh-session-status.recorded {
    background: var(--llh-success);
    color: white;
}

.llh-session-card.llh-past-session {
    opacity: 0.8;
}

.llh-session-card.llh-past-session:hover {
    opacity: 1;
}

.llh-session-description {
    color: var(--llh-text-muted);
    font-size: 0.875rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.llh-no-sessions {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--llh-surface-hover);
    border-radius: var(--llh-radius-lg);
    border: 2px dashed var(--llh-border);
}

.llh-no-sessions p {
    color: var(--llh-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.llh-session-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--llh-text);
    padding-right: 80px;
}

.llh-session-speaker {
    margin: 0 0 0.5rem 0;
    color: var(--llh-primary);
    font-size: 0.875rem;
    font-weight: 500;
}

.llh-session-time {
    margin: 0 0 1rem 0;
    color: var(--llh-text-muted);
    font-size: 0.875rem;
}

.llh-session-card .llh-btn {
    width: 100%;
    justify-content: center;
}

/* CTA Section */
.llh-cta-section {
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--llh-accent-light) 0%, #fef3c7 100%);
    text-align: center;
}

.llh-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.llh-cta-content h2 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--llh-accent);
}

.llh-cta-content p {
    margin: 0 0 2rem 0;
    font-size: 1.125rem;
    color: var(--llh-text-muted);
}

/* Enhanced Buttons */
.llh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--llh-radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--llh-transition);
    white-space: nowrap;
}

.llh-btn-primary {
    background: var(--llh-primary);
    color: white;
}

.llh-btn-primary:hover {
    background: var(--llh-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--llh-shadow-lg);
}

.llh-btn-secondary {
    background: var(--llh-surface);
    color: var(--llh-text);
    border: 1px solid var(--llh-border);
}

.llh-btn-secondary:hover {
    background: var(--llh-surface-hover);
    transform: translateY(-1px);
    box-shadow: var(--llh-shadow-lg);
}

.llh-btn-premium {
    background: var(--llh-accent);
    color: white;
}

.llh-btn-premium:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: var(--llh-shadow-lg);
}

.llh-btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.llh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Stream Section (Enhanced) */
.llh-stream-section {
    background: var(--llh-surface);
    border-bottom: 1px solid var(--llh-border);
}

.llh-stream-header {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--llh-primary) 0%, var(--llh-secondary) 100%);
    color: white;
    position: relative;
}

.llh-stream-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.llh-speaker {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    opacity: 0.9;
}

.llh-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--llh-radius);
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.llh-live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.llh-video-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.llh-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: #000;
    border-radius: var(--llh-radius-lg);
    overflow: hidden;
}

.llh-video-wrapper iframe {
    width: 100%;
    display: block;
    border-radius: var(--llh-radius-lg);
    min-height: 300px;
    background: #000;
}

.llh-offline-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
    padding: 2rem;
}

.llh-offline-message h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

/* Interactive Section (Enhanced) */
.llh-interactive-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--llh-surface);
}

@media (min-width: 768px) {
    .llh-interactive-section {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

/* Chat Section (Enhanced) */
.llh-chat-section {
    background: var(--llh-surface);
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 400px;
}

.llh-chat-header {
    background: var(--llh-surface-hover);
    padding: 1rem;
    border-bottom: 1px solid var(--llh-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.llh-chat-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.llh-chat-status {
    background: var(--llh-success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--llh-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.llh-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 300px;
}

.llh-chat-message {
    background: var(--llh-surface-hover);
    border-radius: var(--llh-radius);
    padding: 0.75rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.llh-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.llh-message-nickname {
    font-weight: 600;
    color: var(--llh-primary);
    font-size: 0.875rem;
}

.llh-message-time {
    font-size: 0.75rem;
    color: var(--llh-text-light);
}

.llh-message-content {
    color: var(--llh-text);
    line-height: 1.5;
    word-wrap: break-word;
}

.llh-chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--llh-border);
    background: var(--llh-surface);
}

.llh-chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    font-size: 0.875rem;
    transition: var(--llh-transition);
}

.llh-chat-input input:focus {
    outline: none;
    border-color: var(--llh-primary);
    box-shadow: 0 0 0 3px var(--llh-primary-light);
}

.llh-chat-input input:disabled {
    background: var(--llh-surface-hover);
    color: var(--llh-text-muted);
    cursor: not-allowed;
}

.llh-nickname-required {
    background: var(--llh-primary-light);
    border-top: 1px solid var(--llh-border);
    padding: 1rem;
    text-align: center;
}

.llh-nickname-required p {
    margin: 0 0 0.75rem 0;
    color: var(--llh-primary-dark);
    font-size: 0.875rem;
}

.llh-nickname-form-inline {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.llh-nickname-form-inline input {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    font-size: 0.875rem;
}

.llh-nickname-form-inline input:focus {
    outline: none;
    border-color: var(--llh-primary);
    box-shadow: 0 0 0 2px var(--llh-primary-light);
}

.llh-nickname-form-inline .llh-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Q&A Section (Enhanced) */
.llh-qa-section {
    background: var(--llh-surface);
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 400px;
}

.llh-qa-header {
    background: linear-gradient(135deg, var(--llh-accent) 0%, #f97316 100%);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.llh-qa-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.llh-questions-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 250px;
}

.llh-question-item {
    background: var(--llh-surface-hover);
    border-radius: var(--llh-radius);
    padding: 1rem;
    border-left: 4px solid var(--llh-accent);
    animation: slideIn 0.3s ease-out;
}

.llh-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.llh-question-nickname {
    font-weight: 600;
    color: var(--llh-accent);
    font-size: 0.875rem;
}

.llh-question-time {
    font-size: 0.75rem;
    color: var(--llh-text-light);
}

.llh-question-content {
    color: var(--llh-text);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
}

.llh-question-actions {
    display: flex;
    justify-content: flex-end;
}

.llh-upvote-btn {
    background: var(--llh-surface);
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--llh-transition);
    font-size: 0.875rem;
}

.llh-upvote-btn:hover {
    background: var(--llh-primary-light);
    border-color: var(--llh-primary);
}

.llh-upvote-btn.upvoted {
    background: var(--llh-primary);
    color: white;
    border-color: var(--llh-primary);
    transform: scale(1.05);
}

.llh-upvote-icon {
    font-size: 1rem;
}

.llh-question-input {
    padding: 1rem;
    border-top: 1px solid var(--llh-border);
    background: var(--llh-surface);
}

.llh-question-input textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 0.75rem;
    transition: var(--llh-transition);
}

.llh-question-input textarea:focus {
    outline: none;
    border-color: var(--llh-accent);
    box-shadow: 0 0 0 3px var(--llh-accent-light);
}

.llh-question-input textarea:disabled {
    background: var(--llh-surface-hover);
    color: var(--llh-text-muted);
    cursor: not-allowed;
}

/* Premium Upsell (Enhanced) */
.llh-premium-upsell {
    background: linear-gradient(135deg, var(--llh-accent-light) 0%, #fef3c7 100%);
    border: 2px solid var(--llh-accent);
    border-radius: var(--llh-radius);
    padding: 1.5rem;
    text-align: center;
    grid-column: 1 / -1;
}

.llh-upsell-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--llh-accent);
    font-size: 1.25rem;
}

.llh-upsell-content p {
    margin: 0 0 1rem 0;
    color: var(--llh-text-muted);
}

/* Notifications (Enhanced) */
.llh-notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--llh-surface);
    border-radius: var(--llh-radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--llh-shadow-xl);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.llh-notification-success {
    border-left: 4px solid var(--llh-success);
}

.llh-notification-error {
    border-left: 4px solid var(--llh-error);
}

.llh-notification-warning {
    border-left: 4px solid var(--llh-warning);
}

.llh-notification-info {
    border-left: 4px solid var(--llh-info);
}

.llh-notification-message {
    flex: 1;
    color: var(--llh-text);
}

.llh-notification-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--llh-text-muted);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--llh-transition);
}

.llh-notification-close:hover {
    background: var(--llh-surface-hover);
    color: var(--llh-text);
}

/* New Message Indicator */
.llh-new-message-indicator {
    background: var(--llh-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--llh-radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    margin-top: 0.5rem;
    animation: bounce 1s infinite;
    transition: var(--llh-transition);
}

.llh-new-message-indicator:hover {
    background: var(--llh-primary-dark);
    transform: translateY(-1px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* No Questions Message */
.llh-no-questions {
    text-align: center;
    color: var(--llh-text-muted);
    font-style: italic;
    padding: 2rem;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .live-learning-hub {
        margin: 0.5rem 0;
        border-radius: 0;
    }
    
    .llh-stream-header {
        padding: 1rem;
    }
    
    .llh-stream-header h2 {
        font-size: 1.25rem;
    }
    
    .llh-interactive-section {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .llh-chat-section,
    .llh-qa-section {
        height: 350px;
    }
    
    .llh-chat-messages,
    .llh-questions-list {
        max-height: 250px;
    }
    
    .llh-notification {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }
    
    .llh-home-header {
        padding: 2rem 1rem;
    }
    
    .llh-features-section,
    .llh-sessions-section,
    .llh-cta-section {
        padding: 2rem 1rem;
    }
    
    .llh-nickname-section {
        padding: 1.5rem 1rem;
    }
    
    .llh-nickname-card {
        padding: 1.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --llh-bg: #0f172a;
        --llh-surface: #1e293b;
        --llh-surface-hover: #334155;
        --llh-border: #334155;
        --llh-text: #f1f5f9;
        --llh-text-muted: #94a3b8;
        --llh-text-light: #64748b;
    }
}

/* Focus States for Accessibility */
.llh-btn:focus,
.llh-chat-input input:focus,
.llh-question-input textarea:focus,
.llh-nickname-form input:focus {
    outline: 2px solid var(--llh-primary);
    outline-offset: 2px;
}

/* Loading States */
.llh-loading {
    opacity: 0.6;
    pointer-events: none;
}

.llh-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--llh-primary);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Live Session Container */
.llh-live-session-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.llh-session-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--llh-border);
}

.llh-session-header h2 {
    margin: 0;
    color: var(--llh-text);
    font-size: 1.8rem;
    font-weight: 700;
}

#llh-back-to-home {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .llh-session-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .llh-session-header h2 {
        font-size: 1.5rem;
    }
}

/* Nickname States */
.llh-nickname-set {
    background: var(--llh-success-light);
    border-color: var(--llh-success);
}

.llh-nickname-set h2 {
    color: var(--llh-success-dark);
}

.llh-nickname-actions {
    margin-top: 1rem;
}

.llh-nickname-change-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--llh-border);
}

.llh-nickname-change-form input {
    width: 100%;
    margin-bottom: 0.5rem;
}

.llh-nickname-change-form .llh-btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.llh-hero-session {
    background: linear-gradient(135deg, #2271b1 0%, #4f8cff 100%);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(34,113,177,0.12);
    margin: 32px auto 40px auto;
    padding: 40px 24px 32px 24px;
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.llh-hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.llh-hero-status {
    display: inline-block;
    background: #fff;
    color: #2271b1;
    font-weight: 700;
    border-radius: 12px;
    padding: 6px 18px;
    font-size: 1rem;
    margin-bottom: 18px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(34,113,177,0.08);
}

.llh-hero-session .llh-btn {
    margin-top: 24px;
    font-size: 1.2rem;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34,113,177,0.10);
}

.llh-hero-session .llh-session-speaker {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #e0eaff;
}

.llh-hero-session .llh-session-description {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #e0eaff;
}

.llh-hero-session .llh-session-time {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

@media (max-width: 700px) {
    .llh-hero-session {
        padding: 24px 8px 20px 8px;
        max-width: 98vw;
    }
    .llh-hero-content h2 {
        font-size: 1.3rem;
    }
    .llh-hero-session .llh-btn {
        font-size: 1rem;
        padding: 10px 18px;
    }
}

.llh-chat-send-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 0;
}

.llh-chat-send-row input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    border-radius: var(--llh-radius);
    border: 1px solid var(--llh-border);
}

.llh-chat-send-row input[type="text"]:focus {
    outline: none;
    border-color: var(--llh-primary);
    box-shadow: 0 0 0 2px var(--llh-primary-light);
}

.llh-chat-send-row button.llh-btn {
    padding: 0.85rem 2.1rem;
    font-size: 1.05rem;
    border-radius: var(--llh-radius);
    font-weight: 600;
}

@media (max-width: 600px) {
    .llh-chat-send-row input[type="text"] {
        font-size: 0.98rem;
        padding: 0.7rem 0.8rem;
    }
    .llh-chat-send-row button.llh-btn {
        font-size: 0.98rem;
        padding: 0.7rem 1.2rem;
    }
}

/* Emoji Reactions Styles */
.llh-message-actions,
.llh-question-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.llh-reactions-container {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.llh-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    background: var(--llh-surface);
    color: var(--llh-text);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--llh-transition);
    min-width: 0;
    white-space: nowrap;
}

.llh-reaction-btn:hover {
    background: var(--llh-surface-hover);
    border-color: var(--llh-primary);
    transform: translateY(-1px);
}

.llh-reaction-btn.active {
    background: var(--llh-primary-light);
    border-color: var(--llh-primary);
    color: var(--llh-primary-dark);
}

.llh-reaction-emoji {
    font-size: 1rem;
}

.llh-reaction-count {
    font-weight: 600;
    font-size: 0.75rem;
}

.llh-add-reaction-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    background: var(--llh-surface);
    color: var(--llh-text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--llh-transition);
    opacity: 0.7;
}

.llh-add-reaction-btn:hover {
    background: var(--llh-surface-hover);
    border-color: var(--llh-primary);
    color: var(--llh-primary);
    opacity: 1;
    transform: translateY(-1px);
}

.llh-emoji-picker {
    position: absolute;
    background: var(--llh-surface);
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius-lg);
    box-shadow: var(--llh-shadow-xl);
    padding: 1rem;
    z-index: 1000;
    min-width: 280px;
    max-width: 320px;
}

.llh-emoji-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--llh-border);
}

.llh-emoji-picker-header span {
    font-weight: 600;
    color: var(--llh-text);
}

.llh-emoji-picker-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--llh-text-muted);
    cursor: pointer;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--llh-radius);
    transition: var(--llh-transition);
}

.llh-emoji-picker-close:hover {
    background: var(--llh-surface-hover);
    color: var(--llh-text);
}

.llh-emoji-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.llh-emoji-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    background: var(--llh-surface);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--llh-transition);
}

.llh-emoji-option:hover {
    background: var(--llh-primary-light);
    border-color: var(--llh-primary);
    transform: scale(1.1);
}

/* Mobile responsive adjustments for reactions */
@media (max-width: 600px) {
    .llh-message-actions,
    .llh-question-actions {
        gap: 0.25rem;
    }
    
    .llh-reaction-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .llh-reaction-emoji {
        font-size: 0.9rem;
    }
    
    .llh-reaction-count {
        font-size: 0.7rem;
    }
    
    .llh-add-reaction-btn {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
    }
    
    .llh-emoji-picker {
        min-width: 250px;
        max-width: 280px;
    }
    
    .llh-emoji-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }
    
    .llh-emoji-option {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.1rem;
    }
}

/* Floating emoji animation for video reactions */
@keyframes llh-float-up {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    10% { opacity: 1; transform: translateY(-10px) scale(1.2); }
    80% { opacity: 1; transform: translateY(-120px) scale(1.1); }
    100% { opacity: 0; transform: translateY(-180px) scale(0.8); }
}
.llh-floating-emoji {
    pointer-events: none;
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 1000;
    font-size: 2rem;
    animation: llh-float-up 3s ease-out forwards;
    will-change: transform, opacity;
}
.llh-video-reaction-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    font-size: 1.5rem;
    padding: 0.4em 0.7em;
    background: var(--llh-surface);
    border: 1px solid var(--llh-border);
    border-radius: var(--llh-radius);
    cursor: pointer;
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
}
.llh-video-reaction-btn:hover {
    background: var(--llh-primary-light);
    opacity: 1;
}
@media (max-width: 800px) {
    .llh-video-wrapper {
        max-width: 100vw;
        border-radius: 0;
    }
    .llh-video-wrapper iframe {
        border-radius: 0;
        min-height: 180px;
    }
}