/* 홈런티비 전용 CSS - 다크 야구 테마 */

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

body {
    font-family: 'Pretendard', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    background-color: #0a0e1a;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(180, 20, 20, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 30, 30, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #0a0e1a 0%, #0d1220 50%, #0a0c18 100%);
    color: #e8e8e8;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: rgba(8, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #cc1f1f;
    box-shadow: 0 4px 30px rgba(200, 20, 20, 0.25), 0 2px 10px rgba(0, 0, 0, 0.6);
}

header::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #8b0000, #cc1f1f, #ff4444, #cc1f1f, #8b0000);
}

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

.logo {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    cursor: pointer;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0;
    text-shadow: 0 0 20px rgba(255, 60, 60, 0.5);
    transition: text-shadow 0.3s;
}

.logo:hover { text-shadow: 0 0 30px rgba(255, 60, 60, 0.9); }

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.3rem;
}

nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.25s;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

nav a:hover {
    background: rgba(204, 31, 31, 0.18);
    color: #ff6666;
    border-color: rgba(204, 31, 31, 0.35);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.page-title {
    text-align: center;
    padding: 3.5rem 0 2rem;
}

.page-title h1 {
    font-size: 2.6rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(200, 20, 20, 0.4);
}

.page-title p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
}

.hero {
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: 'HOMERUN';
    position: absolute;
    font-size: 14rem;
    font-weight: 900;
    opacity: 0.02;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
    white-space: nowrap;
    color: #cc1f1f;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.4rem;
    color: #fff;
    font-weight: 900;
    line-height: 1.3;
    text-shadow: 0 2px 30px rgba(200, 20, 20, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: linear-gradient(135deg, #cc1f1f 0%, #991515 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(200, 20, 20, 0.45);
    border: 1px solid rgba(255, 100, 100, 0.3);
    letter-spacing: 0.03em;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(200, 20, 20, 0.6);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
    padding: 2rem 0 3rem;
}

.feature-card {
    background: linear-gradient(145deg, rgba(18, 22, 38, 0.95), rgba(14, 16, 28, 0.98));
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(204, 31, 31, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #cc1f1f, #660d0d);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 31, 31, 0.5);
    box-shadow: 0 12px 35px rgba(204, 31, 31, 0.15);
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.feature-card p {
    color: rgba(220, 220, 230, 0.72);
    font-size: 0.92rem;
    line-height: 1.75;
}

.match-schedule {
    background: rgba(12, 15, 26, 0.9);
    padding: 2.5rem;
    border-radius: 14px;
    margin: 2.5rem 0;
    border: 1px solid rgba(204, 31, 31, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.match-schedule h2 {
    color: #ff6666;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(204, 31, 31, 0.25);
    padding-bottom: 1rem;
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(18, 22, 38, 0.8);
    border-radius: 9px;
    margin-bottom: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s;
}

.match-item:hover {
    background: rgba(204, 31, 31, 0.1);
    border-color: rgba(204, 31, 31, 0.3);
}

.match-item:last-child { margin-bottom: 0; }

.live-badge {
    display: inline-block;
    background: #cc1f1f;
    color: #fff;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-right: 0.6rem;
    animation: pulse-red 1.8s infinite;
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(204,31,31,0.6); }
    50% { opacity: 0.8; box-shadow: 0 0 14px rgba(204,31,31,0.9); }
}

.keywords { padding: 2rem 0; }

.keywords h2 {
    color: #d0d0e0;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.keyword-tag {
    display: inline-block;
    background: rgba(204, 31, 31, 0.12);
    color: rgba(255, 180, 180, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(204, 31, 31, 0.28);
    transition: all 0.2s;
}

.keyword-tag:hover {
    background: rgba(204, 31, 31, 0.22);
    color: #ffaaaa;
    border-color: rgba(204, 31, 31, 0.5);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.channel-card {
    background: rgba(15, 18, 32, 0.95);
    border: 1px solid rgba(204, 31, 31, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.channel-card:hover {
    border-color: #cc1f1f;
    background: rgba(204, 31, 31, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 31, 31, 0.2);
}

.channel-icon { font-size: 2.8rem; display: block; margin-bottom: 0.7rem; }
.channel-name { color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.channel-status { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

.video-wrapper {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(204, 31, 31, 0.3);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    aspect-ratio: 16/9;
    margin: 2rem 0;
}

.tab-nav {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(204, 31, 31, 0.25);
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 0.75rem 1.4rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
}

.tab-btn:hover { color: rgba(255,255,255,0.85); }
.tab-btn.active { color: #ff6666; border-bottom-color: #cc1f1f; }

.board-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.board-table th {
    background: rgba(204, 31, 31, 0.15);
    color: rgba(255,255,255,0.7);
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(204, 31, 31, 0.3);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.board-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: rgba(220,220,235,0.85);
    vertical-align: middle;
}

.board-table tr:hover td {
    background: rgba(204, 31, 31, 0.06);
    cursor: pointer;
}

.board-table td a { color: inherit; text-decoration: none; transition: color 0.2s; }
.board-table td a:hover { color: #ff8888; }

.badge-new {
    display: inline-block;
    background: #cc1f1f;
    color: #fff;
    font-size: 0.68rem;
    padding: 0.1rem 0.45rem;
    border-radius: 3px;
    margin-left: 0.4rem;
    font-weight: 700;
    vertical-align: middle;
}

.notice-list { list-style: none; }

.notice-item {
    display: flex;
    align-items: center;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 1rem;
    transition: background 0.2s;
    cursor: pointer;
    border-radius: 8px;
}

.notice-item:hover { background: rgba(204,31,31,0.07); }

.notice-badge {
    background: rgba(204,31,31,0.2);
    color: #ff8888;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(204,31,31,0.3);
}

.notice-title { flex: 1; color: rgba(230,230,245,0.9); font-size: 0.95rem; }
.notice-date { color: rgba(255,255,255,0.35); font-size: 0.82rem; white-space: nowrap; }

.auth-card {
    max-width: 440px;
    margin: 3rem auto;
    background: rgba(12, 15, 26, 0.95);
    border: 1px solid rgba(204, 31, 31, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.auth-card h2 { color: #fff; text-align: center; margin-bottom: 2rem; font-size: 1.5rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
}

.form-group input, .write-form input, .write-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(20, 25, 42, 0.9);
    border: 1px solid rgba(204, 31, 31, 0.25);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus, .write-form input:focus, .write-form textarea:focus {
    border-color: #cc1f1f;
    box-shadow: 0 0 0 3px rgba(204, 31, 31, 0.12);
}

.btn-primary {
    width: 100%;
    padding: 0.95rem;
    background: linear-gradient(135deg, #cc1f1f, #991515);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    margin-top: 0.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #dd2a2a, #aa1a1a);
    box-shadow: 0 6px 20px rgba(204, 31, 31, 0.4);
}

.alert { padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-success { background: rgba(20,100,40,0.2); border: 1px solid rgba(40,160,60,0.4); color: #7dd895; }
.alert-danger { background: rgba(180,20,20,0.18); border: 1px solid rgba(204,31,31,0.4); color: #ff9999; }

.post-header { border-bottom: 1px solid rgba(204,31,31,0.2); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.post-title { font-size: 1.7rem; color: #fff; font-weight: 800; margin-bottom: 1rem; line-height: 1.4; }
.post-meta { color: rgba(255,255,255,0.45); font-size: 0.88rem; display: flex; gap: 1.2rem; }
.post-content { color: rgba(220,220,235,0.85); line-height: 1.9; font-size: 1rem; padding: 1.5rem 0; }

.write-form { display: flex; flex-direction: column; gap: 1.2rem; }
.write-form textarea { min-height: 260px; resize: vertical; }

.pagination { display: flex; justify-content: center; gap: 0.4rem; margin: 2rem 0; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px; font-size: 0.9rem;
    text-decoration: none; transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6);
}
.pagination a:hover { background: rgba(204,31,31,0.15); border-color: rgba(204,31,31,0.4); color: #ff8888; }
.pagination .current { background: #cc1f1f; border-color: #cc1f1f; color: #fff; }

::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #0a0e1a; }
::-webkit-scrollbar-thumb { background: rgba(204,31,31,0.45); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(204,31,31,0.7); }

footer {
    background: rgba(6, 8, 14, 0.98);
    border-top: 1px solid rgba(204, 31, 31, 0.2);
    padding: 2.5rem 0 1.5rem;
    margin-top: 4rem;
    text-align: center;
}

footer p {
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
    line-height: 1.8;
}

footer a { color: rgba(255,120,120,0.5); text-decoration: none; }
footer a:hover { color: #ff8888; }

@media (max-width: 768px) {
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; }
    nav ul {
        display: none; flex-direction: column; gap: 0;
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(8, 10, 20, 0.98);
        border-bottom: 2px solid #cc1f1f;
        padding: 0.8rem 0; z-index: 999;
    }
    nav ul.open { display: flex; }
    nav a { display: block; padding: 0.85rem 1.5rem; border-radius: 0; }
    .menu-toggle { display: flex; }
    header { position: relative; }
    .features { grid-template-columns: 1fr; }
    .match-schedule { padding: 1.5rem 1rem; }
    .match-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ===== 커뮤니티 카테고리 버튼 & 글쓰기 버튼 ===== */
.page-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: rgba(18, 22, 38, 0.9);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.22s;
    cursor: pointer;
    white-space: nowrap;
}

.page-link:hover {
    background: rgba(204, 31, 31, 0.15);
    color: #ff8888;
    border-color: rgba(204, 31, 31, 0.4);
}

.page-link.active {
    background: rgba(204, 31, 31, 0.25);
    color: #ff6666;
    border-color: #cc1f1f;
}

/* 글쓰기 버튼 */
.write-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    background: linear-gradient(135deg, #cc1f1f, #991515);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(255, 100, 100, 0.25);
    transition: all 0.25s;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(204, 31, 31, 0.35);
}

.write-btn::before {
    content: '✏️';
    font-size: 0.85rem;
}

.write-btn:hover {
    background: linear-gradient(135deg, #dd2a2a, #aa1a1a);
    box-shadow: 0 6px 20px rgba(204, 31, 31, 0.5);
    transform: translateY(-1px);
}

/* 카테고리 버튼 묶음 */
.category-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* 게시글 리스트 컨테이너 */
.post-list {
    background: rgba(12, 15, 26, 0.92);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(204, 31, 31, 0.2);
}

.post-row {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.2s;
}

.post-row:last-child { border-bottom: none; }

.post-row:hover {
    background: rgba(204, 31, 31, 0.07);
}

.post-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
    gap: 1rem;
}

.post-row-title {
    font-size: 1rem;
    font-weight: 600;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-badge {
    display: inline-block;
    padding: 0.18rem 0.6rem;
    background: rgba(204, 31, 31, 0.2);
    color: #ff8888;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(204, 31, 31, 0.3);
    flex-shrink: 0;
}

.post-row-stats {
    display: flex;
    gap: 0.9rem;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.post-row-meta {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.38);
    display: flex;
    gap: 0.7rem;
}

/* 페이지네이션 (커뮤니티용) */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination .page-link {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    font-size: 0.88rem;
    border-radius: 8px;
}

.pagination .page-link.active {
    background: #cc1f1f;
    color: #fff;
    border-color: #cc1f1f;
}

/* 빈 게시판 안내 */
.empty-board {
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
}

.empty-board span {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ===== 게시글 뷰 & 댓글 ===== */
.view-wrap {
    max-width: 900px;
    margin: 3rem auto;
}

.view-card {
    background: rgba(12, 15, 26, 0.92);
    padding: 2.5rem;
    border-radius: 14px;
    border: 1px solid rgba(204, 31, 31, 0.22);
    margin-bottom: 1.5rem;
}

.view-cat-badge {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    background: rgba(204, 31, 31, 0.2);
    color: #ff8888;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid rgba(204, 31, 31, 0.3);
    margin-bottom: 1rem;
}

.view-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    padding-bottom: 1.2rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(204, 31, 31, 0.18);
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.87rem;
}

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

.view-body {
    font-size: 1rem;
    line-height: 1.95;
    color: rgba(220, 220, 235, 0.88);
    min-height: 180px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.view-actions {
    display: flex;
    gap: 0.7rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(204, 31, 31, 0.18);
}

/* 목록·삭제·제출 버튼 */
.back-btn,
.delete-btn,
.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s;
    font-family: inherit;
    text-decoration: none;
}

.back-btn {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.delete-btn {
    background: rgba(180, 20, 20, 0.18);
    color: #ff9999;
    border: 1px solid rgba(204, 31, 31, 0.35);
}
.delete-btn:hover {
    background: rgba(204, 31, 31, 0.3);
    color: #ffbbbb;
}

.submit-btn {
    background: linear-gradient(135deg, #cc1f1f, #991515);
    color: #fff;
    border: 1px solid rgba(255, 100, 100, 0.2);
    box-shadow: 0 4px 14px rgba(204, 31, 31, 0.3);
    padding: 0.7rem 1.8rem;
}
.submit-btn:hover {
    background: linear-gradient(135deg, #dd2a2a, #aa1a1a);
    box-shadow: 0 6px 20px rgba(204, 31, 31, 0.45);
    transform: translateY(-1px);
}

/* 댓글 섹션 */
.comment-section {
    background: rgba(12, 15, 26, 0.92);
    padding: 2.5rem;
    border-radius: 14px;
    border: 1px solid rgba(204, 31, 31, 0.22);
}

.comment-section-title {
    color: #ff6666;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 댓글 입력 폼 */
.comment-form {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(204, 31, 31, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.comment-form input[type="text"],
.comment-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(18, 22, 38, 0.9);
    border: 1px solid rgba(204, 31, 31, 0.22);
    border-radius: 8px;
    color: #e8e8e8;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
    border-color: #cc1f1f;
    box-shadow: 0 0 0 3px rgba(204, 31, 31, 0.1);
}

.comment-form textarea {
    min-height: 100px;
}

/* 댓글 목록 */
.comment-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.comment-item {
    background: rgba(18, 22, 38, 0.85);
    padding: 1.2rem 1.4rem;
    border-radius: 10px;
    border-left: 3px solid rgba(204, 31, 31, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-left-color 0.2s;
}

.comment-item:hover {
    border-left-color: #cc1f1f;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.comment-author {
    font-weight: 700;
    color: #ff8888;
    font-size: 0.92rem;
}

.comment-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.32);
}

.comment-body {
    color: rgba(220, 220, 235, 0.85);
    line-height: 1.8;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.comment-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.92rem;
}

.comment-empty span {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    opacity: 0.4;
}

@media (max-width: 768px) {
    .view-card, .comment-section { padding: 1.5rem 1.2rem; }
    .view-title { font-size: 1.4rem; }
    .view-meta { gap: 0.4rem 0.8rem; font-size: 0.82rem; }
    .view-actions { flex-wrap: wrap; }
}
