/*!
Theme Name: Save Theme
Theme URI: http://pryvus.com/
Author: Pryvus
Author URI: http://pryvus.com/
Description: Custom light theme
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: save-theme
*/

/* =======================
   Reset & Base styles
======================= */
* {
  padding: 0;
  margin: 0;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--coming-soon-font, "Poppins", sans-serif);
  margin: 0;
  color: #fff;
  background: linear-gradient(180deg, #0b0325 0%, #130a43 100%);
}

hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid;
  opacity: .25;
}

/* =======================
   Links
======================= */
a, a:link, a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

/* =======================
   Containers
======================= */
.container__page {
  max-width: 900px !important;
  width: 100%;
  margin: 0 auto;
}

.content__wrap {
  padding-bottom: 64px;

  .wp-block-list {
    list-style: disc !important;
    padding: 10px;
  }

  p {
    padding: 12px 0;
  }
}

.wp-block-heading {
  font-size: 20px !important;
  font-weight: 900;
}

.menu_page_title {
  padding: 24px 0 !important;
  margin-bottom: 24px;
  border-bottom: 1px solid #44403f;
  font-size: 32px !important;
}

@media (max-width: 1024px) {
  .container__page {
    padding: 15px;
  }
}

/* =======================
   Common
======================= */
aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul, ul li {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

address {
  font-style: normal;
}

/* =======================
   Forms
======================= */
input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  background: none;
  box-shadow: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

label {
  cursor: pointer;
}

/* =======================
   Layout
======================= */
.site-main > .container {
  padding: 33px 0 0;
  color: var(--text-color);
  h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 24px;
  }
  a {
    color: var(--text-color);
    text-decoration: underline;
  }
  ul {
    padding-left: 20px;
    margin-bottom: 10px;
    li {
      list-style: disc;
      margin-bottom: 5px;
    }
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 1180px;
    max-width: 98vw;
  }

  .container-page {
    width: 1165px;
    max-width: 98vw;
    margin: 0 auto;
    padding: 20px 0;
  }
}

/* =======================
   Header
======================= */
.header {
  padding: 20px 0;
}

.header-container {
  display: flex;
  position: relative;
  justify-content: end;
  align-items: center;
  background: #0a081b;
  border-radius: 10px;
  box-shadow: 0 4px 22px rgba(0,0,0,.25);
  margin: 0 auto 46px;
  max-width: 1500px;
  padding: 39px 50px;
  width: 100%;
  z-index: 10;

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    img {
      width: 100%;
      max-width: 230px;
    }
  }

  .nav .menu ul{
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .menu {
    display: flex;
    gap: 25px;

    a {
      color: #fff;
      font-weight: 600;
      transition: color 0.3s ease;

      &:hover {
        color: #ff8c22;
      }
    }
  }
}

/* =======================
   Hero
======================= */
.hero {
  margin-top: -268px;
  text-align: left;
  padding: 80px 0;
  background: linear-gradient(180deg, #0b0325 0%, #130a43 100%);

  .hero-container {
    display: flex;
    justify-content: space-between;
    padding-top: 162px;
  }

  .hero__title_date {
    display: flex;
    flex-direction: column;
    justify-content: center;

    h1 p {
      font-size: 54px;
    }
  }

  h1 {
    font-size: 3rem;
    line-height: 1.2;
  }

  .highlight {
    color: #ff8c22;
  }

  .updated {
    color: #ccc;
    font-weight: 500;
    margin-top: 10px;
  }
}

/* =======================
   Hero brands
======================= */

.exclusive__brand {
  color: white;
  width: fit-content;
  position: relative;
  left: 288px;
  top: 27px;
  z-index: 12;
  background: #ff9431;
  padding: 5px;
}

.save__hero_brands .save__brands-list .save__brand-card {
  background: #040720;
  border: 1px solid #340a56;
  width: 100%;
  height: 100%;
  max-height: 88px;
  gap: 1.5rem;

  a {
    display: -webkit-inline-box;
  }

  a img {
    height: 58px;
    width: 100px;
  }

  .save__logo {
    display: flex;
    gap: 1.5rem;
  }

  .save__bonus {
    display: flex;
    align-items: center;
    padding-left: 0 !important;
    width: 100%;
    min-width: 293px;
    color: #ff8e01;
    font-size: 16px;
  }

  .save__info {
    display: none;
  }

  .save__content {
    flex-wrap: nowrap;

    .save__btn {
      padding: 10px 16px !important;
    }
  }

  .save__number {
    display: none;
  }
}

/* =======================
   Cards
======================= */
.save-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.save-card {
  background: #1a1047;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  img {
    height: 60px;
  }

  p {
    flex: 1;
    margin: 0 20px;
    font-size: 1.1rem;
  }
}

.btn {
  background: linear-gradient(90deg, #6331ff, #a845ff);
  color: #fff;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.3s;

  &:hover {
    opacity: 0.8;
  }
}

/* =======================
   Brands block
======================= */
.brands-list-block {
  background-color: #ffffff;
  padding: 20px;
}

.save__brands-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.save__brand-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ... остальное без изменений ... */


.save__number {
  background: #ff8c22;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.save__logo img {
  height: 60px;
  border-radius: 6px;
}

.save__content {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}


.save__bonus {
  padding-left: 50px;
  font-weight: 600;
  color: #704ef4;
  font-size: 1.125rem;
  text-align: center;
  width: 100%;
  max-width: 317px;
  line-height: 28px;
}

.save__info {
  display: flex;
  gap: 55px;
  color: #333;
  width: 100%;
    justify-content: center;
}

.save__info_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  p {
    font-size: 0.8125rem;
    margin-bottom: 4px;
    opacity: 0.5;
    color: #666;
  }
  h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
  }
}

.save__btn {
  background: linear-gradient(90deg, #6a32ff, #9a48ff);
  color: #fff;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s;
  width: 150px;
}

.save__btn:hover {
  opacity: 0.8;
}
.save__logo {
  position: relative;
  display: inline-block;
  display: flex;
  justify-content: center;
  align-items: center;
}

.save__logo img {
  display: block;
  border-radius: 6px;
  width: 146px;
  height: 86px;
}

.save__number {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #ff8c22;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .hero h1 p {
      font-size: 28px !important;
  }
  .save__content {
    width: 100%;
    flex-direction: column;
  }
  
  .save__content a{
    width: 100%;
  }

  .hero__title_date {
    margin-bottom: 30px;
  }

  .header {
    padding: 0px;
  }

  .header-container {

    padding: 31px 50px;
  }

  .header-container .logo {
    img {
      width: 118px;
    }
  }

  .hero-container {
    display: flex;
    flex-direction: column;
  }

  .save__hero_brands .save__brands-list .save__brand-card {
      flex-direction: column;
      gap: 3px;
      height: 100%;
      max-height: 130px;
      padding: 10px;
      .save__logo {
        display: flex;
        gap: 10px;
      }
      .save__bonus {
        padding: 0px !important;
        text-align: justify;
        line-height: 18px;
        min-width: 201px;
      }
  }

  .save__content .save__btn {
    display: flex !important;
    justify-content: center;
  }

  .save__content {
    width: 100%;
  }

  .save__content a{
    width: 100%;
  }

  .exclusive__brand {
    left: 154px;
  }
}

@media(max-width: 480px) {

 

}


.menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.menu a:hover {
  color: #ff8c22;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.scroll-up {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff006a, #ff8c00);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 18px;
  box-shadow: 0 0 25px rgba(255, 50, 100, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  transition: all 0.3s ease;
  z-index: 11000;
}

.scroll-up.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-up:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(255, 50, 100, 0.6);
}

.sticky__content {
  width: 86%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(16, 10, 51, 0.95);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.open {
    max-height: 400px;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }
}
@media (max-width: 768px) {
  .save__brand-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 14px;
  }

  .save__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    width: 100%;
    justify-content: flex-start !important;
  }

  .save__logo img {
    width: 127px;
    height: 75px;
    border-radius: 8px;
  }

  .save__brands-list {
    padding: 0px !important;
  }

  .brands-list-block {
    padding: 30px 0px 30px 0px;
  }

  .save__number {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .save__bonus {
    padding: 0px !important;
    font-size: 1rem;
    font-weight: 700;
    color: #704ef4;
    text-align: left;
    line-height: 1.3;
    flex: 1;
  }

  .save__info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    margin-top: 5px;
  }

  .save__info_content {
    flex: 1;
    align-items: center;
  }

  .save__info_content p {
    font-size: 0.75rem;
    margin-bottom: 4px;
    color: #888;
  }

  .save__info_content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
  }

  .save__btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding: 14px 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #6a32ff, #9a48ff);
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
  }

  .save__brands-list {
    gap: 16px;
  }

  .save__brand-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
  }
}

/* =======================
   Footer
======================= */
.site-footer {
  background: #020729;
  color: #fff;
  padding: 60px 0 20px;
  font-size: 0.95rem;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.footer__logo img {
  max-width: 200px;
  height: auto;
}

.footer__contact {
  width: 100%;
}

.footer__contact h3 {
  text-align: center;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer__contact p {
  text-align: center;
  margin-bottom: 6px;
  color: #c8c8c8;
  line-height: 1.5;
}

.footer__contact a {
  color: #a48cff;
  font-weight: 600;
}

.footer__licenses {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__licenses img {
  max-height: 38px;
  width: auto;
  opacity: 0.9;
}

.footer__disclaimer {
  margin-top: 20px;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__disclaimer strong {
  color: #fff;
}

/* Bottom footer */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 40px;
  padding-top: 25px;
  text-align: center;
}

.footer__bottom .menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__bottom .menu ul{
  display: flex;
  gap: 20px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer__links li a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer__links li a:hover {
  color: #ff8c22;
}

.coopirighting {
  text-align: center;
  padding: 10px;
  background-color: #000314;
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.6;
}



.footer__copyright a {
  color: #a48cff;
}

/* Responsive */
@media (max-width: 768px) {
  .footer__top {
    gap: 30px;
  }

  .footer__licenses {
    justify-content: center;
  }

  .footer__links {
    flex-direction: column;
    gap: 10px;
  }

  .sticky-brand {
    padding: 23px 0px !important;
  }

  .sticky-inner {
    gap: 20px;
    flex-direction: column;
  }

  .sticky-right {
    width: 100%;
  }

  .sticky-btn {
    width: 100%;
    text-align: center;
  }

  .sticky-text {
    flex-direction: column;
  }

  .title-score {
    font-size: 14px;
  }
  .sticky__rating_block{
    flex-direction: row !important;
  }

  .sticky-logo {
    width: 90px !important;
  }
  .sticky__content {
    h4 {
      font-size: 18px !important;
    }
    p{
      font-size: 14px !important;
    }

  }

  .sticky-text h4{
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 2px;
    font-weight: 700;
  }
}

.sticky-brand {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0a0717;
  color: #fff;
  z-index: 9999;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.5);
  padding: 43px 40px;
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-left {
  display: flex;
  width: 90%;
  align-items: center;
  gap: 20px;
}
.sticky-logo{
  width: 146px;
  border: 12px solid white;
}

.sticky-logo img{
  width: 146px;
  border-radius: 8px;
  border: 12px solid white;
}

.sticky-text {
  display: flex
  ;
      width: 90%;
      justify-content: space-between;
      align-items: center;
}

.sticky-text h4 {
  color: rgb(255, 255, 255);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  font-size: 1.2rem;
}

.sticky-text p {
  font-size: 20px;
  font-weight: 500;
  color: #704ef4;
  font-weight: 700;
}

.sticky__rating_block {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;

  .title-score {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
  }
  .num-percent {
    font-size: 24px;
    font-weight: 700;
  }
}

.num-percent {
  display: flex;
  gap: 4px;
}

.sticky-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-rating {
  font-size: 1rem;
  color: gold;
}

.sticky-btn {
  background: linear-gradient(90deg, #7141ff, #7b5cff);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

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

/* Кнопка закрытия */
.sticky-close {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  color: #ccc;
  font-size: 26px;
  cursor: pointer;
}

.sticky-close:hover {
  color: #fff;
}

/* Анимация скрытия */
.sticky-hide {
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s ease;
}
