/* ==================== 全局 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #004E89;
    --secondary-light: #0077C8;
    --accent: #FFA62F;
    --accent-light: #FFD166;
    --bg-light: #FFF8F0;
    --bg-alt: #F0F4F8;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 35px rgba(0,0,0,0.18);
    /* 扩展色板 */
    --green: #27AE60;
    --green-light: #E8F8F0;
    --purple: #8E44AD;
    --purple-light: #F5EEF8;
    --red: #E74C3C;
    --red-light: #FDEDEC;
    --teal: #16A085;
    --teal-light: #E8F6F3;
    --pink: #E91E8C;
    --cyan: #00BCD4;
    /* 意大利蓝队色�?🇮🇹 */
    --azzurro: #008C45;      /* 意大利绿 */
    --azzurro-mid: #0066BC;  /* 意大利蓝 */
    --azzurro-dark: #004B8D; /* 深蓝 */
    --tricolore-red: #CE2B37;/* 意大利红 */
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 彩色下滑�?*/
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--accent)); border-radius: 4px; }

/* ==================== 导航�?==================== */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C5A 50%, var(--accent) 100%);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(255,107,53,0.35);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    padding: 6px 18px;
    border-radius: 25px;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(5px);
}
.nav-logo {
    height: 36px;
    width: auto;
}
.nav-title {
    font-size: 20px;
    color: #fff;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 1;
}

.nav-auth {
    display: flex;
    gap: 10px;
}

/* ==================== 按钮 ==================== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,78,137,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), #0091E0);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,78,137,0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255,107,53,0.35);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.45);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ==================== 横幅 Hero ==================== */
.hero {
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(3%, 3%); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.15);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content p {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 8px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-sub {
    font-size: 16px !important;
    opacity: 0.85 !important;
    margin-top: 5px !important;
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat {
    text-align: center;
    animation: fadeInUp 0.8s ease-out both;
}

.stat:nth-child(1) { animation-delay: 0.5s; }
.stat:nth-child(2) { animation-delay: 0.7s; }
.stat:nth-child(3) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-num {
    display: block;
    font-size: 52px;
    font-weight: bold;
    text-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ==================== 通用区块 ==================== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-alt::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg,
        var(--primary) 0%,
        var(--azzurro) 20%,
        var(--accent) 35%,
        var(--secondary) 55%,
        var(--azzurro-mid) 70%,
        var(--purple) 85%,
        var(--green) 100%);
}

.section-title {
    text-align: center;
    font-size: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 12px auto 0;
    border-radius: 3px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== 特色卡片网格 ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    background: var(--white);
    padding: 28px 20px;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border-bottom: 4px solid transparent;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-item:nth-child(1) { border-bottom-color: var(--primary); }
.feature-item:nth-child(2) { border-bottom-color: var(--azzurro-mid); }
.feature-item:nth-child(3) { border-bottom-color: var(--accent); }
.feature-item:nth-child(4) { border-bottom-color: var(--azzurro); }

.feature-item:hover:nth-child(1) { background: linear-gradient(180deg, #FFF0EB, var(--white)); }
.feature-item:hover:nth-child(2) { background: linear-gradient(180deg, #EBF5FF, var(--white)); }
.feature-item:hover:nth-child(3) { background: linear-gradient(180deg, #FFF8E7, var(--white)); }
.feature-item:hover:nth-child(4) { background: linear-gradient(180deg, #E8F7EF, var(--white)); }

.feature-icon {
    font-size: 42px;
    margin-bottom: 15px;
    animation: bounce 2s ease-in-out infinite;
}

.feature-item:nth-child(2) .feature-icon { animation-delay: 0.2s; }
.feature-item:nth-child(3) .feature-icon { animation-delay: 0.4s; }
.feature-item:nth-child(4) .feature-icon { animation-delay: 0.6s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.feature-item h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 17px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 13px;
}

/* ==================== 关于我们 ==================== */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--secondary);
    margin: 25px 0 15px;
    font-size: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 15px;
}

.mission-box {
    background: linear-gradient(135deg, var(--primary), #FF8C5A, var(--accent));
    color: white;
    padding: 22px 25px;
    border-radius: 15px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '🎯';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 80px;
    opacity: 0.15;
}

.mission-box h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.mission-box p {
    color: rgba(255,255,255,0.92);
    margin: 0;
}

.leader {
    display: flex;
    gap: 10px;
    margin: 8px 0;
}

.leader-name {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
}

.leader-title {
    color: var(--text-light);
    padding: 5px 0;
    font-size: 13px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.placeholder-img {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), #FFD166, #FF6B35);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(255,166,47,0.35);
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(135deg, var(--accent), #FFD166, #FF6B35); }
    33% { background: linear-gradient(135deg, var(--azzurro-mid), var(--azzurro), var(--secondary)); }
    66% { background: linear-gradient(135deg, var(--secondary), var(--azzurro-mid), var(--primary)); }
}

/* ==================== 活动套餐 ==================== */
.packages-intro {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light), #0091E0);
    color: white;
    padding: 28px 30px;
    border-radius: 18px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0,78,137,0.25);
}

.packages-intro p {
    opacity: 0.95;
    font-size: 16px;
}

.activity-packages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.package-card {
    background: var(--white);
    border-radius: 22px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border-top: 5px solid transparent;
    position: relative;
    overflow: hidden;
}

.package-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 22px 22px 0 0;
}

.package-card:first-child::after {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.package-card:last-child::after {
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.package-icon {
    font-size: 52px;
    margin-bottom: 15px;
}

.package-card h3 {
    color: var(--text-dark);
    margin-bottom: 22px;
    font-size: 22px;
}

.activity-item {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px dashed #E0E0E0;
    transition: all 0.3s;
    padding: 10px 12px;
    border-radius: 10px;
}

.activity-item:hover {
    background: var(--bg-light);
    border-bottom-color: var(--accent);
}

.activity-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.activity-item h4 {
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 15px;
}

.activity-item p {
    color: var(--text-light);
    font-size: 13px;
    margin: 4px 0;
}

/* 彩色标签 */
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    margin-left: 5px;
}
.tag-orange { background: #FFF0EB; color: var(--primary); }
.tag-blue { background: #EBF3FB; color: var(--secondary); }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-gold { background: #FFF8E7; color: #C07A00; }
.tag-purple { background: var(--purple-light); color: var(--purple); }
.tag-teal { background: var(--teal-light); color: var(--teal); }

/* 数据横幅 */
.stats-banner {
    background: linear-gradient(135deg,
        #FF6B35 0%,
        #FF8C5A 30%,
        var(--secondary) 70%,
        var(--secondary-light) 100%);
    color: white;
    padding: 45px 40px;
    border-radius: 22px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255,107,53,0.3);
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-banner h3 {
    font-size: 28px;
    margin-bottom: 25px;
    position: relative;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 70px;
    position: relative;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 52px;
    font-weight: bold;
    text-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.stat-name {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* 平台卡片 */
.platform-title {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 25px;
    font-size: 24px;
}

.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.platform-card {
    background: var(--white);
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border-left: 4px solid var(--primary);
}

.platform-card:nth-child(1) { border-left-color: var(--primary); }
.platform-card:nth-child(2) { border-left-color: var(--secondary); }
.platform-card:nth-child(3) { border-left-color: var(--accent); }
.platform-card:nth-child(4) { border-left-color: var(--azzurro-mid); }
.platform-card:nth-child(5) { border-left-color: var(--azzurro); }

.platform-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.platform-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.platform-card:nth-child(2) h4 { color: var(--secondary); }
.platform-card:nth-child(3) h4 { color: var(--accent); }
.platform-card:nth-child(4) h4 { color: var(--azzurro-mid); }
.platform-card:nth-child(5) h4 { color: var(--azzurro); }

.platform-card p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
}

.platform-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    padding: 7px 18px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s;
    background: #FFF0EB;
}

.platform-card:nth-child(2) a {
    color: var(--secondary);
    background: #EBF3FB;
}

.platform-card:nth-child(3) a {
    color: var(--accent);
    background: #FFF8E7;
}

.platform-card:nth-child(4) a {
    color: var(--azzurro-mid);
    background: #EBF4FF;
}

.platform-card:nth-child(5) a {
    color: var(--azzurro);
    background: #E8F7EF;
}

.platform-card a:hover {
    transform: translateY(-2px);
}

/* ==================== 文章 ==================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.article-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    cursor: pointer;
    border-top: 4px solid transparent;
}

.article-card:nth-child(1) { border-top-color: var(--primary); }
.article-card:nth-child(2) { border-top-color: var(--secondary); }
.article-card:nth-child(3) { border-top-color: var(--accent); }
.article-card:nth-child(4) { border-top-color: var(--green); }
.article-card:nth-child(5) { border-top-color: var(--purple); }
.article-card:nth-child(6) { border-top-color: var(--azzurro-mid); }
.article-card:nth-child(7) { border-top-color: var(--tricolore-red); }

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.article-cover {
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

.article-cover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.1));
}

.article-card:nth-child(1) .article-cover { background: linear-gradient(135deg, #FF6B35, #FFA62F); }
.article-card:nth-child(2) .article-cover { background: linear-gradient(135deg, #004E89, #0077C8); }
.article-card:nth-child(3) .article-cover { background: linear-gradient(135deg, #FFA62F, #FFD166); }
.article-card:nth-child(4) .article-cover { background: linear-gradient(135deg, #27AE60, #2ECC71); }
.article-card:nth-child(5) .article-cover { background: linear-gradient(135deg, #8E44AD, #A569BD); }
.article-card:nth-child(6) .article-cover { background: linear-gradient(135deg, #008C45, #0066BC); }
.article-card:nth-child(7) .article-cover { background: linear-gradient(135deg, #CE2B37, #FF6B35); }

.article-content {
    padding: 22px;
}

.article-title {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s;
}

.article-card:hover .article-title {
    color: var(--primary);
}

.article-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-category {
    background: var(--accent);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
}

.article-card:nth-child(1) .article-category { background: linear-gradient(rgba(0, 51, 153, 0.7), rgba(0, 51, 153, 0.8)), url('images/hero-bg.jpg') center/cover no-repeat; }
.article-card:nth-child(2) .article-category { background: var(--secondary); }
.article-card:nth-child(3) .article-category { background: var(--accent); }
.article-card:nth-child(4) .article-category { background: var(--green); }
.article-card:nth-child(5) .article-category { background: var(--purple); }
.article-card:nth-child(6) .article-category { background: var(--azzurro-mid); }
.article-card:nth-child(7) .article-category { background: var(--tricolore-red); }

/* ==================== 赛事 ==================== */
.competitions-list {
    display: grid;
    gap: 22px;
}

.competition-card {
    background: var(--white);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s;
    border-left: 5px solid transparent;
}

.competition-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-hover);
}

.competition-card:nth-child(1) { border-left-color: var(--primary); }
.competition-card:nth-child(2) { border-left-color: var(--secondary); }
.competition-card:nth-child(3) { border-left-color: var(--accent); }
.competition-card:nth-child(4) { border-left-color: var(--green); }
.competition-card:nth-child(5) { border-left-color: var(--purple); }
.competition-card:nth-child(6) { border-left-color: var(--teal); }

.competition-info h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.competition-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 13px;
}

.competition-status {
    padding: 8px 22px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
}

.status-open {
    background: var(--green-light);
    color: var(--green);
}

.status-closed {
    background: var(--red-light);
    color: var(--red);
}

.status-coming {
    background: #FFF8E7;
    color: #C07A00;
}

/* ==================== 成绩 ==================== */
.scores-search {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.search-input {
    padding: 13px 22px;
    border: 2px solid #E0E0E0;
    border-radius: 28px;
    width: 320px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.scores-list {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.score-item {
    padding: 22px 28px;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.score-item:hover {
    background: var(--bg-light);
}

.score-item:last-child {
    border-bottom: none;
}

.score-rank {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #5D4037; }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); color: #3E3E3E; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #B87333); }
.rank-other { background: linear-gradient(135deg, #E0E0E0, #C8C8C8); color: var(--text-dark); }

/* ==================== 会员积分 ==================== */
.leaderboard {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.leaderboard::before {
    content: '';
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--azzurro), var(--accent), var(--secondary), var(--azzurro-mid), var(--green));
}

.leader-item {
    padding: 18px 28px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #F0F0F0;
    transition: background 0.3s;
}

.leader-item:hover {
    background: var(--bg-light);
}

.leader-item:last-child {
    border-bottom: none;
}

.leader-rank {
    width: 45px;
    font-weight: bold;
    font-size: 22px;
    color: var(--accent);
}

.leader-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-dark);
}

.leader-points {
    color: var(--primary);
    font-weight: bold;
    font-size: 16px;
}

.level {
    padding: 4px 14px;
    border-radius: 14px;
    font-size: 12px;
    margin-left: 10px;
}

.level.bronze { background: #CD7F32; color: #fff; }
.level.silver { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); color: #333; }
.level.gold { background: linear-gradient(135deg, #FFD700, #FFA500); color: #5D4037; }
.level.diamond { background: linear-gradient(135deg, #B9F2FF, #7EC8E3); color: #006BB3; box-shadow: 0 2px 8px rgba(0,107,179,0.25); }

.member-info {
    background: var(--white);
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent);
}

.member-info h3 {
    color: var(--secondary);
    margin-bottom: 18px;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-alt);
}

.member-info ul {
    list-style: none;
    margin-bottom: 22px;
}

.member-info li {
    padding: 10px 14px;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    transition: background 0.3s;
}

.member-info li:hover {
    background: var(--bg-light);
}

.member-info li:last-child {
    border-bottom: none;
}

.level-rules {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.level-rules span {
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 13px;
}

/* ==================== 联系 ==================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info,
.contact-form {
    background: var(--white);
    border-radius: 18px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.contact-info {
    border-top: 5px solid var(--secondary);
}

.contact-form {
    border-top: 5px solid var(--primary);
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 22px;
    font-size: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-alt);
}

.contact-info h3 { color: var(--secondary); }
.contact-form h3 { color: var(--primary); }

.contact-info p {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    resize: vertical;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

/* ==================== 巨星风采 ==================== */
.azzurro-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F0F6FF 0%, #FFFFFF 50%, #F0F8FF 100%);
    position: relative;
    overflow: hidden;
}

.azzurro-section::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, var(--azzurro) 0%, var(--azzurro-mid) 40%, var(--tricolore-red, #CD212A) 70%, var(--azzurro-dark) 100%);
}

.azzurro-hero {
    background: linear-gradient(135deg, var(--azzurro-dark) 0%, var(--azzurro-mid) 45%, var(--azzurro) 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.azzurro-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azzurro) 0%, var(--azzurro-mid) 50%, var(--tricolore-red, #CD212A) 100%);
}

.azzurro-hero-content {
    position: relative;
    z-index: 1;
}

.azzurro-hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.azzurro-hero p {
    font-size: 16px;
    opacity: 0.9;
}

.azzurro-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

/* 光辉历程卡片 */
.azzurro-history {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.azzurro-history-card {
    background: white;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,77,141,0.08);
    border-left: 5px solid var(--azzurro-mid);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.azzurro-history-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent 50%, rgba(0,140,69,0.05) 50%);
    border-radius: 0 18px 0 0;
}

.azzurro-history-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,102,188,0.15);
    border-left-color: var(--azzurro);
}

.azzurro-history-card h4 {
    color: var(--azzurro-dark);
    font-size: 17px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.azzurro-history-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* 巨星人物 */
.azzurro-players {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--azzurro-mid);
    margin-bottom: 30px;
}

.azzurro-player-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.azzurro-player-card {
    text-align: center;
    padding: 22px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #F5F9FF, white);
    border: 1px solid #E0EBFA;
    transition: all 0.4s;
}

.azzurro-player-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--azzurro-mid);
    box-shadow: 0 8px 24px rgba(0,102,188,0.2);
}

.azzurro-player-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azzurro-dark), var(--azzurro-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,102,188,0.25);
}

.azzurro-player-card h4 {
    color: var(--azzurro-dark);
    margin-bottom: 4px;
    font-size: 14px;
}

.azzurro-player-card p {
    color: var(--text-light);
    font-size: 12px;
}

/* CTA */
.azzurro-cta {
    background: linear-gradient(135deg, var(--azzurro-dark), var(--azzurro-mid), var(--azzurro));
    color: white;
    padding: 35px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,102,188,0.3);
}

.azzurro-cta h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.azzurro-cta p {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* ==================== 底部 Footer ==================== */

/* 波浪分割线 */
.footer-wave {
    position: relative;
    height: 80px;
    margin-bottom: -2px;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.footer-wave .wave-fill {
    fill: #0a0a1a;
}

/* 底部主容器 */
.site-footer {
    background: linear-gradient(180deg, #0a0a1a 0%, #0d1025 50%, #111133 100%);
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(ellipse 600px 400px at 20% 30%, rgba(0,100,200,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 80% 60%, rgba(120,0,180,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 8%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 40% 25%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 12%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 85% 10%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 45%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 65%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 55%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 70%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 80%, rgba(255,255,255,0.5) 0%, transparent 100%);
    pointer-events: none;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 20px 24px;
    }
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 8px rgba(255,107,53,0.5));
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B35, #FFA62F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-slogan {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255,107,53,0.15);
    border-color: rgba(255,107,53,0.4);
    color: #FF6B35;
    transform: translateY(-2px);
}

.social-icon {
    font-size: 16px;
}

.social-text {
    font-size: 13px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #FF6B35, #FFA62F);
    border-radius: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #FF6B35;
    transform: translateX(4px);
}

.footer-contact p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 2;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #FF6B35;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 24px;
    text-align: center;
}

.footer-records {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.record-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.record-link:hover {
    color: rgba(255,255,255,0.7);
}

.record-icon {
    height: 16px;
    vertical-align: middle;
}

.record-text {
    font-size: 12px;
}

.record-sep {
    color: rgba(255,255,255,0.2);
    font-size: 12px;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.5px;
}



/* ==================== 智能客服 ==================== */
.ai-service {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(200,200,220,0.3);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.ai-service h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* FAQ 网格 */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.faq-item {
    background: rgba(14,14,40,0.04);
    border: 1px solid rgba(14,14,40,0.1);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255,107,53,0.08);
    border-color: rgba(255,107,53,0.25);
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .faq-q::after {
    transform: rotate(180deg);
}

.faq-q {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    position: relative;
    padding-right: 20px;
}

.faq-q::after {
    content: '▾';
    position: absolute;
    right: 0; top: 0;
    transition: transform 0.3s;
    color: #FF6B35;
    font-size: 12px;
}

.faq-a {
    display: none;
    margin-top: 10px;
    font-size: 12px;
    color: #444;
    line-height: 1.7;
    border-top: 1px solid rgba(14,14,40,0.08);
    padding-top: 10px;
}

/* 聊天框 */
.chat-box {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
}

.chat-messages {
    height: 200px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.6;
    animation: msgIn 0.3s ease;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.user {
    background: linear-gradient(135deg, #FF6B35, #FFA62F);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(255,107,53,0.35);
}

.chat-msg.bot {
    background: rgba(14,14,40,0.85);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(100,120,255,0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.1);
}

.chat-input-row input {
    flex: 1;
    padding: 9px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input-row input::placeholder {
    color: rgba(255,255,255,0.35);
}

.chat-input-row input:focus {
    border-color: rgba(255,107,53,0.5);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
    border-radius: 20px;
}

/* 响应式 */
@media (max-width: 600px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .chat-messages {
        height: 160px;
    }
}


/* ==================== 弹窗 ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    padding: 42px;
    border-radius: 24px;
    width: 420px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: modalIn 0.35s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.85) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-content h2 {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 28px;
    text-align: center;
    font-size: 26px;
}

.modal-content input {
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 14px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.close {
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary);
}

/* ==================== 加载 ==================== */
.loading {
    text-align: center;
    padding: 45px;
    color: var(--text-light);
    font-size: 15px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--bg-alt);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== 彩色数字计数�?==================== */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ==================== 飘浮装饰�?==================== */
.float-decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatAround 10s ease-in-out infinite;
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.1); }
    66% { transform: translate(-15px, 10px) scale(0.9); }
}

/* ==================== 响应�?==================== */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero-stats { flex-direction: column; gap: 28px; }
    .hero-content h1 { font-size: 36px; }
    .about-content, .contact-content { grid-template-columns: 1fr; }
    .activity-packages { grid-template-columns: 1fr; }
    .competition-card { flex-direction: column; gap: 16px; text-align: center; }
    .scores-search { flex-direction: column; }
    .search-input { width: 100%; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .platforms { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; gap: 25px; }
    .azzurro-history { grid-template-columns: 1fr; }
    .azzurro-player-grid { grid-template-columns: repeat(3, 1fr); }
    .azzurro-hero h2 { font-size: 28px; }
    .azzurro-hero { padding: 35px 0; }
}


@media (max-width: 480px) {
    .azzurro-player-grid { grid-template-columns: repeat(2, 1fr); }
    .azzurro-history-card { padding: 20px; }
}

/* ===== 俱乐部风采 Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 240px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.gallery-card[style*="span 2"] {
    grid-column: span 2;
    min-height: 300px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: rgba(30,20,60,0.8);
    position: relative;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(10,5,30,0.9));
    color: white;
}

.gallery-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(168,85,247,0.3), rgba(59,130,246,0.3));
    border: 1px solid rgba(168,85,247,0.4);
    color: #c4b5fd;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    margin: 4px 0;
    background: linear-gradient(135deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-card[style*="span 2"] {
        grid-column: span 1;
        min-height: 240px;
    }
}
