﻿.hero-section {
    padding: 42px 0 24px;
    background: radial-gradient(circle at top left, #ffffff 0, #ffffff 14%, transparent 14.5%), linear-gradient(135deg, #e9fff4 0%, #fffef4 48%, #ffeff7 100%);
}

.hero-card {
    border-radius: 32px;
    padding: 64px 42px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(143, 193, 171, 0.18);
    border: 2px solid #eff8ef;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff4fa;
    color: #d37097;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-content h1 {
    color: #62b292;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.hero-content p {
    color: #6e7b73;
    font-size: 1.08rem;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-register,
.btn-download {
    min-width: 180px;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-register:hover,
    .btn-download:hover {
        transform: translateY(-2px);
    }

.btn-register {
    background: linear-gradient(90deg, #ffbfd5, #ffdcea);
    color: #7a3f58;
}

.btn-download {
    background: linear-gradient(90deg, #baf0d6, #ddffea);
    color: #38785e;
}

.announcement-section {
    padding: 20px 0 60px;
}

.news-panel {
    height: 100%;
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    border: 2px solid #f8f1f7;
}

.panel-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.panel-icon {
    font-size: 1.4rem;
}

.news-panel h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
}

.panel-update h2 {
    color: #5fa88a;
}

.panel-event h2 {
    color: #ff8ca7;
}

.panel-prize h2 {
    color: #efa14a;
}

.update-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .update-list li {
        padding: 14px 0;
        border-bottom: 1px dashed #ece6ea;
    }

        .update-list li:last-child {
            border-bottom: none;
        }

.update-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: #555;
}

.update-content {
    color: #666;
    white-space: pre-line;
    margin-bottom: 6px;
    line-height: 1.7;
}

.update-time,
.news-time {
    font-size: 0.9rem;
    color: #9b9b9b;
}

.news-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fffdfd;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.news-status {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.status-active {
    background: #dbf7e7;
    color: #2e7d57;
}

.status-offline {
    background: #f2f2f2;
    color: #777;
}

.news-content {
    white-space: pre-line;
    color: #666;
    line-height: 1.7;
}

.empty-text {
    color: #888;
    text-align: center;
    padding: 28px 0;
}

@media (max-width: 992px) {
    .hero-card {
        padding: 42px 24px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.65rem;
    }

    .btn-register,
    .btn-download {
        width: 100%;
    }
}

.hero-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.news-link-wrap {
    margin-top: 10px;
}

.news-detail-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 800;
    color: #d07296;
}

    .news-detail-link:hover {
        color: #b45c81;
    }

.panel-kuji h2 {
    color: #efa14a;
}

.news-detail-section {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #eefcf5 0%, #fffef7 48%, #fff0f6 100%);
}

.news-detail-card {
    background: rgba(255,255,255,0.96);
    border-radius: 30px;
    padding: 34px 28px;
    box-shadow: 0 14px 32px rgba(138, 187, 166, 0.15);
    border: 2px solid #f6edf3;
}

.news-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.news-detail-category {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff4fa;
    color: #d37097;
    font-weight: 800;
}

.news-detail-title {
    color: #63ad91;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.news-detail-time {
    color: #8c8c8c;
    margin-bottom: 22px;
}

.news-detail-gallery {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.news-detail-image-wrap {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.news-detail-image {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 560px;
}

.news-detail-content {
    white-space: pre-line;
    line-height: 1.9;
    color: #5e5e5e;
    font-size: 1.02rem;
}

.news-detail-actions {
    margin-top: 28px;
}

.btn-detail-back {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #fff0c9, #fff7de);
    color: #8a6a26;
    font-weight: 800;
}

@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.55rem;
    }

    .news-detail-card {
        padding: 26px 18px;
    }
}

.home-news-item {
    padding: 16px 14px;
    border: 2px solid #f3dbe7;
    border-radius: 18px;
    background: #fffafb;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
}

.home-news-card {
    border: 2px solid #f3dbe7 !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.update-list li {
    border-bottom: none;
    padding: 0;
}

.news-panel {
    border: 2px solid #eddde7;
}

.news-card .card-body {
    border-top: 1px solid #f5e6ee;
}

.news-carousel {
    margin-bottom: 24px;
}

.news-carousel-main {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #fffafc;
    border: 2px solid #f2dfe9;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-slide {
    display: none;
    width: 100%;
    height: 100%;
    padding: 18px;
    align-items: center;
    justify-content: center;
}

    .news-slide.active {
        display: flex;
    }

.news-detail-image {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #fff;
    border-radius: 16px;
}

.news-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #c26d93;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

    .news-carousel-nav.prev {
        left: 14px;
    }

    .news-carousel-nav.next {
        right: 14px;
    }

.news-carousel-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.news-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    width: 90px;
    height: 90px;
    background: #fff;
    cursor: pointer;
}

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .news-thumb.active {
        border-color: #d97ea3;
        box-shadow: 0 0 0 3px rgba(217, 126, 163, 0.12);
    }

@media (max-width: 768px) {
    .news-carousel-main {
        min-height: 300px;
    }

    .news-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    .news-thumb {
        width: 72px;
        height: 72px;
    }
}

.home-news-item {
    display: block;
    padding: 16px 14px;
    border: 2px solid #f3dbe7;
    border-radius: 18px;
    background: #fffafb;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
}

.home-news-link-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

    .home-news-link-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
        border-color: #e8bfd2;
        text-decoration: none;
        color: inherit;
    }

.update-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .update-list li {
        border-bottom: none;
        padding: 0;
        margin: 0 0 12px 0;
    }

        .update-list li:last-child {
            margin-bottom: 0;
        }

.update-title {
    font-family: "Microsoft JhengHei", "Noto Sans TC", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: 0;
    color: #4f4f4f;
    margin-bottom: 8px;
    transform: none;
}

.update-time {
    font-family: "Microsoft JhengHei", "Noto Sans TC", sans-serif;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: #8f8f8f;
    transform: none;
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .news-card-link:hover {
        text-decoration: none;
        color: inherit;
    }

.home-news-card {
    border: 2px solid #f3dbe7 !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-card-link:hover .home-news-card {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
    border-color: #e8bfd2 !important;
}

.news-panel {
    border: 2px solid #eddde7;
}
.all-news-section {
    padding: 42px 0 64px;
    background: linear-gradient(135deg, #eefcf5 0%, #fffef7 48%, #fff0f6 100%);
    min-height: calc(100vh - 140px);
}

.all-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 30px 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.94);
    border: 2px solid #f4e3ed;
    box-shadow: 0 12px 28px rgba(138, 187, 166, 0.12);
}

    .all-news-header h1 {
        margin: 0 0 10px;
        color: #63ad91;
        font-size: 2rem;
        font-weight: 800;
    }

    .all-news-header p {
        margin: 0;
        color: #777;
    }

.all-news-list {
    display: grid;
    gap: 14px;
}

.all-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 20px 22px;
    border-radius: 22px;
    background: rgba(255,255,255,0.96);
    border: 2px solid #f1dbe7;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

    .all-news-item:hover {
        color: inherit;
        text-decoration: none;
        transform: translateY(-2px);
        border-color: #e8bfd2;
        box-shadow: 0 14px 28px rgba(0,0,0,0.09);
    }

.all-news-left {
    min-width: 0;
}

.all-news-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.all-news-category {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
}

.category-update {
    background: #e6f8ef;
    color: #36795d;
}

.category-event {
    background: #fff0f6;
    color: #d37097;
}

.category-kuji {
    background: #fff3d8;
    color: #c27a22;
}

.all-news-item h2 {
    margin: 0 0 8px;
    color: #4f4f4f;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.5;
}

.all-news-time {
    color: #8f8f8f;
    font-size: 0.95rem;
}

.all-news-arrow {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff4fa;
    color: #d37097;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
}

.all-news-empty {
    background: rgba(255,255,255,0.95);
    border: 2px solid #f1dbe7;
    border-radius: 22px;
}

@media (max-width: 768px) {
    .all-news-header {
        padding: 24px 20px;
    }

        .all-news-header h1 {
            font-size: 1.6rem;
        }

    .all-news-item {
        align-items: flex-start;
        padding: 18px 16px;
    }

    .all-news-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.6rem;
    }
}

.home-all-news-action {
    margin-top: 28px;
    text-align: center;
}

.btn-all-news {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(90deg, #ffd0df, #ffe7f0);
    color: #874e66;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(217, 126, 163, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .btn-all-news:hover {
        color: #874e66;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(217, 126, 163, 0.22);
    }

.download-page-section {
    padding: 42px 0 64px;
    background: linear-gradient(135deg, #eefcf5 0%, #fffef7 48%, #fff0f6 100%);
    min-height: calc(100vh - 140px);
}

.download-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 30px 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.94);
    border: 2px solid #f4e3ed;
    box-shadow: 0 12px 28px rgba(138, 187, 166, 0.12);
}

    .download-page-header h1 {
        margin: 0 0 10px;
        color: #63ad91;
        font-size: 2rem;
        font-weight: 800;
    }

    .download-page-header p {
        margin: 0;
        color: #777;
    }

.download-panel {
    height: 100%;
    padding: 26px 22px;
    border-radius: 26px;
    background: rgba(255,255,255,0.96);
    border: 2px solid #f1dbe7;
    box-shadow: 0 12px 28px rgba(138, 187, 166, 0.12);
}

.download-panel-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.download-panel-icon {
    font-size: 1.5rem;
}

.download-panel h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.download-client-panel h2 {
    color: #63ad91;
}

.download-launcher-panel h2 {
    color: #d37097;
}

.download-list {
    display: grid;
    gap: 16px;
}

.download-item-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 18px;
    border-radius: 20px;
    background: #fffafb;
    border: 2px solid #f3dbe7;
    box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.download-item-content {
    min-width: 0;
}

.download-item-card h3 {
    margin: 0 0 8px;
    color: #4f4f4f;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.45;
}

.download-time {
    color: #8f8f8f;
    font-size: 0.95rem;
}

.download-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(90deg, #baf0d6, #dfffe9);
    color: #2f775a;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(99, 173, 145, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .download-button.launcher {
        background: linear-gradient(90deg, #ffd0df, #ffe7f0);
        color: #874e66;
        box-shadow: 0 8px 20px rgba(217, 126, 163, 0.16);
    }

    .download-button:hover {
        color: #2f775a;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(99, 173, 145, 0.22);
    }

    .download-button.launcher:hover {
        color: #874e66;
        box-shadow: 0 12px 26px rgba(217, 126, 163, 0.22);
    }

@media (max-width: 768px) {
    .download-page-header {
        padding: 24px 20px;
    }

        .download-page-header h1 {
            font-size: 1.6rem;
        }

    .download-item-card {
        align-items: stretch;
        flex-direction: column;
    }

    .download-button {
        width: 100%;
    }
}