/* 基础样式 */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #2f2e41;
    --accent-color: #ff6584;
    --text-color: #2f2e41;
    --light-bg: #f9f9f9;
    --dark-bg: #2f2e41;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
    cursor: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 加载动画 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader__content {
    text-align: center;
}

.loader__circle {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: loader-spin 1s infinite linear;
}

.loader__text {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-color);
    letter-spacing: 2px;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* 自定义光标 */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    background: rgba(108, 99, 255, 0.2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.6s ease;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav__logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
}

.nav__logo span {
    color: var(--primary-color);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav__link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
}

/* Hero区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.9), rgba(255, 101, 132, 0.9));
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 0 20px;
}

.hero__title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__title-main {
    display: block;
    margin-bottom: 10px;
}

.hero__title-sub {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 5px;
    opacity: 0.8;
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero__cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn--primary {
    background: var(--gradient);
    color: var(--white);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.btn--outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn--small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.scroll-indicator__text {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-indicator__line {
    width: 2px;
    height: 50px;
    background: var(--white);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-indicator__line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* 作品展示区域样式 */
.section {
    padding: 100px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.section__subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

.works__filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.works__filter {
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 1rem;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.works__filter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.works__filter:hover::after,
.works__filter.active::after {
    width: 100%;
}

.works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work__card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.work__image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.work__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.work__card:hover .work__overlay {
    opacity: 1;
}

.work__card:hover .work__image img {
    transform: scale(1.1);
}

.work__overlay-content {
    color: var(--white);
}

.work__overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.work__overlay-content p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.work__link {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 活动展示区域样式 */
.events__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.event__card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    transition: var(--transition);
}

.event__card:hover {
    transform: translateY(-5px);
}

.event__date {
    width: 120px;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.event__date-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event__date-month {
    font-size: 1rem;
    margin-top: 5px;
}

.event__content {
    flex: 1;
    padding: 30px;
}

.event__content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event__content p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.event__meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.event__meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 艺术家展示区域样式 */
.artists__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.artist__card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.artist__card:hover {
    transform: translateY(-10px);
}

.artist__image {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.artist__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.artist__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.artist__card:hover .artist__overlay {
    opacity: 1;
}

.artist__social {
    display: flex;
    gap: 15px;
}

.artist__social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.artist__social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.artist__info {
    padding: 20px;
    text-align: center;
}

.artist__info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.artist__info p {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.artist__tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* 关于我们区域样式 */
.about {
    position: relative;
    overflow: hidden;
}

.about__content {
    position: relative;
    z-index: 1;
}

.about__text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
}

.stat__number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.stat__label {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.about__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about__shape {
    position: absolute;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.about__shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.about__shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

/* 联系表单样式 */
.contact {
    background: var(--white);
}

.contact__content {
    max-width: 600px;
    margin: 0 auto;
}

.contact__form {
    display: grid;
    gap: 20px;
}

.form__group {
    position: relative;
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: var(--light-bg);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form__group textarea {
    height: 150px;
    resize: none;
}

.form__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.form__group input:focus ~ .form__line,
.form__group textarea:focus ~ .form__line {
    width: 100%;
}

/* 页脚样式 */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer__logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer__info p {
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 15px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .works__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: var(--transition);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
    }

    .nav__toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        background: none;
        border: none;
    }

    .nav__toggle span {
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--text-color);
        transition: var(--transition);
    }

    .nav__toggle span:nth-child(1) {
        top: 0;
    }

    .nav__toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .nav__toggle span:nth-child(3) {
        bottom: 0;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 50%;
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 50%;
    }

    .hero__content {
        text-align: center;
        padding: 0 20px;
    }

    .hero__title {
        font-size: 3rem;
    }

    .works__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .event__card {
        flex-direction: column;
    }

    .event__date {
        width: 100%;
        padding: 15px;
    }
} 