/* 特效等级系统 */
[data-effects="off"] * {
  animation: none !important;
  transition: none !important;
}

[data-effects="low"] .hero .fire-animation {
  opacity: 0.1;
}

[data-effects="low"] .ability-card:hover {
  transform: none;
}

[data-effects="medium"] .hero .fire-animation {
  opacity: 0.3;
}

[data-effects="high"] .hero .fire-animation {
  opacity: 0.5;
}

/* 特效设置面板 */
.effects-settings-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.effects-settings-panel .settings-content {
  background: #1a1a2e;
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid #ff6b35;
  min-width: 300px;
  color: #fff;
}

.effects-settings-panel h3 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: #ff6b35;
}

.effects-settings-panel .settings-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.effects-settings-panel .settings-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.effects-settings-panel .settings-option:hover {
  background: rgba(255, 107, 53, 0.1);
}

.effects-settings-panel .close-settings {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcc00 100%);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}

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

:root {
    --primary-color: #ff6b35;
    --secondary-color: #2d3436;
    --accent-color: #ffeaa7;
    --text-color: #2d3436;
    --bg-dark: #0f0f23;
    --bg-card: #1a1a2e;
    --gradient-fire: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcc00 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 107, 53, 0.2);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.nav-btn {
  background: none;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

/* 首页横幅 */
.hero {
    min-height: 100vh;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.glitch {
    font-size: 6rem;
    font-weight: bold;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    }
    92% {
        text-shadow: 2px 0 0 rgba(255, 0, 0, 0.8), -2px 0 0 rgba(0, 255, 255, 0.8);
    }
    94% {
        text-shadow: -2px 0 0 rgba(255, 0, 0, 0.8), 2px 0 0 rgba(0, 255, 255, 0.8);
    }
}

.subtitle {
    font-size: 1.8rem;
    color: #fff;
    margin: 2rem 0;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* 火焰动画 */
.fire-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0.3;
}

.flame {
    width: 60px;
    height: 150px;
    background: linear-gradient(to top, rgba(255, 107, 53, 0.8), transparent);
    border-radius: 50% 50% 20% 20%;
    animation: flicker 1.5s ease-in-out infinite alternate;
}

.flame:nth-child(2) {
    animation-delay: 0.3s;
    height: 180px;
}

.flame:nth-child(3) {
    animation-delay: 0.6s;
    height: 120px;
}

@keyframes flicker {
    0% {
        transform: scaleY(1) scaleX(1);
        opacity: 0.8;
    }
    100% {
        transform: scaleY(1.2) scaleX(0.9);
        opacity: 1;
    }
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 关于部分 */
.about {
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trait-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.trait-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    border-color: var(--primary-color);
}

.trait-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trait-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.trait-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* 能力部分 */
.abilities {
    background: var(--gradient-dark);
}

.abilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ability-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s;
}

.ability-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

.ability-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ability-icon {
    font-size: 2rem;
}

.ability-header h3 {
    color: #fff;
    font-size: 1.3rem;
}

.ability-list {
    list-style: none;
}

.ability-list li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ability-list li:last-child {
    border-bottom: none;
}

/* 成长历程 */
.journey {
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-fire);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    margin-left: calc(50% + 30px);
    width: calc(50% - 30px);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    border: 10px solid transparent;
    border-right-color: var(--bg-card);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -10px;
    border-right-color: transparent;
    border-left-color: var(--bg-card);
}

.timeline-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* 经典语录 */
.quotes {
    background: var(--gradient-dark);
    position: relative;
}

.quotes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quote-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    position: relative;
    transition: all 0.3s;
}

.quote-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.quote-text {
    color: #fff;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.quote-decoration {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.5;
}

/* 页脚 */
.footer {
    background: rgba(15, 15, 35, 0.95);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 2rem;
}

.footer-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.5;
}

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

    .subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        margin-left: 50px !important;
        margin-right: 0 !important;
        width: calc(100% - 50px);
    }

    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
        border-right-color: var(--bg-card) !important;
        border-left-color: transparent !important;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
