/* ============================================
 CSS VARIABLES FOR COLORS AND STYLING
 ============================================
 Змініть ці змінні для налаштування кольорів сайту
 ============================================ */




:root {
    /*  ============================================ Colors ============================================ */
    --color-bg-page: #03121E;
    /* Header */
    --color-bg-header: linear-gradient(90deg,
      #000000 0%,
      #0d0020 30%,
      #1a0040 60%,
      #2d0060 80%,
      #080010 100%
    ),
    radial-gradient(circle at 50% 45%, rgba(255, 215, 0, 0.16), transparent 50%),
    radial-gradient(circle at 65% 40%, rgba(120, 40, 255, 0.22), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(80, 0, 160, 0.14), transparent 60%);
    --color-border-header: #6a5b0f;
    /* Footer */
    --color-bg-footer: linear-gradient(90deg,
      #000000 0%,
      #0d0020 30%,
      #1a0040 60%,
      #2d0060 80%,
      #080010 100%
    ),
    radial-gradient(circle at 50% 45%, rgba(255, 215, 0, 0.16), transparent 50%),
    radial-gradient(circle at 65% 40%, rgba(120, 40, 255, 0.22), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(80, 0, 160, 0.14), transparent 60%);
    --color-border-footer: #0867b00c;
    --color-text-footer: #B7C3CF;
    /* Navigation */
    --color-bg-nav: #370e66;
    --color-bg-nav-mobile: #370e66;
    --color-bg-nav-link: none;
    --color-icon-menu: #899BA7;
    --color-text-nav: #ffffff;
    --color-text-nav-hover: #33CD71;
    --color-text-nav-mobile: #ffffff;
    --color-text-nav-mobile-hover: #33CD71;
    /* Text */
    --color-text: #ffffff;
    /* Buttons and Banner*/
    --color-bg-btn-header: transparent;
    --color-bg-btn-primary: linear-gradient(
    115deg,
    #6b4c10 0%,
    #8a6520 20%,
    #c9902a 38%,
    #f5d060 48%,
    #fff0b0 52%,
    #f5d060 56%,
    #c9902a 68%,
    #8a6520 82%,
    #6b4c10 100%
  );
    --color-border-btn-header: #028859;
    --color-border-btn-primary: transparent;
    --color-text-bonus: #B8CBDB;
    --color-text-bonus-subtitle: #FFFFFF;
    --color-text-btn-primary: black;
    --color-text-btn-header: #ffffff;
    --color-bg-banner: linear-gradient(to bottom, #1e336982, #05152480);
    /* for classic large banners */
    --banner-position-desktop: center;
    --banner-position-mobile: center;
    /* can be also used for hero (template1) */
    --banner-height-desktop: 450px;
    --banner-height-mobile: 100%;


    /* Other */
    --color-border-card: none;
    --color-bg-card: rgb(0 0 0 / .5);
    --color-border-table: #ffffff96;
    --color-bg-table-row: #333f5e56;
    --color-bg-section: #5a238e5d;
    --color-border-section: #dadfe30c;


    /*  ============================================ Optional ============================================ */
    --height-header: 70px;
    --color-outline-focus: linear-gradient(
    115deg,
    #6b4c10 0%,
    #8a6520 20%,
    #c9902a 38%,
    #f5d060 48%,
    #fff0b0 52%,
    #f5d060 56%,
    #c9902a 68%,
    #8a6520 82%,
    #6b4c10 100%
  );
    --color-tap-highlight: #fff0;
    --color-scrollbar-thumb: rgba(255, 255, 255, 0.6);


    /* lang menu */
    --color-bg-lang-btn: #31313100;
    --color-bg-lang-menu: #313131;
    --color-bg-lang-option-hover: #3d3d3d;


    /* Radius tokens */
    --radius-btn: 100px;
    --radius-nav: var(--radius-btn);
    --radius-game-card: 4px;
    --radius-banner-mobile: 10px;
    --radius-banner-desktop: 24px;
    --radius-bonus-banner: 24px;
    --radius-table-cell: 10px;
    --radius-section: 20px;
    --radius-author-image: var(--radius-btn);
    --radius-lang-menu: 10px;


    /* Typography tokens */
    --font-size-base: clamp(14px, 14px + ((1vw - 7.68px) * 0.4630), 16px);
    --font-size-h1: 40px;
    --font-size-h2: 35.2px;
    --font-size-h3: 24px;
    --font-size-h4: 20px;
    --font-size-h1-mobile: 30px;
    --font-size-h2-mobile: 24px;
    --font-size-h3-mobile: 20px;
    --font-size-h4-mobile: 18px;
    --font-size-bonus: 32px;
    --font-size-bonus-mobile: 25.6px;
    --font-size-bonus-subtitle: 20px;
    --font-size-menu-item: 16px;
    --font-size-lang: 14px;
    --font-size-footer: 14px;
    --font-size-card-title: 14px;
    --font-size-card-btn: 14px;
    --font-size-btn-primary: 20px;
    --font-size-table: 14px;
    --font-size-subtitle: 18px;


    /* Font weight tokens */
    --fw-body: 400;
    --fw-h1: 700;
    --fw-h2: 700;
    --fw-h3: 700;
    --fw-h4: 700;
    --fw-btn: 700;
    --fw-menu-item: 700;
    --fw-strong: 700;
    --fw-link-footer: 700;
    --fw-bonus: 900;
    --fw-bonus-subtitle: 700;
    --fw-table: 500;
    --fw-card-title: 600;


    /* Text transform tokens */
    --text-transform-uppercase: uppercase;
    --text-transform-none: none;
    --text-transform-button-primary: uppercase;
    --text-transform-button-header: none;
    --text-transform-bonus-subtitle: uppercase;
    --text-transform-bonus: none;
    --text-transform-menu: uppercase;


}


.main-wrapper {
    background: linear-gradient(90deg,
      #000000 0%,
      #0d0020 30%,
      #1a0040 60%,
      #2d0060 80%,
      #080010 100%
    ),
    radial-gradient(circle at 50% 45%, rgba(255, 215, 0, 0.16), transparent 50%),
    radial-gradient(circle at 65% 40%, rgba(120, 40, 255, 0.22), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(80, 0, 160, 0.14), transparent 60%);
}

.sa-call-to-action .sa-btn_primary {
    border: 1px solid transparent;
    color: black;
    box-shadow: none;
}

.sa-btn:hover, .sa-btn_primary:hover {
    transform: scale(1.1);
}


.new-row .rank-container span {
    color: black !important;
}

@media (max-width: 992px) {
    .new-row .rank-container span {

    color: white !important;
    }

}

@media (max-width: 768px) {
.break {
    display: block;
}
}

main .sorted-elements:nth-child(2) img {
    height: 40px;
    width: auto;
}

main .sorted-elements:nth-child(3) img {
    height: 40px;
    width: auto;
}
main .sorted-elements:nth-child(4) img {
    height: 40px;
    width: auto;
}
main .sorted-elements:nth-child(5) img {
    height: 40px;
    width: auto;
}
main .sorted-elements:nth-child(6) img {
    height: 30px;
    width: auto;
}

main .sorted-elements img {
    margin-left: 8px;
}