:root {
    --lol-gold: #c2a060;
    --lol-gold-hover: #f0c875;
    --lol-dark-blue: #091018;
    --lol-dark-grey: #1e2328;
    --lol-text-main: #f0e6d2;
    --lol-text-muted: #a09b8c;
    --lol-border: #463714;
    --lol-nav-bg: rgba(10, 10, 12, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Source Han Serif SC", "Noto Serif SC", "思源宋体", serif;
    background-color: var(--lol-dark-blue);
    color: var(--lol-text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-modify: read-only;
    -moz-user-modify: read-only;
    user-modify: read-only;
    -webkit-touch-callout: none;
}

/* 允许输入框正常使用 */
input, textarea, [contenteditable] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    -webkit-user-modify: read-write !important;
    -moz-user-modify: read-write !important;
    user-modify: read-write !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.text-gold {
    color: var(--lol-gold);
}

.text-center {
    text-align: center;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Header / Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    background: var(--lol-nav-bg);
    z-index: 1000;
    border-bottom: 1px solid var(--lol-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-inner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    margin-right: 40px;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    height: 78px;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    cursor: pointer;
    color: #cdbe91;
}

.nav-item:hover {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(10, 10, 10, 0.4));
}

.nav-item span.cn {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-item span.en {
    font-size: 10px;
    color: #6d685e;
    margin-top: 2px;
    text-transform: uppercase;
}

.nav-item:hover span.cn {
    color: #fff;
}

.user-area {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.user-login {
    display: flex;
    align-items: center;
    color: #cdbe91;
    font-size: 14px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #333;
    margin-right: 10px;
    border: 1px solid var(--lol-gold);
}

/* Hero Section */
.hero-section {
    margin-top: 78px;
    /* Offset for fixed header */
    height: 600px;
    background-image: url('pic/末地.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, var(--lol-dark-blue) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 60px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 5px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--lol-gold);
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(to bottom, #1e2328, #091018);
    border: 2px solid var(--lol-gold);
    color: var(--lol-gold);
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--lol-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(194, 160, 96, 0.4);
}

/* Main Content Area */
.main-content {
    padding: 40px 0;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    /* Optional texture */
}

.content-grid {
    display: grid;
    grid-template-columns: 820px 360px;
    gap: 20px;
}

/* Carousel (Left Side) */
.carousel-container {
    width: 100%;
    height: 380px;
    background: #111;
    position: relative;
    border: 1px solid #333;
    overflow: hidden;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    text-shadow: 0 2px 4px #000;
    z-index: 10;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 20;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    background-color: var(--lol-gold);
    color: #000;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--lol-gold);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* News Tabs (Right Side) */
.news-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    height: 380px;
    display: flex;
    flex-direction: column;
}

.news-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    background: rgba(255, 255, 255, 0.05);
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: var(--lol-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.tab-item:hover,
.tab-item.active {
    color: var(--lol-gold);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid var(--lol-gold);
}

.news-list {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-type {
    border: 1px solid var(--lol-gold);
    color: var(--lol-gold);
    font-size: 12px;
    padding: 1px 4px;
    margin-right: 8px;
    border-radius: 2px;
}

.news-title {
    flex: 1;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
}

.news-title:hover {
    color: #fff;
    text-decoration: underline;
}

.news-date {
    color: #666;
    font-size: 12px;
}

/* Feature Section (Bottom) */
.feature-section {
    margin-top: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.section-title {
    font-size: 24px;
    color: var(--lol-gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-more {
    color: #888;
    font-size: 12px;
}

.section-more:hover {
    color: var(--lol-gold);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #161a1f;
    border: 1px solid #333;
    transition: transform 0.3s;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--lol-gold);
}

.feature-img {
    width: 100%;
    height: 160px;
    background: #222;
    object-fit: cover;
}

.feature-info {
    padding: 15px;
}

.feature-title {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: bold;
}

.feature-desc {
    color: #888;
    font-size: 12px;
    line-height: 1.4;
}

/* Footer */
.site-footer {
    background: #000;
    padding: 50px 0;
    margin-top: 60px;
    border-top: 2px solid var(--lol-gold);
    text-align: center;
    color: #666;
    font-size: 12px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 10px;
    color: #888;
}

.footer-links a:hover {
    color: #fff;
}

/* Mobile Responsive Design */
@media screen and (max-width: 1024px) {
    /* Tablet styles */
    .container {
        width: 90%;
        max-width: 100%;
        padding: 0 20px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* Mobile styles */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    /* Navigation */
    .site-header {
        height: auto;
        min-height: 60px;
        padding: 10px 0;
    }

    .nav-inner {
        flex-direction: column;
        padding: 0 15px;
        align-items: center;
        text-align: center;
    }

    .logo-area {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .logo-area h1 {
        font-size: 20px !important;
        letter-spacing: 1px !important;
    }

    .main-nav {
        height: auto;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-item {
        padding: 8px 12px;
        height: auto;
        min-height: 40px;
    }

    .nav-item span.cn {
        font-size: 14px;
    }

    .nav-item span.en {
        font-size: 10px;
    }

    /* Hero Section */
    .hero-section {
        margin-top: 80px;
        height: 500px;
        padding: 20px 15px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 16px;
        width: auto;
        max-width: 90%;
    }

    /* Main Content */
    .main-content {
        padding: 30px 0;
    }

    /* Content Grid */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .carousel-container {
        height: 250px;
    }

    .news-section {
        height: 350px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
        font-size: 14px;
    }

    .news-title {
        margin-right: 0;
        margin-bottom: 8px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.4;
        font-size: 14px;
    }

    .news-date {
        align-self: flex-end;
        font-size: 12px;
    }

    /* Feature Section */
    .feature-section {
        margin-top: 40px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        margin-bottom: 0;
    }

    .feature-img {
        height: 180px;
    }

    .feature-info {
        padding: 15px;
    }

    .feature-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Footer */
    .site-footer {
        padding: 40px 15px;
        margin-top: 50px;
    }

    .footer-links {
        margin-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-links a {
        margin: 0;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    /* Small mobile phones */
    .site-header {
        padding: 8px 0;
    }

    .logo-area h1 {
        font-size: 18px !important;
    }

    .nav-item {
        padding: 6px 8px;
        min-height: 35px;
    }

    .nav-item span.cn {
        font-size: 12px;
    }

    .nav-item span.en {
        font-size: 9px;
    }

    .hero-section {
        margin-top: 70px;
        height: 400px;
        padding: 15px 10px;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
        max-width: 100%;
    }

    .carousel-container {
        height: 200px;
    }

    .news-section {
        height: 300px;
    }

    .section-title {
        font-size: 20px;
    }

    .feature-img {
        height: 150px;
    }

    .feature-info {
        padding: 12px;
    }

    .feature-title {
        font-size: 15px;
    }

    .feature-desc {
        font-size: 12px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-links a {
        font-size: 12px;
    }
}