html[data-theme="dark"] .cookie-management {
  background: rgba(79, 172, 254, 0.08);
  border-left-color: var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .cookie-management h3 {
  color: #6db9ff;
}

html[data-theme="dark"] .cookie-management p {
  color: #b3bcc7;
}

html[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

html[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

html[data-theme="dark"] body .theme-toggle {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] body .theme-toggle:hover {
  background: #ffffff;
  border-color: #f39c12;
  box-shadow: 0 6px 18px rgba(243, 156, 18, 0.5);
}

html[data-theme="dark"] body .theme-icon,
html[data-theme="dark"] body .theme-icon-sun,
html[data-theme="dark"] body .theme-icon-moon {
  filter: none;
  -webkit-text-fill-color: initial;
}

html[data-theme="dark"] {
  --primary-color: #4facfe;
  --secondary-color: #5fb8ff;
  --accent-color: #ff8e8e;
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background-color: #12161c;
  color: #d8dee6;
}

html[data-theme="dark"] .header {
  background: linear-gradient(135deg, #0d1a2e 0%, #1a3358 100%);
}

html[data-theme="dark"] .logo-container {
  background: #1e2530;
}

html[data-theme="dark"] .navbar {
  background: linear-gradient(to right, #1a2029, #232a35);
}

html[data-theme="dark"] .navbar .submenu {
  background-color: #1a2029;
}

html[data-theme="dark"] .main-content {
  background: #1a2029;
  border-color: rgba(255, 255, 255, 0.05);
  color: #d8dee6;
}

html[data-theme="dark"] .page-content p,
html[data-theme="dark"] .page-content li {
  color: #b3bcc7;
}

html[data-theme="dark"] .page-content h1,
html[data-theme="dark"] .page-content h2 {
  color: #6db9ff;
}

html[data-theme="dark"] .page-content h1::after,
html[data-theme="dark"] .page-content h2::after {
  background: linear-gradient(to right, #5fb8ff, #00f2fe);
}

html[data-theme="dark"] .page-content li::before {
  color: #5fb8ff;
}

html[data-theme="dark"] .page-content a {
  color: #6db9ff;
}

html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .news-item,
html[data-theme="dark"] .model-thumbnail {
  background: #232a35;
  color: #d8dee6;
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .feature-card h3,
html[data-theme="dark"] .news-item h3 {
  color: #6db9ff;
}

html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .news-item p {
  color: #b3bcc7;
}

html[data-theme="dark"] .news-item {
  background: #1e2530;
}

html[data-theme="dark"] .news-date {
  color: #8a96a3;
}

html[data-theme="dark"] .info,
html[data-theme="dark"] address.info {
  background: #1e2530;
  color: #b3bcc7;
}

html[data-theme="dark"] .info p,
html[data-theme="dark"] address.info p {
  color: #b3bcc7;
}

html[data-theme="dark"] .info p strong,
html[data-theme="dark"] address.info p strong {
  color: #d8dee6;
}

html[data-theme="dark"] .info a,
html[data-theme="dark"] address.info a {
  color: #6db9ff;
}

html[data-theme="dark"] .gallery-info {
  background: #1e2530;
  border-color: rgba(255, 255, 255, 0.08);
  color: #b3bcc7;
}

html[data-theme="dark"] .gallery-category-label {
  color: #6db9ff;
}

html[data-theme="dark"] .gallery-count {
  color: #8a96a3;
}

html[data-theme="dark"] .gallery-filter {
  background: #232a35;
  border-color: #3a4453;
  color: #6db9ff;
}

html[data-theme="dark"] .gallery-filter:hover {
  border-color: #6db9ff;
  background: #2a3340;
}

html[data-theme="dark"] .main-slide {
  background: #1e2530;
}

html[data-theme="dark"] .contact-map {
  filter: none;
}

html[data-theme="dark"] .jump-modal-content {
  background: #1e2530;
  color: #d8dee6;
}

html[data-theme="dark"] .jump-modal-content h3 {
  color: #6db9ff;
}

html[data-theme="dark"] .jump-modal-content p {
  color: #b3bcc7;
}

html[data-theme="dark"] #jump-input {
  background: #232a35;
  color: #d8dee6;
  border-color: #6db9ff;
}

html[data-theme="dark"] #jump-input:focus {
  background: #2a3340;
}

html[data-theme="dark"] #cookie-consent-banner {
  background: linear-gradient(135deg, #1a2029, #232a35);
}

html[data-theme="dark"] .cookie-policy-content {
  background: linear-gradient(135deg, #1a2029, #232a35);
  color: #d8dee6;
}

html[data-theme="dark"] .policy-content h3 {
  color: #6db9ff;
}

html[data-theme="dark"] .policy-content li {
  color: #b3bcc7;
}

html[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #0d1a2e, #1a3358);
}

html[data-theme="dark"] .hero-background {
  opacity: 0.85;
}

html[data-theme="dark"] .version-modal-content {
  background: #1e2530;
  color: #d8dee6;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] .version-modal-title {
  color: #6db9ff;
  border-bottom-color: #6db9ff;
}

html[data-theme="dark"] .version-modal-info {
  background: #232a35;
}

html[data-theme="dark"] .version-modal-info p,
html[data-theme="dark"] .version-modal-info p strong {
  color: #d8dee6;
}

html[data-theme="dark"] .version-modal-info #modal-version {
  color: #6db9ff;
}

html[data-theme="dark"] .version-modal-info #modal-build-date,
html[data-theme="dark"] .version-modal-info #modal-timestamp {
  color: #b3bcc7;
}

html[data-theme="dark"] .version-modal-subtitle {
  color: #6db9ff;
}

html[data-theme="dark"] .version-modal-changelog-box {
  background: #232a35;
}

html[data-theme="dark"] #modal-changelog li {
  color: #d8dee6;
  border-bottom-color: #2c3542;
}

html[data-theme="dark"] #modal-changelog li strong {
  color: #6db9ff;
}

html[data-theme="dark"] #modal-changelog li.modal-changelog-loading,
html[data-theme="dark"] #modal-changelog li.modal-changelog-empty {
  color: #b3bcc7;
}

html[data-theme="dark"] #changelog-count {
  background: #6db9ff;
  color: #12161c;
}

html[data-theme="dark"] .version-modal-tech-icons {
  background: #232a35;
}

html[data-theme="dark"] .version-modal-close-btn {
  background: linear-gradient(135deg, #4facfe, #2a5298);
}

html[data-theme="dark"] .model-preview-title {
  color: #6db9ff;
}

html[data-theme="dark"] .model-preview-hint {
  color: #b3bcc7;
}

html[data-theme="dark"] .ateco-section-title {
  color: #6db9ff;
  border-bottom-color: #2c3542;
}

html[data-theme="dark"] .ateco-card {
  background: #232a35;
  border-color: #2c3542;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .ateco-card:hover {
  border-color: #3a4453;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .ateco-card:nth-child(1)::before {
  background: linear-gradient(180deg, #d8dee6 0%, #8a96a3 100%);
}

html[data-theme="dark"] .ateco-card:nth-child(2)::before {
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
}

html[data-theme="dark"] .ateco-card:nth-child(3)::before {
  background: linear-gradient(180deg, #6db9ff 0%, #4facfe 100%);
}

html[data-theme="dark"] .ateco-badge-black {
  color: #e6edf5;
  background: #1a2029;
  border-color: #2c3542;
}

html[data-theme="dark"] .ateco-badge-green {
  color: #4ade80;
  background: #12261c;
  border-color: #1e4433;
}

html[data-theme="dark"] .ateco-badge-blue {
  color: #6db9ff;
  background: #12213a;
  border-color: #1e3a5f;
}

html[data-theme="dark"] .ateco-card-desc {
  color: #b3bcc7;
}

html[data-theme="dark"] .ateco-footer-note {
  color: #8a96a3;
  background: #1a2029;
  border-color: #2c3542;
}

html[data-theme="dark"] .ateco-footer-dot {
  background: linear-gradient(135deg, #6db9ff, #4facfe);
  box-shadow: 0 0 6px rgba(109, 185, 255, 0.6);
}

html[data-theme="dark"] .info-tooltip {
  background: linear-gradient(135deg, #ff1744 0%, #d500f9 50%, #7c00b8 100%);
  background-size: 200% 200%;
  animation: tooltipGradientShiftDark 6s ease infinite;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18) inset,
    0 0 30px rgba(255, 23, 68, 0.7),
    0 0 70px rgba(213, 0, 249, 0.5),
    0 18px 55px rgba(0, 0, 0, 0.75);
}

html[data-theme="dark"] .info-tooltip::before {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.35), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(0, 242, 254, 0.35), transparent 50%);
}

html[data-theme="dark"] .info-tooltip-title { color: #ffffff; }

html[data-theme="dark"] .info-tooltip-message { color: #ffffff; }

html[data-theme="dark"] .info-tooltip-cta {
  background: #00f2fe;
  color: #001018;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.7) inset,
    0 6px 22px rgba(0, 242, 254, 0.75);
}

html[data-theme="dark"] .info-tooltip-cta:hover {
  background: #5bf6ff;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 1) inset,
    0 10px 32px rgba(0, 242, 254, 0.95);
}

html[data-theme="dark"] .info-tooltip-close:hover {
  background: #00f2fe;
  color: #001018;
}

html[data-theme="dark"] .info-tooltip-progress-bar {
  background: linear-gradient(to right, #00f2fe, #4facfe, #00ffc8);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.9);
}

html[data-theme="dark"] .partners-note {
    background-color: #232a35;
    border-left-color: #4facfe;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .partners-note p {
    color: #b3bcc7;
}

html[data-theme="dark"] .partners-note strong {
    color: #d8dee6;
}

html[data-theme="dark"] .inline-link {
  color: #6db9ff;
}

html[data-theme="dark"] .inline-link:hover {
  color: #5fb8ff;
  text-decoration: underline;
}

html[data-theme="dark"] .partner-card {
  background: #232a35;
  border: 1px solid #2c3542;
  border-top: 4px solid #4facfe;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .partner-card:hover {
  border-color: #4facfe;
  border-top-color: #5fb8ff;
  box-shadow: 0 12px 30px rgba(79, 172, 254, 0.25);
}

html[data-theme="dark"] .partner-card h3 {
  color: #6db9ff;
}

html[data-theme="dark"] .partner-card p {
  color: #b3bcc7;
}

html[data-theme="dark"] .partner-card a:hover h3 {
  color: #6db9ff;
}
