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

:root {
  --primary: #6C63FF;
  --primary-dark: #5A52D5;
  --primary-light: #EDEDFC;
  --secondary: #2EC4B6;
  --secondary-light: #E8F9F7;
  --accent: #FF6B6B;
  --dark: #1E1E2D;
  --text: #333345;
  --text-secondary: #6B6B80;
  --gray: #9494A8;
  --gray-light: #E2E2EA;
  --gray-bg: #F4F4F8;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.2s ease;
}

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background: var(--gray-bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: var(--gray-bg);
}

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

.lang-switch {
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  padding: 3px 10px;
  letter-spacing: 0.5px;
}

.hamburger {
  display: none;
}

.admin-menu-btn {
  display: none;
}

.hero {
  padding: 80px 0 72px;
  background: linear-gradient(160deg, #0f0e1a 0%, #141325 30%, #0d0d1f 60%, #0a0a18 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(108,99,255,0.3) 0%, rgba(108,99,255,0.1) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroFloat 8s ease-in-out infinite;
  filter: blur(35px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -35%;
  left: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(46,196,182,0.25) 0%, rgba(46,196,182,0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroFloat 10s ease-in-out infinite reverse;
  filter: blur(35px);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-gradient-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(108,99,255,0.07) 30%, transparent 60%, rgba(46,196,182,0.05) 80%, transparent 100%);
  background-size: 200% 100%;
  animation: gradientSweep 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(108,99,255,0.2);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--secondary);
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-stats {
  display: inline-flex;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-item { text-align: left; }

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108,99,255,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: #27b0a3;
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-lg { padding: 12px 32px; font-size: 15px; }

.section {
  padding: 72px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.work-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  border-color: rgba(108,99,255,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.work-card-header {
  padding: 28px 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.work-card-thumb {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.work-card-info {
  flex: 1;
  min-width: 0;
}

.work-card-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 6px;
}

.work-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  display: block;
}

.work-card-title:hover {
  color: var(--primary);
}

.work-card-body {
  padding: 0 24px 20px;
  flex: 1;
}

.work-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.work-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-bg);
}

.work-version {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  font-family: 'Courier New', monospace;
}

.work-actions {
  display: flex;
  gap: 8px;
}

.work-card-image {
  height: 180px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.work-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,0.5);
}

.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 0 24px;
  margin-top: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.footer-studio-name {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
}

.footer-contact-item i {
  width: 16px;
  text-align: center;
  color: var(--primary);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-icp-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-icp {
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 6px;
  border-radius: 3px;
}

.footer-icp:hover {
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}

.footer-icp-dot {
  color: rgba(255,255,255,0.15);
  font-size: 11px;
  user-select: none;
}

.footer-legal-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-legal-link {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 500;
}

.footer-legal-link:hover {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}

.footer-copyright {
  font-size: 13px;
  color: var(--gray);
}

/* Filter */
.filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 18px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  text-decoration: none;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Search */
.search-box { position: relative; }
.search-input { padding: 10px 14px 10px 48px !important; }
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
  width: 20px;
  text-align: center;
}

/* Admin */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: var(--dark);
  color: var(--white);
  padding: 20px 16px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 36px;
  padding: 0 8px;
}

.admin-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: contain;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: rgba(255,255,255,0.5);
  border-radius: 6px;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
}

.admin-nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
}

.admin-nav-item.active {
  background: var(--primary);
  color: var(--white);
}

.admin-user-section {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  margin: 4px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.admin-theme-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-theme-toggle:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.25);
}

.admin-user-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--white);
  flex-shrink: 0;
}

.admin-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-user-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-user-role {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.admin-main {
  flex: 1;
  margin-left: 240px;
  padding: 28px 32px;
  background: var(--gray-bg);
  min-height: 100vh;
}

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

.admin-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.08);
}

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

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 36px 10px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C63FF' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  cursor: pointer;
  border-color: var(--gray-light);
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.form-select:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.06);
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
}

.form-select option {
  padding: 8px 12px;
  font-size: 14px;
  background: var(--white);
  color: var(--text);
}

.form-select option:hover {
  background: rgba(108,99,255,0.08);
}

input[type="file"].form-input {
  padding: 8px 14px;
  cursor: pointer;
  border: 2px dashed var(--gray-light);
  border-radius: 8px;
  background: var(--bg);
  transition: var(--transition);
}

input[type="file"].form-input:hover {
  border-color: var(--primary);
  background: rgba(108,99,255,0.03);
}

input[type="file"].form-input::file-selector-button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 14px;
  transition: background 0.2s;
}

input[type="file"].form-input::file-selector-button:hover {
  background: var(--primary-dark);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  padding: 24px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-light);
}

/* Table */
.table-container { overflow-x: auto; }

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
  font-size: 14px;
}

.table th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gray-bg);
}

.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(108,99,255,0.01); }

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

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background: rgba(46,196,182,0.1);
  color: #1a9e91;
}

.badge-warning {
  background: rgba(255,107,107,0.1);
  color: #d44;
}

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-bg);
  padding: 20px;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-md);
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.login-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 14px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Alert */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.alert-success {
  background: rgba(46,196,182,0.08);
  color: #1a9e91;
  border: 1px solid rgba(46,196,182,0.15);
}

.alert-error {
  background: rgba(255,107,107,0.08);
  color: #c44;
  border: 1px solid rgba(255,107,107,0.15);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  padding: 20px;
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.stat-card-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.stat-card-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 20px;
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.empty-state-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Service cards on homepage */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(108,99,255,0.2);
  box-shadow: var(--shadow);
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.work-detail-hero {
  padding: 48px 0 64px;
  background: var(--dark);
  color: var(--white);
}

.work-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 32px;
  transition: var(--transition);
}

.work-detail-back:hover {
  color: var(--white);
}

.work-detail-header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.work-detail-icon {
  width: 80px;
  height: 80px;
  background: rgba(108,99,255,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary);
  flex-shrink: 0;
}

.work-detail-meta {
  flex: 1;
  min-width: 0;
}

.work-detail-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(108,99,255,0.2);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}

.work-detail-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.work-detail-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 20px;
}

.work-detail-info-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.work-detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.work-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.work-detail-cover {
  width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}

.work-detail-cover img {
  width: 100%;
  display: block;
}

.work-detail-content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
}

.work-detail-content-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-light);
}

.work-detail-content-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.work-detail-content-header h2 i {
  color: var(--primary);
}

.work-detail-content-body {
  padding: 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.work-detail-content-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
}

.work-detail-content-body h1,
.work-detail-content-body h2,
.work-detail-content-body h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--dark);
}

.work-detail-content-body ul,
.work-detail-content-body ol {
  padding-left: 24px;
  margin: 12px 0;
}

.work-detail-content-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 20px;
  margin: 16px 0;
  background: var(--gray-bg);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
}

.work-detail-content-body pre {
  background: var(--dark);
  color: #e0e0e0;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}

.work-detail-content-body a {
  color: var(--primary);
  text-decoration: underline;
}

.work-detail-content-body hr {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 24px 0;
}

.work-detail-content-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.work-detail-content-body code {
  background: var(--gray-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Consolas', 'Monaco', monospace;
}

.work-detail-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.work-detail-content-body th,
.work-detail-content-body td {
  border: 1px solid var(--gray-light);
  padding: 10px 14px;
  text-align: left;
}

.work-detail-content-body th {
  background: var(--gray-bg);
  font-weight: 600;
  color: var(--dark);
}

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

  .header-inner { height: 56px; }

  .logo { font-size: 17px; }
  .logo-icon { width: 28px; height: 28px; }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
  }

  .hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 72px 16px 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav.open { right: 0; }

  .nav-link {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 8px;
  }

  .nav-link.lang-switch {
    margin-top: 8px;
    text-align: center;
    padding: 8px 16px;
  }

  .theme-toggle {
    margin-top: 8px;
    padding: 10px;
    font-size: 16px;
  }

  .hero { padding: 40px 0 36px; }
  .hero-title { font-size: 26px; }
  .hero-desc { font-size: 14px; margin-bottom: 24px; }
  .hero-tag { font-size: 12px; margin-bottom: 16px; }
  .hero-content { max-width: 100%; }
  .hero-stats { flex-direction: column; gap: 16px; padding-top: 24px; }
  .stat-number { font-size: 24px; }
  .stat-label { font-size: 12px; }

  .btn-lg { padding: 10px 24px; font-size: 14px; }

  .section { padding: 40px 0; }
  .section-header { margin-bottom: 24px; }
  .section-title { font-size: 20px; }
  .section-desc { font-size: 14px; }

  .works-grid { grid-template-columns: 1fr; gap: 14px; }

  .work-card-header { padding: 20px 16px 14px; gap: 12px; }
  .work-card-thumb { width: 44px; height: 44px; font-size: 18px; border-radius: 8px; }
  .work-card-title { font-size: 15px; }
  .work-card-body { padding: 0 16px 14px; }
  .work-card-desc { font-size: 13px; }
  .work-card-footer { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .work-actions { gap: 6px; }
  .btn-sm { padding: 5px 12px; font-size: 12px; }

  .service-list { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 20px 16px; }
  .service-card h3 { font-size: 14px; }
  .service-card p { font-size: 12px; }

  .footer { padding: 32px 0 20px; }
  .footer-main { grid-template-columns: 1fr; text-align: center; gap: 24px; padding-bottom: 20px; }
  .footer-brand { align-items: center; }
  .footer-contact { align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: 10px; }
  .footer-icp-group { justify-content: center; }
  .footer-legal-group { justify-content: center; }
  .footer-logo { font-size: 16px; }
  .footer-studio-name { font-size: 13px; }
  .footer-contact { font-size: 12px; }

  .filter-bar { gap: 4px; margin-bottom: 16px; }
  .filter-btn { padding: 6px 14px; font-size: 12px; }

  .search-box { width: 100%; }
  .section-header form { width: 100% !important; }

  .work-detail-hero { padding: 32px 0 40px; }
  .work-detail-header { flex-direction: column; gap: 20px; }
  .work-detail-icon { width: 56px; height: 56px; font-size: 24px; border-radius: 12px; }
  .work-detail-title { font-size: 22px; }
  .work-detail-desc { font-size: 14px; }
  .work-detail-cover { width: 100%; }
  .work-detail-info-bar { gap: 10px; margin-bottom: 20px; }
  .work-detail-tag { font-size: 12px; }
  .work-detail-actions { gap: 8px; }
  .work-detail-actions .btn-lg { padding: 8px 20px; font-size: 13px; }
  .work-detail-back { font-size: 13px; margin-bottom: 20px; }
  .work-detail-content-header { padding: 16px 20px; }
  .work-detail-content-header h2 { font-size: 16px; }
  .work-detail-content-body { padding: 20px; font-size: 14px; }

  .login-page { padding: 16px; }
  .login-card { padding: 28px 20px; }
  .login-title { font-size: 18px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 16px; }
  .stat-card-value { font-size: 22px; }
  .stat-card-label { font-size: 12px; }

  .admin-layout { flex-direction: column; }
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 260px;
    z-index: 200;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; padding: 16px; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .admin-title { font-size: 18px; }

  .admin-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    flex-shrink: 0;
  }

  .admin-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
  }

  .admin-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .admin-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }

  .admin-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .table-container { margin: 0 -16px; }
  .table th, .table td { padding: 10px 12px; font-size: 13px; }
  .table th { font-size: 11px; }

  .card { padding: 16px; }
  .card-title { font-size: 15px; margin-bottom: 14px; padding-bottom: 10px; }

  .form-group { margin-bottom: 14px; }
  .form-label { font-size: 12px; }
  .form-input, .form-textarea, .form-select { font-size: 13px; padding: 8px 12px; }

  .empty-state { padding: 32px 16px; }
  .empty-state-icon { font-size: 36px; }
  .empty-state-title { font-size: 15px; }
  .empty-state-desc { font-size: 13px; }

  .alert { padding: 10px 14px; font-size: 13px; }

  .table-actions { flex-wrap: wrap; gap: 4px; }
  .table-actions .btn-sm { padding: 4px 10px; font-size: 11px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 22px; }
  .hero-desc { font-size: 13px; }
  .hero-stats { gap: 12px; padding-top: 18px; }
  .stat-number { font-size: 20px; }

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

  .work-card-footer { flex-direction: column; align-items: flex-start; }
  .work-actions { width: 100%; justify-content: flex-start; }

  .work-detail-actions { flex-direction: column; }
  .work-detail-actions .btn { width: 100%; justify-content: center; }

  .footer-bottom { font-size: 11px; }
  .footer-legal-group { flex-direction: column; gap: 2px; }

  .btn { font-size: 13px; }
}

/* Dark Mode Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108,99,255,0.15);
}

/* Dark Mode */
[data-theme="dark"] {
  --primary-light: rgba(108,99,255,0.12);
  --secondary-light: rgba(46,196,182,0.1);
  --dark: #e8e8ef;
  --text: #e0e0ea;
  --text-secondary: #a0a0b8;
  --gray: #707088;
  --gray-light: #2a2a3d;
  --gray-bg: #13131f;
  --white: #1a1a2e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
}

[data-theme="dark"] body {
  background: #10101c;
  color: #e0e0ea;
}

[data-theme="dark"] .header {
  background: #151525;
  border-bottom-color: #22223a;
}

[data-theme="dark"] .nav-link:hover {
  background: rgba(108,99,255,0.08);
}

[data-theme="dark"] .work-card {
  background: #181830;
  border-color: #262645;
}

[data-theme="dark"] .work-card:hover {
  border-color: rgba(108,99,255,0.3);
  box-shadow: 0 4px 24px rgba(108,99,255,0.08);
}

[data-theme="dark"] .work-card-footer {
  background: #14142a;
  border-top-color: #262645;
}

[data-theme="dark"] .service-card {
  background: #181830;
  border-color: #262645;
}

[data-theme="dark"] .service-card:hover {
  border-color: rgba(108,99,255,0.3);
}

[data-theme="dark"] .service-card h3 {
  color: #e8e8ef;
}

[data-theme="dark"] .section-title {
  color: #e8e8ef;
}

[data-theme="dark"] .filter-btn {
  background: #181830;
  border-color: #262645;
  color: #a0a0b8;
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

[data-theme="dark"] .card {
  background: #181830;
  border-color: #262645;
}

[data-theme="dark"] .card-title {
  color: #e8e8ef;
  border-bottom-color: #262645;
}

[data-theme="dark"] .work-detail-content-card {
  background: #181830;
  border-color: #262645;
}

[data-theme="dark"] .work-detail-content-header {
  border-bottom-color: #262645;
}

[data-theme="dark"] .work-detail-content-header h2 {
  color: #e8e8ef;
}

[data-theme="dark"] .work-detail-content-body {
  color: #c0c0d0;
}

[data-theme="dark"] .work-detail-content-body h1,
[data-theme="dark"] .work-detail-content-body h2,
[data-theme="dark"] .work-detail-content-body h3 {
  color: #e8e8ef;
}

[data-theme="dark"] .work-detail-content-body blockquote {
  background: #14142a;
  border-left-color: var(--primary);
  color: #a0a0b8;
}

[data-theme="dark"] .work-detail-content-body code {
  background: #22223a;
  color: #c0c0d0;
}

[data-theme="dark"] .work-detail-content-body th {
  background: #14142a;
  color: #e8e8ef;
}

[data-theme="dark"] .work-detail-content-body th,
[data-theme="dark"] .work-detail-content-body td {
  border-color: #2a2a45;
}

[data-theme="dark"] .work-detail-content-body hr {
  border-top-color: #2a2a45;
}

[data-theme="dark"] .login-page {
  background: #10101c;
}

[data-theme="dark"] .login-card {
  background: #181830;
  border-color: #262645;
}

[data-theme="dark"] .login-title {
  color: #e8e8ef;
}

[data-theme="dark"] .stat-card {
  background: #181830;
  border-color: #262645;
}

[data-theme="dark"] .stat-card-value {
  color: #e8e8ef;
}

[data-theme="dark"] .stat-card-icon {
  background: rgba(108,99,255,0.12);
  color: var(--primary);
}

[data-theme="dark"] .table th {
  background: #14142a;
  color: #a0a0b8;
}

[data-theme="dark"] .table td {
  border-bottom-color: #262645;
  color: #c0c0d0;
}

[data-theme="dark"] .table tr:hover td {
  background: rgba(108,99,255,0.03);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background: #14142a;
  border-color: #2a2a45;
  color: #e0e0ea;
}

[data-theme="dark"] .form-select option {
  background: #14142a;
  color: #e0e0ea;
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-textarea:focus,
[data-theme="dark"] .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

[data-theme="dark"] .admin-title {
  color: #e8e8ef;
}

[data-theme="dark"] .badge-success {
  background: rgba(46,196,182,0.15);
  color: #3dd9c8;
}

[data-theme="dark"] .badge-warning {
  background: rgba(255,107,107,0.15);
  color: #ff8a8a;
}

[data-theme="dark"] .search-input {
  background: #14142a;
  border-color: #2a2a45;
  color: #e0e0ea;
}

[data-theme="dark"] .footer {
  background: #08081a;
}

[data-theme="dark"] .lang-switch {
  border-color: #262645;
  color: #a0a0b8;
}

[data-theme="dark"] .empty-state-desc {
  color: #707088;
}

[data-theme="dark"] input[type="file"].form-input {
  border-color: #2a2a45;
  background: #14142a;
}

[data-theme="dark"] .editor-toolbar {
  background: #14142a;
  border-color: #2a2a45;
}

[data-theme="dark"] .CodeMirror {
  background: #14142a;
  color: #e0e0ea;
  border-color: #2a2a45;
}

[data-theme="dark"] .EasyMDEContainer .editor-preview,
[data-theme="dark"] .EasyMDEContainer .editor-preview-side {
  background: #181830;
  color: #c0c0d0;
}

[data-theme="dark"] .admin-sidebar {
  background: #12122a;
}

[data-theme="dark"] .admin-nav-item:hover {
  background: rgba(108,99,255,0.1);
}

[data-theme="dark"] .admin-user-section {
  border-bottom-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .admin-main {
  background: #10101c;
}

[data-theme="dark"] .alert-success {
  background: rgba(46,196,182,0.12);
  color: #3dd9c8;
  border-color: rgba(46,196,182,0.2);
}

[data-theme="dark"] .alert-error {
  background: rgba(255,107,107,0.12);
  color: #ff8a8a;
  border-color: rgba(255,107,107,0.2);
}

[data-theme="dark"] .hero {
  background: linear-gradient(160deg, #060612 0%, #0a0a1a 30%, #07071a 60%, #050510 100%);
}

[data-theme="dark"] .hero,
[data-theme="dark"] .hero-title,
[data-theme="dark"] .stat-number,
[data-theme="dark"] .btn-ghost {
  color: #e8e8ef;
}

[data-theme="dark"] .hero-tag {
  background: rgba(108,99,255,0.25);
  color: rgba(255,255,255,0.9);
}

[data-theme="dark"] .hero-desc {
  color: rgba(255,255,255,0.55);
}

[data-theme="dark"] .stat-label {
  color: rgba(255,255,255,0.35);
}

[data-theme="dark"] .hero-stats {
  border-top-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .footer,
[data-theme="dark"] .footer-logo {
  color: #e8e8ef;
}

[data-theme="dark"] .footer-studio-name {
  color: rgba(255,255,255,0.4);
}

[data-theme="dark"] .footer-contact-item {
  color: rgba(255,255,255,0.45);
}

[data-theme="dark"] .footer-contact-item i {
  color: var(--primary);
}

[data-theme="dark"] .footer-icp {
  color: rgba(255,255,255,0.2);
}

[data-theme="dark"] .footer-icp:hover {
  color: rgba(255,255,255,0.55);
}

[data-theme="dark"] .footer-icp-dot {
  color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .footer-legal-link {
  color: rgba(255,255,255,0.3);
}

[data-theme="dark"] .footer-legal-link:hover {
  color: rgba(255,255,255,0.65);
}

[data-theme="dark"] .footer-bottom {
  color: rgba(255,255,255,0.25);
}

[data-theme="dark"] .admin-sidebar,
[data-theme="dark"] .admin-logo {
  color: #e8e8ef;
}

[data-theme="dark"] .admin-user-name {
  color: rgba(255,255,255,0.85);
}

[data-theme="dark"] .admin-user-role {
  color: rgba(255,255,255,0.35);
}

[data-theme="dark"] .admin-nav-item {
  color: rgba(255,255,255,0.5);
}

[data-theme="dark"] .admin-nav-item:hover {
  background: rgba(108,99,255,0.1);
  color: rgba(255,255,255,0.85);
}

[data-theme="dark"] .btn-primary {
  color: #fff;
}

[data-theme="dark"] .btn-primary:hover {
  color: #fff;
  box-shadow: 0 4px 12px rgba(108,99,255,0.4);
}

[data-theme="dark"] .btn-ghost {
  border-color: rgba(255,255,255,0.15);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
}

[data-theme="dark"] .work-detail-hero {
  background: #1a1a2e;
  color: #e8e8ef;
}

[data-theme="dark"] .work-detail-title {
  color: #e8e8ef;
}

[data-theme="dark"] .work-detail-desc {
  color: rgba(255,255,255,0.55);
}

[data-theme="dark"] .work-detail-category {
  background: rgba(108,99,255,0.25);
  color: rgba(255,255,255,0.9);
}

[data-theme="dark"] .work-detail-tag {
  color: rgba(255,255,255,0.45);
}

[data-theme="dark"] .work-detail-back {
  color: rgba(255,255,255,0.55);
}

[data-theme="dark"] .work-detail-back:hover {
  color: #e8e8ef;
}

[data-theme="dark"] .work-detail-content-body a {
  color: var(--primary);
}

[data-theme="dark"] .hamburger {
  border-color: #2a2a45;
}

[data-theme="dark"] .hamburger span {
  background: #a0a0b8;
}

[data-theme="dark"] .nav {
  background: #181830;
}

[data-theme="dark"] .admin-menu-btn {
  background: #181830;
  border-color: #2a2a45;
}

[data-theme="dark"] .admin-menu-btn span {
  background: #a0a0b8;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]):not([data-theme="dark"]) {
    --primary-light: rgba(108,99,255,0.12);
    --secondary-light: rgba(46,196,182,0.1);
    --dark: #e8e8ef;
    --text: #e0e0ea;
    --text-secondary: #a0a0b8;
    --gray: #707088;
    --gray-light: #2a2a3d;
    --gray-bg: #13131f;
    --white: #1a1a2e;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow: 0 2px 12px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.35);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
  }
  html:not([data-theme="light"]):not([data-theme="dark"]) body { background: #10101c; color: #e0e0ea; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .header { background: #151525; border-bottom-color: #22223a; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .hero,
  html:not([data-theme="light"]):not([data-theme="dark"]) .hero-title,
  html:not([data-theme="light"]):not([data-theme="dark"]) .stat-number { color: #e8e8ef; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .hero-desc { color: rgba(255,255,255,0.55); }
  html:not([data-theme="light"]):not([data-theme="dark"]) .stat-label { color: rgba(255,255,255,0.35); }
  html:not([data-theme="light"]):not([data-theme="dark"]) .footer,
  html:not([data-theme="light"]):not([data-theme="dark"]) .footer-logo { color: #e8e8ef; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .footer-bottom { color: rgba(255,255,255,0.25); }
  html:not([data-theme="light"]):not([data-theme="dark"]) .admin-sidebar,
  html:not([data-theme="light"]):not([data-theme="dark"]) .admin-logo { color: #e8e8ef; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .admin-main { background: #10101c; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .work-card { background: #181830; border-color: #262645; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .service-card { background: #181830; border-color: #262645; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .card { background: #181830; border-color: #262645; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .section-title { color: #e8e8ef; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .stat-card { background: #181830; border-color: #262645; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .login-page { background: #10101c; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .login-card { background: #181830; border-color: #262645; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .form-input,
  html:not([data-theme="light"]):not([data-theme="dark"]) .form-textarea,
  html:not([data-theme="light"]):not([data-theme="dark"]) .form-select { background: #14142a; border-color: #2a2a45; color: #e0e0ea; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .table th { background: #14142a; color: #a0a0b8; }
  html:not([data-theme="light"]):not([data-theme="dark"]) .table td { border-bottom-color: #262645; color: #c0c0d0; }
}
