/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

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

html {
	/* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
	font-family:
		system-ui,
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
	line-height: 1.15; /* 1. Correct the line height in all browsers. */
	-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
	-moz-tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
	-o-tab-size: 4;
	   tab-size: 4; /* 3 */
}

/*
Sections
========
*/

body {
	margin: 0; /* Remove the margin in all browsers. */
}

/*
Grouping content
================
*/

/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/

hr {
	height: 0; /* 1 */
	color: inherit; /* 2 */
}

/*
Text-level semantics
====================
*/

/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
	-webkit-text-decoration: underline dotted;
	        text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/

b,
strong {
	font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
	font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
	text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}

/**
Remove the inner border and padding in Firefox.
*/

::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/

:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/

:-moz-ui-invalid {
	box-shadow: none;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
	padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
	vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

summary {
	display: list-item;
}

:root {
    --light-primary: #fff;
    --accent-color: #5206bf;
    --accent-color-secondarily: #5319a4;
    --dark-primary: #000000;
    --gray-primary: #898585;
    --border-color: #ddd;
    --bg-td:#f4f4f4;
    --td-hover:#f9f9f9;
    --btn-color:#fcd804;
    --btn-hover:#d2d1db;
    --bg-gradient: linear-gradient(to bottom, #666666, #dddddd);
    
}

*:where( :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

/* Preferred box-sizing value */

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

/* Fix mobile Safari increase font-size on landscape mode */

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Reapply the pointer cursor for anchor tags */

a,
button {
    cursor: revert;
    text-decoration: none;
    
}

/* Remove list styles (bullets/numbers) */

ol,
ul,
menu {
    list-style: none;
}

/* For images to not be able to exceed their container */

img {
    max-inline-size: 100%;
    max-block-size: 100%;
}

input,
textarea {
    -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */

textarea {
    white-space: revert;
}

/* minimum style to allow to style meter element */

meter {
    -webkit-appearance: revert;
    -moz-appearance: revert;
         appearance: revert;
}

/* preformatted text - use only for this feature */

:where(pre) {
    all: revert;
    box-sizing: border-box;
}

/* reset default text opacity of input placeholder */

::-moz-placeholder {
    color: unset;
}

::placeholder {
    color: unset;
}

/* remove default dot (•) sign */

::marker {
    content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */

:where([hidden]) {
    display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */

:where([draggable="true"]) {
    -webkit-user-drag: element;
}

/* Revert Modal native behavior */

:where(dialog:modal) {
    all: revert;
    box-sizing: border-box;
}

* {
    scrollbar-width: none;       /* прячет вертикальную полосу */
    scrollbar-color: transparent transparent;
}

body{
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto, "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;;
    font-size: 17px;
    line-height: 20px;
    line-height: 1.5;
    box-sizing: border-box;
    overflow-x: hidden;
}

h1,h2{
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
}

h3{
    font-weight: 600;
    font-size: 20px;
    margin-top:15px;
    margin-bottom: 15px;
}

video{
    display: block;

    width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 15px auto 15px auto;
    max-width: 700px;
}

.section{
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-top{
    padding-top: 70px;
}

.hero-item-mob{
    width: 100%;
    margin: 5px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 15px 10px;
  background: linear-gradient(145deg, #f74b57, #e40310);
  border-radius: 0.75rem;
  transition: all 0.1s ease;
  max-width: 350px;
  height: 60px;
  color: var(--light-primary);
  margin: 17px auto;
}

.button:hover {
  background: linear-gradient(145deg, #e73844, #c7020f);
}

.button:active {
  letter-spacing: 0px;
  transform: skew(-10deg) translateY(6px); 
  background: linear-gradient(145deg, #c7020f, #a0020d); 
}

.btn-stake{
 max-width: 320px; 
 margin-bottom: 15px;
}

.img-box {
  width: 100%;
  height: auto; 
  overflow: hidden;
  margin: 0px auto 15px auto;
  
    & img {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
         object-fit: cover;
      -o-object-position: center;
         object-position: center;
      display: block;
    }
}

.no-scroll {
    overflow: hidden;
  }

.hidden {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

strong{
  margin: 10px 0px;
  display: block;
}

.header {
    height: 56px;
    position: fixed;
    background-color: #1a1a1a;
    width: 100%;
   padding: 10px 20px 15px 1px;
  /* box-shadow: 0 0 15px 0 rgba(0, 0, 0, .3); */
  z-index: 998;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;

    @media(min-width:992px){
     padding: 0px 20px;
    }
}
.logo, .logo-page{
    margin-left: 10px;
    height: 36px;
    width: 50px;
}

.nav-box{
    display: flex;
    align-items: center;
    gap: 90px;
}

.nav-mob.is-visible {
    transform: translateY(0);
}

.nav-list {
    display: none;
 }

@media (min-width: 992px) {
    .nav-list {
       display: flex;
       gap: 60px;
    }
 }

.nav-item {
transition: all 0.3s ease;
position: relative;

    &:hover{
        color: var(--btn-color);
    }
}

.burger-btn {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: 23px;
    right: 23px;



    @media (min-width:992px) {
        display: none;
    }
}

.top-line, .middle-line,.bottom-line {
    display: block;
    width: 16px;
    height: 3px;
    border-radius: 15px;
    background-color: rgb(255, 255, 255);
}

.nav-mob {
    transform: translateY(-200%);
    background-color: var(--btn-color);
    color: var(--light-primary);
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-btn-close{
position: absolute;
top: 35px;
right: 35px;

}

.nav-list-mob {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--dark-primary);
    font-size: 24px;
    font-weight: 600;
}

.nav-link {
    text-transform: uppercase;
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.nav-link.active {
    border-bottom: 2px solid var(--btn-color);
    color: var(--btn-color);
    
}

.nav-link-mob.active {
  border-bottom: 2px solid var(--bg-td);
  color: var(--bg-td);
  position: relative;
}

.flex-box{
    display: flex;
    gap: 20px;
    align-items: center;

    @media (max-width: 768px) {
        flex-direction: column;
        gap: 15px;
        
    }
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--light-primary);
}

.questions-item {
    border-radius: 25px;
    overflow: hidden;
}

.questions-content-box {
    background: linear-gradient(145deg, var(--accent-color), var(--accent-color-secondarily));
    padding: 12px 42px;
}

.questions-title {
    display: grid;
    grid-template-columns: 1fr 20px;
    cursor: pointer;
    align-items: center;
    font-size: 22px;
}

.icon {
    width: 30px;
    height: 25px;
    fill: var(--light-primary);
}

.questions-content {
    display: none;
}

@media (min-width:992px) {
    .hero-cover{
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
        }
        
        .hero-box {
            width: 50%;
        }
}

.hero-mob-text{
    font-weight: 600;
    margin-top: 10px;
    @media (min-width:768px) {
        display: none;
     }
}

.hero-list-mob {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;

    @media (min-width:768px) {
        display: none;
     }
}

.hero-text{
    font-weight: 600;
    margin-bottom: 15px;
    @media (max-width:768px) {
        display: none;
     } 
}

.hero-list {
  
    margin-top: 20px;

    @media (max-width:768px) {
       display: none;
    }
}

.hero-img-box{
    border-radius: 15px;
    overflow: hidden;
    margin-top: 15px;
    max-width: 300px;
    margin: 15px auto 0px auto;
    
    & img {
       width: 100%;
       display: block;
       margin: 0 auto;
    }

  }

.list {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 15px;
    padding: 20px 0px 0px 40px;
    margin-bottom: 15px;
}

.list-item{
    position: relative;
    padding: 10px 25px 10px 40px;
    border-radius: 10px;
    background: var(--btn-color);
    color: var(--dark-primary);

    &::before {
        content: attr(data-title);
        position: absolute;
        top: 50%;
        left: -20px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        font-weight: 700;
        font-size: 38px;
        background: linear-gradient(145deg, var(--accent-color), var(--accent-color-secondarily));
        border-radius: 50%;
        z-index: 2;
        color: var(--light-primary);
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2),
                    inset 0px -3px 6px rgba(0, 0, 0, 0.3),
                    inset 0px 3px 6px rgba(255, 255, 255, 0.3);
    }
}

.list-ol{
margin: 15px 0px; 
list-style-type: disc; 
padding-left: 20px;

& > li{
    margin-bottom: 10px;
}
}

table {
    text-indent: 0;
	border-color: inherit; 
    border-collapse: collapse;
    width: 100%; 
    margin-top: 15px;
     text-align: center; 
    vertical-align: middle;

    @media screen and (max-width: 768px) {
     font-size: 12px;
        
    }
}

th, td {
    padding: 12px; 
    text-align: left; 
    border-bottom: 1px solid var(--border-color);
    text-align: center; 
    vertical-align: middle;
}

th {
    background-color: var(--bg-td);
    font-weight: bold;
}

tbody tr:hover {
    background-color: var(--td-hover);
}

.hidden {
    display: none;
}

tbody tr>td:nth-child(odd) {
    background-color: var(--bg-td);
}

.table-p > th, td {

        padding: 5px; 
        font-size: 12px;
}

table.table-p th,
table.table-p td {
width: 20%;
}

@media screen and (max-width: 768px) {
    .table-p  th, td {

        font-size: 10px;
}
  
}
.footer{
    width: 100%;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .3);
    background:var( --bg-gradient);
    color: var(--dark-primary);
}

.footer-text{
font-size: 12px;
}

.footer-payment-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.footer-payment-list {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}

/*  */
.footer-logo{
    margin-bottom: 25px;
}

.footer-social-list {
    display: flex;
    gap: 35px;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;

}

.social-link {
    display: block;
    transition: all 0.3s ease;
}

.footer-partners__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-links {
    margin-bottom: 35px;
    flex: 1;
}

.footer-links__group:not(:last-child) {
    margin-bottom: 35px;
}

.footer-links__group {
    display: flex;
    flex-direction: column;
    gap: 10px;

    & a{
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    & a:hover{
        color: var(--accent-color);
    }
}

@media screen and (min-width: 768px) {
    .footer-cover {
        display: flex;
        justify-content: space-between;
        align-items: center;
       
    }

    .social-link:hover{
       transform: scale(1.1);
    }
    
}

@media screen and (min-width: 992px) {
    .footer-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 70px;

    }
    
    .footer-links__group:not(:last-child) {
        margin-bottom: 0px;
    }
    
}

/* demo */
.iframe-bwb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #171515ff;
    margin-bottom: 15px;
}

.iframe-bwb__bg-image {
    height: 80vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(50%) blur(6px);
    /* background-image: url(./assets/main1_11zon.webp); */
    
      @media screen and (max-width: 768px) {
         height: 70vh;
    }
}

.iframe-bwb__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

.iframe-bwb__button-box{
    position: absolute;
    top: 40%;
    left: 50%;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 15px;
}



.iframe-bwb__button {
    transform: translate(-50%, -50%);
    font-size: 1.1em;
    line-height: 48px;
    min-width: 250px;
    border: 0;
    margin: 0;
    box-shadow: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 2px;
    padding: 4px 10px;
    color: var(--dark-primary);
    background: #f3f2f7;;
    border-radius: 0.75rem;
    transition: all 0.1s ease;
  font-weight: 700;
  text-transform: uppercase;
}

.iframe-bwb__button:hover {
    background: var(--btn-hover);
  }

  .iframe-bwb__red{
    background: #ffcc29;
    transition: all 0.3s ease;
  }

  .iframe-bwb__red:hover{
    background: linear-gradient(145deg, #fded3f, #ffd000);
  }
  

  #game-container {
    /* margin-top: 20px; */
    width: 100%;
    max-width: 100%;
    height: 80vh; 
    display: none; 

    /* margin-bottom: 15px;  */
     background-image:url(./main1_11zon.webp); 
     background-position: center; 
     background-repeat: no-repeat; 
     background-size: cover;

        @media screen and (max-width: 768px) {
         height: 60vh;
    }
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.stake-img{
    display: block;
    margin: 20px auto;
}

.stake-num{
    font-size: 18px;
    font-weight: 600;
    color: #ffcc29;
}

.stake-box-item{
    display: flex;
    gap: 5px;
}


/* --- Карточка как на картинке --- */
.hero-cta{
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 32px));
  background: #fff;
  color: #111;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}
.hero-cta__title{
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 800;
}
.hero-cta__sub{
  margin: 0;
  font-size: clamp(14px, 1.6vw, 18px);
  color: #555;
}
.hero-cta__buttons{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: .3px;
  border: 0;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: #ffcc29;
  color: #111;
}
.btn--primary:hover{
  background: linear-gradient(145deg, #fded3f, #ffd000);
}

.btn--ghost{
  background: #f3f2f7;
  color: #111;
}
.btn--ghost:hover{
  background: #e8e7ef;
}

/* Появление демо и скрытие карточки */
#iframe-bwb__content{}
.iframe-bwb.is-playing .iframe-bwb__content{ 
  opacity: 0; 
  pointer-events: none; 
  transition: opacity .25s ease;
}

.game{
  width: 100%;
  max-width: 100%;
  height: 0;            /* скрыто до старта */
  overflow: hidden;
  transition: height .25s ease;
  background: #0b1320;
  background-image: url(../avia-masters-pl.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.iframe-bwb.is-playing + .game{
  height: 420px;        /* высота демо после клика */
}
@media (max-width: 768px){
  .hero-cta{
    grid-template-columns: 1fr;
    text-align: left;
    bottom: 25%;
    padding: 18px;
  }
  .iframe-bwb.is-playing + .game{
    height: 320px;
  }
  .hero-cta__buttons{ justify-content: center; }
}

/* iframe */
.game-iframe{
  width: 100%;
  height: 100%;
  border: 0;
  margin-top: 50px;
}

/* CTA под демкой */
.cta-under-demo{
  display: none;
  gap: 12px;
  padding: 16px;
  justify-content: center;
}
.iframe-bwb.is-playing + .game .cta-under-demo{
  display: flex;
}
.iframe-bwb.is-playing .iframe-bwb__content { opacity:0; pointer-events:none; transition: opacity .25s ease; }
.hero-cta__text{
  text-align: center;
}


/* vidio */
.main-icon-uoutube{
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 98px; 
    height: 68px; 
    background: url('./youtubelogo.svg') no-repeat center center; 
    background-size: contain;

    @media (min-width:768px) {
        width: 155px;
        height: 104px;
    }
}

.link {
  color: var(--btn-color);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: underline;
}

.link:hover{
    color: var(--accent-color);
    text-decoration: none;
}

/* news */

.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px auto 0px auto;
}

@media screen and (min-width: 600px) {
    .news-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-news{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 15px;
    background-color: #f3f2f7;
    transition: all 0.3s ease;
   
    &:hover{
        background-color: #e6e5ea;
        transform: translateY(-5px);
        box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    }
}

.img-news{
background-size: cover;
background-repeat: no-repeat;
height: 15.5rem;
border-radius: 15px;
width: 100%;

}

.label {
    background-color: #fff;
    color: #7a1dff;
    text-transform: uppercase;
    border-radius: .5rem;
    justify-content: center;
    align-items: center;
    min-height: 2.125rem;
    padding: .563rem .75rem;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1rem;
    display: inline-block;
    overflow: hidden;
}

.news-date{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #17161c;
}

.news-title{
    font-size: 1.333rem;
    line-height: 1.467rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ---news page--- */

.author-block{
    background-color: #f3f2f7;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.news-page-btn{
    margin-bottom: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    max-width: 130px;
    gap: 10px;
}

.news-page-btn:hover .icon-black,
.news-page-btn:focus .icon-black {
    fill: #7a1dff;
}

.news-page-btn:hover span,
.news-page-btn:focus span {
    color: #7a1dff;
}

.news-date-box{
    display: flex;
    align-items: center;
    gap: 10px;

    & p{
        font-size: 1.067rem;
        line-height: 1.6rem;
    }

}

.author{
font-size: 22px;
margin: 0;
}

.author-block__author-name{
    margin: 3px 0px;
}

.author-block__author{
    display: flex;
    align-items: center;
    gap: 25px;
}

.author-block__photo{
overflow: hidden;
border-radius: 50%;
}

.text-link {
    text-decoration:underline; 
    font-weight: 700;
    color: #7a1dff;
}

.text-link:hover,
.text-link:focus {
    color: #ad77f8;

}

.text-weight{
    font-weight: 700
}

@media (max-width: 600px) {
    .news-list.news-page-list {
      grid-template-columns: 1fr;
      grid-template-areas: 
        "item1"
        "item2"
        "item3";
    }
  }

@media screen and (min-width:600px) {
    .news-list.news-page-list {
        
        display: grid;
  grid-template-columns: 75% 25%;
  grid-template-rows: auto auto;
  grid-template-areas: 
    "item1 item1"
    "item2 item3";
  gap: 10px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
    } 

    .card-news.height{
        min-height: 490px;
    }

    .card-news.news-page{
        flex-direction: row;
    
        & .img-news {
            max-width: 276px;
        }
    }
}

.item1 {
    grid-area: item1;
  }
  
  .item2 {
    grid-area: item2;
  }
  
  .item3 {
    grid-area: item3;
  }

  .news-item.item3 {
    background-color: #ffcc29;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    display: flex
}

  .news-page-link{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
    height: 80px;

    @media screen and (min-width:600px){
        height: 100%;
    }
  }

  .age-modal {
    display: none;
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1000; 
    justify-content: center; 
    align-items: center;
}

.age-modal-box {
    background: #fff; 
    padding: 40px 20px; 
    max-width: 400px; 
    text-align: center; 
    border-radius: 8px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.age-modal-text {
    color: var(--gray-primary);
    margin-bottom: 20px; 
    font-size: 14px;
}

.age-modal-btn {
    margin-right: 10px; 
    padding: 10px 30px;
    background-color: var(--btn-color);
    width: 230px;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--btn-hover);
        color: var(--light-primary);
    }
}

#btn-no{
    margin-bottom: 15px;
    background-color: var(--bg-td);

    &:hover{
        background-color: var(--gray-primary);
        color: var(--light-primary);
    }
}


.language-btn-open{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.language-btn-open.dn{
    @media screen and (max-width: 991.9px){
        display: none;
        
    }
}

#language-btn-open-mob{
    position: absolute;
    top: 35px;
    left: 35px;
    color: var(--dark-primary);
}

  .language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
  }
  
  .language-modal.open {
    opacity: 1;
    visibility: visible;
  }
  
  .language-modal-box {
    background: #fff;
    padding: 40px 20px 30px 20px;
    border-radius: 8px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 320px;

    @media ((min-width: 768px)){
        max-width: 420px;
        
    }
  }
  .language-modal.open .language-modal-box {
    transform: scale(1);
  }
  /* Стили для списка языков */
  .language-modal ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .language-modal li {
    margin: 5px;
  }
  .language-modal a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }

  .language-modal a:hover{
    transform: scale(1.1);
  }
  /* Стили для кнопки закрытия */
  .language-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

/* ================= */

.lang-switcher {
    position: relative;
    display: none;
  }

  @media screen and (min-width: 991.9px) {
    .lang-switcher {
        display: inline-block;
    }
    
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgb(255, 255, 255);
}
  
  .lang-dropdown {
    position: absolute;  
    top: 100%;
    right: 0;              
    margin-top: 6px; 

    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    padding: 12px 22px;
    scrollbar-width: none; 
  }

    .lang-dropdown::-webkit-scrollbar {
        display: none; 
    }

    .lang-dropdown__title {
        margin: 8px 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

  .lang-section + .lang-section {
    margin-top: 12px;
  }

  .lang-section__title {
    margin: 8px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-primary);;
  }
  .lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .lang-item {
    cursor: pointer;
    margin: 4px 0;
    
  }
  .lang-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eaeaea;
  }
  .lang-link:hover {
    background: #f5f5f5;
  }

  .lang-link-header{
    border-bottom: 2px solid #eaeaea;
  }

  .lang-flag {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    flex-shrink: 0;
  }
  .lang-text {
    flex: 1;
  }

  .lang-text-bottom{
    font-size: 10px;
    color: var(--gray-primary);
  }

  .lang-check{
    margin-left: auto;
    display: none;
  }

  .lang-name {
    display: block;
    font-size: 15px;
    font-weight: 500;
  }
  .lang-subname {
    display: block;
    font-size: 13px;
    color: #666;
  }
  .lang-item--active .lang-link {
    background: #e6f0ff;
  }
  .lang-item--active .lang-link .lang-name {
    font-weight: 600;
  }
  .lang-item--active .lang-check {
    display: inline-block;
  }





   .app-card {
      max-width: 340px;
      border-radius: 12px;
      text-align: center;
      margin: 0 auto;
        @media ((min-width: 768px)){
        max-width: 700px;
        
    }
    }

    .app-icon {
      width: 80px;
      height: 80px;
      border-radius: 16px;
      margin-bottom: 10px;
    }

    .app-title {
      font-size: 20px;
      font-weight: 800;
      margin: 5px 0;

      @media ((min-width: 768px)){
        font-size: 30px;
        
        
    }
    }

    .app-publisher {
      color: #3b8562;
      font-size: 14px;
      margin-bottom: 16px;
      font-weight: bold;
    }

 .app-meta {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 12px 0;
  font-size: 13px;
}

.meta-block {
  width: 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}

.meta-value {
  font-weight: bold;
  font-size: 15px;
}

.meta-label {
  color: #555;
  font-size: 12px;
  margin-top: 12px;
}

.pegi-icon {
  width: 25px;
  height: auto;
  margin-bottom: 4px;
}

.rating-stars::after {
  content: "★";
  color: gold;
  margin-left: 2px;
  font-size: 14px;
}



.info {
  font-size: 12px;
  color: #888;
}

.download-btn {
  display: inline-block;
  background-color: #3b8562;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
  max-width: 500px;
}


    .actions {
      display: flex;
      justify-content: center;
      gap: 30px;
      font-size: 14px;
      color: #555;
    }

    .actions div {
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
      font-weight: 700;
      color: #3b8562;
    }

    .app-card-main{
        display: flex;
        gap: 20px;
        @media ((min-width: 768px)){
        gap: 80px;
        
        
    }
    }
    .app-card-main-text{
        text-align: left;
    }
    .app-card-main img{
            width: 100px;
            height: 100px;
        @media ((min-width: 768px)){
            width: 200px;
            height: 200px;
    }
    }

    .img-app{
        width: 100%;
        border-radius: 10px;
        margin: 20px auto;
                @media ((min-width: 768px)){
          width: 40%;

    }
    }



    
/* // modal // */
.offer{
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom,0));
  transform: translateY(110%); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  z-index: 999999; 
  pointer-events: none; 
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.offer.show{ transform: translateY(0); opacity: 1; }
.offer__inner{
  pointer-events: auto;
  max-width: 1200px; margin: 0 auto;
  background: linear-gradient(145deg, #5b5353, #f44a55, #e40310);
  color:#111; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center;
  padding: 12px 16px;
}
.offer__brand{ display:flex; align-items:center; gap:10px; }
.offer__brand img {
  width: 100px;
  height: 100px;
  margin-left: 50px;
  transform-origin: center;
}
.offer__text{ font-weight:700;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 30px;

}
.offer__cta {
  position: relative;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  background: #fcd804;
  color: #2b1e6e;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: inline-block;
  text-align: center;

  animation: 
    scales .9s ease-out both,
    pulse 3.2s ease-in-out 1s infinite;
}

.offer__cta:hover {
  transform: translateY(-1px);
  animation: 
    scales .9s ease-out both,
    pulse 2.4s ease-in-out .9s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .offer__cta { animation: none !important; }
}


.offer__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.6),
    transparent
  );
  transform: skewX(-25deg);
}

.offer__cta.shine::after {
  animation: shine 2s ease-in-out forwards;
}

@keyframes shine {
  0%   { left: -75%; }
  100% { left: 125%; }
}

.offer__close{
position: absolute;
    top: 25px;
    color: #fff;
    right: 30px;
    font-size: 20px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.offer__inner_block{
  display: flex;
  align-items: center;
  margin: 0 20px;
  gap: 15px;
}
@media (max-width:720px){
  .offer__inner{
        display: flex;
        flex-direction: column;
  }
  .offer__brand{ grid-area: brand; }
  .offer__text{ grid-area: text; font-size: 15px; }
  .offer__cta{ grid-area: cta; justify-self: end; }
  .offer__close{ grid-area: close; justify-self: end; }
  .offer__brand img{
    width: 50px;
    height: 50px;
    margin-left: 0px;
}
.offer__inner_block{
  align-items: center;
  
}
}




.offer__brand img.pop-in {
  animation: popIn .6s cubic-bezier(.2,.8,.2,1) both;
}

.offer__brand img.wiggle {
  animation: wiggle .8s ease-in-out both;
}

@keyframes popIn {
  0%   { transform: scale(.6) rotate(-10deg); opacity:0; }
  60%  { transform: scale(1.1) rotate(4deg);  opacity:1; }
  100% { transform: scale(1) rotate(0deg);    opacity:1; }
}
@keyframes scales {
  0%   { transform: scale(.6) rotate(-10deg); opacity:0; }
  60%  { transform: scale(1.1) rotate(4deg);  opacity:1; }
  100% { transform: scale(1) rotate(0deg);    opacity:1; }
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.06); }
}


@keyframes wiggle {
  0%   { transform: rotate(0deg) }
  15%  { transform: rotate(-10deg) }
  35%  { transform: rotate(8deg) }
  55%  { transform: rotate(-6deg) }
  75%  { transform: rotate(4deg) }
  100% { transform: rotate(0deg) }
}


/* // modal // */