:root {
    --color-orange-light: #ffb366;
    --color-orange: #ff8c00;
    --color-orange-deep: #ff6600;
    --color-red: #dc143c;
    --color-white: #fff;
    --color-dark: #1a1a1a;
}

#loading {
    background-color: #1a1a1a !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: var(--color-white);
    overflow-x: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 102, 0, 0.3);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--color-orange), var(--color-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-links a {
    color: var(--color-white);
    text-decoration: none;
    margin-left: 30px;
    padding: 8px 20px;
    border: 2px solid var(--color-orange);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-links a:hover {
    background: var(--color-orange);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.parallax-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-section {
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.6)),
                url('https://static-cos.ovofish.com/static/miraipip/img/cs2-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    will-change: transform;
}

.parallax-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    will-change: transform;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
}

.circle-3 {
    width: 250px;
    height: 250px;
    top: 20%;
    right: 10%;
}

.decoration-square {
    position: absolute;
    opacity: 0.1;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    will-change: transform;
}

.square-1 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 20%;
    transform: rotate(45deg);
}

.square-2 {
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 15%;
    transform: rotate(30deg);
}

.hero-content {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
    will-change: transform, opacity;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeIn 2s ease 1.5s both;
}

.scroll-indicator span {
    display: block;
    color: var(--color-orange-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border-right: 3px solid var(--color-orange);
    border-bottom: 3px solid var(--color-orange);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(15px) rotate(45deg);
    }
    60% {
        transform: translateY(8px) rotate(45deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 102, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-orange-light);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    margin: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    color: var(--color-white);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-orange);
}

.btn-secondary:hover {
    background: var(--color-orange);
    transform: translateY(-3px);
}

.features-section {
    background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)),
                url('https://static-cos.ovofish.com/static/miraipip/img/cs2-features.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.features-content {
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-orange);
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-orange);
}

.feature-card p {
    color: var(--color-orange-light);
    line-height: 1.6;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--color-orange), var(--color-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-orange);
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.3);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-orange);
}

.contact-card a,
.contact-card p {
    color: var(--color-orange-light);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--color-orange);
    text-decoration: underline;
}

.quick-join {
    margin-top: 3rem;
}

.footer {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.95);
    color: var(--color-orange-light);
}

.footer a {
    color: var(--color-orange);
    text-decoration: none;
}

.copy-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

.copy-toast.visible {
    opacity: 1;
    visibility: visible;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-links a {
        margin: 0 5px;
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
        display: block;
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .images-grid {
        grid-template-columns: 1fr;
    }
}
