:root {
  --bg-dark: #000a16;
  --bg-panel: #061f3d;
  --bg-card-standard: #061f3d;
  --bg-card-vip: #061f3d;
  --accent-lime: #baeb01;
  --accent-yellow: #ffd414;
  --accent-orange: #eb4c13;
  --accent-blue: #2f86eb;
  --text-white: #ffffff;
  --text-grey: #92b2d6;
  --border-blue-alpha: rgba(47, 134, 235, 0.32);
  --color-primary: #baeb01;
  --color-secondary: #1377eb;
  --color-background: #000a16;
  --color-surface-1: #061f3d;
  --color-surface-2: rgba(47, 134, 235, 0.32);
  --color-text-primary: #ffffff;
  --color-text-secondary: #92b2d6;
  --color-text-placeholder: #5c7899;
  --border-color-1: #d8e1eb;
  --border-color-2: rgba(47, 134, 235, 0.32);
  --bg-color: #000a16;
  --card-bg-color: #061f3d;
  --accent-bg-color: rgba(47, 134, 235, 0.32);
  --text-primary: #ffffff;
  --text-secondary: #92b2d6;
  --font-main: 'Inter', sans-serif;
  --bg-color: #000a16;
  --card-bg: #061f3d;
  --item-bg: #134074;
  --text-color: #ffffff;
  --accent-border: #baeb01;
  --bg-dark: #000a16;
  --card-bg-dark: #061f3d;
  --card-bg-form: #001329;
  --text-primary: #ffffff;
  --text-secondary: #92b2d6;
  --text-placeholder: #5c7899;
  --accent-orange: #eb4b13;
  --accent-blue-light: #14b1ff;
  --accent-blue-dark: #1377eb;
  --button-blue-transparent: rgba(47, 134, 235, 0.32);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

#app-root {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.app-container {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  position: relative;
  overflow-x: hidden;
}

/* Main Content Styles */
.main-content {
  flex-grow: 1;
  width: 100%;
  max-width: 1216px;
  padding: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  font-size: 14px;
  flex-wrap: wrap;
}

.crumb-separator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumb-active {
  color: var(--accent-lime);
}

.hero-banner {
  width: 100%;
  height: auto;
  max-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-blue-alpha);
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-top h1 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin: 0;
}

.header-desc {
  color: var(--text-grey);
  margin: 0;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.5;
}

.tabs-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 1px solid var(--border-blue-alpha);
  border-radius: 12px;
  padding: 4px;
}

.tabs-scroll::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 12px 20px;
  border: none;
  color: var(--text-grey);
  cursor: pointer;
  white-space: nowrap;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tab.active {
  color: var(--text-white);
  background-color: var(--border-blue-alpha);
  border: 1px solid var(--accent-blue);
}

/* Cards Grid */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.cards-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  min-width: 0;
}

.card-logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  margin-bottom: -60px;
  position: relative;
}

.card-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-panel);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg-panel);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 32px;
  font-size: 12px;
  font-weight: 700;
  margin-top: -12px;
  position: relative;
  z-index: 3;
}

.vip-rating {
  background-color: var(--accent-yellow);
  color: var(--bg-dark);
  box-shadow: 0 0 24px var(--accent-yellow);
}

.standard-rating {
  background-color: #001329;
  border: 1px solid var(--border-blue-alpha);
  color: var(--text-white);
}

.card-body {
  width: 100%;
  background-color: var(--bg-panel);
  border-radius: 20px;
  padding: 72px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: 1px solid transparent;
}

.card.vip .card-body {
  border: 1px solid var(--accent-yellow);
}

.card-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.card-info h3 {
  margin: 0;
  font-size: clamp(1rem, 3vw, 1.125rem);
  line-height: 1.3;
}

.card-description {
  margin: 0;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  color: var(--text-white);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
}

.card-tags {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.card-tags::-webkit-scrollbar {
  display: none;
}

.tag {
  border: 1px solid var(--accent-lime);
  border-radius: 32px;
  padding: 6px 16px;
  font-size: clamp(0.625rem, 2vw, 0.75rem);
  color: var(--text-white);
  white-space: nowrap;
  flex-shrink: 0;
  background-color: rgba(186, 235, 1, 0.1);
  transition: all 0.3s ease;
}

.tag-fade {
  opacity: 0.5;
  border-color: rgba(186, 235, 1, 0.5);
}

.btn-action {
  background-color: var(--accent-orange);
  color: var(--text-white);
  border-radius: 12px;
  padding: 0 20px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
  width: 100%;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.btn-action:hover {
  opacity: 0.9;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  flex-wrap: wrap;
}

.page-input {
  background-color: #001329;
  border: 1px solid var(--border-blue-alpha);
  border-radius: 12px;
  width: 46px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-total {
  color: var(--text-grey);
  font-size: 14px;
}

.page-controls {
  display: flex;
  background-color: var(--border-blue-alpha);
  border-radius: 12px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--border-blue-alpha);
  transition: opacity 0.3s ease;
}

.page-btn:hover {
  opacity: 0.8;
}

.page-btn:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.page-btn:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.separator {
  width: 100%;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .main-content {
    padding: 16px;
    gap: 24px;
  }
  .hero-banner {
    max-height: 160px;
  }
  .tab {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  .main-content {
    padding: 12px;
    gap: 20px;
  }
  .cards-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .hero-banner {
    max-height: 140px;
    border-radius: 8px;
  }
  .header-top h1 {
    font-size: 1.25rem;
  }
  .header-desc {
    font-size: 0.875rem;
  }
  .tabs-scroll {
    padding: 2px;
  }
  .tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  .card-body {
    padding: 64px 16px 16px;
    border-radius: 16px;
  }
  .card-logo {
    width: 50px;
    height: 50px;
    border-width: 3px;
  }
  .card-logo-group {
    margin-bottom: -50px;
  }
  .card-tags {
    gap: 6px;
  }
  .tag {
    padding: 5px 12px;
    font-size: 0.7rem;
  }
  .btn-action {
    height: 36px;
    font-size: 0.8rem;
    width: 50%;
  }
  .pagination {
    gap: 12px;
  }
  .page-input,
  .page-btn {
    width: 36px;
    height: 36px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .main-content {
    padding: 10px;
  }
  .breadcrumbs {
    font-size: 12px;
    gap: 4px;
  }
  .hero-banner {
    max-height: 120px;
  }
  .card-body {
    padding: 56px 12px 12px;
  }
  .card-info h3 {
    font-size: 1rem;
  }
  .card-description {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  .tag {
    padding: 4px 10px;
    font-size: 0.65rem;
  }
  .btn-action {
    height: 32px;
    font-size: 0.75rem;
    width: 50%;
  }
}

@media screen and (max-width: 1920px) {
  .app-container {
    max-width: 100vw;
  }
}

@media screen and (min-width: 1217px) {
  body {
    overflow-x: hidden;
  }
}

/* футер */
.footer-bottom {
  background-color: var(--color-surface-1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.footer-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo-wrapper {
  width: 52px;
  height: 52px;
  position: relative;
}

.footer-logo-wrapper img {
  object-fit: contain;
}

.footer-logo-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--color-text-primary);
}

.footer-description {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.footer-copyright {
  font-size: 14px;
  line-height: 1.3;
  color: var(--color-text-placeholder);
}

/* Блок соцсетей в футере */
.footer-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(47, 134, 235, 0.32);
  border-radius: 8px;
  padding: 8px 16px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  height: 40px;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 250px;
  max-width: 100%;
  box-sizing: border-box;
}

.social-btn:hover {
  background-color: rgba(47, 134, 235, 0.5);
}

.social-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}


@media (max-width: 768px) {
  .footer-socials {
    gap: 12px;
    flex-wrap: wrap;
  }
  .social-btn {
    padding: 6px 12px;
    font-size: 12px;
    width: 100%;
    min-width: auto;
  }
  .social-btn img {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 992px) {
  .footer-cta-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-card {
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .newsletter-form .form-group {
    width: 100%;
  }
  .newsletter-form .submit-button {
    width: 100%;
  }
}

/* конец футера */

/* блок подписки */
.feature-description-wrapper {
  overflow: hidden;
  max-height: 53px;
  transition: max-height 0.3s ease;
}

.feature-description-wrapper.expanded {
  max-height: 500px;
}

.read-more-button {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 700;
}

.read-more-button:hover {
  opacity: 0.8;
}

.newsletter-form {
  margin: 0;
}

.ai-features-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-subcribe {
  max-width: 1232px;
  width: 100%;
}

.card-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.newsletter-card {
  position: relative;
  flex: 1 1 460px;
  min-width: 320px;
  background: linear-gradient(180deg, var(--accent-blue-light) 0%, var(--accent-blue-dark) 100%);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 20px;
  padding-top: 37px;
  overflow: visible;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 210px);
}

.newsletter-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 12px 0;
}

.newsletter-description {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 20px 0;
}

.newsletter-form .form-group {
  background-color: var(--card-bg-form);
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 368px;
  box-sizing: border-box;
}

.newsletter-form .mail-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.newsletter-form .email-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-placeholder);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.newsletter-form .email-input::placeholder {
  color: var(--text-placeholder);
  opacity: 1;
}

.newsletter-form .submit-button {
  width: 100%;
  max-width: 368px;
  background-color: var(--accent-orange);
  border: none;
  border-radius: 12px;
  padding: 13px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.dog-illustration {
  position: absolute;
  top: 0px;
  right: 26px;
  width: 182px;
  height: 229px;
  z-index: 1;
}

.feature-card {
  flex: 2 1 803px;
  min-width: 320px;
  background-color: var(--card-bg-dark);
  border-radius: 20px;
  padding: 20px;
}

.feature-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 14px 0;
}

.feature-subtitle {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px 0;
}

.feature-description {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.3;
  margin: 0 0 20px 0;
}

.feature-card .read-more-button {
  display: inline-block;
  width: 100%;
  background-color: var(--button-blue-transparent);
  border-radius: 12px;
  padding: 11px;
  text-align: center;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0;
}

@media (max-width: 1250px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
  .newsletter-card,
  .feature-card {
    width: 100%;
    max-width: 803px;
    flex-basis: auto;
  }
  .newsletter-card {
    padding-bottom: 20px;
  }
  .dog-illustration {
    top: 20px;
    right: 20px;
    width: 150px;
    height: auto;
  }
  .newsletter-content {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .feature-title {
    font-size: 24px;
  }
}

/* конец блока подписки  */

/* нач обзора   */
.reviews-section {
  padding: 0 0 50px 0px;
}

.reviews-container {
  max-width: 1216px;
  margin: 0 auto;
}

.reviews-header {
  margin-bottom: 20px;
}

.reviews-header .title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}

.reviews-header .emoji {
  font-size: 26px;
  line-height: 1;
}

.reviews-header .subtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-secondary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.review-card {
  display: flex;
  background-color: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  transition: background-color 0.2s ease-in-out;
}

.review-card:hover {
  background-color: #1b355a;
}

.card-image {
  width: 101px;
  height: 101px;
  flex-shrink: 0;
  object-fit: cover;
}

.card-content-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-text {
  padding: 15px 12px;
}

.card-text h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.21;
  color: var(--text-primary);
}

.card-text p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
  opacity: 0.9;
}

.card-arrow-container {
  width: 28px;
  height: 101px;
  flex-shrink: 0;
  background-color: var(--accent-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-arrow-container img {
  width: 20px;
  height: 20px;
}

.more-reviews-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 40px;
  background-color: var(--accent-bg-color);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  transition: background-color 0.2s ease;
}

.more-reviews-link:hover {
  background-color: rgba(47, 134, 235, 0.5);
}

.more-reviews-link img {
  width: 17px;
  height: 17px;
}

@media (max-width: 1280px) {
  .reviews-container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .reviews-header {
    text-align: center;
  }
  .reviews-header .title {
    justify-content: center;
  }
  .reviews-header .subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .reviews-section {
    padding: 40px 0;
  }
  .reviews-header {
    margin-bottom: 30px;
  }
  .reviews-header .title {
    font-size: 24px;
    gap: 8px;
  }
  .reviews-header .emoji {
    font-size: 22px;
  }
  .card-text {
    padding: 12px;
  }
  .card-text h3 {
    font-size: 15px;
  }
  .card-text p {
    font-size: 11px;
  }
}

/* конец обзора */
