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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-bg: #1e1e2e;
    --light-bg: #f8f9fa;
    --text-dark: #2d3748;
    --text-light: #718096;
    --accent: #f59e0b;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.logo a:hover h1 {
    transform: scale(1.05);
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo a:hover .nav-logo {
    transform: scale(1.05);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* 主要内容区域 */
.section {
    min-height: 100vh;
    padding: 100px 2rem 4rem;
    scroll-margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 首页样式 */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.logo-section {
    text-align: center;
    margin-top: 2rem;
}

.logo-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-logo {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.intro-section {
    max-width: 1200px;
    width: 100%;
}

.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-section h2.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.intro-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.intro-block-left {
    grid-template-columns: 1fr 1fr;
}

.intro-block-right {
    grid-template-columns: 1fr 1fr;
}

.intro-block-right .intro-image-placeholder {
    order: -1;
}

.intro-text-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-text-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.intro-image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-image-placeholder .placeholder-text {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
}

.trade-in-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.trade-in-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
}

.trade-in-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.trade-in-list li strong {
    color: var(--primary-color);
}

/* 活动安排页面 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.events-content {
    display: grid;
    gap: 3rem;
}

.weekly-events h3,
.special-events h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.event-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
    justify-content: space-between;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-day {
    width: 100px;
    min-width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.event-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.event-details h4 .tournament-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.event-details h4 .tournament-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.event-details p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.event-details {
    flex: 1;
}

.event-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
}

.event-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.special-events {
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.special-events-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.special-events-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.special-events-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.special-events-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
}

.special-events-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    color: var(--text-light);
    font-style: italic;
}

.special-events-note .contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.special-events-note .contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 相册页面 */
.gallery-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-note {
    background: #fff3cd;
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.gallery-note p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* 联系方式和营业时间 */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3,
.hours-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 1rem;
}

.right-column {
    display: flex;
    flex-direction: column;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.social-media-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hours-item .day {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-item .time {
    color: var(--primary-color);
    font-weight: 500;
}

.hours-notice {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
}

.hours-notice p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* 页脚 */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

/* 图片预览模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--accent);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-placeholder {
        padding: 2rem;
    }

    .store-logo {
        max-height: 120px;
    }

    .intro-section h2 {
        font-size: 2rem;
    }

    .intro-block {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .intro-block-right .intro-image-placeholder {
        order: 0;
    }

    .intro-image-placeholder {
        height: 300px;
    }

    .intro-text-content h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .event-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .event-day {
        width: 80px;
        min-width: 80px;
        height: 80px;
        font-size: 0.9rem;
    }

    .event-logo {
        width: 100px;
        height: 100px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

