#site-qr { display: none;}


/* RESET */
/* RESET */
*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif;}
body{background:#fff;color:#222;line-height:1.6;scroll-behavior:smooth;}
a{text-decoration:none;color:inherit;}
button{cursor:pointer;transition:0.3s;}

/* HEADER */
header{
display:flex;justify-content:space-between;align-items:center;
padding:20px 50px;position:sticky;top:0;z-index:1000;background:#fff;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
max-width: 1600px;
margin: 0 auto;
border-radius: 0 0 10px 10px;
}
.logo{font-weight:700;font-size:24px;color:#000;}
.logo span{color:#7B5BFF;}
nav ul{display:flex;list-style:none;gap:25px;}
nav ul li a{font-weight:500;color:#222;transition:0.3s;}
nav ul li a:hover{color:#7B5BFF;}
.btn-login{padding:10px 20px;border-radius:10px;border:none;background:#7B5BFF;color:#fff;font-weight:600;}
.btn-login:hover{background:#5e3fcc;}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 50px;
  position: relative;
  background: url('a_wide_cinematic_high_resolution_cityscape_adver.png') no-repeat center center;
  background-size: cover; /* растягивает фон по всей ширине блока */
  overflow: hidden;
}
.hero img {
  max-width: 500px;
  /* убираем border-radius */
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.3); /* мягкий белый слой */
  z-index: 0;
}
.hero-text {
  position: relative;
  z-index: 1;
}
.hero-text{max-width:600px;position:relative;z-index:1;opacity:0;transform:translateX(-50px);transition:1s;}
.hero-text.visible{opacity:1;transform:translateX(0);}
.hero-text h1{font-size:48px;font-weight:700;}
.hero-text h1 span{color:#7B5BFF;}
.hero-text p{margin:20px 0;font-size:18px;color:#555;}
.hero-buttons{display:flex;gap:20px;}
.hero-buttons button{padding:12px 30px;border-radius:10px;border:none;font-weight:600;font-size:16px;transition:0.3s;}
.btn-start{background:#7B5BFF;color:#fff;}
.btn-start:hover{background:#5e3fcc;transform:translateY(-3px);}
.btn-info{background:transparent;border:2px solid #7B5BFF;color:#7B5BFF;}
.btn-info:hover{background:#7B5BFF;color:#fff;transform:translateY(-3px);}
.hero img{max-width:500px;border-radius:10px;transition:transform 0.5s;}
.hero img:hover{transform:translateY(-10px) scale(1.05);}

/* WHY CHOOSE US */
.why-choose{padding:80px 50px;text-align:center;}
.why-choose h2{font-size:32px;margin-bottom:40px;opacity:0;transform:translateY(50px);transition:1s;}
.why-choose.visible h2{opacity:1;transform:translateY(0);}
.features{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;}
.feature{
background:#fff;border-radius:15px;padding:30px;width:220px;
box-shadow:0 5px 15px rgba(0,0,0,0.05);transition:0.5s;opacity:0;transform:translateY(50px);
}
.feature.visible{opacity:1;transform:translateY(0);}
.feature:hover{box-shadow:0 10px 20px rgba(0,0,0,0.1);transform:translateY(-5px);}
.feature-icon{font-size:36px;color:#7B5BFF;margin-bottom:15px;}
.feature h3{font-size:20px;margin-bottom:10px;}
.feature p{font-size:14px;color:#555;}

/* NEWS */
.news{padding:80px 50px;text-align:center;}
.news h2{transition:1s;font-size: 32px;padding-bottom: 25px;}
.news.visible h2{opacity:1;transform:translateY(0);}
.news-cards{display:flex;justify-content:center;gap:30px;flex-wrap:wrap;}
.news-card{
width:300px;border-radius:15px;overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,0.05);transition:0.5s;transform:translateY(4px);
}
.news-card.visible{opacity:1;transform:translateY(0);}
.news-card:hover{transform:translateY(-5px) scale(1.02);box-shadow:0 10px 20px rgba(0,0,0,0.1);}
.news-card img{width:100%;display:block;}
.news-card-content{padding:20px;text-align:left;}
.news-card-content h3{font-size:18px;margin-bottom:10px;}
.news-card-content p{font-size:14px;color:#555;margin-bottom:10px;}
.news-card-content span{font-size:12px;color:#999;}
.btn-news{margin-top:30px;padding:12px 30px;border-radius:10px;border:2px solid #7B5BFF;color:#7B5BFF;background:transparent;font-weight:600;}
.btn-news:hover{background:#7B5BFF;color:#fff;transform:translateY(-3px);}

/* FOOTER */
footer{
display:flex;justify-content:space-between;flex-wrap:wrap;
max-width: 1600px;
margin: 0 auto;
padding: 25px;
background: #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
margin-bottom: 25px;
}
footer .footer-section{margin-bottom:30px;min-width:200px;}
footer h4{font-weight:600;margin-bottom:20px;}
footer a{display:block;margin-bottom:10px;color:#555;font-size:14px;}
footer p{font-size:14px;color:#555;margin-top:10px;max-width: 435px;}

/* TOOLTIP */
.feature-icon:hover::after{
content:attr(data-tip);position:absolute;background:#7B5BFF;color:#fff;padding:5px 10px;border-radius:10px;top:-40px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100vw; /* растягиваем на всю ширину */
  height: 100vh; /* растягиваем на всю высоту экрана */
  padding: 0 50px; /* отступы слева и справа */

  position: relative;
  background: url('https://cdn.ravex-rp.com/images/bg/hero-bg.jpg') no-repeat center center;
  background-size: cover; /* фон полностью покрывает блок */
  overflow: hidden;
}

.hero-text {
  max-width: 600px;
  position: relative;
  z-index: 1;
  color: #222;
}

.hero img {
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

/* Если нужен overlay для читаемости текста */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.3);
  z-index: 0;
}


.hero-text {
  max-width: 600px;
  position: relative;
  z-index: 1;
  color: #222;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
}
.hero-text h1 span {
  color: #7B5BFF;
}

.hero-text p {
  margin: 20px 0;
  font-size: 1.2rem;
  color: #555;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons button {
  padding: 12px 30px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-start {
  background: #7B5BFF;
  color: #fff;
}
.btn-start:hover {
  background: #5e3fcc;
  transform: translateY(-3px);
}

.btn-info {
  background: transparent;
  border: 2px solid #7B5BFF;
  color: #7B5BFF;
}
.btn-info:hover {
  background: #7B5BFF;
  color: #fff;
  transform: translateY(-3px);
}

.hero img {
  max-width: 600px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  /* без закруглений */
}



.hero-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 25px auto;
  padding: 30px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 810px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://cdn.ravex-rp.com/images/bg/hero-bg.png') center/cover no-repeat;
  z-index: 0;
  filter: brightness(1); /* можно подрегулировать для читаемости текста */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: #222;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
}
.hero-content h1 span {
  color: #7B5BFF;
}

.hero-content p {
  margin: 15px 0 25px 0;
  font-size: 1.2rem;
  color: #555;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-buttons button {
  padding: 12px 30px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-start {
  background: #7B5BFF;
  color: #fff;
}
.btn-start:hover {
  background: #5e3fcc;
}

.btn-info {
  background: transparent;
  border: 2px solid #7B5BFF;
  color: #7B5BFF;
}
.btn-info:hover {
  background: #7B5BFF;
  color: #fff;
}

.hero-image {
  position: relative;
  z-index: 1;
}
.hero-image img {
  max-width: 500px;
  height: auto;
  object-fit: contain;
  transform: translateY(10px); /* машина немного "выпадает" снизу */
}

.feature {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.5s;
  opacity: 0;
  transform: translateY(50px);
}

footer span {
  color: #7B5BFF;
}


.server-status {
  width: 260px; /* размер красного блока */
  height: 50px;
  background: #fff; /* красный фон */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.status-indicator {
  display: inline-block;
  padding: 5px 5px;
  border-radius: 6px;
   /* зеленый для ON */
  font-weight: 700;
  transition: background 0.3s;
  color: #1bd05d;
  background: rgba(34,197,94,0.15);
}

.status-indicator.off {
  background: #999; /* серый для OFF */
}

.status-text {
  font-size: 16px;
  color: #222;
  text-transform: uppercase;
}

.faq-section {
  color: #222;
  font-family: 'Inter', sans-serif;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px;
  padding-bottom: 100px;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.faq-header h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #222;
}

.faq-btn {
  padding: 10px 20px;
  font-weight: 600;
  border: 1px solid #fff;
  background: transparent;
  color: #222;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.faq-btn:hover {
  background: #7b5bff;
  border-color: #7b5bff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.faq-card {
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-card:hover{transform:translateY(-5px) scale(1.02);box-shadow:0 10px 20px rgba(0,0,0,0.1);}

.faq-card h3 {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
}

.faq-card h3::after {
  content: '+';
  position: absolute;
  right: 0;
  transition: transform 0.3s;
}

.faq-card.open h3::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-top: 0;
}

.faq-card.open .faq-answer {
  max-height: 500px; /* достаточно для текста */
  padding-top: 15px;
}

.faq-answer p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.faq-answer a {
  color: #7b5bff;
  text-decoration: none;
}
.faq-answer a:hover {
  text-decoration: underline;
}



.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  z-index: 9999; /* важно для клика */
  transition: all 0.5s ease;
}

.cookie-banner.hide {
  opacity: 0;
  transform: translate(-50%, 100px);
  pointer-events: none;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-buttons button {
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  transition: 0.3s;
}

#acceptCookie {
  background: #7b5bff;
  color: #fff;
}
#acceptCookie:hover {
  background: #5e3fcc;
}

#declineCookie {
  background: transparent;
  border: 1px solid #7b5bff;
  color: #7b5bff;
}
#declineCookie:hover {
  background: #7b5bff;
  color: #fff;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  font-family: sans-serif;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.accept-btn {
  background: #7b5bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.decline-btn {
  background: transparent;
  border: 1px solid #7b5bff;
  color: #7b5bff;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}


.footer-bottom {
  width: 100%;
  border-top: 2px solid #000; /* ЧЕРНАЯ ЛИНИЯ */
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #555;
  /*! background: #fff; */
}

/* Левая часть */
.footer-left {
  text-align: left;
}

/* Правая часть */
.footer-right {
  text-align: right;
}

.footer-right span {
  color: #7B5BFF;
  font-weight: 600;
}



/* HEADER */
.header {
  text-align: center;
  margin-top: 60px;
}

.header h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.header p {
  color: #666;
  font-size: 14px;
}

/* GRID */
.start-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

/* CARD */
.card {
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* LEFT BLOCK */
.steps h3 {
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 700;
}

.step {
  display: flex;
  margin-bottom: 18px;
}

.card:hover{
  transform:translateY(-5px) scale(1.02);
  box-shadow:0 10px 20px rgba(0,0,0,0.1);
}

.circle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg,#7b5bff,#5e3fcc);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 12px;
  font-size: 13px;
}

.step-text strong {
  display: block;
  font-size: 14px;
}

.step-text span {
  font-size: 13px;
  color: #888;
}

/* RIGHT BLOCK */
.server h3 {
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 700;
}

.server p {
  font-size: 14px;
  margin: 10px 0;
}

.server span {
  font-weight: 600;
}

.status {
  color: #cb1f1f;
  font-weight: 600;
}

/* BUTTON */
.download {
  margin-top: 40px;
  text-align: center;
  padding-bottom: 50px;
}

.download button {
  padding: 14px 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg,#7b5bff,#5e3fcc);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.download button:hover {
  opacity: 0.9;
}

.download p {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
}


.news-section {
  max-width: 900px;
  margin: 80px auto;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.news-section h2 {
  font-size: 26px;
  margin-bottom: 5px;
}

.subtitle {
  color: #666;
  margin-bottom: 25px;
}

/* FILTER */
.news-filter {
  margin-bottom: 30px;
}

.news-filter button {
  padding: 8px 18px;
  margin: 5px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.news-filter button.active {
  background: #7b5bff;
  color: #fff;
  border-color: #7b5bff;
}

.news-filter button:hover {
  background: #7b5bff;
  color: #fff;
}

/* LIST */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  text-align: left;
}

.news-item:hover {
  transform: translateY(-4px);
}

.news-item img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 15px;
}

.news-text h3 {
  margin: 0;
  font-size: 16px;
}

.news-text p {
  font-size: 14px;
  color: #666;
  margin: 6px 0;
}

.news-text span {
  font-size: 12px;
  color: #999;
}

.news-section {
  max-width: 900px;
  margin: 80px auto;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.subtitle { color:#666; margin-bottom:25px; }

/* FILTER */
.news-filter button {
  padding: 8px 18px;
  margin: 5px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.news-filter button.active {
  background:#7b5bff;
  color:#fff;
}

/* LIST */
.news-list {
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top:20px;
}

.news-item {
  display:flex;
  background:#fff;
  /*! padding:15px; */
  border-radius:10px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.news-item img {
  width:140px;
  height:90px;
  border-radius:10px;
  margin-right:15px;
}

.news-text h3 { margin:0; }
.news-text p { color:#666; font-size:14px; }
.news-text span { font-size:12px; color:#999; }

/* PAGINATION */
.pagination {
  margin-top:30px;
}

.page-btn {
  padding:8px 14px;
  margin:5px;
  border-radius:10px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
}

.page-btn.active {
  background:#7b5bff;
  color:#fff;
}

/* ALL NEWS */
.all-news {
  margin-top:20px;
}

.all-news button {
  padding:10px 30px;
  border-radius:10px;
  background:linear-gradient(90deg,#7b5bff,#5e3fcc);
  color:#fff;
  border:none;
  cursor:pointer;
}



.download-block {
  text-align: center;
  margin-top: 50px;
}

/* КНОПКА */
.download-btn {
  position: relative;
  padding: 16px 45px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg,#7b5bff,#5e3fcc);
  overflow: hidden;
  transition: 0.3s;
}

/* ГЛОУ */
.download-btn::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(255,255,255,0.4), transparent 60%);
  animation: glow 3s linear infinite;
}

/* HOVER */
.download-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 25px rgba(123,91,255,0.6);
}

/* CLICK EFFECT */
.download-btn:active {
  transform: scale(0.97);
}

/* ТЕКСТ */
.download-btn span {
  position: relative;
  z-index: 2;
}

/* ПОДПИСЬ */
.download-block p {
  margin-top: 10px;
  font-size: 12px;
  color: #888;
}

/* АНИМАЦИЯ */
@keyframes glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



.register-block {
  background: #fff;
  max-width: 700px;
  margin: 50px auto;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.register-block h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.register-block p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.register-btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  background: linear-gradient(90deg,#7b5bff,#5e3fcc);
  color: #fff;
  transition: 0.3s;
}

.register-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(123,91,255,0.5);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 50px auto;
  flex-wrap: wrap;
}

.step-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  width: 360px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: -35px;
}

.step-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-btn {
  padding: 12px 35px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg,#7b5bff,#5e3fcc);
  transition: 0.3s;
}

.step-btn:hover {
  box-shadow: 0 0 25px rgba(123,91,255,0.6);
  transform: scale(1.05);
}

/* Адаптив */
@media (max-width: 1150px) {
  .steps-container { justify-content: center; }
}
@media (max-width: 800px) {
  .step-card { width: 90%; margin-bottom: 20px; }
}


.steps-list {
  max-width:1200px;
  margin:50px auto;
  display:flex;
  flex-direction:column; /* вертикальный список */
  gap:25px;
}

.step-item {
  background:#fff;
  border-radius:18px;
  padding:25px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  text-align:center;
  transition:0.3s;
}

.step-item:hover {
  transform:translateY(-5px);
  box-shadow:0 15px 30px rgba(0,0,0,0.15);
}

.circle-number-register {
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px; height:32px;
  border-radius:10px;
  background:linear-gradient(135deg,#7b5bff,#5e3fcc);
  color:#fff; font-weight:700; margin-bottom:10px;
  position: relative;
  left: 140px;
}

.circle-number-download {
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px; height:32px;
  border-radius:10px;
  background:linear-gradient(135deg,#7b5bff,#5e3fcc);
  color:#fff; font-weight:700; margin-bottom:10px;
  position: relative;
  left: 107px;
}

.circle-number-server {
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px; height:32px;
  border-radius:10px;
  background:linear-gradient(135deg,#7b5bff,#5e3fcc);
  color:#fff; font-weight:700; margin-bottom:10px;
  position: relative;
  left: 463px;
}


.step-item h3 {  font-weight:700; margin-bottom:15px; margin-top: -40px;}
.step-item p { font-size:14px; color:#555; line-height:1.6; margin-bottom:20px; }

.step-btn {
  padding:12px 25px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  color:#fff;
  background:linear-gradient(90deg,#7b5bff,#5e3fcc);
  transition:0.3s;
}

.step-btn:hover {
  transform:scale(1.05);
  box-shadow:0 0 25px rgba(123,91,255,0.6);
}




.server-table h2 {
  text-align:center;
  margin-bottom:20px;
  font-size:22px;
}

table {
  width:100%;
  border-collapse:collapse;
}

thead th {
  padding:12px;
  font-weight:600;
  font-size:14px;
  border-bottom:2px solid #ddd;
  color:#333;
}

tbody tr {
  border-bottom:1px solid #eee;
  transition:0.3s;
}

tbody tr:hover {
  background:#f1f1f1;
}

tbody td {
  padding:12px;
  font-size:14px;
  color:#555;
}

.players-online {
  font-weight:600;
  color:#7b5bff;
}

.status-online {
  color:#2ecc71;
}

.status-offline {
  color:#e74c3c;
}


.rules-container {
  max-width: 1000px;
  margin: 50px auto;
  font-family:'Inter', sans-serif;
  text-align: center;
}

.rules-container h2 {
  font-size:22px;
  font-weight:700;
  margin-bottom:5px;
}

.rules-container p {
  font-size:14px;
  color:#555;
  margin-bottom:30px;
}

.rules-content {
  display:flex;
  gap:20px;
  background:#fff;
  border-radius:16px;
  padding:20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* Левое меню */
.rules-menu {
  list-style:none;
  padding:0;
  margin:0;
  width:200px;
  text-align:left;
}

.rules-menu li {
  padding:12px 15px;
  border-radius:12px;
  cursor:pointer;
  margin-bottom:8px;
  transition:0.3s;
  background:#f1f1f1;
}

.rules-menu li.active,
.rules-menu li:hover {
  background: linear-gradient(90deg,#7b5bff,#5e3fcc);
  color:#fff;
}

/* Таблицы правил */
.rules-tabs {
  flex:1;
  text-align:left;
}

.tab {
  display:none;
  font-size:14px;
  color:#555;
  line-height:1.6;
}

.tab.active {
  display:block;
}

.tab ol {
  padding-left:20px;
}

.about-section {
  max-width: 1600px;
  margin:50px auto;
  font-family:'Inter', sans-serif;
  color:#333;
}

.about-section h2 {
  text-align:center;
  font-size:28px;
  font-weight:700;
  margin-bottom:10px;
}

.about-section p {
  text-align:left;
  font-size:14px;
  color:#555;
  margin-bottom:30px;
}

.about-cards {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom:30px;
}

.card {
  background:#fff;
  padding:25px;
  border-radius:10px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  flex:1;
  min-width:280px;
}

.card ul {
  padding-left:20px;
  margin-top:10px;
}

.card ul li {
  margin-bottom:8px;
}

.hardware-grid {
  gap:15px;
  margin:20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hardware-item {
  background:#f7f7f7;
  border-radius:12px;
  padding:15px;
}

.hardware-item strong {
  display: block;
  font-weight: 400;
  margin-bottom: 5px;
  font-size: 14px;
}

.full-width {
  flex-basis:100%;
}



.tags-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.tag {
  padding: 6px 14px;
   /* тёмный фоновый цвет */
  color: #333;
  font-size: 13px;
  transition: transform 0.2s, background 0.2s;
  cursor: default;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


.hardware-item small {
  color: #555;
  font-size: 14px;
  display: block;
}


.hardware-item span {
  display: block;
  font-size: 16px;
  margin-top: 5px;
  color: #333;
}

.developer {
  white-space: nowrap; /* текст не переносится */
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #333;
}

.developer .name-link {
  font-weight: 600;
  margin-left: 5px;
  color: #7b5bff; /* цвет ссылки */
  text-decoration: none !important; /* убрать подчеркивание */
  display: inline; /* чтобы ссылка оставалась в одной строке */
}

.developer .name-link:hover {
  text-decoration: underline;
}

main {
  max-width: 1600px;
  margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 0px;
  margin-bottom: 0px;
  padding: 25px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 25px;
  margin-top: 45px;
  border-radius: 10px;
}


/* MOBILE MENU */
.mobile-header {
  display: none;
}

.mobile-menu {
  display: none;
}

/* 📱 MOBILE PRO */
@media (max-width: 768px) {

  header {
    display: none; /* скрываем десктоп */
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }

  .logo {
    font-weight: 700;
    font-size: 18px;
  }

  .logo span {
    color: #7b5bff;
  }

  .burger {
    font-size: 22px;
    cursor: pointer;
  }

  .mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transform: translateY(-120%);
    transition: 0.3s;
  }

  .mobile-menu.active {
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
  }
}


@media (max-width: 768px) {
  .hero {
    padding: 30px 20px;
    text-align: center;
    background-size: cover;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {

  .card {
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }

  .features,
  .news-grid,
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

}

@media (max-width: 768px) {

  .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 12px;
  }

}

@media (max-width: 768px) {

  .server-status {
    width: 100%;
    justify-content: space-between;
    padding: 12px;
    font-size: 14px;
  }

}

@media (max-width: 768px) {

  .news-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .news-item img {
    width: 100%;
    border-radius: 10px;
  }

}

@media (max-width: 768px) {

  .footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

}   

button, a {
  -webkit-tap-highlight-color: transparent;
}

/* 📱 MOBILE PRO */
@media (max-width: 768px) {
  .feature {
    padding: 18px;              /* меньше отступы */
    border-radius: 12px;        /* чуть мягче */
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
     width: 100%;
    transform: translateY(30px); /* меньше смещение */
  }

  .feature h3 {
    font-size: 16px;
  }

  .feature p {
    font-size: 13px;
  }
}

.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* 📱 MOBILE PRO */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;       /* в колонку */
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    width: 95%;
    bottom: 10px;

    border-radius: 14px;
  }

  .cookie-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .cookie-actions {
    display: flex;
    width: 100%;
    gap: 10px;
  }

  .cookie-actions button {
    flex: 1;                     /* кнопки на всю ширину */
    padding: 12px;
    font-size: 14px;
    border-radius: 10px;
  }
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .faq-header {
    flex-direction: column;     /* В колонку */
    align-items: center;        /* По центру */
    text-align: center;
    gap: 15px;
  }

  .faq-header h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .faq-btn {
    width: 100%;                /* Кнопка на всю ширину */
    max-width: 280px;
    padding: 12px;
    font-size: 14px;
  }
}


/* MOBILE hidden */
.mobile-header,
.mobile-menu {
  display: none;
}


/* 📱 MOBILE */
@media (max-width:768px){

  .desktop-header{
    display:none;
  }

  .mobile-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:15px 20px;
    background:#fff;
    z-index:9999;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
  }


  .burger{
    font-size:28px;
    cursor:pointer;
  }


  .mobile-menu{
    position:fixed;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    display:flex;
    flex-direction:column;
    transform:translateY(-150%);
    transition:.3s;
    z-index:9998;
  }


  .mobile-menu.active{
    transform:translateY(0);
  }


  .mobile-menu a{
    padding:16px 20px;
    border-bottom:1px solid #eee;
  }

}

.mobile-login{
  margin:15px;
  padding:14px;
  text-align:center;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(
    135deg,
    #7b5bff,
    #5e3fcc
  );

  border-radius:10px;
  font-weight:600;
  box-shadow:0 5px 15px rgba(123,91,255,.25);
}

#player-count {
  color: #7b5bff;
}

/* Контейнер */
.steps-list{
  display:grid;
  grid-template-columns:repeat(2, 620px);
  gap:25px;
  justify-content:center;
}


/* Карточки */
.step-item{
  position:relative;
  background:#fff;
  border-radius:18px;
  padding:35px;
  box-shadow:0 8px 25px rgba(0,0,0,.06);
}


/* 3 блок по центру */
.step-item:nth-child(3){
  grid-column:1 / span 2;
}

@media (max-width:768px){

  .steps-list{

    grid-template-columns:1fr;

  }

  .step-item:nth-child(3){
    grid-column:auto;
    max-width:none;
  }
}

/* news new */
/* Контейнер */
.news-list{
  display:grid !important;
  grid-template-columns:repeat(4, 300px) !important;
  gap:30px;
  justify-content:center;
  margin-top:50px;
}

/* Карточка */
.news-item{
  display:block !important;
  width:300px !important;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,.05);
  transition:.35s;
  cursor:pointer;
}

/* Hover */
.news-item:hover{
  transform:translateY(-4px);
}

/* Картинка */
.news-item img{
  display:block !important;
  width:104% !important;
  height:180px !important;
  object-fit:cover !important;
  border-radius: 10px 10px 0 0 !important;
  margin:0 !important;
}

/* Контент */
.news-text{
  display:block !important;
  padding:20px !important;
}

/* Заголовок */
.news-text h3{
  font-size:16px;
  line-height:1.2;
  margin-bottom:12px;
  color:#111;
}

/* Текст */
.news-text p{
  color:#666;
  line-height:1.5;
  margin-bottom:12px;
}

/* Дата */
.news-text span{
  display:block;
  color:#999;
}

@media (max-width:768px){

  .news-list{
    grid-template-columns:1fr !important;
  }

  .news-item{
    width:100% !important;
  }

}

.news-list{
  display:grid;
  grid-template-columns:repeat(auto-fit, 300px);
  gap:30px;
  justify-content:center;
}

.news-item{
  width:300px;
}

.news-item img{
  width:300px;
  height:300px;
  object-fit:cover;
  border-radius:0;
}

.news-link{
  text-decoration:none;
  color:inherit;
  display:block;
}

.news-link:hover{
  color:inherit;
}

/* News блок */
.news-page{
    min-height:100vh;
    background:#fff;
    padding:80px 20px;
}

.news-container{
    max-width:1400px;
    margin:auto;
}



.news-hero{
    text-align:center;
}

.news-badge{
    padding:10px 20px;
    color:#8b5cf6;
    font-size:14px;
    background: #fff;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 300px;
    justify-content: center;
    display: block;
    width: fit-content;
    margin: 0 auto 30px;
}

.news-hero h1{
    font-size:28px;
    color:#222;
    margin-bottom:20px;
    line-height:1.2;
}

.news-hero p{
    margin:auto;
    color:#555;
    font-size:14px;
    line-height:1.7;
    padding-bottom: 20px;
}

.news-box{
    margin-bottom:30px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.news-box h2{
    font-size:18px;
    color:#222;
    margin-top:30px;
}

.news-box p{
    color:#555;
    font-size:16px;
    line-height:1.8;
}

.news-box ul{
    padding-left:30px;
}

.news-box li{
    color:#555;
    font-size:16px;
}

.news-image{
    width:100%;
    display:block;
    border-radius:10px;
    height: 100px;
}

/* MOBILE */
@media(max-width:768px){
    .news-page{
        padding:40px 15px;
    }

    .news-hero h1{
        font-size:34px;
    }

    .news-hero p{
        font-size:18px;
    }

    .news-box{
        padding:30px;
    }

    .news-box h2{
        font-size:18px;
    }

    .news-box p,
    .news-box li{
        font-size:16px;
    }
}

.news-meta{
    display:flex;
    align-items:center;
    gap:40px;
    background:#fff;
    justify-content:flex-end;
    padding:20px 30px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.06);
    margin:30px 0;
}

.news-meta span{
    font-size:18px;
    color:#555;
}

.news-meta strong{
    color:#222;
    font-weight:700;
}

/* MOBILE */
@media(max-width:768px){
    .news-meta{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
        padding:18px;
    }
    .news-meta span{
        font-size:15px;
    }
}


.social-widget{
  position:fixed;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:999;
}

.social-btn{
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:16px;
  text-decoration:none;
  color:#7c5cff;
  box-shadow:0 5px 20px rgba(0,0,0,.08);
  font-size:24px;
  transition:.3s;
}

.social-btn:hover{
  transform:scale(1.08);
}

@media(max-width:768px){
  .social-widget{
    right:10px;
    gap:8px;
  }

  .social-btn{
    width:46px;
    height:46px;
    font-size:18px;
    border-radius:12px;
  }
}


/* Вики*/
.wiki-section{padding:80px 20px;}
.wiki-wrapper{max-width:1600px;margin:auto;display:flex;gap:40px;}
.wiki-sidebar{width:320px;background:#fff;border-radius:10px;padding:30px;box-shadow:0 5px 20px rgba(0,0,0,.05);}
.wiki-sidebar h3{margin-bottom:20px;font-size:22px;}
.wiki-category{margin-bottom:20px;}
.wiki-title{display:flex;justify-content:space-between;cursor:pointer;font-size:22px;font-weight:700;}
.wiki-links{display:none;padding-top:15px;padding-left:20px;}
.wiki-category.active .wiki-links{display:flex;flex-direction:column;gap:12px;}
.wiki-links a{color:#777;cursor:pointer;text-decoration:none;}
.wiki-links a.active{color:#7c5cff;font-weight:700;}
.wiki-content{flex:1;background:#fff;border-radius:10px;padding:40px;box-shadow:0 5px 20px rgba(0,0,0,.05);}
.wiki-search{width:100%;height:60px;border:1px solid #ddd;border-radius:16px;padding:0 20px;margin-bottom:40px;font-size:18px;}
.wiki-content h1{font-size: 28px;font-weight: 700;}
.wiki-stats{margin-bottom:30px;}
.wiki-stats span{background:#f5f5f5;padding:12px 20px;border-radius:12px;color:#7c5cff;font-weight:700;}
.wiki-content p{font-size:16px;line-height:1.8;margin-bottom:15px;}
.wiki-content li{margin-bottom:8px;}
@media(max-width:768px){
.wiki-wrapper{flex-direction:column;}
.wiki-sidebar{width:100%;}
.wiki-content h1{font-size:34px;}
.wiki-content p,.wiki-content li{font-size:16px;}
}
.wiki-grid{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin: 30px 0 30px 0;
}

.wiki-card{
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 5px 15px rgba(0,0,0,.04);
  padding: 10px 15px 10px 15px;
}

.wiki-card:hover{transform:translateY(-5px) scale(1.02);box-shadow:0 10px 20px rgba(0,0,0,0.1);}

.wiki-icon{
font-size:28px;
}

.wiki-card h3{
font-size:18px;
margin:0 0 8px 0;
}

.wiki-card p{
font-size:18px;
color:#777;
margin:0;
}

.wiki-arrow{
margin-left:auto;
font-size:28px;
color:#222;
}

@media(max-width:768px){
.wiki-grid{
grid-template-columns:1fr;
}
.wiki-card h3{
font-size:22px;
}
.wiki-card p{
font-size:15px;
}
}

.wiki-image{
width:100%;
display:block;
border-radius:20px;
margin:25px 0;
box-shadow:0 5px 20px rgba(0,0,0,.06);
}

.wiki-link {
  color: #333;
  font-size: 16px;
  transition: transform 0.2s, background 0.2s;
  cursor: default;
  background: #fff;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 10px 15px 10px 15px;
}


.wiki-line {
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  margin-top: 15px;
}


.wiki-opis {
  background: #fff;
  border-radius: 10px;
  display: flex;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 10px;
  margin-bottom: 10px;
}

.wiki-driving {
  background: #fff;
  border-radius: 10px;
  display: flex;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 10px;
  width: 177px;
  margin-top: 10px;
}


.name-link {
  color: #1a73e8; /* синий цвет */
  text-decoration: none; /* убираем подчеркивание */
  font-weight: bold;
  transition: color 0.3s;
}

.name-link:hover {
  color: #0b59d1; /* цвет при наведении */
  text-decoration: underline;
}


/* суппорт*/

.support-grid{padding:10px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:25px}

.card h3{margin-bottom:15px}
.card p{line-height:1.6}
.request{padding:30px 0 120px}
.request-box{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:50px;border-radius:30px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}

#ticketSuccess{margin-top:30px}
.request-form{display:flex;flex-direction:column;gap:18px}
.request-form input,.request-form select,.request-form textarea{width:100%;background:#fff;border:0px solid #1d2437;border-radius:16px;padding:18px 20px;color:#555;outline:none;box-shadow: 0 4px 15px rgba(0,0,0,0.2);}
.request-form textarea{min-height:170px;resize:none}
.upload-box{min-height:105px;border:1px dashed #959595;border-radius:10px;display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;color:#555;background:#fff;transition:.3s;box-shadow: 0 4px 15px rgba(0,0,0,0.2);}
.upload-box.drag{border-color:#00c6ff;background:#11182b}
#fileList{display:flex;flex-direction:column;gap:10px}
.file-item{padding:14px 18px;border-radius:14px;background:#fff;color:#555;font-size:14px;box-shadow: 0 4px 15px rgba(0,0,0,0.2);}
.request-form button{
  height: 58px;
  padding: 12px 30px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #7B5BFF;
  color: #fff;
}
.request-form button:hover{transform:translateY(-3px)}
.ticket-box{padding:20px;border-radius:20px;background:#fff;border:1px dashed #959595;animation:show .35s ease;box-shadow: 0 4px 15px rgba(0,0,0,0.2);}
@keyframes show{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@media(max-width:900px){.hero h1{font-size:38px}.request-box{grid-template-columns:1fr}}

.request-info h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}
.request-info p {
  line-height: 1.8;
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
}







.ticket-history{
margin-top:60px;
}

.ticket-history h2{
margin-bottom:25px
}

#ticketHistory{
display:flex;
flex-direction:column;
gap:15px
}


.history-ticket strong{
display:block;

}


.status.pending{
background:#ffc10754;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.status.process{
background:#0dcaf022;
}

.status.done{
background:#19875422;
}


.reply{
word-wrap:break-word;
overflow-wrap:anywhere;
line-height:1.7;
}

.actions{
margin-top:20px;
display:flex;
gap:12px;
}

.open-btn,
.delete-btn{
text-decoration:none;
padding:12px 18px;
border-radius:12px;
font-weight:600;
}

.open-btn{
background:#f3f0ff;
color:#7c5cff;
}

.delete-btn{
background:#fff1f3;
color:#ff3b5c;
}

.history-ticket strong{
display:block;
font-size:28px;
font-weight:700;
color:#2d3448;

}

.status{
display:inline-flex;
align-items:center;
gap:10px;
padding:12px 18px;
border-radius:14px;
font-size:14px;
font-weight:700;
}

.status.pending{
background:#fff7db;
color:#d08b00;
}

.status.process{
background:#e8f7ff;
color:#00a2ff;
}

.status.done{
background:#eafbf0;
color:#14a44d;
}


/* ОТВЕТЫ */

.reply{
  margin-top: 20px;
  border-radius: 10px;
  background: #f7f7f7;
  border: 0px solid #eceef7;
  line-height: 1.8;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 15px 25px 15px 25px;
}

.reply.admin{
  border: 0px solid #e4ddff;
  background: #fff;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 15px 25px 15px 25px;
}


.reply-author{
display:flex;
align-items:center;
gap:10px;
font-size:16px;
font-weight:700;
color:#7c5cff;
margin-bottom:15px;
}

.reply-author::before{
content:"💬";
}

.reply-time{
margin-top:15px;
font-size:13px;
color:#8d96b2;
}

.user-reply-box{
margin-top:20px;
}

.user-reply-input{
width:100%;
height:120px;
border:none;
outline:none;
resize:none;
background:#f8f9ff;
border-radius:18px;
padding:20px;
font-size:15px;
margin-bottom:15px;
}

.user-reply-btn{
border:none;
cursor:pointer;
padding:14px 28px;
border-radius:14px;
color:#fff;
font-weight:700;
background:linear-gradient(90deg,#7c5cff,#6b4df5);
}

.history-ticket{
  border: 0px solid #eceef7;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  border-radius: 10px;
  padding: 15px 25px 15px 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);  
}


.ticket-summary{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
}


.history-ticket:hover{
transform:translateY(-5px) scale(1.02);box-shadow:0 10px 20px rgba(0,0,0,0.1);
}


.ticket-details{
max-height:0;
overflow:hidden;
padding:0 25px;
transition:.35s;
}


.ticket-details.active{
max-height:3000px;
padding:0 25px 25px;
}

.request-info{
display:flex;
flex-direction:column;
align-items:flex-start;
}


.ticket-history{
width:100%;
}


.ticket-history h2{
margin-bottom:25px;
}

#ticketSuccess:empty{
display:none;
}

.upload-reply-box{
  display:inline-block;
  padding:10px 15px;
  border:1px dashed #ccc;
  border-radius:8px;
  cursor:pointer;
  margin-top:8px;
}

.reply-file-list .file-item{
  margin-top:5px;
  font-size:14px;
  color:#555;
}



.reply-form{
display:flex;
flex-wrap:wrap;
gap:20px;
align-items:flex-end;
}
.upload-reply-box{
margin-left:auto;
order:3;
}

.user-reply-btn{
order:2;
}

.user-reply-input{
width:100%;
order:1;
}


.reply.admin .reply-author {
    color: #ff4d4f; /* красный цвет */
    font-weight: 600;
}

.new-badge{
margin-left:10px;
font-size:12px;
font-weight:700;
color:#ff3b30;
}