@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: #0a0a1a;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* 炫酷字体样式 */
.font-gradient {
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.font-colorful {
    animation: colorfulText 3s infinite;
}

@keyframes colorfulText {
    0% { color: #ff6b6b; }
    25% { color: #feca57; }
    50% { color: #48dbfb; }
    75% { color: #ff9ff3; }
    100% { color: #ff6b6b; }
}

.font-rainbow {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: rainbowText 3s linear infinite;
}

@keyframes rainbowText {
    to { background-position: 200% center; }
}

.font-love {
    color: #ff6b9d;
    text-shadow: 0 0 10px #ff6b9d, 0 0 20px #ff6b9d, 0 0 30px #ff6b9d;
    animation: lovePulse 2s ease-in-out infinite;
}

@keyframes lovePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.font-fruit {
    background: linear-gradient(135deg, #ff6b6b, #ff9f43, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(255, 107, 107, 0.3);
}

.font-cool {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(168, 237, 234, 0.5);
}

/* 导航栏 */
.navbar {
    background: rgba(10, 10, 26, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.navbar-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
    animation: rotateLogo 10s linear infinite;
}

@keyframes rotateLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.navbar-logo span {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff !important;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar-menu li a {
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.navbar-menu li a:hover {
    background: linear-gradient(135deg, #ff6b6b, #feca57) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.navbar-auth {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    color: #ffffff !important;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: #ffffff !important;
}

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

.btn-secondary {
    background: white;
    color: #ff6b6b !important;
    border: 2px solid #ff6b6b;
}

.btn-secondary:hover {
    background: #ff6b6b;
    color: white;
}

/* Hero区域 */
.hero {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* 卡片样式 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.card {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    color: rgba(255,255,255,0.9) !important;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.card-image {
    height: 250px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: cardShine 3s infinite;
}

@keyframes cardShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9) !important;
}

.card-description {
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-price {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b6b !important;
}

.card-price span {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.card-tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.card-tag.hot {
    background: linear-gradient(135deg, #ff6b6b, #ff9f43);
    color: white;
}

.card-tag.new {
    background: linear-gradient(135deg, #48dbfb, #6c5ce7);
    color: white;
}

/* 商品详情 */
.product-detail {
    padding: 60px 0;
}

.product-detail .container {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.product-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-images {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: #ff6b6b;
    transform: scale(1.05);
}

.product-main-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9) !important;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.product-description {
    color: rgba(255,255,255,0.7) !important;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-stock {
    margin-bottom: 30px;
}

.product-stock span {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}

.product-stock.in-stock span {
    background: #d4edda;
    color: #155724;
}

.product-stock.out-of-stock span {
    background: #f8d7da;
    color: #721c24;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.product-actions input {
    width: 80px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
}

.product-actions input:focus {
    outline: none;
    border-color: #ff6b6b;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

/* 文章列表 */
.article-list {
    padding: 40px 0;
}

.article-item {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    color: rgba(255,255,255,0.9) !important;
}

.article-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.article-image {
    width: 200px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.article-content {
    flex: 1;
}

.article-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9) !important;
}

.article-meta {
    display: flex;
    gap: 15px;
    color: rgba(255,255,255,0.5) !important;
    font-size: 14px;
    margin-bottom: 15px;
}

.article-excerpt {
    color: rgba(255,255,255,0.7) !important;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 文章详情 */
.article-detail {
    padding: 60px 0;
}

.article-detail .container {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.article-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-detail-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.article-detail-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: rgba(255,255,255,0.5) !important;
    margin-bottom: 30px;
}

.article-detail-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

.article-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-detail-content {
    font-size: 18px;
    line-height: 2;
    color: rgba(255,255,255,0.9) !important;
}

.article-detail-content p {
    margin-bottom: 20px;
}

.article-detail-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

/* 表单样式 */
.form-container {
    max-width: 500px;
    margin: 60px auto;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #ffffff !important;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(255,255,255,0.8) !important;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.15) !important;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05) !important;
    color: rgba(255,255,255,0.9) !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

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

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
}

.form-links {
    text-align: center;
    margin-top: 20px;
}

.form-links a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.form-links a:hover {
    text-decoration: underline;
}

/* 留言板 */
.message-board {
    padding: 40px 0;
}

.message-form {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-item {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.message-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.message-author {
    font-weight: 600;
    color: rgba(255,255,255,0.9) !important;
}

.message-time {
    color: rgba(255,255,255,0.5) !important;
    font-size: 14px;
}

.message-content {
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.6;
    margin-bottom: 15px;
}

.message-images {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.message-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.message-images img:hover {
    transform: scale(1.1);
}

.message-video {
    max-width: 400px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.message-emoji {
    font-size: 24px;
}

.message-reply {
    background: rgba(255,255,255,0.05) !important;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.message-reply-content {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px;
}

.message-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.message-actions button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5) !important;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
}

.message-actions button:hover {
    color: #ff6b6b;
}

/* 联系方式 */
.contacts {
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.9) !important;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.contact-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9) !important;
}

.contact-info {
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-info a {
    color: #ff6b6b;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-description {
    color: rgba(255,255,255,0.5) !important;
    font-size: 14px;
    margin-top: 15px;
}

/* 采摘详情 */
.picking-detail {
    padding: 60px 0;
}

.picking-detail .container {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.picking-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.picking-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.picking-gallery img:hover {
    transform: scale(1.05);
}

.picking-video {
    width: 100%;
    max-height: 500px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.picking-info {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.picking-info-item {
    background: rgba(255,255,255,0.05) !important;
    padding: 20px 30px;
    border-radius: 15px;
    flex: 1;
    min-width: 200px;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.picking-info-label {
    color: rgba(255,255,255,0.5) !important;
    font-size: 14px;
    margin-bottom: 8px;
}

.picking-info-value {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255,255,255,0.9) !important;
}

/* 后台管理 */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: rgba(15, 15, 35, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
}

.admin-sidebar-logo {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    margin-bottom: 20px;
}

.admin-sidebar-logo h2 {
    color: #ffffff !important;
    font-size: 24px !important;
}

.admin-sidebar-menu {
    list-style: none;
}

.admin-sidebar-menu li {
    margin-bottom: 10px;
}

.admin-sidebar-menu li a {
    display: block;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 16px !important;
    transition: all 0.3s ease;
}

.admin-sidebar-menu li a i {
    font-size: 20px !important;
}

.admin-sidebar-menu li a:hover,
.admin-sidebar-menu li a.active {
    background: rgba(255,107,107,0.25) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.4);
}

.admin-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: rgba(10, 10, 26, 0.6) !important;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    color: #ffffff !important;
    font-size: 28px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.8) !important;
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.admin-card {
    background: rgba(20, 20, 45, 0.85) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.admin-card-title {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255,255,255,0.9) !important;
}

.table {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff !important;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.table th {
    background: rgba(255,255,255,0.08) !important;
    font-weight: 700;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}

.table td {
    color: #ffffff !important;
}

.table tr:hover {
    background: rgba(255,255,255,0.03) !important;
}

.table-actions {
    display: flex;
    gap: 10px;
}

.table-actions a,
.table-actions button {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-actions .edit {
    color: #48dbfb !important;
    background: rgba(72, 219, 251, 0.1) !important;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.table-actions .delete {
    color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1) !important;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.table-actions a:hover,
.table-actions button:hover {
    transform: translateY(-2px);
}

/* 数据统计 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff !important;
}

.stat-value.red { color: #ff6b6b !important; }
.stat-value.blue { color: #48dbfb !important; }
.stat-value.green { color: #1dd1a1 !important; }
.stat-value.yellow { color: #ffd32a !important; }

.stat-label {
    color: #ffffff !important;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination span.active {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;
}

/* 页脚 */
.footer {
    background: rgba(0,0,0,0.5) !important;
    color: rgba(255,255,255,0.6) !important;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.6) !important;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b6b;
}

.footer-copyright {
    color: rgba(255,255,255,0.4) !important;
    font-size: 14px;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(20, 20, 40, 0.95) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    color: rgba(255,255,255,0.9) !important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff !important;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: rgba(255,255,255,0.5) !important;
}

.modal-close:hover {
    color: #ffffff !important;
}

/* 图片视频边框样式 */
.border-gradient {
    border: 3px solid transparent;
    border-image: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb) 1;
}

.border-colorful {
    border: 3px solid;
    border-color: #ff6b6b #feca57 #48dbfb #ff9ff3;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { border-color: #ff6b6b #feca57 #48dbfb #ff9ff3; }
    25% { border-color: #feca57 #48dbfb #ff9ff3 #ff6b6b; }
    50% { border-color: #48dbfb #ff9ff3 #ff6b6b #feca57; }
    75% { border-color: #ff9ff3 #ff6b6b #feca57 #48dbfb; }
    100% { border-color: #ff6b6b #feca57 #48dbfb #ff9ff3; }
}

.border-rainbow {
    border: 3px solid;
    border-image: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3) 1;
    animation: borderShimmer 2s linear infinite;
}

@keyframes borderShimmer {
    to { border-image-position: 200% center; }
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.navbar-welcome {
    color: #ffffff !important;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .navbar-logo {
        margin-bottom: 0;
    }
    
    .navbar-logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-right: 8px;
    }
    
    .navbar-logo span {
        font-size: 18px;
    }
    
    .navbar-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .navbar-menu li a {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .navbar-auth {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar-auth .btn {
        padding: 6px 14px;
        font-size: 13px;
    }
    
    .navbar-welcome {
        font-size: 13px;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .product-header {
        grid-template-columns: 1fr;
    }
    
    .product-images {
        grid-template-columns: 1fr;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .article-header {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
    
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .navbar-logo span {
        font-size: 16px;
    }
    
    .navbar-logo-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-right: 6px;
    }
    
    .navbar-menu {
        gap: 5px;
    }
    
    .navbar-menu li a {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .navbar-auth {
        gap: 6px;
    }
    
    .navbar-auth .btn {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .navbar-welcome {
        display: none;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 深色主题全局表单样式修复 ========== */
/* 确保所有input/textarea/select在深色主题下可读 */
input, textarea, select {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
}
input::placeholder, textarea::placeholder {
    color: rgba(255,255,255,0.4) !important;
}
input:focus, textarea:focus, select:focus {
    outline: none !important;
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15) !important;
}

/* form-group label 确保可见 */
.form-group label {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600 !important;
}

/* modal内容深色主题 */
.modal-content {
    background: rgba(20, 20, 40, 0.98) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 16px !important;
}
.modal-content h1,
.modal-content h2,
.modal-content h3,
.modal-content h4,
.modal-content p,
.modal-content span,
.modal-content div,
.modal-content li {
    color: #ffffff !important;
}
.modal-content input,
.modal-content textarea,
.modal-content select {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}
.modal-content label {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* 确认删除对话框深色主题 */
.modal.active > div[style] {
    background: rgba(20, 20, 40, 0.98) !important;
    color: #ffffff !important;
}

/* select option深色主题 */
select option {
    background: #1a1a2e !important;
    color: #ffffff !important;
}
select optgroup {
    background: #1a1a2e !important;
    color: #ffffff !important;
}

/* file input修复 */
input[type="file"] {
    color: rgba(255,255,255,0.7) !important;
}
input[type="file"]::after {
    color: rgba(255,255,255,0.7) !important;
}
input[type="file"]::-webkit-file-upload-button {
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    cursor: pointer !important;
}
input[type="file"]::-webkit-file-upload-button:hover {
    background: rgba(255,255,255,0.25) !important;
}

/* checkbox修复 */
input[type="checkbox"] {
    width: auto !important;
    accent-color: #ff6b6b !important;
}

/* radio修复 */
input[type="radio"] {
    width: auto !important;
    accent-color: #ff6b6b !important;
}

/* number input spinner颜色修复 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* site_settings内联白色样式覆盖 */
.admin-card form div[style*="background:white"],
.admin-card form div[style*="background: white"],
.admin-card form div[style*="background:#fff"],
.admin-card form div[style*="background: #fff"] {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.1) !important;
}
.admin-card form div[style*="color:#333"],
.admin-card form div[style*="color: #333"],
.admin-card form div[style*="color:#000"],
.admin-card form div[style*="color: #000"],
.admin-card form div[style*="color:#333333"] {
    color: rgba(255,255,255,0.9) !important;
}

/* sidebar用户信息深色修复 */
.admin-sidebar div[style*="color:#333"] {
    color: rgba(255,255,255,0.9) !important;
}

/* 空数据提示 */
.empty-tip {
    text-align: center;
    color: rgba(255,255,255,0.4);
    padding: 40px;
    font-size: 16px;
}

/* ========== Kangle主机兼容性修复 ========== */
/* 确保图片加载失败时有优雅降级 */
img {
    background: rgba(255,255,255,0.05);
}

/* admin-card 确保深色背景（底部补充规则） */
.admin-card {
    background: rgba(20, 20, 45, 0.85) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
}

/* admin-header h1 确保白色 */
.admin-header h1 {
    color: #ffffff !important;
}

/* 所有p标签在admin内确保可见 */
.admin-content p,
.admin-content span,
.admin-content div {
    color: rgba(255,255,255,0.85);
}

/* 确保链接在深色背景可见 */
.admin-content a {
    color: #48dbfb !important;
}

/* stat-card增强hover效果 */
.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

/* === 深色主题对比度修复 === */
/* 管理后台表格文字必须清晰可见 */
.table th,
.table td {
    color: #ffffff !important;
    font-weight: 500 !important;
}
.table th {
    background: rgba(255,255,255,0.08) !important;
    font-weight: 700 !important;
    border-bottom: 2px solid rgba(255,107,107,0.3) !important;
}
.table td {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

/* 管理后台卡片不透明度 */
.admin-card {
    background: rgba(20,20,45,0.85) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* 统计卡片数字和标签 */
.stat-value {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.stat-value.red { color: #ff6b6b !important; }
.stat-value.blue { color: #48dbfb !important; }
.stat-value.green { color: #1dd1a1 !important; }
.stat-value.yellow { color: #feca57 !important; }
.stat-label {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500 !important;
}

/* 侧边栏活跃菜单项 */
.admin-sidebar-menu li a.active {
    background: rgba(255,107,107,0.25) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(255,107,107,0.5);
}

/* 所有模态框文字可见 */
.modal-content {
    background: rgba(15,15,35,0.95) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
}
.modal-content h1, .modal-content h2, .modal-content h3, .modal-content h4,
.modal-content p, .modal-content span, .modal-content div, .modal-content li {
    color: #ffffff !important;
}

/* 表单元素文字可见 */
.form-group label {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 600 !important;
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="file"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
}

/* 表格操作按钮 */
.table-actions .edit,
.table-actions .delete {
    color: #ffffff !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    border: none !important;
}
.table-actions .edit {
    background: rgba(72,219,251,0.2) !important;
    color: #48dbfb !important;
}
.table-actions .delete {
    background: rgba(255,107,107,0.2) !important;
    color: #ff6b6b !important;
}

/* 管理后台标题 */
.admin-header h1 {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* 管理员头像 */
.admin-user-avatar {
    background: linear-gradient(135deg, #ff6b6b, #feca57) !important;
    color: #ffffff !important;
}

/* 图片占位符在深色背景下可见 */
.table td div[style*="background:#f0f0f0"],
.table td div[style*="background: #f0f0f0"] {
    background: rgba(255,255,255,0.1) !important;
}
.table td div[style*="#f0f0f0"] i {
    color: rgba(255,255,255,0.3) !important;
}

/* === 白色按钮文字可见性修复 === */
.btn-secondary {
    color: #ff6b6b !important;
    background: rgba(255,255,255,0.9) !important;
    border: 2px solid #ff6b6b !important;
}
.btn-secondary:hover {
    background: #ff6b6b !important;
    color: #ffffff !important;
}

/* === 移动端后台完整适配 === */
@media screen and (max-width: 768px) {
    /* 整体布局改为纵向排列 */
    .admin-layout {
        flex-direction: column !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    /* 侧边栏改为顶部横向菜单 */
    .admin-sidebar {
        width: 100% !important;
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding: 10px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    }
    .admin-sidebar-logo {
        padding: 8px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        margin-bottom: 8px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .admin-sidebar-logo h2 {
        font-size: 16px !important;
        margin: 0 !important;
    }
    .admin-sidebar-logo p {
        font-size: 11px !important;
        margin: 0 !important;
    }

    /* 菜单变为可横向滚动的标签 */
    .admin-sidebar-menu {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
        gap: 4px !important;
        scrollbar-width: thin !important;
    }
    .admin-sidebar-menu::-webkit-scrollbar {
        height: 3px !important;
    }
    .admin-sidebar-menu::-webkit-scrollbar-thumb {
        background: rgba(255,107,107,0.4) !important;
        border-radius: 3px !important;
    }
    .admin-sidebar-menu li {
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    .admin-sidebar-menu li a {
        display: inline-block !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }
    .admin-sidebar-menu li a i {
        margin-right: 3px !important;
    }
    .admin-sidebar-menu li a.active {
        background: linear-gradient(135deg, #ff6b6b, #feca57) !important;
        color: #fff !important;
    }

    /* 侧边栏底部用户信息紧凑显示 */
    .admin-sidebar > div:last-child {
        margin-top: 8px !important;
        padding-top: 8px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .admin-sidebar > div:last-child > div:first-child {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 4px !important;
    }
    .admin-sidebar > div:last-child > div:first-child > div:last-child > div:first-child {
        font-size: 13px !important;
    }
    .admin-sidebar > div:last-child > div:first-child > div:last-child > div:last-child {
        font-size: 10px !important;
    }
    .admin-sidebar > div:last-child > a {
        display: inline-block !important;
        padding: 4px 8px !important;
        font-size: 12px !important;
    }

    /* 内容区域 */
    .admin-content {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 12px !important;
        overflow-x: hidden !important;
    }

    /* 统计卡片 2列 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 15px !important;
    }
    .stat-card {
        padding: 12px 8px !important;
    }
    .stat-value {
        font-size: 20px !important;
    }
    .stat-label {
        font-size: 11px !important;
    }

    /* 头部 */
    .admin-header {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
        margin-bottom: 15px !important;
    }
    .admin-header h1 {
        font-size: 18px !important;
    }
    .admin-header > div {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* 卡片 */
    .admin-card {
        padding: 12px !important;
        margin-bottom: 15px !important;
        overflow-x: hidden !important;
    }
    .admin-card-header {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    .admin-card-title {
        font-size: 16px !important;
    }

    /* 表格容器可横向滚动 */
    .admin-card > .table,
    .admin-card > div > .table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        white-space: nowrap !important;
    }
    .table {
        min-width: 500px !important;
        font-size: 12px !important;
    }
    .table th, .table td {
        padding: 6px 8px !important;
        white-space: nowrap !important;
    }

    /* 表单和输入框 */
    .form-group input, .form-group textarea, .form-group select {
        font-size: 16px !important;
    }

    /* 按钮 */
    .btn {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }

    /* 模态框 */
    .modal-content {
        width: 95% !important;
        margin: 10px auto !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        padding: 20px !important;
    }
    .modal-title {
        font-size: 18px !important;
    }

    /* 用户分配区域的grid改为单列 */
    .admin-card form > div > div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }

    /* 快捷入口按钮换行 */
    .admin-card > div[style*="display:flex"] {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* 表格操作按钮 */
    .table-actions {
        flex-direction: column !important;
        gap: 4px !important;
    }
    .table-actions .edit, .table-actions .delete {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }
}

/* 超小屏幕优化 */
@media screen and (max-width: 480px) {
    .admin-sidebar-menu li a {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }
    .admin-sidebar-menu li a i {
        font-size: 11px !important;
    }
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    .stat-value {
        font-size: 18px !important;
    }
    .admin-content {
        padding: 8px !important;
    }
    .admin-card {
        padding: 10px !important;
    }
    .modal-content {
        padding: 15px !important;
    }
    .admin-header h1 {
        font-size: 16px !important;
    }
    .btn {
        padding: 5px 12px !important;
        font-size: 11px !important;
    }
}
.btn-ghost {
    color: #ff6b6b !important;
    background: transparent !important;
    border: 2px solid #ff6b6b !important;
}

/* ========== 物流查询输入框样式（白色卡片场景） ========== */
/* 当物流查询卡片背景为白色时，输入框需要明显区分 */
.logistics input[type="text"],
.logistics input[type="number"],
.logistics input[type="tel"] {
    background: #f5f5f5 !important;
    border: 2px solid #ddd !important;
    color: #333 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
}
.logistics input[type="text"]::placeholder,
.logistics input[type="number"]::placeholder,
.logistics input[type="tel"]::placeholder {
    color: #999 !important;
}
.logistics input[type="text"]:focus,
.logistics input[type="number"]:focus,
.logistics input[type="tel"]:focus {
    outline: none !important;
    border-color: #ff6b6b !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15) !important;
}

/* === 移动端表格响应式修复 === */
@media screen and (max-width: 768px) {
    .admin-card {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .table {
        min-width: 600px !important;
        width: 100% !important;
        table-layout: auto !important;
    }
    .table th, .table td {
        white-space: nowrap !important;
        padding: 8px 12px !important;
    }
    .table td:nth-child(3) {
        max-width: 150px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

