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

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: #0a0e17;
    color: #c8d6e5;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===== Animated Background ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, rgba(120, 0, 255, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 75%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(255, 0, 128, 0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: bgShift 15s ease-in-out infinite alternate;
}

@keyframes bgShift {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(1deg); }
    100% { transform: scale(1) rotate(-1deg); }
}

/* Grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== Header ===== */
header {
    background: linear-gradient(135deg, #0f1923 0%, #1a2332 50%, #0f1923 100%);
    color: #fff;
    padding: 28px 0;
    position: relative;
    overflow: hidden;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    flex: 1;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%,
        transparent 0deg,
        rgba(0, 212, 255, 0.05) 60deg,
        transparent 120deg,
        rgba(123, 47, 247, 0.05) 180deg,
        transparent 240deg,
        rgba(0, 255, 136, 0.05) 300deg,
        transparent 360deg);
    animation: headerRotate 20s linear infinite;
}

@keyframes headerRotate {
    to { transform: rotate(360deg); }
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        #00d4ff,
        #7b2ff7,
        #ff0080,
        #00ff88,
        #00d4ff,
        transparent);
    background-size: 200% 100%;
    animation: borderFlow 4s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

header h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7, #ff0080, #00ff88, #00d4ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s linear infinite;
    position: relative;
    z-index: 1;
}

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

header .subtitle {
    font-size: 13px;
    color: #5a7a9a;
    margin-top: 8px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.header-notice {
    font-size: 12px;
    color: #ff0080;
    margin-top: 6px;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    animation: noticePulse 2s ease-in-out infinite;
}

@keyframes noticePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.header-philosophy {
    font-size: 12px;
    color: #00ff88;
    margin-top: 4px;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.btn-order-query {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(0, 212, 255, 0.12));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 25px;
    color: #00ff88;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-order-query:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 212, 255, 0.2));
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    transform: translateY(-1px);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(123, 47, 247, 0.12));
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 25px;
    color: #00d4ff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(123, 47, 247, 0.22));
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.12), 0 0 35px rgba(0, 212, 255, 0.04);
    transform: translateY(-2px);
    color: #00e5ff;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(123, 47, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 255, 136, 0.06) 0%, transparent 50%);
    animation: heroBgPulse 8s ease-in-out infinite alternate;
}

@keyframes heroBgPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    animation: heroParticleFloat linear infinite;
}

.hero-particle:nth-child(odd) {
    background: rgba(123, 47, 247, 0.4);
}

.hero-particle:nth-child(3n) {
    background: rgba(0, 255, 136, 0.3);
}

@keyframes heroParticleFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-200px) translateX(50px) scale(0.5); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 10px 32px;
    background: linear-gradient(135deg, #ff0080, #ff4757, #ff0080);
    background-size: 200% auto;
    animation: badgeShimmer 2s linear infinite, badgePulse 2s ease-in-out infinite;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 24px;
    box-shadow:
        0 0 20px rgba(255, 0, 128, 0.3),
        0 0 40px rgba(255, 0, 128, 0.1),
        0 0 60px rgba(255, 0, 128, 0.05);
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badgeSweep 2s ease-in-out infinite;
}

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

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

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

.hero-title {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7, #ff0080, #00ff88, #00d4ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s linear infinite;
    letter-spacing: 6px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 16px;
    color: #5a7a9a;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

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

.hero-stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 13px;
    color: #4a6a8a;
    letter-spacing: 2px;
    margin-top: 6px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 247, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    color: #00d4ff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(123, 47, 247, 0.25));
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.15), 0 0 50px rgba(0, 212, 255, 0.05);
    transform: translateY(-3px);
    color: #00e5ff;
}

.hero-cta-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.hero-cta:hover .hero-cta-arrow {
    transform: translate(3px, -3px);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ===== Main ===== */
main {
    padding: 40px 0 80px;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.category-tab {
    padding: 8px 22px;
    background: rgba(15, 25, 35, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    color: #5a7a9a;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.category-tab:hover {
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.category-tab.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 247, 0.15));
    border-color: rgba(0, 212, 255, 0.4);
    color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* ===== Product Card ===== */
.product-card {
    background: rgba(15, 25, 35, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7, #ff0080, #00ff88);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.product-card:hover {
    border-color: transparent;
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(0, 212, 255, 0.15),
        0 0 60px rgba(123, 47, 247, 0.08);
}

.product-card:hover::before {
    opacity: 0.5;
}

.product-card:hover::after {
    left: 100%;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0f1923, #1a2332, #0f1923);
    background-size: 200% 200%;
    animation: placeholderShimmer 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a5a7a;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

@keyframes placeholderShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.product-info {
    padding: 20px;
    position: relative;
}

.product-category {
    display: inline-block;
    padding: 3px 10px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: #00d4ff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.spec-item {
    padding: 6px 12px;
    background: rgba(15, 25, 35, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    color: #5a7a9a;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.spec-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.spec-item.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 247, 0.15));
    border-color: rgba(0, 212, 255, 0.4);
    color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

.spec-name {
    margin-right: 6px;
}

.spec-price {
    font-weight: 600;
    color: #00d4ff;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    color: #e8f0f8;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    position: relative;
}

.product-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.product-card:hover .product-name::after {
    width: 60px;
}

.product-description {
    font-size: 13px;
    color: #6a8a9a;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 4px;
}

.product-price {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.product-sales {
    font-size: 12px;
    color: #5a7a9a;
    letter-spacing: 0.5px;
    background: rgba(0, 212, 255, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

/* ===== Loading & Empty ===== */
.loading {
    text-align: center;
    padding: 60px;
    color: #3a5a7a;
    font-size: 14px;
    letter-spacing: 1px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 212, 255, 0.1);
    border-top-color: #00d4ff;
    border-right-color: #7b2ff7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #3a5a7a;
    font-size: 15px;
    letter-spacing: 1px;
}

.error {
    text-align: center;
    padding: 40px;
    color: #ff4757;
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #0f1923 0%, #1a2332 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: #3a5a7a;
    text-align: center;
    padding: 24px 0;
    font-size: 12px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, #7b2ff7, #ff0080, transparent);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== Admin Styles ===== */
.admin-section {
    background: rgba(15, 25, 35, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 14px;
    padding: 32px;
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.admin-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7, #ff0080);
    opacity: 0.6;
}

.admin-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #e8f0f8;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    letter-spacing: 1px;
}

/* Form */
.product-form .form-group {
    margin-bottom: 18px;
}

.product-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #7a9aba;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-form input[type="text"],
.product-form input[type="number"],
.product-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    font-size: 14px;
    color: #e8f0f8;
    transition: all 0.3s ease;
}

.product-form input[type="text"]:focus,
.product-form input[type="number"]:focus,
.product-form textarea:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.05);
}

.product-form input[type="text"]::placeholder,
.product-form input[type="number"]::placeholder,
.product-form textarea::placeholder {
    color: #3a5a7a;
}

.product-form input[type="file"] {
    font-size: 13px;
    color: #6a8a9a;
    padding: 8px 0;
}

.product-form input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 247, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.product-form input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(123, 47, 247, 0.25));
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0a0e17;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00e5ff, #00aadd);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(90, 122, 154, 0.2);
    color: #7a9aba;
    border: 1px solid rgba(90, 122, 154, 0.3);
}

.btn-secondary:hover {
    background: rgba(90, 122, 154, 0.3);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757, #cc3344);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff5a6a, #dd4455);
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.4);
    transform: translateY(-2px);
}

.btn-small {
    padding: 6px 16px;
    font-size: 12px;
}

.btn-edit {
    background: linear-gradient(135deg, #ffa502, #cc8800);
    color: #0a0e17;
    box-shadow: 0 4px 15px rgba(255, 165, 2, 0.3);
}

.btn-edit:hover {
    background: linear-gradient(135deg, #ffb522, #dd9900);
    box-shadow: 0 6px 25px rgba(255, 165, 2, 0.4);
    transform: translateY(-2px);
}

/* Admin Product List */
.admin-products-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-product-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    background: rgba(10, 14, 23, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-product-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #00d4ff, #7b2ff7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-product-item:hover {
    background: rgba(10, 14, 23, 0.6);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(4px);
}

.admin-product-item:hover::before {
    opacity: 1;
}

.admin-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.admin-product-image-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a5a7a;
    font-size: 12px;
    flex-shrink: 0;
}

.admin-product-info {
    flex: 1;
    min-width: 0;
}

.admin-product-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #e8f0f8;
    margin-bottom: 4px;
}

.admin-product-info p {
    font-size: 13px;
    color: #6a8a9a;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-product-price {
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-product-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: linear-gradient(135deg, #0f1923, #1a2332);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 14px;
    padding: 32px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.05);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7, #ff0080);
    border-radius: 14px 14px 0 0;
}

.modal-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #e8f0f8;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 24px;
    color: #5a7a9a;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

/* Order Button */
.btn-order {
    padding: 6px 16px;
    background: linear-gradient(135deg, #ff0080, #ff4757);
    border: none;
    border-radius: 15px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-order:hover {
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.3);
    transform: translateY(-1px);
}

/* Order Modal */
.order-modal-content {
    max-width: 480px;
    padding: 32px;
}

.order-modal-content h2 {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-align: center;
}

.order-product-info {
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(123, 47, 247, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 24px;
    color: #00d4ff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.order-specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.order-spec-item {
    padding: 10px 18px;
    background: rgba(15, 25, 35, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 18px;
    color: #5a7a9a;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.order-spec-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.order-spec-item.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 247, 0.15));
    border-color: rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

.order-spec-item .spec-price {
    color: #00ff88;
    font-weight: 700;
    font-size: 14px;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 25, 35, 0.5);
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 212, 255, 0.08);
    color: #00d4ff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: rgba(0, 212, 255, 0.2);
}

.qty-btn:active {
    background: rgba(0, 212, 255, 0.3);
}

#order-quantity {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid rgba(0, 212, 255, 0.1);
    border-right: 1px solid rgba(0, 212, 255, 0.1);
    background: rgba(15, 25, 35, 0.8);
    color: #e8f0f8;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

#order-quantity::-webkit-outer-spin-button,
#order-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Form improvements */
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #7a9aba;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-group label .required {
    color: #ff4757;
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 25, 35, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 10px;
    color: #e8f0f8;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
    background: rgba(15, 25, 35, 0.8);
}

.form-group input[type="text"]::placeholder,
.form-group textarea::placeholder {
    color: #3a5a7a;
}

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

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin: 20px 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.06), rgba(0, 212, 255, 0.06));
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 12px;
}

.order-total .total-label {
    font-size: 15px;
    color: #7a9aba;
    font-weight: 600;
}

.order-total #order-total-price {
    font-size: 24px;
    font-weight: 800;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-block:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}

.btn-block:active {
    transform: translateY(0);
}

/* Card Management */
.card-management-header {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 16px;
}

.card-management-header .form-group {
    flex: 1;
    min-width: 180px;
    margin-bottom: 0;
}

.card-management-header select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(15, 25, 35, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 8px;
    color: #e8f0f8;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

.card-management-header select:focus {
    border-color: rgba(0, 212, 255, 0.3);
}

.card-management-header select option {
    background: #0f1923;
    color: #e8f0f8;
}

.card-stats {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 16px;
    background: rgba(15, 25, 35, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.08);
}

.card-stats-info {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

.stat-item {
    font-weight: 600;
}

.stat-unsold { color: #00ff88; }
.stat-sold { color: #ff4757; }
.stat-total { color: #7a9aba; }

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

/* Order Filter Tabs */
.order-filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-filter-tab {
    padding: 8px 22px;
    background: rgba(15, 25, 35, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    color: #5a7a9a;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.order-filter-tab:hover {
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.order-filter-tab.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 247, 0.15));
    border-color: rgba(0, 212, 255, 0.4);
    color: #00d4ff;
}

/* Deliver Modal */
.deliver-order-info {
    padding: 12px 16px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #c8d6e5;
}

.deliver-order-info p {
    margin: 4px 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0e17;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff, #7b2ff7);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00e5ff, #8b3ff7);
}

/* ===== Cooperation Section ===== */
.cooperation-section {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
}

.cooperation-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, #7b2ff7, transparent);
}

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

.cooperation-header h2 {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.cooperation-subtitle {
    font-size: 13px;
    color: #4a6a8a;
    letter-spacing: 2px;
}

.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cooperation-card {
    background: rgba(15, 20, 25, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.06);
    border-radius: 14px;
    padding: 26px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.cooperation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00d4ff, #7b2ff7, #ff0080);
    border-radius: 0 2px 2px 0;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.cooperation-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    transition: all 0.4s ease;
    pointer-events: none;
}

.cooperation-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.08);
}

.cooperation-card:hover::before {
    opacity: 1;
    width: 5px;
}

.cooperation-card:hover::after {
    top: -30%;
    right: -30%;
}

.coop-number {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.coop-title {
    font-size: 16px;
    font-weight: 700;
    color: #e8f0f8;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.coop-description {
    font-size: 12px;
    color: #5a7a9a;
    line-height: 1.8;
}

/* ===== Floating Particles ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: float linear infinite;
}

.particle:nth-child(odd) {
    background: rgba(123, 47, 247, 0.3);
}

.particle:nth-child(3n) {
    background: rgba(0, 255, 136, 0.2);
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0 90px;
    }

    .hero-title {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 13px;
        letter-spacing: 1px;
        margin-bottom: 30px;
    }

    .hero-stats {
        gap: 30px;
        margin-bottom: 30px;
    }

    .hero-stat-number {
        font-size: 26px;
    }

    .hero-stat-label {
        font-size: 11px;
    }

    .hero-cta {
        padding: 12px 28px;
        font-size: 13px;
    }

    .hero-badge {
        font-size: 14px;
        padding: 8px 24px;
        letter-spacing: 2px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

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

    .admin-product-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-product-actions {
        align-self: flex-end;
    }

    header h1 {
        font-size: 20px;
    }

    .header-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .contact-buttons {
        justify-content: center;
    }
}
