/* =========================
   흐르는 위로 - PC통신 스타일 커뮤니티
   ========================= */

/* --- Design Tokens --- */
:root {
    --color-primary: #FFD700;
    --color-primary-dark: #E0BE00;
    --color-bg: #0B1E3D;
    --color-text: #E0E0E0;
    --color-text-secondary: #A0B0C0;
    --color-text-muted: #8DA8C4;
    --color-border: #2A4A6E;
    --color-error: #FF6B6B;
    --color-success: #5CDB5C;
    --color-surface: #132B50;
    --color-cyan: #5CCFCF;
    --color-warm-white: #F5E6C8;
    --font-family: 'D2Coding ligature', 'D2Coding', 'Noto Sans KR', monospace;
    --font-body: 'Noto Sans KR', sans-serif;
    --max-width: 960px;
    --header-height: auto;
}

/* --- Utility --- */
.is-hidden {
    display: none;
}

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

/* --- Base --- */
body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-text-size-adjust: 100%;
}

a {
    color: var(--color-cyan);
}

/* =========================
   Starfield Background
   ========================= */
.starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: rgba(200, 220, 255, 0.6);
}

.star--warm {
    background: rgba(255, 230, 180, 0.5);
}

.star--cyan {
    background: rgba(92, 207, 207, 0.3);
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes twinkle-soft {
    0%, 100% { opacity: 0.15; }
    40% { opacity: 0.6; }
    60% { opacity: 0.5; }
}

/* 느리게 떠다니는 움직임 (각 별마다 JS에서 랜덤 방향 지정) */
@keyframes drift-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, -6px); }
}

@keyframes drift-2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-6px, 4px); }
    66% { transform: translate(4px, -8px); }
}

@keyframes drift-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, -10px); }
}

@keyframes drift-4 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(6px, 3px); }
    75% { transform: translate(-4px, -5px); }
}

/* 별똥별 */
.shooting-star {
    position: absolute;
    height: 1.5px;
    width: 0;
    pointer-events: none;
    opacity: 0;
    transform-origin: left center;
}

.shooting-star::after {
    content: '';
    position: absolute;
    right: -1.5px;
    top: -1px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px 2px rgba(200, 220, 255, 0.7);
}

/* =========================
   Terminal Frame
   ========================= */
.terminal-frame {
    max-width: var(--max-width);
    margin: 16px auto;
    border: 2px solid var(--color-border);
    background: var(--color-bg);
    min-height: calc(100vh - 32px);
    display: flex;
    position: relative;
    flex-direction: column;
}

/* =========================
   Header / Title Bar
   ========================= */
.site-header {
    background: var(--color-surface);
    z-index: 100;
    position: sticky;
    top: 0;
}

.terminal-titlebar {
    text-align: left;
    padding: 12px 20px 8px;
    font-size: 15px;
    color: var(--color-border);
    overflow: hidden;
    white-space: nowrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo__icon {
    font-size: 22px;
    color: var(--color-cyan);
    line-height: 1;
}

.logo__text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 2px;
}

.header-inner {
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav {
    display: flex;
    gap: 6px;
    flex: 1;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--color-cyan);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 8px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}

.main-nav a:hover {
    color: var(--color-primary);
    background: rgba(255, 215, 0, 0.1);
}

.nav-num {
    color: var(--color-primary);
    font-weight: 600;
}

/* Auth Area */
.auth-area {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.user-info {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
}

.btn-logout {
    background: none;
    border: 1px solid var(--color-border);
    padding: 2px 10px;
    border-radius: 0;
    font-size: 13px;
    cursor: pointer;
    color: var(--color-text-muted);
    font-family: var(--font-family);
}

.btn-logout:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Hamburger Menu Toggle (mobile only) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-primary);
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =========================
   Content
   ========================= */
.content {
    padding: 24px 20px;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* =========================
   Footer / Status Bar
   ========================= */
.site-footer {
    background: var(--color-surface);
    padding: 0;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
}

.footer-inner {
    padding: 10px 16px;
}

.footer-links {
    margin-bottom: 6px;
    font-size: 13px;
}

.footer-links a {
    color: var(--color-cyan);
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.copyright {
    font-size: 13px;
    color: var(--color-border);
    margin-top: 4px;
}

.crisis-info {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
}

/* =========================
   Index Page - PC통신 메뉴
   ========================= */
.hero {
    text-align: center;
    padding: 30px 0 20px;
}

.hero-banner {
    display: inline-block;
    font-size: 16px;
    line-height: 1.4;
}

.banner-mid {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.banner-sub {
    color: var(--color-text-secondary);
    font-size: 15px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.hero p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Category List - PC통신 번호 목록 */
.categories {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 600px;
    margin: 20px auto 0;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(42, 74, 110, 0.3);
    padding: 14px 16px;
    text-decoration: none;
    transition: background 0.15s;
}

.category-card:first-child {
    border-top: 1px solid rgba(42, 74, 110, 0.3);
}

.category-card:hover {
    background: rgba(255, 215, 0, 0.05);
}

.category-card .nav-num {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}

.category-card .category-name {
    color: var(--color-cyan);
    font-size: 15px;
    font-weight: 500;
    flex-shrink: 0;
}

.category-card .category-dash {
    color: var(--color-border);
    font-size: 14px;
    flex-shrink: 0;
}

.category-card .category-desc {
    color: var(--color-text-muted);
    font-size: 14px;
}

.category-card h2 {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-cyan);
}

.category-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Category Count */
.category-count {
    margin-left: auto;
    font-size: 13px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

/* Recent Posts on Index */
.recent-posts {
    max-width: 600px;
    margin: 24px auto 0;
}

.recent-posts h2 {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    padding-left: 16px;
}

.recent-posts h2::before {
    content: "── ";
    color: var(--color-border);
}

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

.recent-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    border-bottom: 1px solid rgba(42, 74, 110, 0.2);
    transition: background 0.15s;
}

.recent-list li a:hover {
    background: rgba(255, 215, 0, 0.05);
}

.recent-title {
    color: var(--color-cyan);
    font-size: 14px;
}

.recent-date {
    color: var(--color-text-muted);
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 12px;
}

/* Terminal Cursor */
.terminal-cursor {
    padding: 20px 16px 10px;
    color: var(--color-text-muted);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.blink {
    animation: blink-cursor 1s step-end infinite;
    color: var(--color-primary);
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* =========================
   Board
   ========================= */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.board-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-warm-white);
}

.board-message {
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-text-muted);
    margin-bottom: 16px;
    padding-left: 2px;
}

/* --- Board Header Actions --- */
.board-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-my-posts {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    white-space: nowrap;
}

.btn-my-posts:hover {
    background: rgba(255, 215, 0, 0.1);
}

.btn-my-posts.active {
    background: var(--color-primary);
    color: var(--color-bg);
}

.post-table {
    width: 100%;
    border-collapse: collapse;
    background: none;
    border: 1px solid var(--color-border);
}

.post-table th,
.post-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(42, 74, 110, 0.4);
    text-align: left;
}

.post-table th {
    font-weight: 500;
    font-size: 13px;
    color: var(--color-primary);
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-border);
}

.post-table td {
    font-size: 14px;
}

.post-table td a {
    color: var(--color-cyan);
    text-decoration: none;
}

.post-table td a:hover {
    color: var(--color-primary);
}

.post-table tbody tr:last-child td {
    border-bottom: none;
}

.post-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.03);
}

.col-num { width: 60px; }
.col-author { width: 140px; }
.col-views { width: 80px; }
.col-date { width: 110px; white-space: nowrap; }

/* 번호, 조회: 우측정렬 */
.post-table th:nth-child(1),
.post-table td:nth-child(1),
.post-table th:nth-child(4),
.post-table td:nth-child(4) {
    text-align: right;
}

/* 제목, 작성자, 작성일: 헤더 가운데 */
.post-table th:nth-child(2),
.post-table th:nth-child(3),
.post-table th:nth-child(5) {
    text-align: center;
}

/* 작성자: 값도 가운데 */
.post-table td:nth-child(3) {
    text-align: center;
    color: var(--color-text-secondary);
}

.empty {
    text-align: center;
    color: var(--color-text-muted);
    padding: 40px !important;
}

/* =========================
   Post Detail
   ========================= */
.post-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.back-link {
    color: var(--color-cyan);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.back-link:hover {
    color: var(--color-primary);
}

.post-actions {
    display: flex;
    gap: 8px;
}

.post-actions .btn-edit {
    color: var(--color-cyan);
    text-decoration: none;
    font-size: 13px;
    padding: 2px 10px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
}

.post-actions .btn-edit:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}

.post-actions .btn-delete {
    font-size: 13px;
    padding: 2px 10px;
    border: 1px solid var(--color-error);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    color: var(--color-error);
    background: none;
    cursor: pointer;
    font-family: var(--font-family);
}

.post-actions .btn-delete:hover {
    background: var(--color-error);
    color: var(--color-bg);
}

.post-detail {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 20px;
    margin-bottom: 24px;
}

.post-detail h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--color-warm-white);
}

.post-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(42, 74, 110, 0.4);
}

.post-content {
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: 15px;
    font-family: var(--font-body);
    word-break: break-word;
    color: var(--color-text);
    min-height: 120px;
}

/* =========================
   Comments
   ========================= */
.comments-section h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.comments-section h2::before {
    content: "── ";
    color: var(--color-border);
}

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

.comment-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(42, 74, 110, 0.3);
}

.comment-item.reply {
    padding-left: 20px;
    border-left: 2px solid var(--color-border);
    margin-left: 12px;
}

.comment-header {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.comment-header .author {
    font-weight: 500;
    color: var(--color-cyan);
}

.ai-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-bg);
    background: var(--color-cyan);
    padding: 1px 5px;
    border-radius: 3px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

.ai-comment .comment-content {
    color: var(--color-text-secondary);
}

.comment-content {
    font-size: 14px;
    font-family: var(--font-body);
    line-height: 1.7;
    word-break: break-word;
}

.comment-content.deleted {
    color: var(--color-text-muted);
    font-style: italic;
}

.comment-actions {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    font-size: 13px;
}

.btn-reply,
.comment-actions .btn-edit {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 8px 10px;
    font-size: 12px;
    font-family: var(--font-family);
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.comment-actions .btn-delete {
    background: none;
    border: none;
    color: var(--color-error);
    cursor: pointer;
    padding: 8px 10px;
    font-size: 12px;
    font-family: var(--font-family);
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.btn-reply:hover,
.comment-actions .btn-edit:hover {
    color: var(--color-primary);
    background: rgba(255, 215, 0, 0.1);
}

.comment-actions .btn-delete:hover {
    background: rgba(255, 107, 107, 0.1);
}

.comment-replies {
    list-style: none;
    margin-top: 0;
}

.comment-form,
.reply-form {
    margin-top: 16px;
}

.comment-form textarea,
.reply-form textarea,
.comment-edit-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 14px;
    font-family: var(--font-family);
    resize: vertical;
    line-height: 1.6;
    min-height: 80px;
    background: var(--color-bg);
    color: var(--color-text);
}

.comment-form textarea:focus,
.reply-form textarea:focus,
.comment-edit-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: none;
}

.comment-form button[type="submit"],
.btn-submit-sm {
    background: var(--color-cyan);
    color: var(--color-bg);
    border: 1px solid var(--color-cyan);
    padding: 2px 10px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s, border-color 0.15s;
}

.comment-form button[type="submit"]:hover,
.btn-submit-sm:hover {
    background: #4bb8b8;
    border-color: #4bb8b8;
}

.btn-cancel-sm {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 2px 10px;
    font-size: 13px;
    font-family: var(--font-family);
    margin-top: 8px;
}

.btn-cancel-sm:hover {
    color: var(--color-text);
}

.comment-edit-form {
    margin-top: 4px;
}

.comment-edit-actions,
.reply-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.reply-form {
    padding-left: 20px;
    margin-top: 8px;
}

/* =========================
   Forms
   ========================= */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 15px;
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
}

.form-group small {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

/* Title/Char Count */
.title-count,
.char-count {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* =========================
   Buttons
   ========================= */
.btn-submit,
.btn-write,
.btn-login {
    background: var(--color-cyan);
    color: var(--color-bg);
    border: 1px solid var(--color-cyan);
    padding: 2px 10px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}

.btn-submit:hover,
.btn-write:hover,
.btn-login:hover {
    background: #4bb8b8;
    border-color: #4bb8b8;
}

.btn-cancel {
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 15px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.btn-cancel:hover {
    color: var(--color-text);
}

/* =========================
   Custom Category Selector (글 작성 페이지)
   ========================= */
.category-selector {
    position: relative;
    margin-bottom: 16px;
}

.category-selector__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-primary);
}

/* 선택된 값 표시 (접힌 상태) */
.category-selector__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    cursor: pointer;
    min-height: 44px;
    transition: border-color 0.2s;
}

.category-selector__trigger:hover,
.category-selector.is-open .category-selector__trigger {
    border-color: var(--color-primary);
}

.category-selector__selected {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-selector__selected-num {
    font-size: 13px;
    font-family: var(--font-family);
    color: var(--color-primary);
}

.category-selector__selected-name {
    font-size: 14px;
    font-family: var(--font-family);
    font-weight: 500;
    color: var(--color-text);
}

.category-selector__selected-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-left: 4px;
}

.category-selector__arrow {
    font-size: 12px;
    color: var(--color-text-muted);
    font-family: var(--font-family);
    transition: transform 0.2s;
}

.category-selector.is-open .category-selector__arrow {
    transform: rotate(180deg);
}

/* 드롭다운 목록 (펼친 상태) */
.category-selector__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    border: 1px solid var(--color-primary);
    border-top: none;
    background: var(--color-surface);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.category-selector.is-open .category-selector__dropdown {
    max-height: 300px;
}

.category-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(42, 74, 110, 0.3);
    transition: background 0.15s;
    min-height: 44px;
}

.category-option:last-child {
    border-bottom: none;
}

.category-option:hover {
    background: rgba(255, 215, 0, 0.06);
}

.category-option.is-selected {
    background: rgba(255, 215, 0, 0.1);
}

.category-option__num {
    font-size: 13px;
    font-family: var(--font-family);
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.category-option.is-selected .category-option__num {
    color: var(--color-primary);
}

.category-option__name {
    font-size: 14px;
    font-family: var(--font-family);
    font-weight: 500;
    color: var(--color-text);
}

.category-option.is-selected .category-option__name {
    color: var(--color-primary);
}

.category-option__desc {
    font-size: 12px;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    margin-left: auto;
}

.btn-delete {
    color: var(--color-error);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

/* =========================
   Alerts
   ========================= */
.alert {
    padding: 10px 16px;
    border-radius: 0;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.alert-error {
    background: rgba(255, 107, 107, 0.1);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

.alert-success {
    background: rgba(92, 219, 92, 0.1);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

/* =========================
   Modal
   ========================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 16px;
}

.modal {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 0;
    padding: 24px 20px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    color: var(--color-primary);
}

.modal .btn-login {
    width: 100%;
    margin-top: 8px;
}

/* Terms Group in Modal */
.terms-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.terms-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.terms-group a {
    color: var(--color-cyan);
}

.crisis-notice {
    text-align: center;
    font-size: 13px;
    color: var(--color-primary);
    margin-top: 16px;
    font-weight: 500;
}

.modal-close {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: none;
    border: 1px solid var(--color-border);
    padding: 10px;
    border-radius: 0;
    font-size: 14px;
    font-family: var(--font-family);
    cursor: pointer;
    color: var(--color-text-muted);
    min-height: 44px;
}

.modal-close:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* =========================
   Confirm Modal
   ========================= */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 16px;
    animation: confirmFadeIn 0.15s ease-out;
}

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

@keyframes confirmSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.confirm-modal {
    background: var(--color-surface);
    border: 2px solid var(--color-error);
    border-radius: 0;
    padding: 28px 24px 20px;
    max-width: 360px;
    width: 100%;
    animation: confirmSlideIn 0.15s ease-out;
}

.confirm-modal__icon {
    text-align: center;
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--color-error);
    font-family: var(--font-family);
}

.confirm-modal__message {
    text-align: center;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.confirm-modal__actions {
    display: flex;
    gap: 10px;
}

.confirm-modal__btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 0;
    font-size: 14px;
    font-family: var(--font-family);
    cursor: pointer;
    min-height: 44px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.confirm-modal__btn--cancel {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.confirm-modal__btn--cancel:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.confirm-modal__btn--confirm {
    background: var(--color-error);
    border: 1px solid var(--color-error);
    color: var(--color-bg);
    font-weight: 600;
}

.confirm-modal__btn--confirm:hover {
    background: #ff5252;
    border-color: #ff5252;
}

/* =========================
   Ad Container
   ========================= */
.ad-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px;
    text-align: center;
    min-height: 90px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ad-container ins {
    display: block;
    width: 100%;
    min-height: 60px;
}

/* --- Anchor Ad (화면 하단 고정) --- */
.anchor-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: anchor-slide-up 0.4s ease-out;
}

@keyframes anchor-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.anchor-ad.is-hidden {
    display: none;
}

body:has(.anchor-ad:not(.is-hidden)) .terminal-frame {
    min-height: calc(100vh - 32px - 66px);
}

@media (max-width: 768px) {
    body:has(.anchor-ad:not(.is-hidden)) .terminal-frame {
        min-height: calc(100vh - 66px);
    }
}


.anchor-ad__close {
    position: absolute;
    top: -24px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    color: var(--color-text-secondary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.2s;
}

.anchor-ad__close:hover {
    color: var(--color-primary);
}

.anchor-ad__content {
    max-width: var(--max-width);
    width: 100%;
}

.self-banner--anchor {
    height: 50px;
    max-width: 728px;
    padding: 0 16px;
    gap: 12px;
}

.self-banner--anchor .self-banner__icon {
    font-size: 22px;
}

.self-banner--anchor .self-banner__title {
    font-size: 14px;
}

.self-banner--anchor .self-banner__desc {
    font-size: 12px;
}

/* --- Self-promotional Banner (728x90 desktop / 320x100 mobile) --- */
.self-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 728px;
    height: 90px;
    margin: 0 auto;
    padding: 0 24px;
    background: linear-gradient(135deg, #0e2444 0%, #1a3a66 50%, #0e2444 100%);
    border: 1px solid var(--color-border);
    border-radius: 0;
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s;
}

.self-banner:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
}

.self-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.self-banner__icon {
    font-size: 32px;
    color: var(--color-primary);
    flex-shrink: 0;
    opacity: 0.9;
}

.self-banner__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.self-banner__title {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.self-banner__desc {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

/* =========================
   Pagination
   ========================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    text-decoration: none;
    color: var(--color-text);
    font-size: 14px;
    transition: background 0.15s, border-color 0.15s;
}

.pagination a:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination a.active {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}

/* =========================
   Reaction Buttons
   ========================= */
.reaction-bar {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--color-text);
    transition: background 0.2s, border-color 0.2s;
    min-height: 44px;
}

.reaction-btn:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--color-primary);
}

.reaction-btn.reacted {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    cursor: default;
}

.reaction-btn.reacted .reaction-count {
    animation: count-pop 0.4s ease-out;
}

@keyframes count-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.4); color: var(--color-bg); }
    100% { transform: scale(1); }
}

.reaction-count {
    font-weight: 600;
}

/* =========================
   Legal Pages (Terms / Privacy)
   ========================= */
.legal-page {
    max-width: 720px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.legal-section {
    margin-bottom: 20px;
}

.legal-section h2 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-cyan);
}

.legal-section p,
.legal-section li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.legal-section ol {
    padding-left: 20px;
    margin-top: 4px;
}

.legal-section li {
    margin-bottom: 4px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.legal-table th,
.legal-table td {
    padding: 8px 10px;
    border: 1px solid var(--color-border);
    font-size: 13px;
    text-align: left;
}

.legal-table th {
    background: var(--color-surface);
    font-weight: 500;
    color: var(--color-primary);
}

.legal-footer {
    margin-top: 24px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: right;
}

/* =========================
   Submit Loading
   ========================= */
.submit-loading {
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-cyan);
    padding: 12px 0;
}

.loading-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    animation: dot-pulse 1s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* =========================
   Loading
   ========================= */
.loading {
    text-align: center;
    color: var(--color-text-muted);
    padding: 40px;
    font-size: 14px;
}

/* =========================
   Mobile (max-width: 768px)
   ========================= */
@media (max-width: 768px) {
    .terminal-frame {
        margin: 0;
        border: none;
        min-height: 100vh;
    }

    .terminal-titlebar {
        padding: 8px 12px 4px;
        font-size: 13px;
        text-align: left;
    }

    .logo__icon {
        font-size: 18px;
    }

    .logo__text {
        font-size: 15px;
    }

    /* --- Header --- */
    .header-inner {
        gap: 4px;
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-bottom: 2px solid var(--color-border);
        flex-direction: column;
        padding: 4px 0;
        box-shadow: none;
        z-index: 99;
    }

    .main-nav.nav-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 16px;
        font-size: 15px;
        border-bottom: 1px solid rgba(42, 74, 110, 0.3);
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .main-nav a:hover,
    .main-nav a:active {
        background: rgba(255, 215, 0, 0.1);
    }

    .auth-area {
        order: 2;
        flex: 1;
        justify-content: flex-end;
    }

    /* --- Typography --- */
    body {
        font-size: 15px;
    }

    .hero {
        padding: 20px 0 16px;
    }

    .banner-mid {
        font-size: 17px;
        letter-spacing: 1px;
    }

    .board-header h1 {
        font-size: 16px;
    }

    .post-detail h1 {
        font-size: 18px;
    }

    .comments-section h2 {
        font-size: 15px;
    }

    .btn-submit,
    .btn-write,
    .btn-login {
        font-size: 13px;
    }

    /* --- Categories --- */
    .category-card {
        padding: 12px;
    }

    .category-dash {
        display: none;
    }

    /* --- Board Table: 번호(1), 조회(4) 컬럼 숨김 --- */
    .col-num,
    .col-views,
    .post-table td:nth-child(1),
    .post-table td:nth-child(4) {
        display: none;
    }

    .post-table th,
    .post-table td {
        padding: 8px 6px;
        font-size: 13px;
    }

    .col-author {
        width: 70px;
    }

    .col-date {
        width: 90px; white-space: nowrap;
    }

    /* --- Post Detail --- */
    .post-detail {
        padding: 14px;
    }

    .post-content {
        font-size: 14px;
    }

    .post-meta {
        font-size: 12px;
    }

    /* --- Post Actions --- */
    .post-actions .btn-edit,
    .post-actions .btn-delete {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* --- Comments --- */
    .comment-item.reply {
        padding-left: 10px;
        margin-left: 4px;
    }

    .comment-content {
        font-size: 13px;
    }

    .reply-form {
        padding-left: 14px;
    }

    /* --- Forms --- */
    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* prevents iOS zoom on focus */
        padding: 10px;
    }

    .form-group textarea {
        min-height: 180px;
    }

    .form-group label {
        font-size: 13px;
    }

    /* --- Modal --- */
    .modal {
        padding: 20px 14px;
    }

    .modal h2 {
        font-size: 16px;
    }

    /* --- Pagination --- */
    .pagination {
        gap: 3px;
    }

    .pagination a {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
    }

    /* --- Reaction --- */
    .reaction-btn {
        padding: 6px 10px;
        font-size: 13px;
    }

    /* --- Legal --- */
    .legal-page h1 {
        font-size: 18px;
    }

    .legal-section h2 {
        font-size: 14px;
    }

    .legal-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .legal-table th,
    .legal-table td {
        font-size: 12px;
        padding: 6px;
        white-space: nowrap;
    }

    /* --- Footer --- */
    .site-footer {
        padding: 0;
    }

    .footer-links a {
        font-size: 12px;
    }

    .crisis-info {
        font-size: 12px;
    }

    /* --- Ad --- */
    .ad-container {
        padding: 12px 8px;
        min-height: 60px;
    }

    .self-banner {
        max-width: 320px;
        height: 100px;
        gap: 12px;
        padding: 0 16px;
    }

    .self-banner__icon {
        font-size: 26px;
    }

    .self-banner__title {
        font-size: 14px;
    }

    .self-banner__desc {
        font-size: 12px;
        white-space: normal;
        line-height: 1.4;
    }

    .anchor-ad {
        padding: 6px 8px;
    }

    .self-banner--anchor {
        max-width: 320px;
        height: 50px;
        padding: 0 12px;
        gap: 10px;
    }

    .self-banner--anchor .self-banner__icon {
        font-size: 18px;
    }

    .self-banner--anchor .self-banner__title {
        font-size: 13px;
    }

    .self-banner--anchor .self-banner__desc {
        font-size: 11px;
    }

    /* --- Content --- */
    .content {
        padding: 16px 12px;
    }
}

/* =========================
   Small Mobile (max-width: 380px)
   ========================= */
@media (max-width: 380px) {
    .content {
        padding: 12px 8px;
    }

    .category-card {
        padding: 10px 8px;
        font-size: 13px;
    }

    .category-card .category-desc {
        display: none;
    }

    .pagination a {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn-submit,
    .form-actions .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

/* =========================
   Focus Visible (Accessibility)
   ========================= */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* =========================
   Animation Modal (공통)
   ========================= */
.animation-dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dim-fade-in 0.4s ease-out;
}

@keyframes dim-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animation-modal {
    position: relative;
    width: 340px;
    height: 400px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: modal-pop-in 0.3s ease-out;
}

.animation-modal--lantern {
    overflow: visible;
}

@keyframes modal-pop-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animation-modal-message {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: var(--font-family);
    font-size: 0.85rem;
    opacity: 0;
    animation: message-fade-in 0.8s ease-out 0.3s forwards;
}

@keyframes message-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 0.8; transform: translateY(0); }
}

/* 모바일 반응형 */
@media (max-width: 480px) {
    .animation-modal {
        width: 280px;
        height: 340px;
    }
    .lantern {
        width: 55px;
        min-height: 80px;
        padding: 10px 8px;
    }
    .lantern-text {
        font-size: 0.55rem;
    }
    .paper-boat-body {
        border-left-width: 22px;
        border-right-width: 22px;
        border-bottom-width: 15px;
    }
    .paper-boat-sail {
        border-left-width: 9px;
        border-right-width: 2px;
        border-bottom-width: 26px;
        bottom: 13px;
    }
}

/* =========================
   Sky Lantern (풍등 날리기)
   ========================= */
.lantern-container {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    animation: lantern-rise 3s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.lantern {
    width: 70px;
    min-height: 100px;
    background: linear-gradient(
        180deg,
        rgba(255, 80, 20, 0.9) 0%,
        #FF8C00 15%,
        #FFD700 50%,
        #FFECB3 85%,
        rgba(255, 200, 100, 0.8) 100%
    );
    border-radius: 30% 30% 35% 35% / 20% 20% 25% 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    position: relative;
    animation: lantern-sway 2.5s ease-in-out infinite, lantern-glow 2.5s ease-in-out infinite;
}

/* 상단 고리 */
.lantern::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 10px;
    border: 2px solid #CC7000;
    border-bottom: none;
    border-radius: 50% 50% 0 0;
    background: transparent;
}

/* 하단 대나무 테두리 */
.lantern::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #A0600A;
    border-radius: 2px;
}

.lantern-text {
    font-family: var(--font-family);
    font-size: 0.65rem;
    color: #3D2000;
    text-align: center;
    word-break: keep-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

@keyframes lantern-rise {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(-50%) translateY(-450px);
        opacity: 0;
    }
}

@keyframes lantern-sway {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
}

@keyframes lantern-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 140, 0, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 140, 0, 0.25);
    }
}

/* =========================
   River Flow (강물에 띄우기)
   ========================= */
.river-scene {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.river-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 40%;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(92, 207, 207, 0.06) 40px,
            rgba(92, 207, 207, 0.06) 80px
        );
    animation: river-wave 4s linear infinite;
}

.river-waves::before,
.river-waves::after {
    content: '';
    position: absolute;
    left: 0;
    width: 200%;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        rgba(92, 207, 207, 0.3) 30px,
        transparent 60px
    );
    animation: river-wave 5s linear infinite;
}

.river-waves::before {
    top: 0;
}

.river-waves::after {
    top: 30%;
    animation-duration: 6s;
    opacity: 0.5;
}

.paper-boat {
    position: absolute;
    bottom: 42%;
    left: 20%;
    animation: boat-drift 3s cubic-bezier(0.3, 0, 0.7, 1) forwards;
}

.paper-boat-inner {
    animation: boat-bob 1.2s ease-in-out infinite;
}

.paper-boat-body {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 20px solid var(--color-text);
    position: relative;
}

.paper-boat-sail {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 35px solid rgba(255, 215, 0, 0.8);
}

@keyframes boat-drift {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
        transform: translateX(80px) translateY(-3px);
    }
    100% {
        transform: translateX(350px) translateY(5px);
        opacity: 0;
    }
}

@keyframes boat-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes river-wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
