/* 1. Сброс стилей (Reset) */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Ссылки и кнопки */
a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
}

/* 3. Изображения */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 4. Формы */
input,
textarea,
select {
    font: inherit;
    border: 1px solid #ccc;
    padding: 0.5em;
    border-radius: 4px;
}

/* 5. Заголовки */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

body {
    padding: 0;
    margin: 0;
}

main,
footer {
    background-color: #1A1B20;
}

.container {
    max-width: 1200px;
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 20px;
}

.header__link {
    text-decoration: none;
    color: #000;
}

.hero {
    position: relative;
    background-image: url(/images/golden-casino-australia-theme-elements.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    height: 600px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.8;
}

.hero__title {
    color: #00ff00;
    font-size: 40px;
    font-weight: bold;
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin-bottom: 25px;
}

.hero__descr {
    color: #fff;
    font-size: 18px;
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin-bottom: 15px;
}

.casinos__container {
    padding: 60px 20px;
}

.casinos__title {
    font-size: 30px;
    color: #00ff00;
    font-weight: bold;
}

.casinos__list {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.casinos__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    padding: 15px;
    border: 1px solid #00ff00;
    background-color: #09090A;
    border-radius: 5px;
}

.casinos__item:hover {
    transform: scale(1.02);
    transition: 0.2s ease-in-out all;
}

.casinos__img {
    display: block;
    width: 100%;
    border-radius: 5px;
}

.casinos__name {
    margin-top: 10px;
}

.casinos__name,
.casinos__bonus {
    color: #00ff00;
    display: block;
    text-align: center;
    font-weight: bold;
}

.casinos__bonus {
    margin-bottom: 10px;
}

.btn {
    padding: 12px 24px;
    display: block;
    border-radius: 2px;
    border: 1px solid #162a2c;
    color: #000;
    background-color: #00ff00;
    margin-top: auto;
    box-shadow: 4px 4px 0 #5e6c5b;
}

.btn:hover {
    background-color: #00B300;
    transition: 0.2s ease-in-out all;
}

.hero__btn {
    position: relative;
    z-index: 100;
    width: max-content;
}

.casinos__text {
    margin-top: 80px;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.casinos__text-title {
    font-size: 24px;
    color: #00ff00;
    font-weight: bold;
    margin-bottom: 20px;
}

.casinos__text-descr {
    font-size: 18px;
    color: #fff;
}

.games__container {
    padding: 60px 20px;
}

.games__title {
    font-size: 30px;
    color: #00ff00;
    font-weight: bold;
}

.games__list {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.games__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    padding: 15px;
    border: 1px solid #00ff00;
    background-color: #09090A;
    border-radius: 5px;
}

.games__item:hover {
    transform: scale(1.02);
    transition: 0.2s ease-in-out all;
}

.games__img {
    display: block;
    width: 100%;
    border-radius: 5px;
}

.games__name {
    color: #00ff00;
    display: block;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

.games__load {
    width: max-content;
    margin: 0 auto;
    margin-top: 40px;
}

.providers__container {
    padding: 60px 20px;
}

.providers__title {
    font-size: 30px;
    color: #00ff00;
    font-weight: bold;
}

.providers__list {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.providers__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    padding: 10px;
    border: 1px solid #00ff00;
    background-color: #09090A;
    border-radius: 5px;
}

.providers__item:hover {
    transform: scale(1.02);
    transition: 0.2s ease-in-out all;
}

.providers__img {
    display: block;
    width: 100%;
    border-radius: 5px;
}

.providers__name {
    color: #00ff00;
    display: block;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

.spinning__container {
    padding: 60px 20px;
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
}

.spinning h2 {
    font-size: 30px;
    color: #00ff00;
    font-weight: bold;
    margin-bottom: 25px;
}

.spinning h3 {
    font-size: 24px;
    color: #00ff00;
    font-weight: bold;
    margin-bottom: 20px;
}

.spinning p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
}

.spinning ul {
    padding-left: 30px;
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
}

.spinning a {
    width: max-content;
}

footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 30px 20px;
}

footer p {
    color: #fff;
}

.header__menu {
    position: relative;
}

.header__sublist {
    border-top: 3px solid #00ff00;
    list-style-type: none;
    padding: 25px;
    background-color: #fff;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.header__menu:hover>.header__sublist {
    opacity: 1;
    visibility: visible;
}

.content {
    padding: 60px 20px;
}

.content h2 {
    font-size: 30px;
    color: #00ff00;
    font-weight: bold;
    margin-bottom: 20px;
}

.content h3 {
    font-size: 24px;
    color: #00ff00;
    font-weight: bold;
    margin-bottom: 15px;
}

.content p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
}

.content img {
    max-width: 800px;
    width: 100%;
    margin: 15px auto;
    display: block;
    object-fit: contain;
}

.content ul,
.content ol {
    font-size: 18px;
    padding-left: 30px;
    margin: 15px 0;
    color: #fff;
}

.burger {
    --burger-width: 30px;
    --burger-height: 25px;
    --burger-line-height: 3px;

    position: relative;
    border: none;
    padding: 0;
    width: var(--burger-width);
    height: var(--burger-height);
    color: #000;
    background-color: transparent;
    cursor: pointer;
    display: none;
    z-index: 201;
}

.burger::before,
.burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: var(--burger-line-height);
    background-color: currentColor;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger::before {
    top: 0;
}

.burger::after {
    top: calc(100% - var(--burger-line-height));
}

.burger__line {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: var(--burger-line-height);
    background-color: currentColor;
    transform: translateY(-50%);
    transition: transform 0.3s ease-in-out;
}

.burger--active::before {
    top: 50%;
    transform: rotate(45deg);
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger--active::after {
    top: 50%;
    transform: rotate(-45deg);
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger--active .burger__line {
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
}

@media (max-width:900px) {
    .header__list {
        display: none;
    }

    .burger {
        display: block;
    }

    .header__list--active {
        display: block;
        position: absolute;
        top: 40px;
        right: 0;
        padding: 30px;
        background-color: #fff;
        z-index: 101;
    }

    .header__sublist {
        position: relative;
        opacity: 1;
        visibility: visible;
        left: 0;
        transform: translateX(0);
        top: 10px;
        padding: 10px;
    }

    .casinos__list {
        grid-template-columns: repeat(3, 1fr)
    }

    .games__list {
        grid-template-columns: repeat(3, 1fr);
    }

    .providers__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:700px) {

    .casinos__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .games__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .providers__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:550px) {

    .casinos__list {
        grid-template-columns: repeat(1, 1fr);
    }

    .games__list {
        grid-template-columns: repeat(1, 1fr);
    }

    .providers__list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.table-wrap{
    overflow-x: auto;
    margin: 15px 0;
}

.table-wrap table{
    width: 100%;
    border-collapse: collapse;
}

.table-wrap td{
    border: 2px solid #007E00;
    padding: 10px;
    color: #fff;
}