@charset "UTF-8";

:root {
    --ne-red: #e60012;
    --ne-black: #1c1b1b;
    --mc-green: #3aae3c;
    --gold: #ffd700;
    --gold-dark: #b8860b;
    --vip-purple: #9b59b6;
    --ssr-rainbow: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);

    --text-main: #333333;
    --bg-light: #f7f7f7;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.5;
    /* 背景にうっすら「課金」を連想させるダイヤモンドパターン（冗談半分） */
    background-image: radial-gradient(#e0e0e0 10%, transparent 10%);
    background-size: 20px 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    font-family: inherit;
}

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

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    }

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

@keyframes bounce {

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

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

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

/* Floating Icons */
.floating-icons {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-item {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #fff, #f4c4f3);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.float-item:hover {
    transform: scale(1.1);
}

.float-icon {
    font-size: 30px;
}

.float-text {
    font-size: 10px;
    background: var(--ne-red);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    bottom: -5px;
    white-space: nowrap;
    font-weight: bold;
}

.pulse {
    animation: pulse 2s infinite;
}

.bounce {
    animation: bounce 3s infinite;
}

/* Header */
.ne-header {
    background-color: var(--ne-black);
    height: 50px;
    color: #ccc;
    font-size: 13px;
    position: relative;
    z-index: 1000;
}

.ne-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.ne-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: white;
}

.ne-icon {
    color: var(--ne-red);
}

.ne-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.ne-nav a:hover {
    color: white;
}

.vip-link {
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
    animation: pulse 3s infinite;
}

.charge-link {
    color: #5dade2;
    font-weight: bold;
}

.ne-accent {
    background: var(--ne-red);
    color: white !important;
    padding: 4px 12px;
    border-radius: 2px;
}

/* Game Nav */
.game-nav {
    background: rgba(255, 255, 255, 0.98);
    height: 80px;
    border-bottom: 2px solid var(--gold);
    /* Gold Border */
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.game-nav .logo-area {
    float: left;
    height: 100%;
    margin-left: 5%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-nav .logo-area img {
    height: 50px;
    width: auto;
}

.cn-title {
    background: var(--mc-green);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.nav-links {
    float: right;
    margin-right: 5%;
    display: flex;
    height: 100%;
}

.nav-links li {
    height: 100%;
}

.nav-links a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    height: 100%;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    position: relative;
}

.badge-new {
    position: absolute;
    top: 15px;
    right: 10px;
    background: var(--ne-red);
    color: white;
    font-size: 9px;
    padding: 2px 4px;
    border-radius: 4px;
    animation: bounce 2s infinite;
}

/* Hero Section */
.hero-section {
    height: 550px;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://placehold.co/1920x600/55cc55/222222?text=Minecraft+China+Server');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    height: 100%;
}

.hero-slogan {
    margin: 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
}

.main-slogan {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: #ffffff;
    text-shadow:
        3px 3px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.sub-slogan {
    display: block;
    font-size: 1.5rem;
    margin-top: 10px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

/* Gacha Banner Overlay */
.gacha-banner {
    position: absolute;
    right: 220px;
    /* Adjust based on character pos */
    top: 80px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--gold);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 220px;
    box-shadow: 0 0 20px var(--gold);
    animation: pulse 4s infinite;
}

.gacha-tag {
    background: var(--ssr-rainbow);
    color: white;
    font-weight: bold;
    font-size: 12px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 5px;
}

.gacha-title {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 0 2px 0 #000;
}

.btn-gacha {
    background: linear-gradient(to bottom, #ff9900, #ff5500);
    border: 2px solid #ffffff;
    color: white;
    font-weight: bold;
    width: 100%;
    padding: 8px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 0 #b33c00;
}

.btn-gacha:active {
    box-shadow: none;
    transform: translateY(4px);
}

/* Download Buttons */
.hero-actions {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
}

.btn-download {
    background: var(--gold);
    border: none;
    border-bottom: 4px solid var(--gold-dark);
    color: #583e00;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

/* Shiny effect on button */
.btn-download::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(skewX(-20deg), transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: shine 3s infinite;
}

.btn-download.pc-dl {
    height: 90px;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.big {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.mobile-dls {
    display: flex;
    gap: 10px;
}

.mobile-dls .btn-download {
    flex: 1;
    background: #fff;
    color: #333;
    border-bottom-color: #ddd;
    padding: 10px;
}

.hero-character {
    position: absolute;
    right: 20px;
    bottom: 0;
    pointer-events: none;
}

/* Main Content */
.main-container {
    max-width: 1200px;
    margin: -40px auto 50px;
    position: relative;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 25px;
}

/* Promo Bar */
.promo-bar {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.promo-item {
    flex: 1;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.promo-icon {
    font-size: 2rem;
}

.promo-text {
    flex: 1;
}

.promo-text strong {
    display: block;
    color: var(--text-main);
    font-size: 1.1rem;
}

.promo-text small {
    color: var(--ne-red);
    font-weight: bold;
}

.btn-mini {
    background: var(--mc-green);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
}

/* News Section */
.news-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.3rem;
    border-left: 5px solid var(--mc-green);
    padding-left: 10px;
}

.section-header small {
    font-size: 0.8rem;
    color: #999;
    margin-left: 10px;
    font-weight: normal;
}

.more-link {
    font-size: 0.9rem;
    color: #666;
}

.news-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.tab {
    background: #eee;
    border: none;
    padding: 5px 15px;
    border-radius: 15px;
    cursor: pointer;
    color: #666;
}

.tab.active {
    background: var(--mc-green);
    color: white;
}

.news-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.9rem;
}

.tag {
    border: 1px solid #ccc;
    font-size: 10px;
    padding: 1px 4px;
    margin-right: 8px;
    border-radius: 2px;
    color: #666;
}

.tag.event {
    border-color: var(--ne-red);
    color: var(--ne-red);
}

.tag.shop {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
}

.tag.vip {
    background: var(--gold);
    border-color: var(--gold);
    color: #583e00;
    font-weight: bold;
}

.date {
    margin-left: auto;
    color: #999;
    font-size: 0.8rem;
}

/* Mod Store Section */
.mod-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mod-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mod-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: 0.2s;
}

.mod-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Rarity Styles */
.mod-card.ssr {
    border: 2px solid var(--gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.ssr .mod-img .mod-tag {
    background: var(--ssr-rainbow);
}

.vip-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 10;
}

.discount-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--ne-red);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-bottom-right-radius: 8px;
    z-index: 10;
}

.mod-img {
    height: 120px;
    background: #f9f9f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.mod-card:hover .mod-img img {
    transform: scale(1.1);
}

.mod-tag {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 10px;
}

.mod-info {
    padding: 12px;
}

.mod-info h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.desc {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
    height: 2.4em;
    overflow: hidden;
}

.price-area {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.price {
    font-weight: bold;
    color: var(--ne-red);
    font-size: 1.1rem;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
}

.free {
    color: var(--mc-green);
    font-weight: bold;
}

.btn-buy {
    width: 100%;
    background: white;
    border: 1px solid var(--mc-green);
    color: var(--mc-green);
    padding: 6px 0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-buy:hover {
    background: var(--mc-green);
    color: white;
}

.btn-buy:hover {
    background: var(--mc-green);
    color: white;
}

/* Mod Meta Tags */
.mod-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.meta-tag {
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid #ddd;
    color: #666;
    background: #f5f5f5;
}

.meta-loader.forge {
    background: #dfecf7;
    border-color: #b0d3f0;
    color: #2c6da0;
    font-weight: bold;
}

.meta-loader.fabric {
    background: #f2e6d9;
    border-color: #e0cca8;
    color: #8a6d3b;
    font-weight: bold;
}

.meta-loader.neoforge {
    background: #ffe0cc;
    border-color: #ffcc99;
    color: #d35400;
    font-weight: bold;
}

.meta-loader.quilt {
    background: #f0e6fa;
    border-color: #d8bbf0;
    color: #6a2c91;
    font-weight: bold;
}

.meta-ver {
    background: #eee;
    color: #555;
    font-family: monospace;
}

/* Footer */
.cn-footer {
    background: #232323;
    color: #666;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
}

.footer-logos {
    margin-bottom: 15px;
    color: #999;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Mini World Banner Enhanced */
.mini-world-banner-enhanced {
    max-width: 1200px;
    margin: 20px auto 60px;
    background: url('mini_world_banner_v2.png') center/cover no-repeat;
    position: relative;
    z-index: 5;
    padding: 20px;
    border-radius: 4px;
    /* More corporate radius */
    text-align: center;
    border: 3px solid #eee;
    /* Neutral border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Professional shadow */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 140px;
    overflow: hidden;
}

.mini-world-banner-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 1;
}

.mini-world-banner-enhanced h3,
.mini-world-banner-enhanced p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.mini-world-banner-enhanced h3 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.mini-world-banner-enhanced p {
    margin: 10px 0 0;
    font-size: 1.1rem;
    color: #ffd700;
    font-weight: bold;
}

/* Skin Promo */
.skin-promo-banner {
    position: relative;
    margin-top: 15px;
    cursor: pointer;
    transition: transform 0.2s;
}

.skin-promo-banner:hover {
    transform: scale(1.01);
}

.btn-claim-reward {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #ffeb3b, #fbc02d);
    color: #d32f2f;
    border: 2px solid #fff;
    padding: 10px 40px;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 50px;
    box-shadow: 0 4px 0 #f57f17, 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.btn-claim-reward:hover {
    background: linear-gradient(180deg, #ffffff, #fff176);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* Promo Grid (Horizontal) */
.promo-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.promo-grid .skin-promo-banner {
    flex: 1;
    margin-top: 0;
    /* Override default if needed */
}

/* Adjust button size for smaller columns */
.promo-grid .btn-claim-reward {
    padding: 8px 20px;
    font-size: 1rem;
    width: 80%;
    white-space: nowrap;
}


/* Promo Layout Updates */
.hero-btn {
    padding: 15px 50px !important;
    font-size: 1.5rem !important;
    bottom: 30px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.sub-btn {
    padding: 10px 30px !important;
    font-size: 1.1rem !important;
    bottom: 20px !important;
    width: auto !important;
    white-space: nowrap;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}


/* Clickable Banner Hover Effects */
.clickable-banner {
    display: block;
    height: 280px;
    /* Force consistent and taller height */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.clickable-banner:hover {
    transform: translateY(-8px) scale(1.05);
    /* slightly stronger effect */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    z-index: 10;
}

.clickable-banner img {
    transition: filter 0.3s;
}

.clickable-banner:hover img {
    filter: brightness(1.1);
}
/* Gacha Container */
.gacha-container {
    position: absolute;
    right: 50px;
    top: 80px;
    display: flex;
    gap: 20px;
    z-index: 20;
}

/* Reset individual banner positioning */
.gacha-banner {
    position: relative !important;
    right: auto !important;
    top: auto !important;
}


/* Update Gacha Container to 2x2 Grid */
.gacha-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px !important;
    width: 460px;
}

