* {
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FBEFDA;
    color: #333;
}

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

a {
    color: #0680AF;
    text-decoration: none;
}
a:hover {
    color: #000;
}

p {
    margin: 0 0 15px
}

.for-anchor {
    position: relative
}
.anchor {
    top: -70px;
    position: absolute;
}
@media(max-width: 900px) {
    .anchor {
        top: -65px;
    }
}


/* Header */
.site-top {
    background: linear-gradient(90deg, #b76e79, #e8c5a5);
    padding: 15px 15%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    flex: 0 0 160px;
}

.nav-main {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-main li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-main li a:hover {
    background-color: rgba(255,255,255,0.2);
}

.btn-primary {
    background-color: #ff6a00;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #4FA79B;
}

.btn-primary1 {
    background-color: #6EB7AC;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary1:hover {
    background-color: #ff8c42;
}

.btn-casino {
    background-color: #18AD29;
}

.btn-casino:hover {
    background-color: #139821;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

/* Content wrapper */
.content-wrapper {
    max-width: 1130px;
    margin: 100px auto 40px;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: #222;
}

/* Promo cards */
.promo-section .promo-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 0 30px 0
}

.promo-card {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.promo-logo img {
    max-width: 140px;
    border-radius: 10px;
    margin-right: 20px;
}

.promo-info {
    flex: 1;
    min-width: 180px;
}

.promo-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.promo-desc {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.promo-rating {
    margin: 0 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-rating .stars {
    color: #f5c518;
    font-size: 25px;
    line-height: 25px;
    margin: -3px 0 0 0;
}

.promo-rating .rating {
    color: #000;
    font-size: 15px
}

/* Text sections */
.text-section {
    margin-bottom: 30px;
    /*    background-color: #FFF;*/
    /*    box-shadow: 0 4px 15px rgba(0,0,0,0.08);*/
    /*    padding: 20px;*/
    /*    border-radius: 12px;*/
}

.text-section h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
}

.text-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.text-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 20px;
    line-height: 1.6;
}

.text-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px;
    font-size: 1rem;
}

.text-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 11px;
    height: 11px;
    background-color: #ff6a00;
    border-radius: 2px;
}

.ol-base {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 20px;
    counter-reset: blue-counter;
}

.ol-base li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.6;
    counter-increment: blue-counter;
}

.ol-base li::before {
    content: counter(blue-counter);
    position: absolute;
    left: 0;
    top: 0px;
    width: 23px;
    height: 23px;
    /*      background-color: #4FDAC5;     *//* красивый насыщенный синий */
    border: 1px solid #ff6a00;
    color: #ff6a00;
    border-radius: 50%;             /* превращаем в круг */
    font-size: 15px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}



.text-section img {
    max-width: 100%;
    border-radius: 15px;
    margin: 20px 0 26px 0;
}

.nav .a {
    line-height: 1.5;
}

/* списки */
.nav .a ul,
.nav .a ol {
    padding-left: 5px;
    margin: 0;
    list-style: none;
}

/* основной список */
.nav .a > ol {
    counter-reset: point;
}

.nav .a > ol > li {
    margin-bottom: 12px;
    counter-reset: sublist;
}

.nav .a > ol > li:first-child {
    margin-top: 0;
}

/* номера первого уровня */
.nav .a > ol > li::before {
    counter-increment: point;
    content: counter(point) ". ";
    margin-right: 5px;
    opacity: .5;
    color: #000;
}

/* второй уровень */
.nav .a > ol > li > ol > li {
    margin: 0.3em 0 0.7em 30px;
    font-size: 0.92em;
    counter-reset: sublist3;
}

/* номера второго уровня */
.nav .a > ol > li > ol > li::before {
    counter-increment: sublist;
    content: counter(point) "." counter(sublist) ". ";
    margin-right: 5px;
    opacity: .5;
    color: #000;
}

/* отступы блока */
.nav .a .level-2 {
    margin-bottom: 20px;
    padding-top: 10px;
}

/* Table */
.ranking-section {
    margin-top: 60px;
}

.ranking-table-wrapper {
    overflow-x: auto;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.ranking-table th, .ranking-table td {
    padding: 12px 15px;
    text-align: center;
}

.ranking-table th {
    background-color: #ce978e;
    color: #fff;
    font-weight: 600;
}

.ranking-table tr:nth-child(even) {
    background-color: #f7f7f7;
}

.ranking-table tr:hover {
    background-color: #e6f2ff;
}

/* Info cards */
.info-section {
    background-color: #f0f4f8;
    padding: 50px 20px;
}

.info-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.info-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    flex: 1 1 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    text-align: center;
}

.info-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-text {
    font-size: 0.95rem;
    color: #555;
}

/* Footer */
.site-footer {
    /*background-color: #333;*/
    background: linear-gradient(90deg, #b76e79, #e8c5a5);
    color: #fff;
    padding: 40px 20px;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-left p {
    margin: 0 0 10px;
    color: #DDD
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    text-decoration: underline;
}

.footer-right {
    display: flex;
    gap: 10px;
}

.nav {
    background-color:#ecd7c5;
    margin:0 0 20px;
    padding:0 20px;
    border-radius: 15px;
}
.nav .q {
    font-size:16px;
    display:grid;
    grid-template-columns:1fr 30px;
    gap:10px;
    cursor:pointer;
    /*  min-height:60px;*/
    padding:20px 0;
    font-weight:600;
    line-height: 1.6
}
.nav .q .q1{
    padding: 0 0 0 5px;
}
.nav .arr {
    margin:0 0 -3px;
    background-image:url(/i/arrow_down3.svg);
    background-size:16px auto;
    background-position:center;
    background-repeat:no-repeat;
    opacity:.7;
    transition:transform 0.3s ease
}
.nav .arr.active {
    transform:rotate(180deg)
}
.nav .a {
    color:#333;
    display:none;
    margin:0 0 20px;
    padding:0 0 20px;
    line-height: 1.6
}

@media (max-width: 900px) {

    .hamburger {
        display: flex;
    }

    .nav-main {
        position: fixed;
        top: 60px;
        right: -100%;
        background: #ce978e;
        height: calc(50% - 60px);
        width: 220px;
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
        transition: right 0.3s;
        z-index: 999;
    }

    .nav-main.show {
        right: 0;
    }

    .nav-main li {
        text-align: center;
    }

    .site-top > .btn-primary {
        display: none;
    }
    
    .site-top > .btn-primary1 {
        display: none;
    }

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

    .promo-logo img {
        max-width: none;
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    .promo-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .promo-card > div{
        width:100%
    }

    .promo-logo img {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .promo-rating, .btn-primary {
        margin: 10px 0 0 0;
    }
    
    .promo-rating, .btn-primary1 {
        margin: 10px 0 0 0;
    }
}

.faq-block {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px
}
.faq {
    background-color:#FFF;
    margin:0 0 20px;
    padding:0 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.faq .q {
    font-size:16px;
    display:grid;
    grid-template-columns:1fr 30px;
    gap:10px;
    cursor:pointer;
    /*  min-height:60px;*/
    padding:20px 0;
    font-weight:600;
    line-height: 1.6
}
.faq .arr {
    margin:0 0 -3px;
    background-image:url(/i/arrow_down3.svg);
    background-size:16px auto;
    background-position:center;
    background-repeat:no-repeat;
    opacity:.7;
    transition:transform 0.3s ease
}
.faq .arr.active {
    transform:rotate(180deg)
}
.faq .a {
    color:#333;
    display:none;
    margin:0 0 20px;
    padding:0 0 20px;
    line-height: 1.6
}
@media (max-width:767px) {
    .faq-block {
        grid-template-columns:1fr;
        gap:0
    }
}


.hamburger span {
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

#scrollTopBtn {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 36px;     /* крупнее */
    font-weight: 900;   /* максимально жирная */
    line-height: 1;

    background-color: #4A91E2;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;

    padding: 0;         /* важно — убираем смещение */
    text-align: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;

    z-index: 9999;

    background-image: url(/i/arrow-up.svg);
    background-size: 25px auto;
    background-position: center;
    background-repeat: no-repeat;
}

/* активное состояние */
#scrollTopBtn.show {
    opacity: 0.5;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
/*    background: #000;*/
    opacity: 1
}

@media(max-width: 900px) {
    #scrollTopBtn.show {
        opacity: 0.8;
    }
}