/* 스트리머 페이지 - 새로운 디자인 */

/* 컨테이너 최대 너비 확장 */
.main .container {
    max-width: 95vw;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 페이지 헤더 */
.page-header {
    text-align: center;
    margin-bottom: 0.5rem;
    padding: 1rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.page-header h1 i {
    color: #e74c3c;
    margin-right: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin: 0 0 1.5rem 0;
}

.header-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.header-actions .btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.header-actions .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.header-actions .btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.header-actions .btn-secondary {
    background: #95a5a6;
    color: white;
}

.header-actions .btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
}

/* 스트리머 페이지 전용 검색 섹션 */
.streamers-page-search-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0 auto 2rem auto;
    max-width: 900px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.streamers-page-search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.streamers-page-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.streamers-page-search-icon {
    position: absolute;
    left: 1rem;
    color: #95a5a6;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.streamers-page-search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 2.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.streamers-page-search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.streamers-page-btn-clear-search {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #95a5a6;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    text-decoration: none;
    z-index: 1;
}

.streamers-page-btn-clear-search:hover {
    color: #e74c3c;
}

.streamers-page-btn-search {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.streamers-page-btn-search:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.streamers-page-search-result-info {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    color: #2c3e50;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.streamers-page-search-result-info i {
    color: #3498db;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .streamers-page-search-section {
        max-width: 100%;
        padding: 1rem;
    }
    
    .streamers-page-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .streamers-page-search-input-wrapper {
        max-width: 100%;
    }
    
    .streamers-page-btn-search {
        width: 100%;
        justify-content: center;
    }
}

/* 스트리머 섹션 */
.streamers-section {
    margin-top: 0;
    padding-top: 0;
}

/* 스트리머 그룹 */
.streamer-group {
    margin-bottom: 2rem;
}

.group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.8rem 0;
    border-bottom: 3px solid;
}

.partners-group .group-header {
    border-bottom-color: #f39c12;
}

.best-group .group-header {
    border-bottom-color: #3498db;
}

.normal-group .group-header {
    border-bottom-color: #95a5a6;
}

.group-header h2 {
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partners-group .group-header h2 {
    color: #f39c12;
}

.best-group .group-header h2 {
    color: #3498db;
}

.normal-group .group-header h2 {
    color: #95a5a6;
}

.group-count {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 스트리머 카드 그리드 */
.streamer-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 100%;
}

/* 스트리머 카드 */
.streamer-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    min-height: 400px;
}

.streamer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 라이브 중인 스트리머 카드 */
.streamer-card.live {
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
    border: 2px solid #e74c3c;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.2), 0 0 20px rgba(231, 76, 60, 0.1);
    animation: liveGlow 3s ease-in-out infinite alternate;
}

.streamer-card.live:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.3), 0 0 30px rgba(231, 76, 60, 0.2);
}

.streamer-card.live .streamer-profile {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    position: relative;
}

.streamer-card.live .streamer-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(231, 76, 60, 0.05) 50%, transparent 70%);
    animation: shimmer 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes liveGlow {
    0% {
        box-shadow: 0 4px 20px rgba(231, 76, 60, 0.2), 0 0 20px rgba(231, 76, 60, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3), 0 0 25px rgba(231, 76, 60, 0.15);
    }
}

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

/* 스트리머 프로필 섹션 */
.streamer-profile {
    flex: 0 0 35%;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-width: 300px;
}

.profile-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #bdc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.live-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.profile-info {
    width: 100%;
}

.streamer-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.partner-badge {
    background: #f39c12;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.partner-badge.partner-diamond {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
}

.partner-badge.partner-gold {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
}

.partner-badge.partner-platinum {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
}

.partner-badge.partner-silver {
    background: linear-gradient(45deg, #a8edea 0%, #fed6e3 100%);
    color: #2c3e50;
}

.partner-badge.partner-bronze {
    background: linear-gradient(45deg, #ffecd2 0%, #fcb69f 100%);
    color: #2c3e50;
}

.featured-badge {
    color: #f39c12;
    font-size: 1.2rem;
}

.streamer-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.platform-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.platform-badge.platform-chzzk {
    background: #00d4aa;
    color: #fff;
}

.platform-badge.platform-youtube {
    background: #ff0000;
    color: #fff;
}

.subscriber-count,
.viewer-count {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.subscriber-count i,
.viewer-count i {
    color: #3498db;
}

.viewer-count.live {
    color: #e74c3c;
    font-weight: 600;
}

.stream-title {
    background: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.post-stats {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.total-posts,
.today-posts {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #7f8c8d;
}

.total-posts i,
.today-posts i {
    color: #9b59b6;
}

.today-posts {
    color: #27ae60;
    font-weight: 600;
}

.streamer-actions {
    margin-top: auto;
}

.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-watch.live {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #fff;
}

.btn-watch.live:hover {
    background: linear-gradient(45deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-watch.btn-channel {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #fff;
}

.btn-watch.btn-channel:hover {
    background: linear-gradient(45deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* 인증 버튼 스타일 */
.btn-watch.btn-verify {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    border: 2px solid #f39c12;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    animation: pulse-glow 2s infinite;
}

.btn-watch.btn-verify:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
    border-color: #e67e22;
}

.btn-watch.btn-verify::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-watch.btn-verify:hover::before {
    left: 100%;
}

.btn-watch.btn-verify i {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(243, 156, 18, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    }
}

/* 인증 완료 상태 스타일 */
.verification-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.verification-status.verified {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    border: 2px solid #27ae60;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.verification-status.verified i {
    color: #fff;
    font-size: 1rem;
}

.verification-status.verified span {
    font-weight: 600;
}

.verification-status.verified small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.2rem;
    font-weight: 400;
}

/* 채팅형 게시판 섹션 */
.streamer-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    min-width: 400px;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.chat-messages {
    flex: none;
    padding: 1rem;
    overflow-y: auto;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    max-height: 300px;
    min-height: 300px;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* 스크롤바 스타일링 */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 채팅 풍선 스타일 */
.post-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 16px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    position: relative;
}

.post-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.75rem;
    flex-shrink: 0;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-avatar i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.9rem;
}

.post-content {
    flex: 1;
    min-width: 0;
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    gap: 0.5rem;
}

.post-author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.85rem;
}

.post-time {
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 400;
}

.post-text {
    color: #495057;
    line-height: 1.4;
    font-size: 0.9rem;
    word-wrap: break-word;
}

/* 봇 메시지 스타일 */
.command-response {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.command-response .post-avatar {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.command-response .post-avatar i {
    background: rgba(255, 255, 255, 0.1);
    animation: botPulse 2s infinite;
}

.command-response .post-author {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.command-response .post-time {
    color: rgba(255, 255, 255, 0.7);
}

.command-response .post-text {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.command-trigger {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* 빈 게시글 상태 */
.no-posts {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.no-posts i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.no-posts p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message {
    background: #fff;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #3498db;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.message-author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.message-author.member {
    color: #3498db;
}

.message-time {
    font-size: 0.7rem;
    color: #95a5a6;
}

.message-content {
    color: #2c3e50;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* 봇 메시지의 메시지 내용 스타일 */
.command-response .message-content {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

/* 명령어 응답 스타일 - 화려하고 예쁘게 */
.command-response {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    margin: 0.5rem 0;
    padding: 0.75rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    animation: botMessageSlideIn 0.5s ease-out;
}

.command-response::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    animation: shimmer 2s infinite;
}

.command-response .post-avatar {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.command-response .post-avatar i {
    animation: botPulse 2s infinite;
}

.command-response .post-author {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.command-response .post-time {
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 2;
}

.command-response .post-message {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.command-trigger {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 봇 메시지 애니메이션 */
@keyframes botMessageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-3px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes botPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

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

/* 봇 메시지 호버 효과 */
.command-response:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.command-response:hover::before {
    animation-duration: 1s;
}

.chat-input {
    padding: 1rem 1.5rem;
    background: #fff;
    border-top: 1px solid #ecf0f1;
    display: flex;
    gap: 0.8rem;
}

.chat-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input input:focus {
    border-color: #3498db;
}

.btn-send {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-send:hover {
    background: linear-gradient(45deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-send:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 로딩 상태 */
.chat-loading {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.chat-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 빈 상태 */
.chat-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 200px;
    text-align: center;
    padding: 2rem;
    color: #95a5a6;
}

.chat-empty i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* 페이지네이션 */
.group-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: #fff;
    color: #2c3e50;
    text-decoration: none;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 40px;
    justify-content: center;
}

.pagination-btn:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.pagination-btn.active {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
    cursor: default;
}

.pagination-btn.active:hover {
    transform: none;
    box-shadow: none;
}

.pagination-btn.prev,
.pagination-btn.next {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #fff;
    border-color: #3498db;
}

.pagination-btn.prev:hover,
.pagination-btn.next:hover {
    background: linear-gradient(45deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* 반응형 디자인 */
@media (min-width: 1800px) {
    .main .container {
        max-width: 98vw;
    }
    
    .streamer-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .streamer-profile {
        flex: 0 0 30%;
    }
    
    .chat-messages {
        height: 380px;
        max-height: 380px;
        min-height: 380px;
    }
}

@media (max-width: 1600px) {
    .streamer-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .streamer-cards {
        grid-template-columns: 1fr;
    }
    
    .main .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .streamer-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .streamer-profile {
        padding: 1.5rem;
    }
    
    .profile-image img,
    .no-image {
        width: 80px;
        height: 80px;
    }
    
    .streamer-name {
        font-size: 1.2rem;
    }
    
    .chat-messages {
        height: 160px;
        max-height: 160px;
        min-height: 160px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .streamer-profile {
        padding: 1rem;
    }
    
    .chat-header,
    .chat-input {
        padding: 0.8rem 1rem;
    }
    
    .btn-watch,
    .btn-send {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* 스트리머 액션 버튼들 */
.streamer-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.streamer-actions .btn-watch {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    min-width: 80px;
}

.streamer-actions .btn-station {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.streamer-actions .btn-station:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.streamer-actions .btn-channel {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.streamer-actions .btn-channel:hover {
    background: #e9ecef;
    color: #343a40;
    transform: translateY(-1px);
}

.streamer-actions .live {
    background: #e74c3c;
    color: white;
    border: 1px solid #e74c3c;
    animation: pulse 2s infinite;
}

.streamer-actions .live:hover {
    background: #c0392b;
    border-color: #c0392b;
    transform: translateY(-1px);
}

/* 링크 미리보기 스타일 */
.streamer-link-preview {
    display: flex;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    overflow: hidden;
    margin: 8px 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.streamer-link-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.streamer-link-preview-image {
    width: 100px;
    height: 70px;
    object-fit: cover;
    background: #f8f9fa;
    flex-shrink: 0;
}

.streamer-link-preview-content {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.streamer-link-preview-title {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 4px 0;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.streamer-link-preview-description {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.streamer-link-preview-domain {
    font-size: 10px;
    color: #999;
    margin: 0;
}

.streamer-link-preview-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #666;
    font-size: 12px;
}

.streamer-link-preview-loading i {
    margin-right: 6px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 이미지 모달 스타일 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
}

.image-modal-close:hover {
    color: #ff6b6b;
}

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

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 스트리머 미디어 공유 섹션 - 얇은 한 줄 스타일 */
.streamer-media-share {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 8px 8px;
    margin-top: -1px;
}

.streamer-image-upload {
    display: flex;
    align-items: center;
}

.streamer-link-share {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 6px;
}

.streamer-media-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: #6c757d;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.streamer-media-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.streamer-link-input {
    flex: 1;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 12px;
    background: white;
}

.streamer-link-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.streamer-link-btn {
    background: #007bff;
}

.streamer-link-btn:hover {
    background: #0056b3;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .streamer-media-share {
        padding: 4px 8px;
        gap: 6px;
    }
    
    .streamer-media-btn {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .streamer-link-input {
        height: 24px;
        font-size: 11px;
    }
}
