* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

::-webkit-scrollbar-thumb:active {
  background: rgba(255, 255, 255, 0.35);
}

body {
    font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
    color: #e0e0e0;
    background-color: #0a0a0a;
    padding-top: 64px; 
    font-family: Arial, sans-serif;
}

a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ffffff;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: rgba(17, 17, 17, 0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 1000;
    backdrop-filter: blur(6px); 
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.status-wrapper {
    position: relative;
}

.status-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    border: 1px solid #888888;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.3);
    }
    50% {
        box-shadow: 0 0 8px 4px rgba(255,255,255,0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.3);
    }
}


.status-green { background-color: #2ecc71; opacity: 0.9; }
.status-orange { background-color: #f39c12; opacity: 0.8; }
.status-red { background-color: #e74c3c; opacity: 0.8; }

.status-popup {
    position: absolute;
    top: 22px;
    left: 0;
    width: 320px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: 0.15s ease;
    z-index: 1001;
}

.status-wrapper:hover .status-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.status-popup h4 {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    font-size: 13px;
    color: #d0d0d0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.green { background: #2ecc71; opacity: 0.9; }
.dot.orange { background: #f39c12; opacity: 0.8; }
.dot.red { background: #e74c3c; opacity: 0.8; }

.user-ip {
    margin-top: 6px;
    font-size: 12px;
    color: #aaaaaa;
}

.status-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #888888;
    margin-top: 6px;
}

.status-popup hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 8px 0;
}

.status-links {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.status-links a {
    font-size: 12px;
    color: #d0d0d0;
}

.status-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17,17,17,0.9);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 24px;
    display: flex;
    justify-content: center;
    z-index: 2000; /* <--- ставим выше всех блоков страницы */
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
}

.footer-brand {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-link {
    font-size: 13px;
    color: #d0d0d0;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
    color: #ffffff;
}

@media (max-width: 480px) {
    .footer-inner {
        flex-direction: column;
        gap: 6px;
    }
}


#cookieConsentOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.cookie-content {
  background: #ffffff;
  padding: 48px 56px;
  border-radius: 2px;
  max-width: 540px;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-content h3 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 500;
  color: #000000;
  letter-spacing: -0.3px;
}

.cookie-content p {
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4a4a;
  font-weight: 400;
}

.cookie-content p.warning {
  color: #1a1a1a;
  background: #f5f5f5;
  padding: 16px 20px;
  border-radius: 1px;
  border-left: 2px solid #000000;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.6;
}

.cookie-content form {
  margin-top: 32px;
}

.cookie-content label {
  display: flex;
  align-items: center;
  margin: 16px 0;
  font-size: 14px;
  color: #2a2a2a;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s ease;
  font-weight: 400;
}

.cookie-content label:hover {
  color: #000000;
}

.cookie-content label a {
  color: #2a2a2a;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.cookie-content label a:hover {
  color: #000000;
}

.cookie-content input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #cccccc;
  border-radius: 1px;
  margin-right: 14px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: #ffffff;
}

.cookie-content input[type="checkbox"]:hover {
  border-color: #888888;
}

.cookie-content input[type="checkbox"]:checked {
  background: #000000;
  border-color: #000000;
}

.cookie-content input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.cookie-content button {
  margin-top: 32px;
  padding: 14px 0;
  width: 100%;
  background: #000000;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cookie-content button:hover {
  background: #1a1a1a;
}

.cookie-content button:active {
  transform: scale(0.99);
}

/* ======= STATUS BUTTON (BARELY NOTICEABLE) ======= */
.status-link {
  font-size: 11px;
  color: #808080;
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 2px;
}

.status-link:hover {
  opacity: 0.8;
  color: #a0a0a0;
}

.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #4ade80;
  border-radius: 50%;
  animation: pulse-status 2s infinite;
}

.status-text {
  font-weight: 500;
  letter-spacing: 0.2px;
}

@keyframes pulse-status {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

@media (max-width: 480px) {
  .status-link {
    font-size: 10px;
    margin-left: 0;
    margin-top: 4px;
  }
  
  .status-dot {
    width: 4px;
    height: 4px;
  }
}

.cookie-content button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .cookie-content {
    margin: 20px;
    padding: 32px 28px;
    max-width: calc(100% - 40px);
  }
  
  .cookie-content h3 {
    font-size: 20px;
  }
}


.user-location {
  font-size: 12px;
  color: #888888;
  margin-top: 4px;
}

.restriction-info {
  background: rgba(231, 76, 60, 0.1);
  padding: 8px 12px;
  border-radius: 4px;
  border-left: 2px solid #e74c3c;
  font-size: 12px;
  margin: 8px 0;
}

.restriction-info strong {
  color: #e74c3c;
  font-weight: 600;
}
/* ── LAUNCH PROJECT button — финальный фикс ──
   a { color: #f0f0f0 } делает текст белым на белом фоне.
   ID-селектор (специфичность 1-0-1) перебивает всё кроме inline. */
a#modalLink {
  color: #000000 !important;
  background: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  align-self: flex-start !important;
  padding: 20px 40px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-decoration: none !important;
  margin-top: 20px !important;
  transition: background 0.3s, transform 0.3s !important;
}
a#modalLink:hover {
  background: #cccccc !important;
  color: #000000 !important;
  transform: translateY(-3px) !important;
}

