:root {
    --bg-dark: #07090f;
    --bg-card: rgba(22, 27, 42, 0.6);
    --bg-card-hover: rgba(30, 38, 60, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    /* Technical Noir 브랜드 DNA: 시안 블루 + 네온 레드 */
    --primary: #00f0ff;        /* 시안 블루 */
    --secondary: #ff0040;      /* 네온 레드 (이전 보라 #7000ff 폐기) */
    --accent-red: #ff0040;     /* alias */
    --accent-cyan: #00f0ff;    /* alias */
    --text-main: #f0f4f8;
    --text-muted: #8b9bb4;
    --success: #00e676;
    --glass-blur: 12px;
    /* LIVE TOOLS 카드별 액센트 — 1 색 = 1 자산 = 1 sub-page */
    --accent-defense: #00e676;   /* K-방산 */
    --accent-channel: #00f0ff;   /* 채널 진단 */
    --accent-comma: #ffaa00;     /* 더콤마 야구 */
    --accent-divide: #ff0040;    /* THE DIVIDE */
}

/* ========== LIVE TOOLS Section (Topic-Cluster Hub의 핵심 CTA 그리드) ========== */
.live-tools { padding: 4rem 5% 5rem; background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f1a 100%); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.live-tools .section-header { text-align: center; margin-bottom: 2.8rem; }
.live-tools .section-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.6rem; }
.live-tools .section-header p { color: var(--text-muted); font-size: 0.95rem; }
.live-tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; max-width: 1200px; margin: 0 auto; }
.tool-card { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.4rem 1.4rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; text-decoration: none; color: var(--text-main); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; min-height: 280px; overflow: hidden; }
.tool-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--card-accent, var(--primary)); }
.tool-card:hover { transform: translateY(-4px); border-color: var(--card-accent, var(--primary)); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--card-accent, var(--primary)) inset; }
.tool-card:focus-visible { outline: 2px solid var(--card-accent, var(--primary)); outline-offset: 4px; }
.tool-card[data-tool="defense"] { --card-accent: var(--accent-defense); }
.tool-card[data-tool="channel"] { --card-accent: var(--accent-channel); }
.tool-card[data-tool="comma"]   { --card-accent: var(--accent-comma); }
.tool-card[data-tool="divide"]  { --card-accent: var(--accent-divide); }
.tool-label { font-family: 'Syncopate', sans-serif; font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--card-accent, var(--primary)); margin-bottom: 0.9rem; font-weight: 700; }
.tool-title { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; color: #fff; margin-bottom: 0.6rem; line-height: 1.3; }
.tool-line { font-size: 0.88rem; color: #a8b5cc; line-height: 1.55; margin-bottom: 1.2rem; flex: 1; }
.tool-proof { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: var(--text-muted); font-family: 'Syncopate', sans-serif; letter-spacing: 0.12em; margin-bottom: 1.1rem; padding: 0.3rem 0.6rem; background: rgba(255,255,255,0.03); border-radius: 4px; align-self: flex-start; }
.tool-proof::before { content: '●'; color: var(--card-accent, var(--primary)); font-size: 0.6rem; }
.tool-cta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 700; color: var(--card-accent, var(--primary)); margin-top: auto; }
.tool-cta::after { content: '→'; transition: transform 0.2s ease; }
.tool-card:hover .tool-cta::after { transform: translateX(4px); }

@media (max-width: 1024px) { .live-tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .live-tools-grid { grid-template-columns: 1fr; gap: 1rem; } .tool-card { min-height: auto; } }

/* Mobile hero refinements (Phase 2 design lock §8.4) */
@media (max-width: 768px) {
    .hero { min-height: 60vh !important; }
    .glow-orb { display: none; }
}

/* ========== Accessibility floor (Phase 2 design lock §8.5) ========== */
a:focus-visible,
button:focus-visible,
.tool-card:focus-visible,
.nav-links a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Body 본문 텍스트 대비 강화 (#8b9bb4 → #a8b5cc 으로 7.2:1 확보) */
.tool-line, .news-summary, .dept-desc, .footer-content p {
    color: #a8b5cc;
}

/* ========== Mobile hamburger nav (Phase 2 design lock §8.4 — 960px breakpoint) ========== */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-links {
        position: absolute;
        top: 100%;
        right: 5%;
        background: rgba(7, 9, 15, 0.96);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 1rem;
        flex-direction: column;
        gap: 0.4rem;
        min-width: 220px;
        backdrop-filter: blur(12px);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.2s ease;
    }
    .nav-links.open {
        max-height: 600px;
        opacity: 1;
        pointer-events: auto;
        padding: 1rem;
    }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 0.6rem 0.8rem; border-radius: 6px; }
    .nav-links a:hover { background: rgba(255,255,255,0.04); }
}

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

body { font-family: 'Inter', sans-serif; background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

h1, h2, h3, h4, .logo, .metric-val { font-family: 'Syncopate', sans-serif; letter-spacing: 1px; }

/* Utility & Nav */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; position: fixed; width: 100%; top: 0; z-index: 100; background: rgba(7, 9, 15, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
.logo { font-size: 1.4rem; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 0.65rem; line-height: 1; }
.logo span { color: var(--primary); }
.logo .logo-mark { width: 38px; height: 38px; flex-shrink: 0; display: inline-block; filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4)); }
.logo .logo-mark svg { width: 100%; height: 100%; display: block; }
.logo:hover .logo-mark { transform: rotate(8deg); transition: transform 0.3s ease; }
.footer-logo .logo-mark { width: 32px; height: 32px; display: inline-block; vertical-align: middle; margin-right: 0.5rem; }
@media (max-width: 640px) { .logo .logo-mark { width: 32px; height: 32px; } }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary); }
.inline-link { color: var(--primary); font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: 0.3s; display: inline-block; }
.inline-link:hover { color: var(--text-main); transform: translateX(5px); }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; text-align: center; padding: 0 5%; overflow: hidden; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.glitch-text { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; margin-bottom: 1.5rem; background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; display: inline-block; cursor: pointer; border: none; }
.primary-btn { background: linear-gradient(45deg, var(--primary), #0077ff); color: #000; box-shadow: 0 0 20px rgba(0, 240, 255, 0.4); }
.primary-btn:hover { box-shadow: 0 0 30px rgba(0, 240, 255, 0.7); transform: translateY(-2px); }
.secondary-btn { background: transparent; color: var(--text-main); border: 1px solid var(--primary); }
.secondary-btn:hover { background: rgba(0, 240, 255, 0.1); transform: translateY(-2px); }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(100px); z-index: 1; opacity: 0.5; }
.orb-1 { width: 400px; height: 400px; background: var(--secondary); top: -100px; right: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--primary); bottom: -200px; left: -100px; }

/* Sections */
section { padding: 6rem 5%; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); }

/* Departments Grid */
/* OUR DIVISIONS — 시각 weight 강등 (LIVE TOOLS가 dominant, 5사업부는 보조 신뢰 영역) */
.departments { opacity: 0.92; }
.departments .section-header h2 { font-size: clamp(1.3rem, 2.8vw, 1.8rem); }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; max-width: 1100px; margin: 0 auto; }
.dept-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 1.6rem 1.4rem; border-radius: 14px; backdrop-filter: blur(var(--glass-blur)); transition: all 0.3s ease; text-align: center; }
.dept-card:hover { transform: translateY(-4px); background: var(--bg-card-hover); border-color: var(--primary); box-shadow: 0 8px 22px rgba(0, 240, 255, 0.08); }
.highlight-card { border-color: rgba(0, 240, 255, 0.3); position: relative; overflow: hidden; }
.highlight-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.icon-wrapper { width: 70px; height: 70px; margin: 0 auto 1.5rem; background: rgba(255, 255, 255, 0.03); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.icon-wrapper svg { width: 32px; height: 32px; }
.dept-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.dept-card p { font-size: 0.85rem; color: var(--primary); margin-bottom: 1rem; font-weight: 600; }
.dept-desc { color: var(--text-muted); font-size: 0.95rem; }

/* Delivery Mall */
.delivery-mall { background: linear-gradient(180deg, #0d121c 0%, var(--bg-dark) 100%); }
.mall-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.product-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); transition: 0.3s; }
.product-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.prod-image { width: 100%; height: 260px; position: relative; display: flex; justify-content: center; align-items: center; background: #000; overflow: hidden; }
.prod-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 0.5s; }
.product-card:hover .prod-image img { transform: scale(1.05); }
.tag-badge { position: absolute; top: 1rem; left: 1rem; background: linear-gradient(45deg, #ff0055, #ff5e00); color: white; padding: 4px 12px; font-size: 0.8rem; font-weight: 800; border-radius: 20px; font-family: 'Syncopate', sans-serif;}
.placeholder-img { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 2px; }
.prod-info { padding: 1.5rem; }
.prod-info h4 { font-family: 'Inter', sans-serif; font-size: 1.1rem; margin-bottom: 0.5rem; color: #fff;}
.prod-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; min-height: 40px; }
.prod-price { font-size: 1.3rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.buy-btn { width: 100%; background: rgba(0, 240, 255, 0.1); border: 1px solid var(--primary); color: #fff; font-size: 0.85rem; padding: 0.8rem; text-align: center; }
.buy-btn:hover { background: var(--primary); color: #000; }

/* AI Media Portfolio (영화) */
.media-portfolio { background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0d15 100%); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.media-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: all 0.4s ease; backdrop-filter: blur(var(--glass-blur)); }
.media-card:hover { transform: translateY(-8px); border-color: var(--secondary); box-shadow: 0 15px 40px rgba(255, 0, 64, 0.18); }
.media-poster { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.media-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s ease; }
.media-card:hover .media-poster img { transform: scale(1.05); filter: brightness(1.05); }
.media-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; background: rgba(7, 9, 15, 0.55); opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(2px); }
.media-card:hover .media-overlay { opacity: 1; }
.play-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 240, 255, 0.15); border: 1px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; padding-left: 4px; }
.overlay-label { font-family: 'Syncopate', sans-serif; font-size: 0.75rem; letter-spacing: 0.25em; color: #fff; text-transform: uppercase; }
.media-meta { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.6rem; }
.festival-badge { display: inline-block; align-self: flex-start; font-family: 'Syncopate', sans-serif; font-size: 0.7rem; letter-spacing: 0.18em; padding: 0.3rem 0.7rem; border-radius: 4px; text-transform: uppercase; }
.festival-badge[data-status="submitted"] { background: rgba(255, 0, 64, 0.12); color: var(--secondary); border: 1px solid rgba(255, 0, 64, 0.55); }
.festival-badge[data-status="selected"] { background: rgba(0, 240, 255, 0.12); color: var(--primary); border: 1px solid rgba(0, 240, 255, 0.55); }
.festival-badge[data-status="upcoming"] { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); border: 1px solid var(--border-color); }
.media-meta h3 { font-size: 1.4rem; color: #fff; line-height: 1.3; margin-top: 0.3rem; }
.media-meta h3 em { display: block; font-style: normal; font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0.05em; margin-top: 0.3rem; }
.media-line { font-size: 0.8rem; color: var(--primary); font-family: 'Inter', sans-serif; letter-spacing: 0.05em; }
.media-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin: 0.3rem 0 0.6rem; }
.media-card .inline-link { margin-top: auto; }
.media-card.placeholder { opacity: 0.55; pointer-events: none; }
.placeholder-poster { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #0d121c, #0d121c 12px, #11172a 12px, #11172a 24px); color: var(--text-muted); font-family: 'Syncopate', sans-serif; font-size: 0.9rem; letter-spacing: 0.25em; text-align: center; line-height: 1.7; }

/* AI Dashboard / Portfolio */
.ai-dashboard { background: var(--bg-dark); }
.dashboard-container { max-width: 1200px; margin: 0 auto; background: rgba(10, 15, 26, 0.7); border: 1px solid var(--border-color); border-radius: 30px; padding: 3rem; backdrop-filter: blur(var(--glass-blur)); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.dash-header { margin-bottom: 3rem; text-align: center; }
.dash-header p { color: var(--text-muted); margin-top: 0.5rem; }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.port-card { position: relative; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; overflow: hidden; cursor: pointer; transition: 0.3s; }
.port-card:hover { border-color: var(--primary); box-shadow: 0 5px 20px rgba(0,240,255,0.15); transform: translateY(-5px); }
.port-thumb { height: 200px; background-size: cover; background-position: top center; background-repeat: no-repeat; opacity: 0.7; transition: 0.4s; }
.port-card:hover .port-thumb { opacity: 1; filter: brightness(1.1); }
.port-info { padding: 1.5rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8)); position: absolute; bottom: 0; width: 100%; }
.port-info h4 { font-family: 'Inter', sans-serif; font-size: 1.1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

.widget-tag { display: inline-block; font-size: 0.7rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; padding: 0.2rem 0.6rem; border-radius: 4px; background: rgba(255, 255, 255, 0.1); margin-bottom: 0.5rem;}
.widget-tag.blue { background: rgba(0, 119, 255, 0.2); color: #66b3ff; }
.widget-tag.purple { background: rgba(112, 0, 255, 0.2); color: #d699ff; }
.widget-tag.green { background: rgba(0, 230, 118, 0.2); color: #69f0ae; }

.hover-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 240, 255, 0.2); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; backdrop-filter: blur(2px); }
.hover-overlay p { font-size: 1.2rem; font-weight: 800; color: #fff; text-shadow: 0 2px 5px #000; letter-spacing: 1px;}
.port-card:hover .hover-overlay { opacity: 1; }

.terminal-style { background: #050505; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.term-text { color: #a9b7c6; font-family: monospace; font-size: 0.85rem; width: 100%; line-height: 1.6;}

/* MODAL UI */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(5px); }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: var(--bg-dark); border: 1px solid var(--primary); border-radius: 20px; width: 90%; max-width: 1000px; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(0.95); transition: transform 0.3s; box-shadow: 0 0 50px rgba(0,240,255,0.2); }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: transparent; border: none; font-size: 2rem; color: #fff; cursor: pointer; z-index: 10; line-height: 1; transition: 0.3s; }
.modal-close:hover { color: var(--primary); transform: rotate(90deg); }

.modal-body { display: grid; grid-template-columns: 3fr 2fr; gap: 0; }
.modal-image-col { background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; max-height: 70vh;}
.modal-image-col img { width: 100%; height: 100%; object-fit: contain; }
.modal-text-col { padding: 3rem 2rem; background: rgba(255,255,255,0.03); }
.modal-text-col h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: #fff; font-family: 'Inter', sans-serif;}
.modal-text-col p { color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; line-height: 1.6; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li { position: relative; padding-left: 1.5rem; font-size: 0.95rem; color: #e2e8f0; }
.feature-list li::before { content: '■'; position: absolute; left: 0; color: var(--primary); font-size: 0.7rem; top: 4px; }

/* BAEHO NEWS HUB */
.news-hub { background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(10, 15, 26, 0.8) 100%); }
.news-container { max-width: 1200px; margin: 0 auto; background: rgba(5, 8, 15, 0.6); border: 1px solid var(--border-color); border-radius: 20px; padding: 2rem; backdrop-filter: blur(var(--glass-blur)); box-shadow: 0 10px 40px rgba(0,0,0,0.5);}
.news-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; overflow-x: auto;}
.news-tab { background: transparent; color: var(--text-muted); border: 1px solid transparent; padding: 0.8rem 1.5rem; font-size: 1rem; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: 0.3s; border-radius: 8px; white-space: nowrap;}
.news-tab:hover { color: var(--text-main); background: rgba(255,255,255,0.05); }
.news-tab.active { color: var(--primary); border: 1px solid var(--primary); background: rgba(0, 240, 255, 0.05); box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; min-height: 400px; align-content: start;}
.news-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 12px; transition: 0.3s; cursor: pointer; display: flex; flex-direction: column; gap: 0.8rem;}
.news-card:hover { background: rgba(255,255,255,0.05); border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,240,255,0.1);}
.news-date { font-family: 'Syncopate', sans-serif; font-size: 0.75rem; color: var(--secondary); font-weight: 700; letter-spacing: 1px; }
.news-title { font-size: 1.05rem; font-weight: 600; color: #fff; line-height: 1.4; }
.news-card:hover .news-title { color: var(--primary); }
.news-summary { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Comments */
.comment-item { padding: 1rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; }
.comment-author { font-weight: 600; color: var(--primary); font-size: 0.9rem; margin-bottom: 0.3rem;}
.comment-timestamp { font-size: 0.75rem; color: var(--text-muted); margin-left: 0.5rem; font-weight: normal;}
.comment-content { font-size: 0.9rem; color: #fff; line-height: 1.5; white-space: pre-wrap;}

/* Footers */
footer { text-align: center; padding: 4rem 5% 2rem; border-top: 1px solid var(--border-color); margin-top: 4rem; }
.footer-logo { font-family: 'Syncopate', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-logo span { color: var(--primary); }
.footer-content p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.footer-bottom { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .dashboard-container { padding: 1.5rem; }
    .modal-body { grid-template-columns: 1fr; }
    .modal-image-col { max-height: 300px; }
    .news-tabs { padding-bottom: 0.5rem; }
}
