* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}


a {
    text-decoration: none;
    color: var(--default-link-color);
}

p, h1, h2, h3 {
    margin: 0;
    padding: 0;
}

ul, li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

body, html {
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    background-color: black;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

h1 {
    font-size: 50px;
    font-weight: 800;
    line-height: 50px;
    color: var(--main-text-color);
    text-transform: uppercase;
    margin-bottom: 16px;
}

h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    color: var(--main-text-color);
    text-transform: uppercase;
    margin-bottom: 14px;
}

h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    color: var(--main-text-color);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-style: italic;
}

.section-block {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.list {
    margin: 24px 0;
}

.list li {
    color: var(--main-text-color);
    list-style: square;
    margin-bottom: 4px;
    padding: 4px 0;
    font-size: 16px;
}

p, table {
    line-height: 22px;
    text-align: justify;
    margin: 10px 0;
    font-size: 15px;
    font-weight: 300;
    color: var(--main-text-color);
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* дозволяє переносити, але не порушує порядок */
  padding: 0px 0;
  margin-bottom: 0px;
}

.btn:hover {
    filter: brightness(85%);
}

.btn-signup {
    background: var(--btn-bg-signup-colr);
    margin-right: 5px;
}

.btn-login {
    background: var(--btn-bg-login-color);
}

.btn-get-bonus {
    background: var(--btn-bg-get-bonus-colr);
}

.logo {
  order: -1; /* завжди першим */
  flex-shrink: 0;
}

.logo img {
  height: auto;
  width: auto;
  display: block;
  object-fit: cover;
  max-height: 100px;

}

.nav-header ul {
    display: flex;
    gap: 30px;
}

.nav-header ul li a {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.side-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 0;
    background: var(--bg-color);
    overflow: hidden;
    transition: width 0.4s;
}

.side-panel ul {
    padding: 40px;
}

.side-panel li {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
    white-space: nowrap;
}

.side-panel-open {
    display: none;
    border: none;
    background: transparent;
    color: var(--main-text-color);
    font-size: 38px;
    font-weight: bold;
    cursor: pointer;
}

.side-panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: transparent;
    color: var(--main-text-color);
    font-size: 38px;
    width: 40px;
    height: 40px;
    font-weight: bold;
    cursor: pointer;
}

.hero-banner {
    width: 100%;
    margin: 30px 0;
    /*padding:20%;*/
    background: url('../assets/banner/melbet-casino-banner.png') center/cover no-repeat;
}

.hero-banner-text {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
}

.hero-banner-content {
    position: relative;
    padding: 30px 80px 30px 30px;
    /*width: 400px;*/
    background: rgba(29, 29, 29,.8);
    border-radius: 5px;
}

#banner-img {
    max-width: 100%;
    max-height: 100%;
}

#banner-text-div {
    position: absolute;
    top: 50%;
    left: 50px;
}

#bonus-link {
    font-size: 5vw;
    border-radius: 5%;
    color: white; /* Білий текст */
    background: linear-gradient(90deg, #FFB300FF 0%, #000000 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.btn {
    padding: 15px 30px;
    border: none;
    color: var(--btn-text-color);
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s;

}
.nav-list {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
}

.nav-list li {
    width: 50%;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 17px;
    text-transform: uppercase;
}

footer {
    background: var(--bg-footer);
    margin-top: 60px;
}

.footer-content {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-footer {
    margin-bottom: 20px;
}

.nav-footer ul {
    display: flex;
    gap: 20px;
}

.nav-footer ul li a {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 300;
}

.banners-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.begambleaware-img {
    width: 270px;
    height: 80px;
    max-width: 100%;
}

.gamcare-img {
    width: 130px;
    height: 80px;
    max-width: 100%;
}

.footer-small {
    font-size: 14px;
    font-weight: 300;
    color: #b8b8b8;
    margin-bottom: 5px;
    margin-top: 0;
}


@media screen and (max-width: 950px) {
    .nav-header {
        display: none;
    }
    .nav-footer ul {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .side-panel-open {
        display: block;
    }
}

@media screen and (max-width: 600px) {
    header {
        margin-bottom: 60px;
    }
    .btn-container {
        display: flex;
        width: calc(100% - 40px);
    }
    
    .btn-signup, .btn-login {
        width: 100%;
    }
    .hero-banner-content {
        padding: 40px;
        width: 100%;
        border-radius: 0;
    }
    .hero-banner {
        padding: 0;
    }

    .side-panel-open {
        display: block;
        order: -1;
    }
}

@media screen and (max-width: 500px) {
    .nav-list li {
        width: 100%;
    }
}
