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

body {
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #000;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    padding: 20px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    display: flex;
}

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

.download-btn .app-store-btn {
    background-color: #7b2cbf;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.2;
}

.apple-icon {
    width: 20px;
    margin-right: 5px;
}

/* Hero Section */
.hero {
    padding: 50px 0;
}

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

.hero-content {
    flex: 1;
}

.gradient-text {
    font-size: 64px;
    font-weight: bold;
    background: linear-gradient(to right, #c4ff0e, #ff758f, #a288e3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    background-color: #1a1a1a;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
}

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

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

/* Characters Section */
.characters {
    padding: 50px 0;
}

.characters h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.character-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.character-card img {
    width: 100%;
    height: auto;
    display: block;
}

.character-card p {
    padding: 15px;
    display: flex;
    align-items: center;
}

.fire-icon::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('img/icon/fire.svg');
    background-size: contain;
    margin-right: 8px;
}

/* Dummy Text Section */
.dummy-text {
    padding: 80px 0;
    text-align: center;
}

.dummy-text h2 {
    font-size: 32px;
    line-height: 1.4;
}

/* Our World Section */
.our-world {
    padding: 50px 0;
    position: relative;
}

.world-content {
    max-width: 500px;
}

.world-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.dots-decoration {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, #333 2px, transparent 3px);
    background-size: 15px 15px;
}

.world-image {
    margin-top: 30px;
}

.world-image img {
    width: 100%;
    max-width: 100%;
    max-height: 70vh; /* 限制图片高度为视口高度的70% */
    height: auto;
    object-fit: contain; /* 确保图片保持比例 */
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 50px 0 20px;
}

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

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.social-handle {
    margin-top: 10px;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

.email {
    margin: 15px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: block;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .character-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .character-grid {
        grid-template-columns: 1fr;
    }
    
    .gradient-text {
        font-size: 48px;
    }
    
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin: 20px 0;
        justify-content: center;
    }
    
    nav ul li:first-child {
        margin-left: 0;
    }
}