/* Montpellier Theme CSS */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
}

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

/* YouTube 视频卡片部分 */
.youtube-videos-section {
    padding: 10px 0; /* 上下内边距 */
    background-color: #f9f9f9; /* 背景色，可根据主题调整 */
    text-align: center; /* 标题居中 */
}

.youtube-videos-section h2 {
    margin-top: 10px; /* 去除默认上边距 */
    font-size: 2.5em;
    margin-bottom: 30px;
    color: black;
}

.youtube-videos-section .highlight {
    margin-top: 0; /* 去除默认上边距 */
    color: black; /* 高亮颜色，可根据主题调整 */
    margin-left: 10px;
}

/* YouTube 卡片网格布局 */
.youtube-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 桌面端每行两列 */
    gap: 30px; /* 卡片之间的间距 */
    max-width: 1200px; /* 最大宽度，使内容居中 */
    margin: 0 auto; /* 居中显示 */
}

/* 单个 YouTube 视频卡片样式 */
.youtube-video-card {
    position: relative;
    overflow: hidden; /* 确保图片超出部分被隐藏 */
    border-radius: 12px; /* 圆角效果 */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* 阴影效果 */
    text-decoration: none; /* 移除链接下划线 */
    color: #fff; /* 文字颜色 */
    display: block; /* 确保a标签是块级元素 */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.youtube-video-card:hover {
    transform: translateY(-5px); /* 鼠标悬浮时轻微上浮 */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); /* 悬浮时阴影加深 */
}

.youtube-video-card img {
    width: 100%;
    height: 280px; /* 固定图片高度，可根据需要调整 */
    object-fit: cover; /* 确保图片覆盖整个区域，可能裁剪 */
    display: block;
    transition: transform 0.4s ease-in-out; /* 鼠标悬浮时图片的放大动画 */
}

/* 图片悬浮放大效果 */
.youtube-video-card:hover img {
    transform: scale(1.08);
}

/* 悬浮文字叠加层 */
.youtube-video-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* 渐变背景，从底部向上变透明 */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    color: #fff;
    padding: 25px;
    box-sizing: border-box; /* 包含padding在宽度内 */
    opacity: 1; /* 默认显示 */
    transition: background 0.3s ease-in-out;
    display: flex; /* 使用flex布局让内容垂直排列 */
    flex-direction: column;
    justify-content: flex-end; /* 内容底部对齐 */
    min-height: 120px; /* 最小高度，确保文字有足够空间 */
}

.youtube-video-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2)); /* 悬浮时背景加深 */
}

.youtube-video-card .card-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8em;
    font-weight: 700; /* 加粗 */
    line-height: 1.3;
}

.youtube-video-card .card-description {
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* “在 YouTube 观看” 提示及图标 */
.watch-on-youtube {
    display: flex;
    align-items: center;
    margin-top: auto; /* 将此元素推到底部 */
    font-size: 1em;
    font-weight: 600;
    color: #fff;
}

.youtube-icon {
    color: #ff0000; /* YouTube 品牌红色 */
    font-size: 1.8em; /* 图标大小 */
    margin-right: 10px;
    transition: transform 0.2s ease-in-out;
}

.youtube-video-card:hover .youtube-icon {
    transform: scale(1.15); /* 鼠标悬浮时图标轻微放大 */
}

/* --- 通用部分样式 (可选择性应用，或根据您现有主题调整) --- */
.common-section {
    padding: 60px 0; /* 通用上下内边距 */
    text-align: center;
    background-color: #f8f8f8; /* 通用背景色 */
    margin-bottom: 60px;
}

.common-section h2 {
    margin-top: 10px; /* 去除默认上边距 */
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.common-section .highlight {
    color: #007bff; /* 高亮颜色 */
    margin-left: 10px;
}

/* --- Features Section CSS --- */
.features-section {
    background-color: #f0f0f0; /* Features 部分特有的背景色 */
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(var(--features-cols, 3), 1fr); /* 默认3列 */
    gap: 25px; /* 卡片间距 */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.features-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.features-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.features-card img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-in-out;
}

.features-card:hover img {
    transform: scale(1.08);
}

.features-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1));
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    opacity: 1;
    transition: background 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100px;
}

.features-card-title {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.6em;
    font-weight: 600;
}

.features-card-description {
    margin-bottom: 0;
    font-size: 0.9em;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}


/* pictures */
/* 图片卡片网格布局 */
.image-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; /* 每行两列 */
    gap: 20px; /* 卡片之间的间距 */
    margin-top: 40px; /* 根据需要调整与上方内容的间距 */
}

/* 单个图片卡片样式 */
.image-card {
    position: relative;
    overflow: hidden; /* 确保图片超出部分被隐藏 */
    border-radius: 8px; /* 圆角效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 轻微阴影 */
    text-decoration: none; /* 移除链接下划线 */
    color: inherit; /* 继承文字颜色 */
    display: block; /* 确保a标签是块级元素 */
}

.image-card img {
    width: 100%;
    height: 360px; /* 固定图片高度，可以根据需要调整 */
    aspect-ratio: 9 / 16;
    object-fit: cover; /* 确保图片覆盖整个区域，可能裁剪 */
    display: block;
    transition: transform 0.3s ease-in-out; /* 鼠标悬浮时的动画效果 */
}

/* 图片悬浮放大效果 */
.image-card:hover img {
    transform: scale(1.05);
}

/* 悬浮文字叠加层 */
.image-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); /* 从底部向上渐变 */
    color: #fff;
    padding: 20px;
    box-sizing: border-box; /* 包含padding在宽度内 */
    opacity: 1; /* 默认显示 */
    transition: opacity 0.3s ease-in-out;
}

/* 鼠标悬浮时文字叠加层透明度变化（可选，如果希望悬浮时文字更突出） */
/* .image-card:hover .image-card-overlay {
    opacity: 1;
} */

.image-card-title {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.5em;
    font-weight: bold;
}

.image-card-subtitle {
    margin-bottom: 0;
    font-size: 0.9em;
    line-height: 1.4;
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
    /* Reset default styles */
    margin: 0;
    padding: 0;
    font-family: -apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif;
    line-height: 1.75;
    display: table; /* Added for consistent layout */
    /* Add other common styles here if needed */
}

h1 {
    text-align: center;
    font-size: 19.2px;
    margin: 2em auto 1em;
    /* color: #3f3f3f; */
    font-weight: bold;
    
    data-heading="true"; /* Added data attribute */
}

h2 {
    text-align: center;
    font-size: 19.2px;
    margin: 4em auto 2em;
    /* color: #fff; */
    /* background: #FFB7C5; */
    font-weight: bold;
    data-heading="true"; /* Added data attribute */
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #e91e63;
    color: white;
}

.btn-primary:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #e91e63;
    border: 2px solid #e91e63;
}

.btn-outline:hover {
    background-color: #e91e63;
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95); /* 背景改为黑色 */
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.navbar-menu {
    display: flex;
    margin-left: auto;
}

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

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

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    justify-content: space-around;
}

.navbar-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
  }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7), rgba(233, 30, 99, 0.3));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.hero-cta_text {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff; 
    text-decoration: none !important;
}
/* Features Section */
.features {
    padding: 80px 0;
    background-color: #000000;
}

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

.feature-card {
    background: black;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #e91e63;
    margin-bottom: 1rem;
}

.feature-title {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
}

/* Content Sections */
.content-sections {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.highlight {
    color: #e91e63;
    font-weight: 700;
}
/* --- 通用部分样式 (可选择性应用，或根据您现有主题调整) --- */
.common-section {
    padding: 20px 0 30px 0; 
    /*text-align: center; */
    background-color: black; /* 通用背景色 */
}

.common-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: white;
}

.common-section .highlight {
    color: white; /* 高亮颜色 */
    margin-left: 10px;
}

/* --- Cosplay Section CSS --- */
.cosplay-section {
    padding: 0px 0;
    margin-bottom: 0px;
    background-color: black;
    margin-top: 100px;
    margin-bottom: 100px;
}

/* 顶部图片和内容容器 - 保持与 discovery1-top-area 的结构一致 */
.cosplay-top-area {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 垂直居中对齐 */
    gap: 10px; /* 图片和内容之间的间距 */
    max-width: 1280px;
    margin: 0 auto; /* 居中对齐 */
    padding: 0 80px;
    margin-top: 0;
}

.cosplay-left, .cosplay-right {
    flex-basis: 50%; /* 保持两边等宽 */
    max-width: 50%;
}

.cosplay-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cosplay-image {
    width: 100%;
    height: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    max-width: 600px;  /* 限制最大宽度为600px */
    
    object-fit: cover; /* 确保图片在限制尺寸内保持比例并填充 */
}

.cosplay-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cosplay-title, .cosplay-subtitle {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    margin-top: 0;
}

/* 修正标题的对齐方式 */
.cosplay-title {
    text-align: left;
    margin-left: 0;
}

.cosplay-subtitle {
    text-align: right;
    margin-right: 0;
}

/* --- Discovery1 Section CSS --- */
.discovery1-section {
    padding-top: 10px;
    background-color: black; /* 或者你想要的其他背景色 */
}

/* 顶部图片和内容容器 */
.discovery1-top-area {
    display: flex; /* 使用 Flexbox 进行左右布局 */
    align-items: center; /* 垂直居中对齐 */
    gap: 40px; /* 图片和内容之间的间距 */
    max-width: 1920px;
    margin: 0 auto 5px auto; /* 底部留出空间 */
    padding: 0 15px;
    margin-top: 80px;
}

.top-image-container {
    flex-basis: 50%; /* 图片占据左侧一半空间 */
    max-width: 50%;
}

.top-image-container img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    height: auto; /* 保持图片的宽高比 */
    max-width: 600px;  /* 限制最大宽度为600px */
    max-height: 400px; /* 限制最大高度为400px */
    object-fit: cover; /* 确保图片在限制尺寸内保持比例并填充 */
}

.top-content-container {
    flex-basis: 50%; /* 内容占据右侧一半空间 */
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 将 "INFO>" 推到底部 */
    height: 100%; /* 确保容器高度填满 */
    text-align: left;
}

.top-description {
    font-size: 1em;
    line-height: 1.6;
    color: #ffffff;
}
.top-subtitle {
    font-size: 2em;
    line-height: 1.6;
    align-self: left;
    color: #ffffff;
}

.top-link {
    font-size: 3em;
    font-weight: bold;
    color: #ffffff; /* 或者其他颜色 */
    text-decoration: none;
    align-self: left; /* 居中对齐 "INFO>" */
    margin-top: 20px;
    transition: color 0.3s ease;
}

.top-link:hover {
    color: #555; /* 悬停颜色 */
}

/* 卡片上方的标题 */
.discovery1-cards-title {
    font-size: 2.5em;
    text-align: left !important; /* 标题靠左显示 */
    margin-bottom: 5px;
    max-width: 1280px;
    margin-left: 0;
    margin-right: auto;
    padding: 0 15px;
    color: black;
}





/* --- Group Section CSS --- */
.group-section {
    padding-top: 10px;
    background-color: black; /* A light green background for the group section */
}

.group-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ; /* 每行两列 */
    gap: 20px; /* Card spacing */
    max-width: 1920px; /* Wider max width for more columns */
    margin: 0 auto;
    padding: 0 15px;
}

.group-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.group-card:hover {
    transform: scale(1.03); /* Slightly grow on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.group-card img {
    width: 100%;
    height: 800px; /* 固定图片高度，可以根据需要调整 */
    aspect-ratio: 9 / 16;
    /* aspect-ratio: 9 / 16; */
    object-fit: cover; /* 确保图片覆盖整个区域，可能裁剪 */
    display: block;
    transition: transform 0.3s ease-in-out; /* 鼠标悬浮时的动画效果 */
}

.group-card:hover img {
    transform: scale(1.05);
}

.group-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.15));
    color: #fff;
    padding: 25px;
    box-sizing: border-box;
    opacity: 1;
    transition: background 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 120px;
}

.group-card-title {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.1em; /* Smaller font for more members */
    font-weight: 600;
    
}


.group-card-description {
    margin-bottom: 0;
    font-size: 0.8em; /* Smaller font */
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    text-align: center !important; /* 标题靠左显示 */
    margin-left: 0;
}

/* --- Features Section CSS --- */
.features-section {
    background-color: #f0f0f0; /* Features 部分特有的背景色 */
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(var(--features-cols, 3), 1fr); /* 默认3列 */
    gap: 25px; /* 卡片间距 */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.features-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.features-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.features-card img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-in-out;
}

.features-card:hover img {
    transform: scale(1.08);
}

.features-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1));
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    opacity: 1;
    transition: background 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100px;
}

.features-card-title {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.6em;
    font-weight: 600;
}

.features-card-description {
    margin-bottom: 0;
    font-size: 0.9em;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Clothes Section CSS --- */
.clothes-section {
    padding-top: 10px;
    background-color: black; /* Clothes 部分特有的背景色 */
}

.clothes-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 默认2列 */
    gap: 30px; /* 卡片间距 */
    max-width: 1200px; /* 略窄于 features */
    margin: 0 auto;
    padding: 0 15px;
}

.clothes-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.clothes-card:hover {
    transform: translateY(-10px); /* 悬浮效果略明显 */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.clothes-card img {
    width: 100%;
    max-height: 500px; /* 可选 */
    aspect-ratio: 9 / 16; /* 竖图比例 */
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-in-out;
}

.clothes-card:hover img {
    transform: scale(1.09); /* 放大效果略明显 */
}

.clothes-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.15));
    color: #fff;
    padding: 25px;
    box-sizing: border-box;
    opacity: 1;
    transition: background 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 120px;
}

.clothes-card-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8em;
    font-weight: 700;
}

.clothes-card-description {
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Handmade Section CSS --- */
.handmade-section {
    background-color: black; /* Handmade 部分特有的背景色 */
}

.handmade-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; /* 每行两列 */
    gap: 20px; /* Card spacing */
    max-width: 1280px; /* Wider max width for more columns */
    margin: 0 auto;
    padding: 0 15px;
}

.handmade-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.handmade-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.handmade-card img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.handmade-card:hover img {
    transform: scale(1.07);
}

.handmade-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
    color: #fff;
    padding: 18px;
    box-sizing: border-box;
    opacity: 1;
    transition: background 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 90px;
}

.handmade-card-title {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1.4em;
    font-weight: 500;
}

.handmade-card-description {
    margin-bottom: 0;
    font-size: 0.85em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
}

/* Profile Section */
.profile-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e91e63;
    transition: all 0.3s ease;
}

.profile-card:hover {
    background-color: #e91e63;
    color: white;
}

.profile-card i {
    font-size: 2.5rem;
    color: #e91e63;
    margin-bottom: 1rem;
}

.profile-card:hover i {
    color: white;
}

/* Activities Grid */
.activities-grid,
.events-grid,
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.activity-card,
.event-card,
.place-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.activity-card:hover,
.event-card:hover,
.place-card:hover {
    transform: translateY(-5px);
}

.activity-card img,
.event-card img,
.place-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-card h3,
.place-card h3 {
    padding: 1rem;
    color: #2c3e50;
}

.event-content {
    padding: 1rem;
}

.event-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.event-content p {
    color: #666;
    font-size: 0.9rem;
}

/* Contest Section */
.contest-section {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
}

.contest-section h2 {
    color: white;
}

/* Best Activities */
.best-activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #e91e63;
    color: white;
}

.activity-item i {
    font-size: 1.5rem;
    color: #e91e63;
}

.activity-item:hover i {
    color: white;
}

/* Guide Categories */
.guide-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-category {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.guide-category:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.guide-category i {
    font-size: 3rem;
    color: #e91e63;
    margin-bottom: 1rem;
}

.guide-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.guide-category p {
    color: #666;
}

/* Footer */
.footer {
    background-color: #000000;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #e91e63;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px; /* 控制不同平台组之间的间距 */
}

.social-platform-group {
  display: flex;
  flex-direction: column;
  gap: 10px; /* 控制同一平台组内不同账号之间的间距 */
}

.social-item {
  display: flex;
  align-items: center;
  gap: 8px; /* 控制图标和名称之间的间距 */
}



.social-name {
  font-weight: bold;
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}
.social-name:hover {
    color: #e91e63;
}


.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #e91e63;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Mobile Bottom Menu */
.mobile-menu-button {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e91e63, #c2185b);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.4);
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.6);
}

.mobile-menu-button .menu-icon {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2px;
}

.mobile-menu-button .menu-text {
    font-size: 0.7rem;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1002;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-header h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-nav {
    flex: 1;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
    background-color: rgba(233, 30, 99, 0.2);
    border-color: #e91e63;
    transform: translateX(10px);
}

.mobile-nav-link i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.mobile-menu-footer {
    margin-top: 2rem;
}

.btn-block {
    width: 100%;
    margin-bottom: 1.5rem;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background-color: #e91e63;
    transform: translateY(-3px);
}

.theme-hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin: 1.5rem auto;
    width: 90%;
  }

  .chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    text-decoration: none;
  }
  .chat-button:hover {
    background-color: #0056b3;
  }
/* Tablet Styles */



@media (max-width: 768px) {
    .discovery1-top-area {
        flex-direction: column; /* 垂直堆叠 */
        padding: 0 15px;
    }

    .top-image-container, .top-content-container {
        flex-basis: 100%; /* 各自占据整行 */
        max-width: 100%;
        margin-bottom: 20px;
    }

    .top-content-container {
        text-align: center; /* 居中对齐内容 */
    }
    
    .top-subtitle {
        font-size: 1.5em; /* 减小字体大小 */
    }

    .top-link {
        font-size: 2em; /* 减小链接字体大小 */
        align-self: center; /* 居中对齐链接 */
    }
    .chat-button {
        bottom: 20px; /* 避免被底部菜单遮挡 */
        right: 15px;
      }
    .theme-hr {
        width: 80%;
        margin: 3rem auto;
    }
    .cosplay-top-area {
    flex-direction: column;
    padding: 0 15px;
    margin-top: 100px;
}

.cosplay-left,
.cosplay-right {
    flex-basis: 100%;
    max-width: 100%;
    height: 600px; /* Enforce a consistent height */
    text-align: center;
    margin-bottom: 20px;
    overflow: hidden; /* Hide overflow from the image */
}

.cosplay-left img,
.cosplay-right img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop and fill the container */
}

.cosplay-title,
.cosplay-subtitle {
    text-align: center;
    font-size: 1.5rem;
}
    /* youtube */
    .youtube-cards-grid {
        grid-template-columns: 1fr; /* 小屏幕上改为单列 */
        gap: 20px; /* 移动端卡片间距 */
    }

    .youtube-videos-section h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .youtube-video-card img {
        height: 220px; /* 移动端图片高度 */
    }

    .youtube-video-card .card-overlay {
        padding: 20px;
        min-height: 100px;
    }

    .youtube-video-card .card-title {
        font-size: 1.5em;
    }

    .youtube-video-card .card-description {
        font-size: 0.9em;
    }
    /* image */
    
    .image-cards-grid {
        grid-template-columns: 1fr 1fr; /* 小屏幕上改为单列 */
    }
    /* Group Section on Mobiles */
    .group-cards-grid {
        grid-template-columns: 1fr 1fr; /* Force 1 column on mobiles */
        gap: 20px;
        padding: 0 20px;
    }
    .clothes-cards-grid,
    .handmade-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 0 20px; /* 左右内边距 */
    }

    /* 强制所有图片高度在移动端统一 */
    .group-card img,
    /* .clothes-card img, */
    .handmade-card img {
        height: 200px !important; /* 使用 !important 强制覆盖内联样式 */
    }

    /* 所有卡片 overlay 统一调整 */
    .group-card-overlay,
    .clothes-card-overlay,
    .handmade-card-overlay {
        padding: 15px;
        min-height: 80px;
    }

    /* 所有卡片标题统一调整 */
    .group-card-title,
    .clothes-card-title,
    .handmade-card-title {
        font-size: 1.2em;
        margin-bottom: 5px;
    }

    /* 所有卡片描述统一调整 */
    .group-card-description,
    .clothes-card-description,
    .handmade-card-description {
        font-size: 0.8em;
    }
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .navbar-toggle {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-cards {
        grid-template-columns: 1fr;
    }
    
    .activities-grid,
    .events-grid,
    .places-grid {
        grid-template-columns: 1fr;
    }
    
    .best-activities {
        grid-template-columns: 1fr;
    }
    
    .guide-categories {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand .logo {
        height: 30px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .profile-card,
    .guide-category {
        padding: 1.5rem;
    }
    
    .content-sections {
        padding: 40px 0;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .contest-section {
        padding: 2rem 1rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-links {
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-card,
    .profile-card,
    .guide-category {
        padding: 1rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

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

.feature-card,
.activity-card,
.event-card,
.place-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.footer-link:focus,
.social-link:focus {
    outline: 2px solid #e91e63;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
}

