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

:root {
  --bg: #0a0f0a;
  --bg-card: #0e140e;
  --accent: #a1ff00;
  --accent-dim: rgba(161, 255, 0, 0.25);
  --text: #edf4ed;
  --text-muted: #9aa89a;
  --border: #1e2a1e;
  --surface-color: rgba(24, 34, 24, 0.7);
  --font-heading: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #0a0f0a 0%, #0a1a0a 30%, #050805 100%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  min-height: 100vh;
}

/* ===== СТИЛИЗАЦИЯ ПОЛОСЫ ПРОКРУТКИ ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-dim);
  border-radius: 10px;
  transition: 0.2s;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) var(--bg);
}

/* Неоновая подсветка при наведении */
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 12px var(--accent-dim);
}

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

/* АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ ПРОКРУТКЕ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER */

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.logo-img {
  height: 26px;  
  width: auto;
  display: block;
}


.main-nav {
  margin-left: auto;
  margin-right: 32px;
}

.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: 0.2s;
}

.main-nav a:hover {
  color: var(--accent);
}

/* ИКОНКА ПРОФИЛЯ */
.profile-icon {
  width: 44px;
  height: 44px;
  background: rgba(161, 255, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-dim);
}

.profile-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: none;
}

.profile-icon:hover {
  background: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(161, 255, 0, 0.4);
}

.profile-icon:hover svg {
  stroke: #0a0f0a;
}

.main-nav {
  margin-left: auto;
  margin-right: 32px;
}

.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  transition: 0.2s;
}

.main-nav a:hover {
  color: var(--accent);
}

/* HERO */
.hero {
  padding: 120px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.title {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.subtitle {
  font-size: 20px;
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 500px;
}

.btn-cta {
  display: inline-block;
  background-color: var(--accent);
  color: #000;
  padding: 18px 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  border-radius: 4px;
  transition: 0.3s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-cta:hover {
  box-shadow: 0 0 30px rgba(161, 255, 0, 0.5);
  transform: translateY(-2px);
}

.mascot-wrapper {
  position: relative;
  transform: translateX(-20px); /* Сдвиг влево */
}

.click-mascot {
  width: 130%;
  margin-right: 60px;
  image-rendering: pixelated;
  transition: all 0.3s ease;
}

.speech-bubble {
  position: absolute;
  top: -40px;
  right: -20px;
  background:  rgba(24, 34, 24, 0.7);
  color: #a1ff00;
  padding: 15px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  max-width: 200px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  text-align: center;
  border: 1px solid #a1ff00;
}

.shake {
  animation: shake 0.2s ease-in-out;
}

.angry {
  
  transition: filter 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}


.click-mascot.tired {
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}


.ddos-warning {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff3b30;
  color: #fff;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  display: none;
  z-index: 20;
  white-space: nowrap;
}

.click-mascot.ddos-mode {
  filter: hue-rotate(-30deg) saturate(200%) brightness(1.1);
}

.speech-bubble.warning-style {
  background: #1a1a1a;
  color: #ff3b30;
  border: 1px solid #ff3b30;
}

.ddos-mode {
  filter: hue-rotate(-30deg) saturate(200%) brightness(1.1);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* СТАТИСТИКА */
.stats {
  padding: 80px 0;
  background: transparent;
}

.section-title {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 50px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  background: rgba(24, 34, 24, 0.5);
  border: 1px solid rgba(161, 255, 0, 0.1);
  padding: 40px 30px;
  border-radius: 2px;
  text-align: center;
  transition: 0.4s;
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-10px);
  background: rgba(161, 255, 0, 0.05);
}

.stat-number {
  font-size: 64px;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 800;
}

.stat-text {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.8;
}

.stats-footer {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.clic-comment {
  display: flex;
  align-items: center;
  background: #182218;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1px dashed var(--accent);
}

.click-mini {
  width: 50px;
  margin-right: 20px;
  image-rendering: pixelated;
}

/* КЛЕВЕР */
.clover-section {
  padding: 100px 0;
  background: transparent;
}

.clover-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clover-box {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
}

.clover-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.center-click {
  position: relative;
  top: 2px;
  left: 10px;
}

.click-hub {
  width: 350%;
  height: auto;
  margin: 0 auto;
  
}

.leaf {
  position: absolute;
  width: 110px;
  height: 110px;
  background: rgba(24, 34, 24, 0.85);
  border: 2px solid rgba(161, 255, 0, 0.3);
  border-radius: 50% 50% 50% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  backdrop-filter: blur(4px);
}

.leaf span {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  pointer-events: none;
  transition: 0.2s;
}

.leaf:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent);
  transform: scale(1.05);
}

.leaf:hover span {
  color: #000;
  transform: scale(1.1);
}

.leaf-1 { top: 30px; left: 195px; transform: rotate(-45deg); }
.leaf-2 { top: 155px; right: 50px; transform: rotate(25deg); }
.leaf-3 { bottom: 80px; right: 95px; transform: rotate(100deg); }
.leaf-4 { bottom: 80px; left: 95px; transform: rotate(180deg); }
.leaf-5 { top: 155px; left: 50px; transform: rotate(260deg); }

.leaf-1 span { transform: rotate(45deg); }
.leaf-2 span { transform: rotate(-25deg); }
.leaf-3 span { transform: rotate(-100deg); }
.leaf-4 span { transform: rotate(-180deg); }
.leaf-5 span { transform: rotate(-260deg); }

.leaf-tooltip {
  position: absolute;
  background: #1a1f1a;
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  border: 1px solid var(--accent);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 100;
  font-family: var(--font-body);
}

.leaf:hover .leaf-tooltip {
  opacity: 1;
  visibility: visible;
}

.leaf-1 .leaf-tooltip {
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}
.leaf-2 .leaf-tooltip {
  top: -20px;
  right: -120px;
}
.leaf-3 .leaf-tooltip {
  bottom: -20px;
  right: -120px;
}
.leaf-4 .leaf-tooltip {
  bottom: -20px;
  left: -120px;
}
.leaf-5 .leaf-tooltip {
  top: -20px;
  left: -120px;
}

.clover-info {
  text-align: center;
  margin-top: 60px;
  font-size: 17px;
  background: rgba(24, 34, 24, 0.7);
  backdrop-filter: blur(8px);
  padding: 20px 30px;
  border-radius: 60px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(161, 255, 0, 0.2);
  transition: 0.3s;
  line-height: 1.5;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* НАВИГАЦИЯ */
.navigation-blocks {
  padding: 80px 0 120px;
  background: transparent;
}
.nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.nav-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-color);
  border: 1px solid rgba(161, 255, 0, 0.1);
  text-decoration: none;
  color: var(--text);
  padding: 50px;
  transition: all 0.4s;
}

.nav-card:hover {
  border-color: var(--accent);
  transform: translateY(-12px);
}

.pixel-icon {
  width: 100px;  /* было 80px */
  image-rendering: pixelated;
}

.card-title {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 20px;
}

.card-desc {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 30px;
}

.card-link {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--accent);
}

/* ===== ПОСЛЕДНИЕ ПУБЛИКАЦИИ ===== */
.latest-section {
  padding: 80px 0;
  background: transparent;
  position: relative;
}

.latest-header {
  text-align: center;
  margin-bottom: 56px;
}

.latest-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}

.latest-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: var(--text);
}

.latest-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.latest-item {
  background: rgba(24, 34, 24, 0.3);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(161, 255, 0, 0.08);
  border-radius: 20px;
  padding: 28px;
  transition:  all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);;
}

.latest-item:hover {
  transform: translateY(-6px);
  border-color: rgba(161, 255, 0, 0.25);
  background: rgba(24, 34, 24, 0.5);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.4);
}

.latest-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.latest-item-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

.latest-item-date {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
}

.latest-item-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--text);
}

.latest-item-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.latest-item-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: 0.2s;
  opacity: 0.8;
  display: inline-block;
}

.latest-item-link:hover {
  opacity: 1;
  transform: translateX(4px);
}

.latest-footer {
  text-align: center;
}

.latest-all {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.latest-all:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}



/* ФУТЕР */
.main-footer {
  padding: 80px 0 40px;
  background: rgba(5, 8, 5, 0.6);
  border-top: 1px solid rgba(161, 255, 0, 0.05);
  backdrop-filter: blur(4px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 15px;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 20px;
}

.footer-copyright {
  font-size: 12px;
  opacity: 0.4;
}

.sleep-container {
  position: relative;
  width: 90px;
  margin: 0 auto 15px;
}

.click-sleep {
  width: 130%;
  image-rendering: pixelated;
  filter: brightness(0.6);
}

.sleep-zzz {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: monospace;
  color: var(--accent);
}

.sleep-zzz span {
  position: absolute;
  opacity: 0;
  animation: z-fly 4s infinite;
}

.sleep-zzz span:nth-child(2) { animation-delay: 1s; font-size: 14px; top: 5px; }
.sleep-zzz span:nth-child(3) { animation-delay: 2s; font-size: 10px; top: 10px; }

@keyframes z-fly {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(25px, -45px); opacity: 0; }
}

.status-text {
  font-size: 12px;
  color: var(--accent);
  opacity: 0.5;
  margin-left: 65px;
}

.footer-links ul {
  list-style: none;
  margin-top: 30px;
}

.footer-links li {
  margin-bottom: 10px;
  text-align: right;
 
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.6;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.neon-line-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.neon-line-wrapper .line {
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cross img {
  width: 24px;
  opacity: 0.6;
}

/* МОДАЛЬНОЕ ОКНО */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 5, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: rgba(10, 15, 10, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 32px;
  width: 100%;
  max-width: 460px;
  margin: 20px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  transition: 0.2s;
  z-index: 10;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-content {
  padding: 48px 40px;
}

.modal-logo-text {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Courier New', monospace;
  text-align: center;
  letter-spacing: -2px;
}

.modal-logo-badge {
  display: block;
  text-align: center;
  background: rgba(161, 255, 0, 0.15);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  margin: 6px auto 0;
  width: fit-content;
}

.tab-buttons {
  display: flex;
  gap: 12px;
  margin: 24px 0 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--font-family);
  border-radius: 30px;
}

.tab-btn.active {
  color: var(--accent);
  background: rgba(161, 255, 0, 0.1);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.modal-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.input-group {
  margin-bottom: 18px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(161, 255, 0, 0.15);
  border-radius: 60px;
  transition: all 0.3s ease;
}

.input-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(161, 255, 0, 0.1);
}

.input-icon {
  width: 18px;
  height: 18px;
  margin-left: 20px;
  flex-shrink: 0;
}

.input-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-family);
  font-size: 14px;
  outline: none;
}

.input-wrapper input::placeholder {
  color: rgba(240, 244, 240, 0.3);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 24px;
  font-size: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
}

.checkbox-label input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
}

.forgot-link {
  color: var(--text-muted);
  text-decoration: none;
}

.forgot-link:hover {
  color: var(--accent);
}

.btn-auth {
  width: 100%;
  background: var(--accent);
  border: none;
  border-radius: 60px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family);
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(161, 255, 0, 0.4);
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 11px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.switch-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.switch-link {
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
}

.modal-error {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid #ff3b30;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  color: #ff6b6b;
  margin-bottom: 18px;
  text-align: center;
  display: none;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 900px) {
  .hero-grid, .stats-grid, .nav-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .title { font-size: 44px; }
  .clover-box { transform: scale(0.8); margin: -40px auto; }
  .main-nav ul { gap: 20px; }
    .main-nav a { font-size: 14px;}
  .profile-icon { width: 36px; height: 36px;}
  .modal-content { padding: 32px 24px; }
  
  .latest-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .latest-title {
    font-size: 26px;
  }
  
  .latest-item-title {
    font-size: 18px;
  }
  
  .latest-item {
    padding: 24px;
  }

}

@media (max-width: 600px) {
  .logo-img {
    height: 28px;  /* на телефонах поменьше */
  }
}
  
