/*! 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 */
       scroll-behavior: smooth;
}

/*
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: 25px;


    @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{
    max-width: 1000px;
}

@media  (min-width:768px) {
    .questions-faq{
    letter-spacing: .095rem;
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 101%;
    text-align: center;
  }
}

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

.questions-content-box {

    &:hover .questions-title{
   color: #0408fc;
    }

    &:hover .questions-plus-question{
        background-color: #fff;
        border: 1px #0408fc solid;
         }
}

.questions-cover{
display: flex;
align-items: center;
justify-content: space-between;

}

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

.questions-plus-question {
    border-radius: .375rem;
    min-width: 1.875rem;
    height: 1.875rem;
    padding: .25rem;
    background-color: #f2e8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
}

.top-line-question, .bottom-line-question {
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: #0408fc;
}

.top-line-question {
    transform: rotate(90deg);
    transition: all 0.3s ease;
}

.questions-plus-question.active .top-line-question {
    transform: rotate(0deg);
  }
  

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

.questions-content {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
  }
  /* --------- */



@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-item-1{
    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;
        border-radius: 50%;
        z-index: 2;
        color: var(--light-primary);
     ;
    }
}

.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);
}


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: 400px;
    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: 300px;
    }
}

.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__demo{
    background: #f3f2f7;
    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: 400px; 
    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: 300px;
    }
}

.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;
}

/* 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 // */



/* casino cards */



.casino-card-wrapper{
  margin: 25px 0;
}



.casino-card{
  background-color: #fff;
   font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    border-radius: 16px;
    box-shadow: 0 4px 4px -1px #0C0C0D1A, 0 4px 4px -1px #0C0C0D0D;
    overflow: hidden;
    margin: 20px 0;

    @media screen and (max-width: 768px) {
   
      }
  }

  .casino-table-row-inner {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 24px;

    
    
  }
  
  /* --- строка основных ячеек --- */
  .casino-table-cells {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
    padding-right: 10px;
    

  }
  .casino-table-cell strong{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 28px;

  }
  
  /* логотип */
  .casino-table-cell_logo {
    position: relative;
    flex: 0 0 120px;
    height: 120px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
  }
  .casino-table-cell_logo .casino-pos {
    position: absolute;
    left: 2px;
  }
  
  /* рейтинг + название */
  .casino-table-cell_rating {
    display: flex;
    flex-direction: column;
    flex: 1 1 200px;
    margin: 10px 0;
    color: #111827;
  }
  .casino-table-cell_rating .casino-name span {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .casino-rating-stars-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

   
  }
  .casino-rating-numbers span{
    height: 14px;
  }
  .casino-rating-numbers .good-rating {
    color: #111827;
    font-weight: 400;
    font-size: 18px;
    
  }
  .casino-rating-stars img {
    width: 12px;
    
  }
  
  /* подсказка рейтинга (по ховеру) */
  .casino-rating-content__hint {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
    z-index: 10;
  }
  .casino-table-cell_rating:hover .casino-rating-content__hint {
    display: block;
  }
  
  /* бонус */
  .casino-table-cell_bonus {
    flex: 1 1 280px;
    background: #FFFBEC;
    border: 2px solid #FDF1CE;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
  }
  .casino-bonus-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
    /* color: #6b7280; */
    /* margin-bottom: 8px; */
    
  }
  
  
  .casino-bonus-number {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
  }
  .casino-bonus-number small {
    font-weight: 400;
    font-size: 14px;
  }
  .text-bonus {
    color: #f97316;
    font-size: 16px;
    margin-top: 4px;
  }
  
  /* фичи */
  .casino-table-cell_features {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 15px 50px;
    color: #374151;

    @media (min-width:768px) {
      margin: 15px 0;
    }
  }
  .casino-features-item::before {
    content: "";
    color: #10b981;
    margin-right: 6px;
  }
  
  .casino-table-cell_link {
    flex: 0 0 140px;
  }
 

   .casino-link {
    position: relative;
    display: block;
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(90deg, #facc15 0%, #f59e0b 100%);
    color: #111827;
    font-weight: 700;
    text-align: center;
    border-radius: 40px;
    text-decoration: none;
    overflow: hidden;   
    transition: all;      
  }

  .casino-link:hover {
    transform: scale(1.02);

  }
  
  .casino-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;               
    width: 30%;                 
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255,255,255,0)   0%,
      rgba(255,255,255,0.4) 45%,
      rgba(255,255,255,0.7) 50%,
      rgba(255,255,255,0.4) 55%,
      rgba(255,255,255,0)   100%
    );
    transform: skewX(-20deg);
    animation: shine 1.6s infinite ease-in-out;
  }
  
  @keyframes shine {
    0%   { left: -50%; }
    100% { left: 150%; }    
  }

  /* --- футер --- */
  .footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px 0;
    font-size: 11px;
    color: #6b7280;
    flex-direction: column;
    background-color: #f9fafb;
      @media (min-width:768px) {
        flex-direction: row;
    }
  }

  .casino-table-row-footer__text{
    font-family: "Poppins", sans-serif;
font-weight: 300;
font-style: Light;
font-size: 10px;
line-height: 12px;
letter-spacing: 0%;

  }
  .casino-licenses-mob {
    display: none;
  }
  
  /* --- адаптив --- */
  @media (max-width: 768px) {
    .casino-table-row-inner {
      border: none;
      box-shadow: none;
    }
    .casino-rating-stars-wrap{
        margin: 0 auto;
    }

    .casino-table-cell_logo{
        height: 230px;
    }

    .casino-table-cells {
      flex-direction: column;
      align-items: stretch;
      padding: 0px;
      gap: 5px;
    }

    .casino-table-cell_bonus{
        padding: 8px;
    }

    .casino-table-cell_logo,
    .casino-table-cell_rating,
    .casino-table-cell_bonus,
    .casino-table-cell_features,
    .casino-table-cell_link {
      flex: 1 1 auto;
      text-align: left;
      /* padding-left: 20px; */
    }
    .casino-table-cell_link {
      padding-left: 0px;
    }
    .casino-table-cell_rating .casino-name span {
      margin-bottom: 2px;
      text-align: center;
    }
    .casino-bonus-number {
      font-size: 18px;
    }
  
    /* лицензии показываем под футером */
    .casino-licenses-mob {
      display: block;
      font-size: 12px;
    }

    .casino-link-wrapper{
        max-width: 270px;
        margin: 15px auto;
    }

    .footer-wrap{
        padding: 12px 24px 6px 24px;
    }
  }

  .casino-table-cell_features .casino-features-item {
    gap: 5px;
    align-items: center;
    display: flex;
    position: relative;
    line-height: 1.85em;
    border-radius: 8px;
    padding: 2px 10px;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    color: #4a5b68;

    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 18px;

    
}

.casino-table-cell.casino-table-cell_features:hover * {
    background-color: rgba(144, 238, 144, 0.3) !important;
  }
  .casino-name{
    text-align: center;
  }


  .casino-info-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 20px;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  font-size: 14px;
  /* padding-bottom: 20px; */
  background-color: #f9fafb;

}

.casino-column {
  flex: 1 1 30%;
  min-width: 280px;
}

.casino-column h4 {
  margin-bottom: 10px;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 18px;
letter-spacing: 0%;
color: #6B7280;

}

.casino-games,
.casino-additional-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.casino-games li,
.casino-additional-info li {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.casino-additional-info li span {
  margin-left: auto;
  
}

.casino-additional-info li {
    padding-bottom: 3px;
  border-bottom: 1px solid #D9D9D9;
  font-family: "Poppins", sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 18px;

}

.icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.payment-methods {
 display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;

  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
    @media (max-width:768px) {
         grid-template-columns: repeat(2, 1fr);

    }
}

.payment-icon {
  width: 50px;
      @media (max-width:768px) {
      width: 60px;


    }
}

.toggle-button {


  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;

  
  padding:20px 20px;
}


.casino-games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
    @media (max-width:768px) {
         grid-template-columns: repeat(2, 1fr);

    }
}

.casino-games li {
  display: flex;
  align-items: center;
  font-size: 10px;
}

.casino-games .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  object-fit: contain;
}
.hidden {
  display: none;
}


.card-back{
  height: 150px;
  background-size: cover;
       @media (min-width:768px) {
       width: 200px;
      height: 200px;

  background-size: cover;


    }
}
.casino-card-img{
  background-color: #000;  
  border-radius: 10px 10px 0 0;
  
  @media (min-width:768px) {
    height: 144px;
    border-radius: 10px 0 0 0;
  }
}


.casino-table-cell_logo {
  width: 100%;
  height: 230px; 
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.card-back {
    margin: 0 auto;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;

    @media (min-width:768px) {
      height: 144px;
      max-width: 150px;


    }
}

@media (min-width: 768px) {
  .casino-table-cell_logo {
    flex: 0 0 200px;

  }

  .card-back {
    width: 200px;
    max-height: 200px;

  }
}


.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
}

@media (min-width: 768px) {
  .payment-methods {
    grid-template-columns: repeat(3, 1fr); 
  }
}
.payment-methods div{
    border: 1px solid #D1D9E0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 32px;
}
.payment-methods div img{
    /* min-width: 36px;
    max-height: 18px; */
    padding: 3px;
}
.payment-methods li {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icon {
  display: block;
  max-width: 100%;
  height: 32px;          
  width: auto;
  object-fit: contain;  
  filter: none;         
}



.collapse {
  height: 0;
  overflow: hidden;
  transition: height 700ms ease;
}


.collapse--open {
  
}


.collapse > *:first-child { margin-top: 0; }



  /* casino */



:root{
  --page-bg:#e7eefb;  
  --card:#ffd359;        
  --text:#0f172a;     
  --muted:#475569;    
  --r:24px;              
}

.specs-tilted{
  padding: 40px 16px 52px;
  text-align: center;
  color: var(--text);
}
.specs-tilted h2{
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}
.specs-tilted .why-sub{
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(14px, 1.7vw, 18px);
}

/* сетка */
.why-grid{
  margin: 0 auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 22px;
  justify-items: center;
}
@media (max-width: 1100px){ .why-grid{ grid-template-columns: repeat(3, minmax(200px,1fr)); } }
@media (max-width: 700px){  .why-grid{ grid-template-columns: repeat(2, minmax(200px,1fr)); } }
@media (max-width: 470px){  .why-grid{ grid-template-columns: 1fr; } }


.why-card{
  background: #fcd804;
  border-radius: var(--r);
  padding: 22px 18px;
  width: 100%;
  min-height: 168px;
  text-align: left;
  box-shadow: 0 12px 22px rgba(61,72,93,.25), 0 4px 0 rgba(61,72,93,.15);
  transform: rotate(var(--rot, -4deg));
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
      display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.why-card:hover{
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 18px 30px rgba(61,72,93,.28);
}
.why-card::after{
  content:"";
  position:absolute; left:12px; right:12px; bottom:-8px; height:10px;
  border-radius: 0 0 var(--r) var(--r);
  background: rgba(82,97,128,.25);
  filter: blur(8px);
  z-index:-1;
}


.why-card:nth-child(1){ --rot:-6deg; }
.why-card:nth-child(2){ --rot: 3.5deg; }
.why-card:nth-child(3){ --rot:-2deg; }
.why-card:nth-child(4){ --rot: 5deg; }
.why-card:nth-child(5){ --rot:-4deg; }


.why-icon{
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
}
.why-card h3{
  margin: 0 0 6px;
  font-size: 18px;
}
.why-card p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}


@media (prefers-reduced-motion: reduce){
  .why-card{ transition:none; transform:none; }
  .why-card:hover{ transform:none; }
}



 .author-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  /* padding: 20px; */
  /* max-width: 900px; */
  margin: 0 auto;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  margin: 20px 0;
}


.author-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}


.author-right {
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}


.author-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 22px;
  font-weight: bold;
  text-decoration: underline;
  margin: 0;
}

.author-alias {
  background-color: #0531c0;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.author-date {
  font-size: 14px;
  color: #444;
}


@media (min-width: 768px) {
  .author-container {
    flex-direction: row;
            align-items: center;
  }

  .author-left {
    flex: 0 0 220px;
    align-items: flex-start;
  }

  .author-right {
    flex: 1;
    max-width: 100%;
    padding-left: 20px;
  }
}

.text-p{
  margin: 10px 0;
}

.list-vertical {
    display: flex;
    justify-content: center;
    align-items: stretch; 
    gap: 20px;
    padding: 40px;
    flex-wrap: wrap; 
  }
  
  .list-item-vertical {
    flex: 1 1 300px; 
    max-width: 500px;
    /* min-height: 160px; */
    background: linear-gradient(90deg, rgba(31, 61, 254, 0.767) 100%);
    color: #ffffff;
    padding: 20px 25px 20px 60px;
    border-radius: 12px;
    position: relative;
    font-weight: 500;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 1s ease;
    box-shadow: 0px 4px 6px rgb(227 0 0 / 75%), 9px 8px 10px rgb(0 0 0 / 83%), inset 0px 3px 6px rgb(255 255 255 / 94%);
  }

  .list-item-vertical:hover{
    transform: scale(1.05);
  }

  

  .list-item-vertical::before {
    content: attr(data-title);
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  
  /* author */
  .author-block{
    background-color: #f3f2f7;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: var(--light-primary);
    color: var(--dark-primary);
}

.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%;
}

.position{
    position:relative;
    background: linear-gradient(to right, #58464a, #3d2d2e);
    padding-top: 50px;
    padding-bottom: 50px;
    overflow-x: clip;
}

.position-img{
    position: absolute;
    top: 50%;
    z-index: 1;

     @media screen and (min-width: 768px) {
        top: 30%;
        left: 10%;
        
    }

     @media screen and (min-width: 1200px) {
       top: 35%;
       
    }
}

.position-img2{
    position: absolute;
    top: -4%;
    right: -5%;
    z-index: 1;

    @media screen and (min-width: 768px) {
        top: -8%;
        right: 5%;
        width: 350px;
        height: 450px;
    }

     @media screen and (min-width: 1200px) {
        right: 5%;
        width: 500px;
        height: 600px;
    }
}


  #scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #bf0000;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0px 0px 17px 2px rgba(1, 21, 173, 0.862);
    transition: opacity 0.3s ease;
  }
  
  #scrollToTopBtn:hover {
    background-color: #003fad;
  }
  



  