:root {
  --bg: #020809;
  --card: #12141a;
  --text: #e6e6e6;
  --muted: #a7a7a7;
  --accent: #7c9eff;
  --accent-2: #8ee3c9;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}
@font-face {
  font-family: 'Amatic SC';
  src: url('../fonts/AmaticSC-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Amatic SC';
  src: url('../fonts/AmaticSC-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}


* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; height: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 24px; }

/* Navigation */
.nav { position: sticky; top: 0; margin-bottom: -100px; backdrop-filter: blur(8px); background: rgba(11,12,16,.6); border-bottom: 1px solid rgba(255,255,255,.06); z-index: 10; }
.nav-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.brand, .menu {
  max-height: 70px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.brand a { font-size: 50px; color: #38c755; text-decoration: none;}
.menu a {
  font-size: 30px;
  color: #38c755;
  text-decoration: none;
  padding: 8px 16px;
  border: 4px solid #38c755;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 700;
}
.menu a:hover {
  background-color: #7c9eff;
  color: #0b0c10;
  border-color: #8ee3c9;
}
.logo-header {max-height: 70px;}
/* Hero */
.hero {
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
  height: 100dvh;
  padding: 0 24px;
  letter-spacing: 1.5px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bg-z-k.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
}
.hero-title {
	display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
	text-align: center;
}
.hero h2 { font-size: clamp(45px, 5vw, 48px); margin: 0 0 12px; }
.hero p { color: #fff; max-width: 720px; margin: 0 auto 22px; font-size: 20px; line-height: 1.6; }

.cta {
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border: 4px solid #fff;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 700;
}
.cta:hover {
  transform: translateY(-1px);
  background-color: #7c9eff;
  color: #0b0c10;
  border-color: #8ee3c9;
  text-decoration: none;
}

.gradient-text {
  background: linear-gradient(45deg, #38c755, #00ff85, #00cc66, #28c76f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: inherit;

  /* Тень */
  text-shadow: 
    0 2px 1px rgba(0, 0, 0, 0.3), 
    0 0 0px rgba(255, 255, 255, 12.6), 
    0 0 1px rgba(255, 255, 255, 20.4) 
}

/* Sections */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin: 15px 0 8px; font-size: 18px; }
.card p, .card ul, .card ol { margin: 0; color: var(--muted); line-height: 1.6; }

.section { padding: 40px 0; }
.section h1 { font-size: 32px; margin: 20px 10px 16px; }
.section h2 { font-size: 24px; margin: 20px 10px 16px; }

.table {padding: 13px;}
table {border-collapse: separate; border-spacing: 5px; color: #a7a7a7}
td {border-radius: 6px; padding: 10px; background-color: #02080987;}



section#faq details {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

section#faq details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  position: relative;
  padding-left: 30px;
  padding-right: 24px;
}

section#faq details summary::before {
  content: '❓';           
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);    
  font-size: 20px;
}

section#faq details summary::after {
  content: '▼'; 
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  color: #38c755;
}
section#faq details[open] summary {
  color: var(--accent);
}

section#faq details[open] summary::after {
  transform: translateY(-50%) rotate(180deg); 
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  color: #38c755;
  border: 3px solid #38c755;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.back-to-top::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid #38c755;
}

.back-to-top.show {
  display: flex;
  opacity: 1;
}


footer { border-top: 1px solid rgba(255,255,255,.06); padding: 24px 0; color: var(--muted); text-align: center;}

/* Responsive */
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 768px) {
  .hero {
    background-size: 250%;
    height: 100dvh;
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bg-z-k.webp');
  }
  
  
}
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .logo-header { max-height: 40px; } .brand a { font-size: 30px;} .menu a { font-size: 20px; } 
	.hero {
		background-size: 250%;
		height: 100dvh;
		background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bg-z-k.webp');
	  }

}


@media (max-width: 480px) {
  .hero {
    background-size: 250%;
    height: 100dvh;
	
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bg-z-k.webp');
  }
  
  
}