/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #4A4A4A;
    overflow-x: hidden;
    background-color: #F8F7F3;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #4A4A4A;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B4A, #D4AF37);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #FF6B4A;
    border: 2px solid #FF6B4A;
}

.btn-secondary:hover {
    background: #FF6B4A;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /*background: rgba(74, 74, 74, 0.95);*/
    background: #2F3133;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    /*background: rgba(74, 74, 74, 0.98);*/
    background: #2F3133;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #D4AF37;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: linear-gradient(rgba(34,34,34,0.55), rgba(34,34,34,0.35)), url('assets/images/hero-bg.jpg');
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #F8F7F3;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 1s ease-out;
}

.about-description p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.highlight {
    background: linear-gradient(135deg, #D4AF37, #FF6B4A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.about-visual {
    animation: fadeInRight 1s ease-out;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Event Section */
.event {
    padding: 100px 0;
    background: linear-gradient(135deg, #4A4A4A, #2A2A2A);
    color: white;
}

.event-header {
    text-align: center;
    margin-bottom: 3rem;
}

.event-header .section-title {
    color: white;
}

.event-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.event-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out;
}

.event-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-icon {
    font-size: 1.2rem;
}

.detail-text {
    font-size: 1.1rem;
}

.event-content, .event-benefits {
    margin-bottom: 2rem;
}

.event-content h3, .event-benefits h3 {
    margin-bottom: 1rem;
    color: #D4AF37;
}

.content-list, .benefits-list {
    list-style: none;
    padding-left: 0;
}

.content-list li, .benefits-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-list li::before, .benefits-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

.event-action {
    text-align: center;
    margin-top: 2rem;
}

/* Community Section */
.community {
    padding: 100px 0;
    background: #F8F7F3;
}

/* .community-content {
    text-align: center;
} */

.community-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #333;
    position: relative;
}

.testimonial blockquote::before {
    content: """;
    font-size: 3rem;
    color: #D4AF37;
    position: absolute;
    top: -10px;
    left: -10px;
}

.community-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.community-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Brand Section */
.brand {
    padding: 100px 0;
    background: white;
}

.brand-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.brand-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
}

.brand-meaning h3 {
    margin-bottom: 2rem;
    color: #4A4A4A;
}

.meaning-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.meaning-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.meaning-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #D4AF37, #FF6B4A);
    color: white;
}

.meaning-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.brand-mission {
    font-size: 1.2rem;
    color: #FF6B4A;
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #FF6B4A, #D4AF37);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-secondary {
    background: white;
    color: #FF6B4A;
    border: 2px solid white;
}

.cta .btn-secondary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Footer */
.footer {
    background: #2F3133;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #D4AF37;
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: #D4AF37;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5vh auto;
    padding: 0;
    border-radius: 15px;
    width: 80vw;
    height: 80vh;
    max-width: none;
    max-height: none;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: modalSlideIn 0.3s ease-out;
    box-sizing: border-box;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 46, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-details {
        flex-direction: column;
        gap: 1rem;
    }

    .event-card {
        padding: 2rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-content {
        width: 95vw;
        height: 80vh;
        margin: 5vh auto;
        padding: 0;
    }
    .modal-content img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .event-card {
        padding: 1.5rem;
    }

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

    .meaning-items {
        grid-template-columns: 1fr;
    }
}


/* Community Feed Styles */
.community-feed {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F7F3 0%, #F0F0F0 100%);
    min-height: 600px;
}

.community-header {
    text-align: center;
    margin-bottom: 50px;
}

.community-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Post Card Styles */
.post-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #E5E5E5;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #FF6B4A);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.post-user-info {
    flex: 1;
}

.post-user-name {
    font-weight: 600;
    color: #4A4A4A;
    font-size: 16px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.post-time {
    color: #888;
    font-size: 14px;
}

.post-content {
    margin-bottom: 16px;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    color: #4A4A4A;
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-text {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    white-space: pre-wrap;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #F0F0F0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.action-btn:hover {
    background: #F8F7F3;
    color: #4A4A4A;
}

.action-btn.liked {
    color: #FF6B4A;
    background: rgba(255, 107, 74, 0.1);
}

.action-btn.liked:hover {
    background: rgba(255, 107, 74, 0.15);
}

/* Comments Section */
.comments-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #F0F0F0;
}

.comments-toggle {
    background: none;
    border: none;
    color: #D4AF37;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 0;
    margin-bottom: 12px;
}

.comments-list {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.comments-list.show {
    display: flex;
}

.comment-item {
    background: #F8F7F3;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid #D4AF37;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.comment-author {
    font-weight: 600;
    color: #4A4A4A;
    font-size: 14px;
}

.comment-time {
    color: #888;
    font-size: 12px;
}

.comment-content {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Loading Styles */
.loading-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #F0F0F0;
    border-top: 3px solid #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.empty-state h3 {
    color: #4A4A4A;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .community-feed {
        padding: 60px 0;
    }
    
    .post-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .post-header {
        margin-bottom: 12px;
    }
    
    .post-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .post-user-name {
        font-size: 15px;
    }
    
    .post-title {
        font-size: 16px;
    }
    
    .post-text {
        font-size: 14px;
    }
    
    .post-actions {
        gap: 15px;
    }
    
    .action-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Pinned Post Styles */
.post-card.pinned {
    border-left: 4px solid #D4AF37;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 100%);
}

.pinned-badge {
    background: #D4AF37;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}

/* Animation for new posts */
.post-card.new-post {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Community Testimonials 两列卡片布局 */
.community-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .community-testimonials {
    grid-template-columns: 1fr;
  }
}

.community-testimonials .testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

