:root {
    --bg: #000000;
    --card: #0a0a0a;
    --primary: #00c3ff;
    --blue: #0062ff;
    --blue2: #0085ff;
    --border: #222222;
    --text: #d0d0d0;
    --muted: #aaaaaa;
    --white: #ffffff;
}

html,
body {
    background: #000000;
    color: #d0d0d0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* BOOSTLINK 기본 카드 다크화 */
#container,
#container_wr,
.latest_wr,
.lt,
#aside,
.ol {
    background: #000000 !important;
    color: #d0d0d0 !important;
}

.latest_wr .lt,
.lt {
    background: #0a0a0a !important;
    border: 1px solid #222222 !important;
    color: #d0d0d0 !important;
}

.lt_title,
.lt_title a,
.latest_wr h2,
.latest_wr h2 a {
    color: #ffffff !important;
}

.lt_more,
.lt_more a,
a.lt_more {
    color: #00c3ff !important;
}

.lt ul li,
.lt ul li a,
.latest_wr li,
.latest_wr li a {
    color: #aaaaaa !important;
}

/* ==================================================
   BOOSTLINK HOME
================================================== */

#container_wr {
    width: 100% !important;
    max-width: none !important;
    background: #000 !important;
}

#container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #000 !important;
}

#aside {
    display: none !important;
}

.bl-home {
    width: 100%;
    background: #000;
    color: #d0d0d0;
}

.bl-container {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
}


/* HERO */

.bl-hero {
    position: relative;
    padding: 90px 0 80px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #1a2533;
    background:
        radial-gradient(circle at 50% 0%, rgba(0,195,255,.15), transparent 40%),
        #000;
}

.bl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 8px 14px;
    border: 1px solid #1a2533;
    border-radius: 30px;
    background: #0a0a0a;
    color: #00c3ff;
    font-size: 13px;
    font-weight: 700;
}

.bl-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00c3ff;
    box-shadow: 0 0 12px rgba(0,195,255,.9);
}

.bl-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 48px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -2px;
}

.bl-hero h1 span {
    color: #00c3ff;
}

.bl-hero p {
    max-width: 650px;
    margin: 22px auto 32px;
    color: #aaa;
    font-size: 16px;
    line-height: 1.8;
}


/* SEARCH */

.bl-search {
    display: flex;
    max-width: 650px;
    margin: 0 auto;
    padding: 6px;
    border: 1px solid #1a2533;
    border-radius: 14px;
    background: #0a0a0a;
    box-shadow: 0 15px 50px rgba(0,98,255,.10);
}

.bl-search input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.bl-search input::placeholder {
    color: #777;
}

.bl-search button {
    width: 110px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #00c3ff, #0062ff);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}


/* CATEGORY NAV */

.bl-category-section {
    padding: 22px 0;
    border-bottom: 1px solid #1a2533;
    background: #050505;
}

.bl-category-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bl-category-nav a {
    padding: 10px 17px;
    border: 1px solid #222;
    border-radius: 9px;
    background: #0a0a0a;
    color: #aaa;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.bl-category-nav a:hover,
.bl-category-nav a.active {
    border-color: #00c3ff;
    color: #fff;
    background: rgba(0,195,255,.10);
}


/* SECTION */

.bl-section {
    padding: 65px 0;
}

.bl-category-preview {
    padding-top: 15px;
    padding-bottom: 90px;
}

.bl-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.bl-section-label {
    display: block;
    margin-bottom: 5px;
    color: #00c3ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.bl-section-head h2 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.bl-live-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 13px;
}


/* POPULAR SITE CARDS */

.bl-site-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bl-site-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 18px;
    border: 1px solid #222;
    border-radius: 14px;
    background: #0a0a0a;
    transition: .2s;
}

.bl-site-card:hover {
    border-color: #1f6281;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,195,255,.07);
}

.bl-site-rank {
    flex: 0 0 44px;
    color: #00c3ff;
    font-size: 19px;
    font-weight: 900;
}

.bl-site-info {
    flex: 1;
    min-width: 0;
}

.bl-site-info strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 16px;
}

.bl-site-info span {
    color: #888;
    font-size: 13px;
}

.bl-go-btn {
    flex: 0 0 auto;
    padding: 10px 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0085ff, #0062ff);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
}


/* TOP10 */

.bl-top-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bl-top-card {
    padding: 22px;
    border: 1px solid #222;
    border-radius: 14px;
    background: #0a0a0a;
}

.bl-top-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #1a2533;
}

.bl-top-title strong {
    color: #fff;
    font-size: 17px;
}

.bl-top-title a {
    color: #00c3ff;
    font-size: 12px;
}

.bl-top-card ol {
    margin: 0;
    padding: 10px 0 0;
    list-style: none;
}

.bl-top-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    border-bottom: 1px solid #171717;
}

.bl-top-card li:last-child {
    border-bottom: 0;
}

.bl-top-card li span {
    width: 26px;
    color: #00c3ff;
    font-weight: 900;
}

.bl-top-card li strong {
    color: #d0d0d0;
    font-size: 14px;
    font-weight: 600;
}


/* MOBILE */

@media (max-width: 768px) {

    .bl-container {
        width: calc(100% - 24px);
    }

    .bl-hero {
        padding: 60px 0 55px;
    }

    .bl-hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .bl-hero p {
        font-size: 14px;
    }

    .bl-search button {
        width: 85px;
    }

    .bl-site-grid,
    .bl-top-grid {
        grid-template-columns: 1fr;
    }

    .bl-section {
        padding: 45px 0;
    }

    .bl-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .bl-site-card {
        gap: 10px;
        padding: 15px;
    }

    .bl-go-btn {
        padding: 9px 11px;
    }
}


/* 기본 그누보드 상단 제거 */
#tnb,
#hd,
#gnb {
    display: none !important;
}

/* BOOSTLINK 전용 헤더 */
.bl-header {
    width: 100%;
    border-bottom: 1px solid #1a2533;
    background: rgba(5,5,5,.96);
}

.bl-header-inner {
    width: calc(100% - 40px);
    max-width: 1200px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bl-logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff !important;
}

.bl-logo span {
    color: #00c3ff;
}

.bl-header-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bl-header-links a {
    padding: 9px 13px;
    border: 1px solid #222;
    border-radius: 8px;
    color: #aaaaaa !important;
    font-size: 13px;
    font-weight: 700;
}

.bl-header-links a:hover {
    border-color: #00c3ff;
    color: #ffffff !important;
}

.bl-header-links .bl-admin-btn {
    border: 0;
    background: linear-gradient(135deg,#00c3ff,#0062ff);
    color: #ffffff !important;
}

@media (max-width:768px) {
    .bl-header-inner {
        width: calc(100% - 24px);
        height: 62px;
    }

    .bl-logo {
        font-size: 21px;
    }

    .bl-header-links a {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* 검색 / 카테고리 결과 정보 */
.bl-result-count {
    margin-top: 8px;
    color: #888;
    font-size: 13px;
}

.bl-result-count strong {
    color: #00c3ff;
    font-weight: 900;
}

.bl-empty-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #1a2533;
    border-radius: 8px;
    background: #111;
    color: #00c3ff !important;
    font-size: 13px;
    font-weight: 700;
}

.bl-empty-home:hover {
    border-color: #00c3ff;
    color: #fff !important;
}


/* BOOSTLINK 사이트 카드 로고 */
.bl-site-logo {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #222;
    border-radius: 11px;
    background: #111;
}

.bl-site-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    box-sizing: border-box;
}

.bl-site-logo span {
    color: #00c3ff;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .bl-site-logo {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 9px;
    }
}


/* 카테고리 TOP10 사이트 로고 */
.bl-top-logo {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #222;
    border-radius: 7px;
    background: #111;
}

.bl-top-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
    box-sizing: border-box;
}

.bl-top-logo b {
    color: #00c3ff;
    font-size: 11px;
    font-weight: 900;
}

.bl-top-card ol li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bl-top-card ol li strong {
    min-width: 0;
}


/* ========================================
   BOOSTLINK 추천사이트 배너
======================================== */

.bl-featured-banner-section {
    padding: 38px 0 34px;
    border-bottom: 1px solid #1a2533;
    background: #050505;
}

.bl-featured-banner-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.bl-featured-banner-head h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.bl-featured-banner-note {
    color: #777;
    font-size: 12px;
}

.bl-featured-banner-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(420px, 100%), 1fr)
    );
    gap: 14px;
}

.bl-featured-banner {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #222;
    border-radius: 12px;
    background: #0a0a0a;
    transition:
        border-color .2s ease,
        transform .2s ease;
}

.bl-featured-banner:hover {
    border-color: #00c3ff;
    transform: translateY(-2px);
}

.bl-featured-banner picture,
.bl-featured-banner img {
    display: block;
    width: 100%;
}

.bl-featured-banner img {
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {

    .bl-featured-banner-section {
        padding: 26px 0;
    }

    .bl-featured-banner-head {
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .bl-featured-banner-head h2 {
        font-size: 19px;
    }

    .bl-featured-banner-note {
        display: none;
    }

    .bl-featured-banner-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bl-featured-banner {
        border-radius: 10px;
    }
}


/* 추천사이트 배너 규격 */
.bl-featured-banner {
    aspect-ratio: 1200 / 260;
}

.bl-featured-banner picture {
    width: 100%;
    height: 100%;
}

.bl-featured-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .bl-featured-banner {
        aspect-ratio: 750 / 300;
    }
}



/* ========================================
   BOOSTLINK 추천사이트 자동 슬라이더
======================================== */

.bl-featured-slider-wrap {
    width: 100%;
}

.bl-featured-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 260;
    overflow: hidden;
    border-radius: 12px;
}

.bl-featured-slider .bl-featured-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition:
        opacity .45s ease,
        visibility .45s ease;
}

.bl-featured-slider .bl-featured-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.bl-featured-slider .bl-featured-slide:hover {
    transform: none;
}

.bl-featured-slider .bl-featured-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bl-featured-slider .bl-featured-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 슬라이드 하단 점 */
.bl-featured-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.bl-featured-dot {
    appearance: none;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition:
        width .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.bl-featured-dot:hover {
    background: #666;
}

.bl-featured-dot.is-active {
    width: 24px;
    border-radius: 20px;
    background: #00c3ff;
    box-shadow: 0 0 10px rgba(0, 195, 255, .45);
}


@media (max-width: 768px) {

    .bl-featured-slider {
        aspect-ratio: 750 / 300;
        border-radius: 10px;
    }

    .bl-featured-dots {
        margin-top: 11px;
        gap: 7px;
    }

    .bl-featured-dot {
        width: 7px;
        height: 7px;
    }

    .bl-featured-dot.is-active {
        width: 21px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .bl-featured-slider .bl-featured-slide {
        transition: none;
    }

}


/* ========================================
   사이트 업데이트 날짜 / 주소 복사
======================================== */

.bl-site-updated {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 11px;
    line-height: 1.4;
}

.bl-site-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.bl-copy-btn {
    height: 38px;
    padding: 0 13px;
    border: 1px solid #252525;
    border-radius: 8px;
    background: #111;
    color: #aaa;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition:
        border-color .2s ease,
        color .2s ease,
        background .2s ease;
}

.bl-copy-btn:hover {
    border-color: #00c3ff;
    color: #00c3ff;
}

.bl-copy-btn.is-copied {
    border-color: #00c3ff;
    background: rgba(0, 195, 255, .08);
    color: #00c3ff;
}

@media (max-width: 768px) {

    .bl-site-actions {
        width: 100%;
        margin: 12px 0 0;
    }

    .bl-site-actions .bl-copy-btn,
    .bl-site-actions .bl-go-btn {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
}

