@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
    --bg-color: #0d1117;
    --text-primary: #ffffff;
    --text-secondary: #a3b3cc;
    --accent-color: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.5);

    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);

    --rank-1: linear-gradient(135deg, #ffd700, #ff8c00);
    --rank-2: linear-gradient(135deg, #e0e0e0, #808080);
    --rank-3: linear-gradient(135deg, #e5885f, #8b4513);

    --font-main: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "system-ui", Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main) !important;
}

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

body {
    font-family: "Pretendard", Pretendard, -apple-system, BlinkMacSystemFont, "system-ui", Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

#wrapper {
    padding-top: 140px;
    /* 怨좎젙 ?ㅻ뜑 ?믪씠(怨듭?+硫붾돱)留뚰겮 ?щ갚 ?뺣낫 */
}

/* Parallax Background */
.parallax-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-color);
}

.parallax-bg {
    position: absolute;
    top: -15%;
    left: -5%;
    width: 110%;
    height: 130%;
    /* Taller for parallax room */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    filter: blur(8px) saturate(0.8);
    opacity: 0.5;
    will-change: transform;
}

.poster {
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(13, 17, 23, 0.4) 0%, rgba(13, 17, 23, 0.95) 80%);
    z-index: 1;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 130px;
    /* 怨좎젙 ?ㅻ뜑 ?믪씠留뚰겮 ?щ갚 異붽? */
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInDown 1s ease-out;
}

.badge-new {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.2), rgba(99, 102, 241, 0.2));
    color: #fbcfe8;
    border: 1px solid rgba(236, 72, 153, 0.5);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-icon {
    font-size: 2.8rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    margin-right: 0.5rem;
    vertical-align: middle;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.title-main {
    font-size: 3rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -1.5px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    margin-right: 0.8rem;
    vertical-align: middle;
}

.highlight {
    font-size: 4.8rem;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(135deg, #0cebeb, #20e3b2, #29ffc6, #0cebeb);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(32, 227, 178, 0.4));
    animation: shine 4s linear infinite;
    letter-spacing: -2px;
    padding: 0 10px;
    /* Prevent clipping of italic text */
    padding-bottom: 20px;
    /* Prevent drop-shadow/descender from clipping */
    display: inline-block;
    vertical-align: middle;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.subtitle {
    color: #cbd5e1;
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ranking List */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rank-item {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards ease-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Watermark Number */
.rank-item::after {
    content: attr(data-rank);
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12rem;
    font-weight: 800;
    font-style: italic;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    pointer-events: none;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "system-ui", Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    transition: all 0.4s ease;
}

.rank-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
    z-index: 1;
}

.rank-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-glow);
}

.rank-item:hover::before {
    transform: translateX(100%);
}

.rank-item:hover::after {
    color: rgba(255, 255, 255, 0.05);
    transform: translateY(-50%) scale(1.1);
}

.rank-number {
    font-size: 3rem;
    font-weight: 800;
    width: 80px;
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    margin-right: 2rem;
    font-style: italic;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "system-ui", Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    z-index: 2;
    position: relative;
}

/* Top 3 Rankings Styling */
.rank-item.top-1 {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}

.rank-item.top-1 .rank-number {
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    font-size: 4rem;
}

.rank-item.top-1::after {
    color: rgba(255, 215, 0, 0.04);
}

.rank-item.top-2 {
    background: linear-gradient(145deg, rgba(224, 224, 224, 0.15), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(224, 224, 224, 0.5);
    box-shadow: 0 0 30px rgba(224, 224, 224, 0.1);
}

.rank-item.top-2 .rank-number {
    color: #e0e0e0;
    text-shadow: 0 0 30px rgba(224, 224, 224, 0.8);
    font-size: 3.6rem;
}

.rank-item.top-2::after {
    color: rgba(224, 224, 224, 0.04);
}

.rank-item.top-3 {
    background: linear-gradient(145deg, rgba(205, 127, 50, 0.15), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(205, 127, 50, 0.5);
    box-shadow: 0 0 30px rgba(205, 127, 50, 0.1);
}

.rank-item.top-3 .rank-number {
    color: #cd7f32;
    text-shadow: 0 0 30px rgba(205, 127, 50, 0.8);
    font-size: 3.3rem;
}

.rank-item.top-3::after {
    color: rgba(205, 127, 50, 0.04);
}

/* Content Info */
.rank-info {
    flex: 1;
    margin-right: 2rem;
}

.rank-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.site-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

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

.tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem 0rem 0.6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-weight: 600;
    white-space: nowrap;
}

.tag.hot {
    background: rgba(244, 63, 94, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(244, 63, 94, 0.3);
    animation: pulse 2s infinite;
}

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

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.site-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.event-box {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: rgba(167, 139, 250, 0.1);
    border-radius: 6px;
    color: #d8b4fe;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Action Button */
.action-btn {
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent-color), #4f46e5);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn:hover {
    background: linear-gradient(135deg, #818cf8, var(--accent-color));
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.5);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 768px) {

    .footer {
        margin-top: 1rem;
        font-size: 13px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .footer-links {
        gap: 1rem;
    }

}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 3rem 1rem;
    }

    .title-icon {
        font-size: 2rem;
        margin-right: 0.2rem;
    }

    .title-main {
        font-size: 1.8rem;
        margin-right: 0.4rem;
    }

    .highlight {
        font-size: 2.8rem;
    }

    .rank-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .rank-number {
        margin-right: 0;
        margin-bottom: 1rem;
        width: auto;
    }

    .rank-header {
        flex-direction: column;
        justify-content: center;
        gap: 0.8rem;
    }

    .action-btn {
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
    }
}

/* Top Button */
.top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #4f46e5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.top-btn:hover {
    background: linear-gradient(135deg, #818cf8, var(--accent-color));
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.6);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* =========================================
   Missing Header & GNB Styles 
   ========================================= */

/* Header Top Bar */
.header-top-bar {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.header-top-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-top-links a {
    color: #64748b;
    text-decoration: none;
}

.header-top-links a:hover {
    color: #0f172a;
    text-decoration: underline;
}

.header-top-links .btn-logout {
    background: none;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-top-links .user-greeting {
    margin-right: 1rem;
}

/* Main Header */

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.search-wrap {
    flex: 1;
    max-width: 500px;
    display: flex;
    border: 3px solid #22c55e;
    border-radius: 30px;
    overflow: hidden;
    height: 46px;
}

.search-category select {
    border: none;
    background: #f8fafc;
    padding: 0 1rem;
    height: 100%;
    outline: none;
    border-right: 1px solid #e2e8f0;
    color: #333;
    font-weight: 500;
    appearance: none;
}

.search-input {
    flex: 1;
    border: none;
    padding: 0 1rem;
    outline: none;
    font-size: 1rem;
    color: #333;
}

.btn-search {
    background: none;
    border: none;
    padding: 0 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background: #f1f5f9;
}

/* User Tabs */
.user-tabs {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.tab-item {
    position: relative;
    cursor: pointer;
}

.tab-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    color: #333;
}

.tab-label {
    font-size: 0.8rem;
    font-weight: 600;
}

.badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: bold;
}

.info-trigger {
    flex-direction: row;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    gap: 0.5rem;
}

.plus-icon {
    background: #22c55e;
    color: white;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 320px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    z-index: 1000;
    color: #333;
}

/* Triangle pointing up */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e2e8f0;
}

.dropdown-content::after {
    content: '';
    position: absolute;
    top: -7px;
    right: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown-content.active {
    display: block;
    animation: dropFadeIn 0.2s ease-out;
}

@keyframes dropFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-dropdown ul,
.alert-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 350px;
    overflow-y: auto;
}

.message-dropdown li,
.alert-dropdown li {
    padding: 1.2rem;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.message-dropdown li:hover,
.alert-dropdown li:hover {
    background: #f8fafc;
}

.message-dropdown li .date {
    color: #94a3b8;
    font-size: 0.75rem;
    float: right;
}

.message-dropdown li .desc,
.alert-dropdown li .desc {
    display: block;
    margin-top: 0.4rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-footer {
    padding: 1rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    border-radius: 0 0 12px 12px;
}

.dropdown-footer a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
}

.dropdown-footer a:hover {
    color: #333;
}

.myinfo-dropdown {
    width: 280px;
    padding: 1.2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.95rem;
}

.info-row:last-of-type {
    border-bottom: none;
    margin-bottom: 1.2rem;
}

.info-btns {
    display: flex;
    gap: 0.8rem;
}

.info-btns button {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-charge {
    background: #22c55e;
    color: white;
}

.btn-charge:hover {
    background: #16a34a;
}

.btn-history {
    background: #f1f5f9;
    color: #475569;
}

.btn-history:hover {
    background: #e2e8f0;
}

.alert-icon {
    margin-right: 5px;
    font-size: 1.1em;
}

/* Global Navigation Bar */
.gnb {
    background: transparent;
    color: white;
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.gnb a {
    color: #cbd5e1;
    text-decoration: none !important;
    /* 媛뺤젣 諛묒쨪 ?쒓굅 */
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.2s, text-shadow 0.2s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent !important;
    /* ?뱀떆 紐⑤? ?뚮몢由??쒓굅 */
}

@media (max-width: 768px) {
    .gnb a {
        font-size: 13px;
    }
}

.gnb a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.gnb a.active {
    color: #6366f1;
    font-weight: 800;
}

.gnb a.active[href="index.html"] {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.main-header {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo span {
    color: #f8fafc !important;
    /* Override inline styles from build.py */
}

.sub-gnb ul {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    padding: 0 2rem;
    gap: 2.5rem;
}

.sub-gnb a {
    display: block;
    padding: 1rem 0;
    color: #64748b;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 3px solid transparent !important;
    transition: all 0.2s;
}

.sub-gnb a.active {
    color: #22c55e;
    border-bottom-color: #22c55e;
}

.sub-gnb a:hover {
    color: #333;
}

/* --- New Additions --- */
.top-disclosure {
    background-color: #f1f5f9;
    color: #475569;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.trust-badge {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    padding: 0.2rem 0.8rem 0.1rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.ad-label {
    background: #e74c3c;
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 5px;
}

.rating-stars {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-top: 5px;
}

.rating-score {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-left: 5px;
}

.eval-bars {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.merged-status {
    opacity: 0.8;
}

.merged-status:hover {
    opacity: 1;
}

.closed-status {
    opacity: 0.6;
    filter: grayscale(1);
    pointer-events: none;
}

.status-warning {
    color: #f39c12;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid #f39c12;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    display: inline-block;
    white-space: nowrap;
}

.status-danger {
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid #e74c3c;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    display: inline-block;
    white-space: nowrap;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.illegal-warning-box {
    margin-top: 3rem;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-radius: 12px;
    padding: 2rem;
}

.illegal-warning-box h3 {
    color: #e3b273;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.illegal-warning-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #fca5a5;
    line-height: 1.8;
}

.warning-footer {
    margin-top: 1.5rem;
    font-weight: bold;
    color: #b96060;
}

.faq-section {
    margin-top: 5rem;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.5rem;
}

.faq-item summary {
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: #f1f5f9;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    color: #cbd5e1;
    font-size: 1.5rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    margin-top: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.page-desc {
    word-break: auto-phrase;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.content-body.white-board {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1e293b !important;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .content-body.white-board {
        padding: 1rem;
    }
}

.content-body.white-board h2 {
    color: #0f172a;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.content-body.white-board h2:first-child {
    margin-top: 0;
}

.content-body.white-board p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-body.white-board ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    line-height: 1.8;
}

.content-body.white-board li {
    margin-bottom: 0.5rem;
}

.content-body.white-board a {
    color: var(--accent-color);
    text-decoration: none;
}

.content-body.white-board a:hover {
    text-decoration: underline;
}

.footer .copyright {
    margin-top: 2rem;
    color: #64748b;
    font-size: 0.9rem;
}

/* =========================================
   Sitemap Redesign Styles
   ========================================= */

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

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

@media (max-width: 500px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}

.sitemap-card {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 1.8rem 1.2rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.sitemap-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
}

.sitemap-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sitemap-icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.sitemap-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #e3b273;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    word-break: keep-all;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sitemap-list li {
    margin-bottom: 1rem;
}

.sitemap-list li:last-child {
    margin-bottom: 0;
}

.sitemap-link {
    display: flex;
    align-items: center;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    word-break: keep-all;
}

.sitemap-link::before {
    content: '??;
 margin-right: 0.5rem;
    color: #e3b273;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.sitemap-link:hover {
    color: #fff;
    padding-left: 0.5rem;
}

.sitemap-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   TV Review Page Specific Styles (.review-list, .review-card, etc.)
   ========================================================================== */

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease-out;
    padding-top: 2rem;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

@media (max-width: 992px) {
    .review-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .review-list {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.review-thumb {
    width: 100%;
    height: 220px;
    background-color: #1e293b;
    background-size: cover;
    background-position: center;
    /* Placeholder gradient if image fails to load */
    background-image: linear-gradient(135deg, #1e293b, #334155);
    position: relative;
}

.review-thumb::after {
    content: 'TV 리뷰';
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.review-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.review-title {
    word-break: auto-phrase;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f8fafc;
    line-height: 1.4;
}

.review-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    height: 3.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-meta {
    word-break: auto-phrase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    font-weight: 500;
    margin-top: auto;
    height: 3.5rem;
}

.review-meta span:first-child {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.read-more {
    color: #818cf8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
}

.review-card:hover .read-more {
    color: #a5b4fc;
}

/* ==========================================================================
   Article details specific styles (.article-container, .article-content, etc.)
   ========================================================================== */

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.article-content {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
    padding: 4rem 3.5rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    color: #e2e8f0;
    line-height: 1.8;
    font-size: 1.15rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.article-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 2.5rem;
    line-height: 1.35;
    letter-spacing: -0.5px;
    text-align: center;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.article-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50px;
    height: 2px;
    background: #6366f1;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #93c5fd;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.8rem;
    color: #cbd5e1;
    font-weight: 300;
}

.article-content strong {
    color: #f8fafc;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.2);
    padding: 0 4px;
    border-radius: 4px;
}

.article-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.8rem;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #1e293b;
    /* Placeholder color */
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .article-content {
        padding: 2.5rem 1rem;
    }

    .article-content h1 {
        font-size: 1.8rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-img {
        margin: 1.5rem 0;
    }
}

/* Return Button */
.return-btn {
    display: inline-block;
    text-decoration: none;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.return-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
}

/* FAQ Container */
.faq-container {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 0.8rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .faq-container {
        padding: 1rem;
    }
}

/* FAQ Question */
.faq-question {
    margin-top: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
}

/* Extracted Layout Utility Classes */

.return-wrapper {
    text-align: center;
    margin-top: 4rem;
}

.review-detail-category {
    font-size: 0.6em;
    font-weight: 500;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.5rem;
}

.page-title-styled {
    font-size: 2.8rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.page-desc-styled {
    color: #94a3b8;
    font-size: 1.15rem;
}

.review-category-tag {
    font-size: 0.8em;
    font-weight: 500;
    color: #a5b4fc;
    display: block;
    margin-bottom: 0.3rem;
}

.site-name-eng {
    font-size: 1.1rem;
    color: #9ca3af;
    font-weight: 500;
}

.ad-badge-styled {
    margin-right: 0.3rem;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 4px;
    border-radius: 4px;
}

.mt-md {
    margin-top: 0.8rem;
}

.faq-section-wrapper {
    margin-top: 5rem;
}

.faq-section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.trust-badges-styled {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.closed-desc-text {
    margin-bottom: 0;
}

.illegal-site-name {
    color: #fca5a5;
}

.illegal-site-warn {
    font-size: 1.1rem;
    color: #f87171;
    font-weight: 500;
}

.status-danger-styled {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.illegal-desc-text {
    margin-bottom: 0;
    color: #fecaca;
}

.opacity-60 {
    opacity: 0.6;
}

.danger-status {
    border-color: rgba(239, 68, 68, 0.4) !important;
    background: rgba(127, 29, 29, 0.2) !important;
}

.action-btn-container {
    text-align: center;
    margin-top: 3rem;
}

.action-btn-inline {
    display: inline-block;
}

/* TV Review Specific Styles */
.review-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

@media (max-width: 992px) {
    .review-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .review-list {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.review-thumb {
    width: 100%;
    height: 220px;
    background-color: #1e293b;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, #1e293b, #334155);
    position: relative;
}

.review-thumb::after {
    content: 'TV 리뷰';
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.review-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.review-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f8fafc;
    line-height: 1.4;
}

.review-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    height: 3.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    font-weight: 500;
    margin-top: auto;
}

.read-more {
    color: #818cf8;
    font-weight: 600;
}

.page-title-styled {
    font-size: 2.8rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.page-desc-styled {
    color: #94a3b8;
    font-size: 1.15rem;
}

.review-category-tag {
    font-size: 0.8em;
    font-weight: 500;
    color: #a5b4fc;
    display: block;
    margin-bottom: 0.3rem;
}