.header-container {
    max-width: 1200px;
    padding: 0 0 16px 0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.header-container .nitro-ad-container--header {
    flex: 0 0 728px;
    max-width: 728px;
    margin-right: 0;
    margin-left: auto;
}

@media (max-width: 1100px) {
    .header-container {
        flex-wrap: wrap;
        padding-bottom: 16px;
    }

    .header-container .nitro-ad-container--header {
        flex-basis: 100%;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .header-container .nitro-ad-container--header {
        max-width: 320px;
        margin-right: auto;
        margin-left: auto;
    }
}

.header-container h1 {
    font-size: 32px;
    filter: drop-shadow(0px 1px rgb(0, 0, 0, 0.5)) drop-shadow(1px 0px rgb(0, 0, 0, 0.5)) drop-shadow(-1px 0px rgb(0, 0, 0, 0.5));
    font-weight: 900;
    background: #eeeeee;
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /*animation: gradient 4s linear infinite;*/
    animation: none;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.beta-text {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.music-control {
    margin-left: 10px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
}

.music-control img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-content {
    padding: 0px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 319.31px;
    box-sizing: border-box;
    border-radius: 0px 0px 10px 10px;
    background-color: var(--card-background);
    border-bottom: 3px solid var(--border-red);
}

#home-carousel-root {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 339.43px;
}

#home-carousel-root .home-carousel-skeleton {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: #2e2e2e;
}

#home-carousel-root .home-carousel-skeleton-stage {
    position: relative;
    height: 300px;
    display: flex;
    align-items: stretch;
    background: linear-gradient(125deg, rgba(73, 73, 73, 0.98) 0%, rgba(56, 56, 56, 0.98) 45%, rgba(44, 44, 44, 0.98) 100%);
}

@media (min-width: 1200px) {
    #home-carousel-root .home-carousel-skeleton-stage {
        height: 280px;
    }
}

#home-carousel-root .home-carousel-skeleton-left {
    flex: 1 1 100%;
    min-width: 0;
    padding: 64px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#home-carousel-root .home-carousel-skeleton-line {
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(214, 214, 214, 0.4), rgba(177, 177, 177, 0.2));
    animation: homeCarouselSkeletonPulse 1.5s ease-in-out infinite;
}

#home-carousel-root .home-carousel-skeleton-line.title {
    width: 56%;
    height: 30px;
}

#home-carousel-root .home-carousel-skeleton-line.wide {
    width: 74%;
    height: 14px;
}

#home-carousel-root .home-carousel-skeleton-line.short {
    width: 46%;
    height: 14px;
}

#home-carousel-root .home-carousel-skeleton-toolbar {
    position: relative;
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    padding-bottom: 24px;
    justify-content: flex-end;
    align-items: center;
    background: var(--border-red);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

#home-carousel-root .home-carousel-skeleton-toolbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -26%;
    bottom: 0;
    width: 50%;
    background-image: url('/assets/img/character-detail/character_bg.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
    filter: invert(1);
}

#home-carousel-root .home-carousel-skeleton-controls {
    position: relative;
    display: flex;
    gap: 8px;
    z-index: 1;
}

#home-carousel-root .home-carousel-skeleton-select {
    display: block;
    height: 24px;
    border-radius: 6px;
    background: rgba(31, 31, 31, 0.5);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

#home-carousel-root .home-carousel-skeleton-select:first-child {
    width: 52px;
}

#home-carousel-root .home-carousel-skeleton-select:last-child {
    width: 74px;
}

@keyframes homeCarouselSkeletonPulse {
    0%,
    100% {
        opacity: 0.56;
    }

    50% {
        opacity: 1;
    }
}

:root {
    --home-quick-grid-static: 1;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 12px 0 24px 0;
}

.quick-item {
    display: flex;
    align-items: flex-start;
}

.quick-link {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border: transparent;
    background: transparent;
    border-radius: 14px;
    padding: 12px 18px;
    transition: all .18s ease;
    position: relative;
    overflow: hidden;
}

.quick-link:hover,
.quick-link:focus-visible {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.quick-icon-wrap {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin-bottom: 10px;
    transition: transform .18s ease;
    position: relative;
}

.quick-icon-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-49%);
    bottom: 6px;
    width: 70px;
    height: 30px;
    background: url('/assets/img/home/icon_under.png') no-repeat center / contain;
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
}

.quick-link:hover .quick-icon-wrap {
    transform: scale(1.1);
}

.quick-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
    position: relative;
    z-index: 1;
}

.quick-label {
    margin-top: 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .2px;
    text-align: center;
    line-height: 1.25;
    white-space: normal;
    word-break: keep-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    letter-spacing: -0.02rem;
}

.quick-new-badge {
    position: absolute;
    top: 8px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: #000000;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Arial Black', 'Arial', 'Helvetica', sans-serif;
}

@media (max-width: 1200px) {
    #home-carousel-root {
        min-height: 340px;
    }
}

@media (max-width: 1024px) {
    .quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .main-content {
        min-height: 500px;
    }

    #home-carousel-root {
        min-height: 300px;
    }

    #home-carousel-root .home-carousel-skeleton-stage {
        height: 250px;
    }

    #home-carousel-root .home-carousel-skeleton-left {
        padding: 16px;
        gap: 8px;
    }

    #home-carousel-root .home-carousel-skeleton-line.title {
        width: 68%;
        height: 24px;
    }

    #home-carousel-root .home-carousel-skeleton-line.wide {
        width: 86%;
        height: 12px;
    }

    #home-carousel-root .home-carousel-skeleton-line.short {
        width: 58%;
        height: 12px;
    }

    #home-carousel-root .home-carousel-skeleton-toolbar {
        padding-bottom: 22px;
    }

    .quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .quick-icon-wrap {
        width: 60px;
        height: 60px;
    }

    .quick-icon-wrap::after {
        width: 50px;
        height: 22px;
        bottom: 6px;
    }

    .quick-icon {
        width: 40px;
        height: 40px;
    }

    .quick-link {
        padding: 14px 8px;
        border-radius: 12px;
    }

    .quick-label {
        font-size: 12px;
    }

    .quick-new-badge {
        width: 20px;
        height: 20px;
        font-size: 11px;
        top: -1px;
        left: -1px;
    }
}

.main-content h1 {
    font-size: 24px;
    margin: 0 0 16px 0;
}

/* 메뉴 카드 스타일 */
.menu-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.menu-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-3px);
}

.menu-card:hover .view-more {
    background-color: rgb(255, 255, 255, 0.2);
    border-color: #fff;
}

.card-content {
    display: flex;
    justify-content: space-between;
    padding: 0px 24px 24px 20px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}


.text-section h2 {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0d6aa;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    position: relative;
    white-space: nowrap;
}

.title-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
}

.text-section p {
    width: fit-content;
    color: #cccccc;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 0;
    word-break: keep-all;
}

.view-more {
    margin-top: auto;
    width: fit-content;
    white-space: nowrap;
    background: rgb(255, 255, 255, 0.1);
    border: 1px solid #666;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    position: relative;
}

.card-illustration {
    max-height: 200px;
    object-fit: contain;
    margin-bottom: -24px;
    margin-right: -24px;
    z-index: 1;
    position: relative;
}

.text-section p.desktop-description {
    display: block;
}

.text-section p.mobile-description {
    display: none;
}


.separator-line {
    width: calc(100% - 20px);
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 24px 10px;
}

/* Shared home section loading states. Keep the final layout stable while data loads. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home-panel-skeleton, .home-row-skeleton { background: linear-gradient(105deg, rgba(255,255,255,.045) 35%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.045) 65%); background-size: 220% 100%; animation: homeSectionShimmer 1.35s ease-in-out infinite; }
@keyframes homeSectionShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.home-quick-skeleton { min-height: 126px; align-items: center; flex-direction: column; justify-content: center; }
.home-quick-skeleton span, .home-quick-skeleton i { background: linear-gradient(105deg, rgba(255,255,255,.055) 35%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.055) 65%); background-size: 220% 100%; animation: homeSectionShimmer 1.35s ease-in-out infinite; }
.home-quick-skeleton span { width: 54px; height: 54px; border-radius: 50%; }
.home-quick-skeleton i { width: 62%; height: 12px; margin-top: 14px; border-radius: 6px; }
.home-character-skeleton { width: 98px; min-width: 98px; display: flex; flex-direction: column; }
.home-character-skeleton span, .home-character-skeleton i { display: block; background: linear-gradient(105deg, rgba(255,255,255,.045) 35%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.045) 65%); background-size: 220% 100%; animation: homeSectionShimmer 1.35s ease-in-out infinite; }
.home-character-skeleton span { width: 98px; height: 140px; border-radius: 8px 8px 0 0; }
.home-character-skeleton i { width: 98px; height: 28.5px; border-radius: 0 0 8px 8px; margin-top: 0; }
.home-panel-skeleton { min-height: 250px; border-radius: 10px; }
.home-boss-skeleton-card { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 24px auto 0; padding: 20px; background: var(--card-background); border-bottom: 3px solid var(--border-red); border-radius: 10px; }
#home-bosses-root { width: 100%; margin: 24px 0 0; color: #eee; }
.bosses-card > .bosses-loading-placeholder { min-height: 574px; margin: 0; border-radius: 8px; }
.home-row-skeleton { min-height: 95px; display: flex; gap: 15px; align-items: center; padding: 15px; box-sizing: border-box; border-bottom: 1px solid rgba(255,255,255,.05); }
.home-row-skeleton i { display: block; flex: 0 0 100px; width: 100px; height: 65px; border-radius: 6px; background: rgba(255,255,255,.1); }
.home-row-skeleton span { width: min(56%, 420px); height: 48px; border-radius: 6px; background: rgba(255,255,255,.1); }
.home-row-skeleton--tactic { min-height: 150px; }
.home-section-status { min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #aaa; text-align: center; padding: 20px; box-sizing: border-box; }
.home-section-status--error { color: #f0b1b1; }
.home-section-status--loading { color: #aaa; }
.home-section-ready { animation: homeSectionReveal .22s ease-out both; }
@keyframes homeSectionReveal { from { opacity: .35; } to { opacity: 1; } }
.home-section-retry { min-height: 36px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; background: #282828; color: #fff; cursor: pointer; }
.home-section-retry:hover, .home-section-retry:focus-visible { background: #3a3a3a; outline: 2px solid #d2ad76; outline-offset: 2px; }
@media (max-width: 768px) { .home-quick-skeleton { min-height: 116px; } .character-cards .character-card { width: 80px; } .home-character-skeleton { width: 80px; min-width: 80px; } .home-character-skeleton span { width: 80px; height: 100px; } .home-character-skeleton i { width: 80px; height: 28.5px; } .home-panel-skeleton { min-height: 220px; } .bosses-card > .bosses-loading-placeholder { min-height: 1180px; } }
@media (prefers-reduced-motion: reduce) { .home-quick-skeleton span, .home-quick-skeleton i, .home-character-skeleton span, .home-character-skeleton i, .home-panel-skeleton, .home-row-skeleton, .home-section-ready { animation: none; } }

.nitro-ad-container--home-bosses {
    margin-top: 24px;
    margin-bottom: 0;
}

/* 미들 컨테이너 */

.middle-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 0px 24px 0px;
}

.middle-container h2 {
    font-size: 18px;
    margin: 0;
    color: #f0d6aa;
    padding-bottom: 20px;
}

.popular-content,
.recent-update-content {
    background: var(--card-background);
    border-bottom: solid 3px var(--border-red);
}

.popular-content {
    width: 100%;
    max-width: 1200px;
    height: fit-content;
    min-height: 200px;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 12px;
    margin: 0px auto 0px auto;
}

.home-anniversary-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 20px;
    padding: 24px 28px;
    border-radius: 12px;
    background:
        radial-gradient(circle at top right, rgba(216, 184, 91, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(46, 46, 46, 0.98), rgba(31, 31, 31, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: solid 3px var(--border-red);
    box-sizing: border-box;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-anniversary-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(157, 23, 29, 0.1), transparent 26%),
        url('/assets/img/character-detail/character_bg.png') no-repeat right -40px center / 360px auto;
    opacity: 0.22;
    pointer-events: none;
}

.home-anniversary-banner:hover {
    transform: translateY(-2px);
    border-color: var(--border-red);
    background:
        radial-gradient(circle at top right, rgba(216, 184, 91, 0.2), transparent 38%),
        linear-gradient(135deg, rgba(54, 54, 54, 0.98), rgba(34, 34, 34, 0.98));
}

.home-anniversary-banner-copy,
.home-anniversary-banner-visual {
    position: relative;
    z-index: 1;
}

.home-anniversary-banner-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.home-anniversary-banner-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #f0d6aa;
}

.home-anniversary-banner-copy h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-anniversary-banner-copy h2 img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.home-anniversary-banner-copy p {
    margin: 12px 0 0 0;
    max-width: 620px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.76);
}

.home-anniversary-banner-cta {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(216, 184, 91, 0.25);
    color: #f0d6aa;
    font-size: 13px;
    font-weight: 700;
}

.home-anniversary-banner-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 160px;
    padding-right: 0;
}

.home-anniversary-banner-faces {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 14px;
    width: auto;
    padding-top: 0;
}

.home-anniversary-banner-faces img {
    width: 96px;
    height: 130px;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px 10px 0 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.home-anniversary-banner-faces img:nth-child(2) {
    width: 96px;
    height: 130px;
}

.home-anniversary-banner-faces img:nth-child(3) {
    width: 96px;
    height: 130px;
}

.character-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0px 0 0px 0;
}

.character-cards::-webkit-scrollbar {
    height: 8px;
}

.character-cards::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.character-cards::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.character-card {
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
    width: 98px;
}

.character-card-img {
    width: 98px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0px 0px;
    transition: all 0.3s ease;
}

.character-card-img img {
    width: 98px;
    height: 100%;
    border-radius: 8px 8px 0px 0px;
    object-fit: cover;
    opacity: 1;
}

.character-card-text {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0px 0px 8px 8px;
    text-align: center;
    margin: 0;
    padding: 6px 0px;
    max-width: 98px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.character-card.new::after {
    content: 'NEW';
    position: absolute;
    top: 8px;
    right: 0px;
    padding: 2px 6px;
    font-size: 8px;
    font-weight: 700;
    color: #000;
    background: #ffd54f;
    border-radius: 4px 0px 0px 4px;
    letter-spacing: 0.05em;
    z-index: 2;
}

.character-card.hot::after {
    content: 'HOT';
    position: absolute;
    top: 8px;
    right: 0px;
    padding: 2px 6px;
    font-size: 8px;
    font-weight: 700;
    color: #000;
    background: #ff6b6b;
    border-radius: 4px 0px 0px 4px;
    letter-spacing: 0.05em;
    z-index: 2;
}


.character-card-text p {
    margin: 0;
    font-size: 11px;
    font-weight: 400;
    color: rgb(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.character-card:hover .character-card-text p {
    color: #fff;
}

.character-card:hover .character-card-img {
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.character-card:hover .character-card-img img {
    filter: grayscale(0%);
    opacity: 1;
    scale: 1.05;
    overflow: hidden;
    transition: all 0.3s ease;
}


/* 가이드 컨테이너 */
.guides-container {
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    background: var(--card-background);
    border-radius: 12px;
    margin-bottom: 24px;
    border-bottom: solid 3px var(--border-red);
}

.guides-container h2 {
    font-size: 18px;
    margin: 0;
    color: white;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.guide-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.guide-card {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2sease;
    padding: 20px 20px 24px 20px;
}

.guide-card-header {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgb(255, 255, 255, 0.9);
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 10px;
    position: relative;
    white-space: nowrap;
}

.guide-card-header h3 {
    margin: 0;
}

.guide-card-header img {
    width: 100%;
    max-width: 32px;
    height: 100%;
    object-fit: cover;
}

.guide-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.article {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.article:hover {
    font-weight: 600;
    color: #f0d6aa;
}


@media (max-width: 1200px) {
    .middle-container {
        display: none !important;
    }
}

/* 반응형 디자인 */
@media (max-width: 670px) {
    .main-wrapper {
        width: calc(100% - 32px);
    }

    .music-control {
        display: none;
    }

    .main-content {
        padding: 0px;
        border-radius: 0px 0px 10px 10px;
    }

    .menu-cards {
        grid-template-columns: 1fr;
    }

    .menu-card {
        background: rgba(61, 37, 37, 0.6);
    }

    .card-content {
        width: 100%;
    }

    .text-section {
        min-width: 0;
        width: fit-content;
        box-sizing: border-box;
    }

    .text-section h2 {
        font-size: 18px;
    }

    .text-section p {
        font-size: 14px;
        /* 추가 */
        max-width: 100%;
        /* 추가 */
    }

    .card-illustration {
        margin-top: auto;
        margin-left: -10px;
    }

    .text-section p.desktop-description {
        display: none;
    }

    .text-section p.mobile-description {
        display: block;
        font-size: 16px;
        max-width: 100%;
    }

    .guide-cards {
        grid-template-columns: 1fr;
    }
    
    .guides-list {
        overflow: hidden;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.12);
    }

    /* 모바일에서 택틱 대장간 섹션 숨기기 */
    .posts-container {
        display: none !important;
    }

    .popular-content {
        padding: 16px;
        border-radius: 12px;
    }

    .home-anniversary-banner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 18px;
    }

    .home-anniversary-banner::before {
        background:
            linear-gradient(180deg, rgba(157, 23, 29, 0.08), transparent 30%),
            url('/assets/img/character-detail/character_bg.png') no-repeat right -80px top / 260px auto;
    }

    .home-anniversary-banner-copy h2 {
        font-size: 24px;
    }

    .home-anniversary-banner-copy h2 img {
        width: 36px;
        height: 36px;
    }

    .home-anniversary-banner-visual {
        min-height: auto;
        justify-content: flex-start;
        align-items: center;
        padding-top: 8px;
    }

    .home-anniversary-banner-faces {
        justify-content: flex-start;
        gap: 10px;
    }

    .home-anniversary-banner-faces img {
        width: 76px;
        height: 100px;
    }

    .home-anniversary-banner-faces img:nth-child(2) {
        width: 76px;
        height: 100px;
    }

    .home-anniversary-banner-faces img:nth-child(3) {
        width: 76px;
        height: 100px;
    }

    .character-cards {
        gap: 16px;
        padding-bottom: 16px;
    }

    .character-card-img {
        width: 80px;
        height: 100px;
    }

    .character-card-img img {
        width: 80px;
    }

    .character-card-text p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .text-section p.mobile-description {
        font-size: 13px;
        line-break: anywhere;
    }

    .view-more {
        font-size: 12px;
    }
}

@media (max-width: 350px) {

    .text-section p.mobile-description,
    .title-icon {
        display: none;
    }

    .text-section h2 {
        font-size: 20px;
    }
}
