:root {
    --primary: #f6d709;
    --primary-dark: #e7185c;
    --secondary: #090303;
    --accent: #8b5cf6;
    --text: #fafafa;
    --text-light: rgb(47, 29, 29);
    --light: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
    --card-bg: rgba(255, 254, 254, 0.5);
    --header-bg: rgba(218, 196, 196, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #73818f;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background: rgba(255, 254, 254, 0.58);
    position: relative;
    width: 100%;
    height: 55px;

}

.header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    top: 8px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    width: 20%;
    text-decoration: none;
}

.logo img{
    width: 40px;
    height: 40px;
    display: flex;
}
.logo p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.nav{
    display: flex;
    float: left;
    text-align: center;
    align-content: start    ;
    width: 70%;
}

.top{
    display: none;
    position: fixed;
    float: right;
    bottom: 120px;
    right: 10px;
}
.top img{
    width: 35px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgb(255, 254, 254);
}
.menu-toggle{
    display: none;
    position: fixed;
    float: right;
    bottom: 60px;
    right: 10px;
}
.menu-toggle img {
    width: 35px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgb(255, 254, 254);
}
.menu-img{
    display: none;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}


/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    position: relative;
    overflow: hidden;
    height: 980px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}


.hero-content {
    position: relative;
    top: 150px;
    width: 50%;
}
.hero-content-left{
    padding-left: 30%;
}
.hero-content img {
    position: relative;
    overflow: hidden;
    width: 550px;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero h1 span {
    color: var(--primary);
}


.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    background-color: #e7185c;
    width: 150px;
    border-radius: 8px;
}
.hero-buttons:hover{
    background-color:var(--primary);
}
.hero-buttons a{
    text-decoration: none;
    margin: 5px;
    color: #ffffff;

}

/* 功能卡片区域 */
.features {
    background: linear-gradient(135deg, rgba(246, 152, 58, 0.69), rgba(231, 24, 92, 0.64), #fdc853);
    padding: 100px 0;
}

.section-title {
    text-align: center;
    align-items: center;
    align-content: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.feature-card {
    position: relative;
    background:  var(--card-bg);
    width: 24%;
    margin: 0.5%;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.feature-card a{
    text-decoration-line: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon img {
    width: 100%;
    border-radius: 16px  16px 0 0;
}

.features-font-left{
    align-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
}
.feature-logo{
    margin-top: 5px;
    width: 50%;
}
.feature-logo img{
    height:1.5rem;
}

.features-font{
    align-content: center;
    align-items: center;
    margin: 10px;
    display: flex;
    width: 100%;
}

.features-font-left h3 {
    font-size: 1rem;
    color: var(--secondary);
}


/* 资讯区域 */
.news {
    padding: 100px 0;
    background: linear-gradient(135deg, #e39797, rgba(231, 24, 92, 0.64), #fdbb2d);
}

.news-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-category {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.news-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}
.More-buttons{
    height: 30px;
    align-content: center;
    align-items: center;
    text-align: center;
}
.More-buttons a{
    color: white;
    text-decoration-line: none;
}



/* 活动日历 */
.events {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(246, 152, 58, 0.69), rgba(231, 24, 92, 0.64), #fdc853);
}

.calendar {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.calendar-header {
    background: var(--primary);
    color: #090303;
    padding: 20px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.event-item {
    padding: 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 20px;
}

.event-date {
    min-width: 70px;
}

.event-day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.event-details h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.event-meta {
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}
.event-details p{
    color: #e7185c;
}

/* 页脚 */
footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color:  var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: #e7185c;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.95rem;
}

