/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 55px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: #ffd700;
    font-size: 1.6rem;
}

.logo-link {
    text-decoration: none !important;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
    text-decoration: none !important;
}

.logo-link h1 {
    text-decoration: none !important;
}

/* 모든 로고 관련 요소에서 밑줄 제거 */
.logo a,
.logo a:hover,
.logo a:visited,
.logo a:active,
.logo h1,
.logo h1 a,
.logo h1 a:hover,
.logo h1 a:visited,
.logo h1 a:active {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
}

.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav li {
    display: flex;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    line-height: 1;
}

.nav a:hover {
    color: #ffd700;
}

.user-menu {
    display: flex;
    gap: 1rem;
}

.btn-login, .btn-register {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login {
    color: white;
    border: 2px solid white;
}

.btn-login:hover {
    background: white;
    color: #667eea;
}

.btn-register {
    background: #ffd700;
    color: #333;
}

.btn-register:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

/* 메인 컨텐츠 */
.main {
    min-height: calc(100vh - 200px);
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,215,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
}

/* 섹션 공통 스타일 */
section {
    padding: 60px 0;
}

section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

/* 인기 게시판 */
.popular-boards {
    background: white;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.board-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

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

.board-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.board-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.board-card p {
    color: #666;
    margin-bottom: 1rem;
}

.post-count {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* 인기 스트리머 */
.popular-streamers {
    background: #f8f9fa;
}

.streamer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.streamer-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.streamer-card:hover {
    transform: translateY(-3px);
}

.streamer-avatar {
    position: relative;
}

.streamer-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* 이미지 로드 실패 시 대체 스타일 */
.streamer-avatar img:not([src]), 
.streamer-avatar img[src=""],
.streamer-avatar img[src*="error"] {
    display: none;
}

/* 기본적으로 모든 스트리머 아바타에 배경과 아이콘 표시 */
.streamer-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.streamer-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
}

/* 이미지가 로드되면 배경 숨기기 */
.streamer-avatar img[src]:not([src=""]):not([src*="error"]) {
    z-index: 2;
}

/* 각 스트리머별 아이콘 */
.streamer-card:nth-child(1) .streamer-avatar::after {
    content: '🎮';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.streamer-card:nth-child(2) .streamer-avatar::after {
    content: '🎯';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.streamer-card:nth-child(3) .streamer-avatar::after {
    content: '⛏️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.streamer-card:nth-child(4) .streamer-avatar::after {
    content: '📱';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* JavaScript로 추가되는 fallback 아이콘 */
.streamer-avatar.fallback-icon::after {
    content: attr(data-icon) !important;
    z-index: 3;
}

.live-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}

.streamer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.streamer-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.viewer-count {
    font-size: 0.9rem;
    color: #999;
}

/* 인기 마인크래프트 서버 */
.popular-minecraft-servers {
    padding: 3rem 0;
    background: #f9f9f9;
}

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

.section-header h3 {
    font-size: 1.8rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.section-header h3 i {
    color: #4CAF50;
}

.view-all {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #2E7D32;
    transform: translateX(5px);
}

.servers-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.server-preview-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.server-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.server-preview-header h4 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.server-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.server-status.online {
    background: #E8F5E8;
    color: #2E7D32;
}

.server-preview-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.server-preview-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.server-preview-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.server-preview-stats i {
    color: #4CAF50;
}

.server-preview-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-ip {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}

.btn-view {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* 최신 게시글 */
.latest-posts {
    padding: 3rem 0;
    background: white;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.post-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.post-category {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.post-title a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.post-title a:hover {
    color: #667eea;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 수다 채널 바 */
.suda-channels-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.suda-channels-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.channels-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.suda-logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.suda-logo i {
    font-size: 2rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.suda-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.channels-subtitle {
    color: #bdc3c7;
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.channel-card:hover::before {
    left: 100%;
}

.channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.channel-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.channel-card.youtube .channel-icon {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.channel-card.chzzk .channel-icon {
    background: linear-gradient(135deg, #00d564, #00b050);
    box-shadow: 0 5px 15px rgba(0, 213, 100, 0.3);
}

.channel-card.kakao .channel-icon {
    background: linear-gradient(135deg, #fee500, #ffd700);
    box-shadow: 0 5px 15px rgba(254, 229, 0, 0.3);
    color: #333;
}

.channel-card.wiki .channel-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.channel-card.discord .channel-icon {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.channel-card.email .channel-icon {
    background: linear-gradient(135deg, #ea4335, #d93025);
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.3);
}

.channel-card.instagram .channel-icon {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
}

.channel-card.twitter .channel-icon {
    background: linear-gradient(135deg, #000000, #1da1f2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.channel-card.github .channel-icon {
    background: linear-gradient(135deg, #333333, #666666);
    box-shadow: 0 5px 15px rgba(51, 51, 51, 0.3);
}

.x-logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.channel-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.channel-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffd700;
    white-space: nowrap;
}

.channel-info p {
    font-size: 0.9rem;
    margin: 0;
    color: #bdc3c7;
    opacity: 0.8;
}

.channel-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.channel-card:hover .channel-badge {
    background: #ffd700;
    color: #333;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .channels-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .channel-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .channel-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .suda-logo {
        padding: 0.8rem 1.5rem;
    }
    
    .suda-logo span {
        font-size: 1.4rem;
    }
}

/* 푸터 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
    display: inline-block;
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
    transform: translateX(5px);
}

.footer-section a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    display: inline-block;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    line-height: 55px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.social-links a i {
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-extra-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.footer-extra-links span {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-extra-links a {
    color: #ffd700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.footer-extra-links a:hover {
    color: #333;
    background: #ffd700;
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    /* 헤더 모바일 최적화 */
    .header-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 1rem;
        min-height: auto;
    }
    
    .logo h1 {
        font-size: 1.3rem;
        margin: 0;
    }
    
    .logo i {
        font-size: 1.2rem;
    }
    
    .nav {
        width: 100%;
    }
    
    .nav ul {
        gap: 0.3rem;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    
    .nav li {
        margin: 0;
    }
    
    .nav a {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
    }
    
    .user-menu {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-login, .btn-register {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        min-width: auto;
    }
    
    /* 히어로 섹션 모바일 최적화 */
    .hero-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    /* 그리드 모바일 최적화 */
    .board-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .streamer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* 수다 채널 바 모바일 최적화 */
    .suda-channels-bar {
        padding: 2rem 0;
    }
    
    .channels-header {
        margin-bottom: 2rem;
    }
    
    .suda-logo {
        padding: 0.6rem 1.2rem;
        gap: 0.5rem;
    }
    
    .suda-logo i {
        font-size: 1.5rem;
    }
    
    .suda-logo span {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .channels-subtitle {
        font-size: 0.9rem;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .channel-card {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .channel-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .x-logo {
        font-size: 1.8rem;
    }
    
    .channel-info h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .channel-info p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .channel-badge {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    /* 푸터 모바일 최적화 */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-section li {
        margin: 0;
    }
    
    .footer-section a {
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }
    
    .footer-bottom {
        padding: 1rem 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-info {
        text-align: center;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-info p {
        font-size: 0.8rem;
        margin: 0;
    }
    
    .footer-extra-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        margin-top: 0.5rem;
    }
    
    .footer-extra-links span {
        font-size: 0.8rem;
    }
    
    .footer-extra-links a {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}

/* 매우 작은 모바일 화면 최적화 */
@media (max-width: 480px) {
    .header-container {
        padding: 0.6rem 0.8rem;
        gap: 0.6rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.1rem;
    }
    
    .nav a {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .btn-login, .btn-register {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .suda-logo {
        padding: 0.5rem 1rem;
    }
    
    .suda-logo i {
        font-size: 1.3rem;
    }
    
    .suda-logo span {
        font-size: 1.1rem;
    }
    
    .channels-subtitle {
        font-size: 0.85rem;
    }
    
    .channel-card {
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .channel-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .x-logo {
        font-size: 1.6rem;
    }
    
    .channel-info h4 {
        font-size: 0.9rem;
    }
    
    .channel-info p {
        font-size: 0.75rem;
    }
    
    .channel-badge {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
    }
    
    .footer-section a {
        font-size: 0.8rem;
    }
    
    .footer-info p {
        font-size: 0.75rem;
    }
    
    .footer-extra-links span,
    .footer-extra-links a {
        font-size: 0.75rem;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.board-card, .streamer-card, .post-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}
