* {
    background: none;
    margin: 0;
    padding: 0;
    outline: none;
    border: 0;
    box-sizing: border-box;
}
body {
    color: var(--tt);
    background: var(--bg);
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}
img {width: 100%; height: 100%; object-fit: cover;}
a {color: var(--link); text-decoration: none;}
ol, ul {list-style: none;}
h1 {font-size: 20px;}
h2 {font-size: 18px;}
input[type="text"], input[type="password"], input[type="email"] {width: 100%; padding: 9px 20px 9px 20px; border: 1px solid #00000008; background-color: var(--input);
    color: var(--tt); border-radius: 10px; font-family: inherit; font-size: 14px; resize: vertical;}
textarea {padding: 9px 20px 9px 20px; width: 100%; background: var(--input); border: 1px solid #00000008; color: var(--tt); border-radius: 14px;
    font-family: inherit; font-size: 14px; resize: vertical;}
select {padding: 6px; color: var(--tt); background: var(--input); border: 1px solid #00000008; border-radius: 10px;}
button, input[type="submit"], input[type="button"], input[type="reset"], .qq-upload-button {display: inline-flex; align-items: center; min-height: 30px; padding: 0 20px;
    background: #5988ff; color: #fff; border-radius: 10px; -webkit-filter: drop-shadow(0px 2px 5px rgb(89 136 255 / 25%));
    filter: drop-shadow(0px 2px 5px rgb(89 136 255 / 25%)); cursor: pointer;}
#dle-captcha img {border-radius: 10px;}
#quicksearch {position: relative;}
#searchsuggestions {width: 100%; margin-top: 10px; padding: 15px; background: var(--card); border-radius: 20px; z-index: 1000;}
#searchsuggestions .seperator {display: none;}
.form-check-input {margin-right: 4px;}

.ui-dialog {background-color: var(--card); box-shadow: 0 8px 40px 6px rgba(0, 0, 0, 0.3); border-radius: 10px; overflow: hidden;}
.ui-front {z-index: 1000;}
.ui-draggable .ui-dialog-titlebar {cursor: move;}
.ui-dialog-titlebar-close {font-size: 0; padding: 0 2px;}
.ui-dialog-titlebar-close:before {content: "\f00d"; font-family: 'Font Awesome 5 Pro'; font-weight: 300; font-size: 13px; width: 25px; height: 25px;
    text-align: center; display: block; line-height: 25px !important;}
.ui-dialog-titlebar {display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; position: relative; font-weight: 500;}
.ui-dialog-content {padding: 20px 15px; overflow: auto; position: relative;}
.ui-dialog-buttonpane {padding: 10px 30px; text-align: center;}
.ui-dialog-buttonset {display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 10px;}

#dropmenudiv {background-color: var(--card); border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, .08), 0 0 1px rgba(0, 0, 0, .16); padding: 10px;}
#dropmenudiv a {display: block; border-radius: 6px; font-size: 14px; padding: 7px 9px; color: inherit;}
#dropmenudiv a:hover {background: var(--ui-item); color: var(--hover-accent);}
#dropmenudiv a:nth-child(2) {display: none;}

.xfields_table {width: 100%;}
.xfields_table tr {display: flex; flex-direction: column; margin-bottom: 10px;}

.DLEPush {
	z-index: 2001;
	position: fixed;
	right: 20px;
	top: 20px
}

@keyframes DLEPush-show {
	0% {
		transform: translateY(100%);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.DLEPush-notification.wrapper {
	animation-name: DLEPush-show;
	animation-duration: 1s;
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
	background-color: #fff;
	border-radius: 10px
}

.DLEPush-notification .DLEPush-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	width: 45px;
	height: 100%;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	text-align: center;
}

.DLEPush-notification .DLEPush-icon svg {
	scale: .8;
}

.DLEPush-notification .DLEPush-header {
	font-weight: 500;
	grid-column: 2;
	grid-row: 1;
	font-size: 1rem;
	margin-left: 1rem;
	margin-top: .5rem;
}
.DLEPush-notification .DLEPush-header:empty {
	margin-top: 0;
}

.DLEPush-notification .DLEPush-message {
	grid-column: 2;
	grid-row: 2;
	font-size: .875rem;
	margin: 1rem;
}

.DLEPush-notification .DLEPush-message li, .DLEPush-notification .DLEPush-message ul {
	list-style-type: none;
	padding-left: 0;
}

.DLEPush-notification .DLEPush-close {
	position: absolute;
	top: 8px;
	right: 10px;
	font-weight: 300;
	background: none;
	border: 0;
	font-size: 1.15rem;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	color: inherit;
	outline: 0;
	opacity: 0.75;
}

@media only screen and (min-width: 601px) {
	.DLEPush-notification.wrapper {
		min-width: 400px;
	}
}

.DLEPush-notification .DLEPush-close:hover {
	opacity: 1;
}

.DLEPush-notification.wrapper.push-success {
	background-color: #e0f2f1;
}

.DLEPush-notification.wrapper.push-success .DLEPush-icon {
	background-color: #00897b;
}

.DLEPush-notification.wrapper.push-warning {
	background-color: #FFF3E0;
}

.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
	background-color: #FF9800;
}

.DLEPush-notification.wrapper.push-error {
	background-color: #FBE9E7;
}

.DLEPush-notification.wrapper.push-error .DLEPush-icon {
	background-color: #FF5722;
}
.telegram-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0088cc, #006699);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.telegram-download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #006699, #0088cc);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.telegram-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.telegram-download-btn:hover::before {
  opacity: 1;
}

.telegram-download-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.telegram-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telegram-icon svg {
  fill: white;
  width: 100%;
  height: 100%;
}

.btn-text {
  white-space: nowrap;
}

.download-btn-animated {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  font-family: Arial, sans-serif;
  cursor: pointer;
  transition: background 0.3s ease;
}

.download-btn-animated:hover {
  background: #2E7D32;
}

.spinner {
  animation: spin 1s linear infinite;
  width: 20px;
  height: 20px;
  stroke: white;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.animated-button {
  /* Базовые стили кнопки */
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #4CAF50;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Эффект при наведении */
.animated-button:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Эффект при нажатии */
.animated-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Анимация волны при клике */
.animated-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.animated-button.ripple:after {
  width: 300px;
  height: 300px;
}
.modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-content {
  background: white;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 95%;
  width: 320px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-10px);
  transition: transform 0.3s ease;
}

.modal:not(.hidden) .modal-content {
  transform: translateY(0);
}

.modal-content h2 {
  margin-top: 0;
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.modal-content p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn {
  padding: 16px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  font-weight: 600;
  outline: none;
}

.yes {
  background-color: #4CAF50;
  color: white;
}

.yes:active, .yes:focus {
  background-color: #45a049;
  transform: scale(0.98);
}

.no {
  background-color: #f44336;
  color: white;
}

.no:active, .no:focus {
  background-color: #da190b;
  transform: scale(0.98);
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 20px 15px;
    width: 280px;
  }
  .btn {
    padding: 14px 18px;
    font-size: 0.95rem;
  }
}
.accordion-container {
  max-width: 800px;
  margin: 30px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.accordion-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #eaeaea;
}

.accordion-header {
  width: 100%;
  padding: 20px 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  font-size: 20px;
}

.arrow {
  font-size: 24px;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}

.accordion-item.active .arrow {
  transform: rotate(90deg);
}

.accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  background: #f8f9fa;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-content.open {
  padding: 25px;
  max-height: 1000px;
}

/* Стили для инструкции APK */
.installation-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.step-number {
  min-width: 30px;
  height: 30px;
  background: #667eea;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.step-text {
  color: #333;
  line-height: 1.5;
}

/* Стили для инструкции XAPK */
.subtitle {
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.recommended-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.app-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.app-card h4 {
  margin: 0 0 8px 0;
  color: #667eea;
}

.app-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.section-title {
  color: #333;
  margin: 20px 0 15px 0;
  font-size: 18px;
  border-bottom: 2px solid #667eea;
  padding-bottom: 5px;
}

.steps-list {
  color: #333;
  line-height: 1.6;
  padding-left: 20px;
}

.steps-list li {
  margin-bottom: 8px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .accordion-container {
    margin: 15px;
  }
  
  .accordion-header {
@media (max-width: 768px) {
  .accordion-container {
    margin: 15px;
  }
  
  .accordion-header {
    padding: 18px 20px;
    font-size: 16px;
  }
  
  .accordion-content {
    padding: 20px 20px;
  }
  
  .step-number {
    min-width: 25px;
    height: 25px;
    font-size: 12px;
  }
}

/* Анимация появления при наведении на шаги */
.step:hover .step-text {
  color: #667eea;
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* Стили для списка шагов в XAPK */
.steps-list li {
  position: relative;
  padding-left: 25px;
}

.steps-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #667eea;
  border-radius: 50%;
}

/* Эффект для карточек приложений */
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}

/* Специальный стиль для активного заголовка */
.accordion-item.active .accordion-header {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}