:root {
    --primary-color: #ff3366;
    --secondary-color: #2a2a2a;
    --text-color: #ffffff;
    --background-color: #1a1a1a;
    --accent-color: #ff0000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 70px;
}

.logo a {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav .nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.share-button {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    font-size: 1.2rem;
}

.share-button:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.share-button.twitter:hover {
    color: #1DA1F2;
}

.share-button.facebook:hover {
    color: #4267B2;
}

.share-button.reddit:hover {
    color: #FF4500;
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Game Container Styles */
.game-container {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Feature Grid Styles */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
        height: auto;
    }

    nav .nav-right {
        flex-direction: column;
        gap: 1rem;
    }

    .share-buttons {
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Game Specific Styles */
#clickArea {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, #ff3366 0%, #990033 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.3),
                inset 0 0 15px rgba(0, 0, 0, 0.5);
    border: 3px solid #ff3366;
}

#clickArea:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.5),
                inset 0 0 20px rgba(0, 0, 0, 0.5);
}

#clickArea:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.2),
                inset 0 0 10px rgba(0, 0, 0, 0.7);
}

#clickArea::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

#clickArea .click-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

#clickArea span {
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
}

/* 添加脉动动画 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#clickArea:not(:active) {
    animation: pulse 2s infinite;
}

/* 点击时的涟漪效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(42, 42, 42, 0.8);
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

.stats-container div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-container i {
    color: var(--primary-color);
}

#upgrades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.upgrade-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upgrade-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.upgrade-btn:hover:not(:disabled) {
    background-color: #ff4477;
}

.floating-score {
    position: absolute;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.score-amount {
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.score-text {
    font-size: 0.8em;
    opacity: 0.8;
}

.achievement {
    padding: 10px;
    background-color: #333;
    border-radius: 5px;
    margin: 5px 0;
    opacity: 0.5;
    transition: all 0.3s;
}

.achievement.unlocked {
    opacity: 1;
    border: 1px solid var(--primary-color);
    background-color: #444;
}

#evil-level {
    font-size: 1.5rem;
    color: var(--accent-color);
    text-align: center;
    margin: 10px 0;
    text-shadow: 0 0 5px var(--accent-color);
}

#score {
    font-size: 3rem;
    text-align: center;
    margin: 10px 0;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

/* Hero Section Styles */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 0;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 1rem 0 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background-color: #ff4477;
    transform: translateY(-2px);
}

.secondary-button {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Feature Cards */
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background-color: var(--secondary-color);
    margin: 4rem 0;
    border-radius: 10px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: white;
}

.newsletter-form button {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Active Navigation Link */
nav ul li a.active {
    color: var(--primary-color);
}

/* Icons */
.click-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* 添加新的动画效果 */
.crit-effect {
    position: fixed;
    width: 100px;
    height: 100px;
    pointer-events: none;
    animation: crit-explosion 1s ease-out forwards;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1000;
}

@keyframes crit-explosion {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* 连击计数器样式 */
#combo-counter {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    transition: all 0.3s;
}

/* 事件通知样式 */
.event-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slide-in 0.5s ease-out;
    z-index: 1000;
}

.event-notification.fade-out {
    animation: slide-out 0.5s ease-in forwards;
}

.event-icon {
    font-size: 2rem;
}

.event-info h4 {
    margin: 0;
    color: var(--primary-color);
}

.event-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes slide-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-out {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* 成就图标动画 */
.achievement.unlocked .achievement-icon {
    animation: achievement-unlock 1s ease-out;
}

@keyframes achievement-unlock {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

/* 进度条样式 */
.progress-container {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 51, 102, 0.2);
    border-radius: 5px;
    margin: 10px 0;
    overflow: hidden;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* 胜利画面样式 */
.victory-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.victory-content {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--primary-color);
    animation: victory-popup 0.5s ease-out;
}

.victory-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.victory-content p {
    margin: 0.5rem 0;
}

.victory-content button {
    margin: 1rem 0.5rem;
}

@keyframes victory-popup {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.challenge-text {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

.challenge-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 51, 102, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
}

.detail-item i {
    color: var(--primary-color);
}

.detail-item span {
    font-weight: bold;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
}

.discord-button {
    display: inline-block;
    background: #7289DA;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background 0.3s;
}

.discord-button:hover {
    background: #5b6eae;
}

.contact-form {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #444;
    border-radius: 5px;
    background: #333;
    color: white;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #ff1a4d;
}

/* FAQ Styles */
.faq-section {
    padding: 4rem 0;
}

.faq-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
} 