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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 动态背景 */
.dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff0066, #ff1493, #ff69b4, #ff1493);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: 1;
    opacity: 0.3;
}

.dynamic-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 102, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 20, 147, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 105, 180, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* 导航栏 */
.navbar {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 20, 147, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff1493;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 20, 147, 0.2);
    color: #ff69b4;
}

/* 英雄区域 */
.hero {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #ff0066, #ff1493, #ff69b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    margin: 2rem 0;
}

.thumbnail-img {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(255, 20, 147, 0.3);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ff0066, #ff1493);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ff69b4;
    border: 2px solid #ff69b4;
}

.btn-secondary:hover {
    background: rgba(255, 105, 180, 0.1);
    transform: translateY(-2px);
}

/* 开奖结果区域 */
.lottery-results {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff69b4;
}

.results-container {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 20, 147, 0.3);
}

.results-header {
    display: grid;
    grid-template-columns: 1fr 2fr 3fr 1fr 1fr;
    background: rgba(255, 20, 147, 0.1);
    padding: 1rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 20, 147, 0.3);
}

.results-list {
    max-height: 400px;
    overflow-y: auto;
}

.result-item {
    display: grid;
    grid-template-columns: 1fr 2fr 3fr 1fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.result-item:hover {
    background: rgba(255, 20, 147, 0.05);
}

.result-item.latest {
    background: rgba(255, 20, 147, 0.1);
    animation: highlight 2s ease;
}

@keyframes highlight {
    0% { background: rgba(255, 20, 147, 0.3); }
    100% { background: rgba(255, 20, 147, 0.1); }
}

.number-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #ff0066, #ff1493);
    border-radius: 50%;
    margin: 0 2px;
    font-weight: bold;
}

.sum-value {
    color: #ff69b4;
    font-weight: bold;
}

.status-open {
    color: #4CAF50;
}

.status-closed {
    color: #f44336;
}

.refresh-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.btn-refresh {
    background: rgba(255, 20, 147, 0.2);
    color: #ff69b4;
    border: 1px solid #ff69b4;
}

.btn-refresh:hover {
    background: rgba(255, 20, 147, 0.3);
    transform: rotate(180deg);
    transition: transform 0.5s ease;
}

.last-update {
    color: #ccc;
}

/* 预测卡片 */
.predictions {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.prediction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.prediction-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 20, 147, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 20, 147, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff0066, #ff1493);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.prediction-card h3 {
    color: #ff69b4;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.prediction-card p {
    color: #ccc;
    line-height: 1.6;
}

/* 详细内容区域 */
.content-details {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.content-text {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 20, 147, 0.3);
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #ccc;
}

.content-text h3 {
    color: #ff69b4;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

/* 页脚 */
.footer {
    padding: 3rem 0;
    background: rgba(20, 20, 20, 0.9);
    border-top: 1px solid rgba(255, 20, 147, 0.3);
    position: relative;
    z-index: 2;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff1493;
    margin-bottom: 1rem;
}

.footer-text {
    color: #ccc;
    margin-bottom: 1rem;
}

.disclaimer {
    color: #888;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .results-header,
    .result-item {
        grid-template-columns: 1fr 1.5fr 2fr 1fr 1fr;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .refresh-section {
        flex-direction: column;
        gap: 1rem;
    }
}