﻿/* 全局样式 */
:root {
    --primary-color: #ff5757;
    --secondary-color: #00b8d4;
    --accent-color: #ffca28;
    --dark-color: #1e2a38;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: #e04545;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

section {
    padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e04545;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* 头部导航 */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li.active a:after {
    width: 100%;
}

nav ul li.active a {
    color: var(--primary-color);
}

.auth-buttons, .desktop-auth-buttons {
    display: flex;
    gap: 10px;
}

.mobile-auth-buttons {
    display: none;
    margin-top: 15px;
    padding: 0 0 10px 20px;
    gap: 10px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 英雄区域 */
.hero {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

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

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
}

/* 促销活动 */
.promotions {
    background-color: #f9f9f9;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.promotion-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.promotion-card:hover {
    transform: translateY(-5px);
}

.promotion-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.promotion-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.promotion-icon img {
    max-width: 100%;
    max-height: 100%;
}

.promotion-card h3 {
    margin-bottom: 10px;
}

.promotion-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* 排行榜预览 */
.ranking-preview {
    background-color: var(--dark-color);
    color: white;
}

.ranking-preview h2,
.ranking-preview .section-subtitle {
    color: white;
}

.vip-benefits {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.vip-benefits-list {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
}

.vip-benefits-list ul {
    margin-bottom: 30px;
}

.vip-benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.benefit-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.vip-tiers {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.vip-tier {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tier-header {
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.bronze {
    background-color: #cd7f32;
}

.silver {
    background-color: #c0c0c0;
}

.gold {
    background-color: #ffd700;
    color: var(--dark-color);
}

.diamond {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    color: var(--dark-color);
}

.vip-tier ul {
    padding: 15px;
}

.vip-tier li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* 邀请好友预览 */
.invite-preview {
    background-color: var(--secondary-color);
    color: white;
}

.invite-preview h2,
.invite-preview .section-subtitle {
    color: white;
}

.invite-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.invite-steps {
    flex: 2;
}

.invite-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 5px;
}

.invite-bonus {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.bonus-percentage {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.invite-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* 号召性动作区域 */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2,
.cta p {
    color: white;
    margin-bottom: 20px;
}

.cta .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* 页面头部 */
.page-header {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* 促销活动完整页面 */
.promotions-full .promotions-grid.large {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.promotion-card.large {
    padding: 40px;
}

/* 每日奖励日历 */
.daily-rewards-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.calendar-day {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.day-number {
    width: 30px;
    height: 30px;
    background-color: var(--light-gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 600;
}

.day-reward {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.day-reward img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.calendar-day.special {
    background-color: #fff8e1;
    border: 2px solid var(--warning-color);
}

.calendar-day.premium {
    background-color: #e3f2fd;
    border: 2px solid var(--secondary-color);
}

.daily-rewards-cta {
    text-align: center;
    margin-top: 30px;
}

/* 限时优惠 */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.offer-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.offer-timer {
    background-color: var(--danger-color);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.offer-content {
    padding: 30px;
    text-align: center;
}

.offer-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.offer-price {
    margin: 20px 0;
}

.original-price {
    text-decoration: line-through;
    color: var(--gray-color);
    margin-right: 10px;
}

.discount-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--danger-color);
}

/* 即将到来的活动 */
.events-timeline {
    margin-top: 40px;
}

.timeline-event {
    display: flex;
    margin-bottom: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.event-date {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.month {
    font-size: 0.9rem;
}

.day {
    font-size: 1.8rem;
    font-weight: 700;
}

.event-content {
    padding: 20px;
    flex: 1;
}

/* 邀请好友完整页面 */
.invite-content-full {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.invite-info {
    flex: 1;
}

.invite-steps-vertical {
    margin-top: 30px;
}

.invite-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.invite-bonus-large {
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    margin-top: 30px;
    width: 100%;
}

.invite-share {
    margin-top: 60px;
}

.invite-link-container {
    display: flex;
    margin: 20px 0;
}

.invite-link-container input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-gray-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.invite-link-container .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.social-share {
    text-align: center;
    margin-top: 30px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-button {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-button:hover {
    transform: translateY(-3px);
}

.social-button img {
    width: 24px;
    height: 24px;
}

/* 邀请奖励 */
.rewards-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.reward-tier {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.tier-header {
    background-color: var(--dark-color);
    color: white;
    padding: 15px;
    text-align: center;
}

.invite-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

.tier-rewards {
    padding: 20px;
}

.reward-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reward-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* 邀请排行榜 */
.leaderboard-table {
    margin-top: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.leaderboard-header {
    background-color: var(--dark-color);
    color: white;
    padding: 15px;
    display: grid;
    grid-template-columns: 80px 1fr 150px 1fr;
    font-weight: 600;
}

.leaderboard-row {
    padding: 15px;
    display: grid;
    grid-template-columns: 80px 1fr 150px 1fr;
    border-bottom: 1px solid var(--light-gray-color);
    align-items: center;
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.rank-column {
    text-align: center;
}

.player-column {
    display: flex;
    align-items: center;
}

.player-column img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
}

.invites-column {
    text-align: center;
    font-weight: 600;
}

.rank {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.rank-1 {
    background-color: gold;
    color: var(--dark-color);
}

.rank-2 {
    background-color: silver;
    color: var(--dark-color);
}

.rank-3 {
    background-color: #cd7f32;
    color: white;
}

/* 排行榜页面 */
.rankings-tabs {
    margin-top: 40px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-button {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--light-gray-color);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.tab-button.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.rankings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.rankings-header h2 {
    margin-bottom: 0;
}

.rankings-period {
    display: flex;
}

.period-button {
    padding: 8px 15px;
    background-color: transparent;
    border: 1px solid var(--light-gray-color);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.period-button:first-child {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.period-button:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.period-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.rankings-top {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 40px;
}

.top-player {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 15px;
    position: relative;
}

.top-player.first {
    padding-top: 40px;
    transform: scale(1.1);
    z-index: 2;
}

.player-rank {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--dark-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 600;
}

.top-player.first .player-rank {
    background-color: gold;
    color: var(--dark-color);
}

.top-player.second .player-rank {
    background-color: silver;
    color: var(--dark-color);
}

.top-player.third .player-rank {
    background-color: #cd7f32;
}

.player-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.crown-icon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: gold;
    border-radius: 50%;
}

.crown-icon:before {
    content: '👑';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.player-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.player-level, .player-power {
    color: var(--primary-color);
    font-weight: 600;
}

.rankings-list {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.rankings-row {
    display: grid;
    grid-template-columns: 80px 1fr 150px 100px;
    padding: 15px;
    border-bottom: 1px solid var(--light-gray-color);
    align-items: center;
}

.rankings-row:last-child {
    border-bottom: none;
}

.level-column {
    text-align: center;
    font-weight: 600;
}

.trend-column {
    text-align: center;
}

.trend-column.up {
    color: var(--success-color);
}

.trend-column.down {
    color: var(--danger-color);
}

.your-ranking {
    margin-top: 30px;
}

.rankings-row.highlighted {
    background-color: #fff8e1;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.rankings-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination-button, .pagination-number {
    padding: 8px 15px;
    margin: 0 5px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.pagination-number.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination-dots {
    padding: 8px 15px;
    margin: 0 5px;
}

/* VIP排行榜 */
.vip-tiers-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vip-tier-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.vip-tier-card:hover {
    transform: translateY(-5px);
}

.vip-tier-card .tier-header {
    padding: 30px 20px;
    text-align: center;
}

.tier-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.tier-icon img {
    max-width: 100%;
    max-height: 100%;
}

.tier-benefits {
    padding: 20px;
}

.tier-benefits ul {
    margin-bottom: 0;
}

.tier-benefits li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tier-benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.tier-price {
    padding: 20px;
    background-color: var(--light-gray-color);
    text-align: center;
}

.tier-price span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
}

.footer-links h3 {
    margin-bottom: 20px;
}

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

.footer-links ul li a {
    color: #adb5bd;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vip-benefits {
        flex-direction: column;
    }
    
    .invite-content {
        flex-direction: column;
    }
    
    .rankings-top {
        flex-wrap: wrap;
    }
    
    .top-player {
        margin-bottom: 20px;
    }
    
    .top-player.first {
        order: -1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    header .container {
        /* flex-wrap: wrap; */
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0 10px 20px;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
    }
    
    .desktop-auth-buttons {
        display: none;
    }
    
    .mobile-auth-buttons {
        display: flex;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        margin: 0;
    }
    
    .mobile-auth-buttons .btn {
        flex: 1;
        margin: 0 5px;
    }
    
    /* 添加导航按钮固定在底部 */
    .nav-buttons {
        display: flex;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--dark-color);
        padding: 12px 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .nav-buttons button {
        flex: 1;
        margin: 0 5px;
        background: none;
        border: none;
        color: white;
        font-size: 0.9rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
    }
    
    .nav-buttons button i {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .nav-buttons button.active {
        color: var(--primary-color);
    }
    
    /* 添加底部padding以防止内容被固定的按钮遮挡 */
    body {
        padding-bottom: 80px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .daily-rewards-calendar {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .calendar-day.premium {
        grid-column: span 3;
    }
    
    .rankings-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .rankings-period {
        margin-top: 15px;
    }
    
    .rankings-row {
        grid-template-columns: 60px 1fr 100px 80px;
    }
    
    .leaderboard-header, .leaderboard-row {
        grid-template-columns: 60px 1fr 100px 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .daily-rewards-calendar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calendar-day.premium {
        grid-column: span 2;
    }
    
    .timeline-event {
        flex-direction: column;
    }
    
    .event-date {
        padding: 10px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .month {
        margin-right: 5px;
    }
    
    .rankings-row {
        grid-template-columns: 50px 1fr 80px;
    }
    
    .trend-column {
        display: none;
    }
    
    .leaderboard-header, .leaderboard-row {
        grid-template-columns: 50px 1fr 80px;
    }
    
    .reward-column {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
}