
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #FFF208;
    --secondary-color-hover: #e8dc02;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #1B0E26;
    --success-color: #2ecc71;
    --sidebar-bg: #1a1a2e;
    --sidebar-accent: #FFF208;
    --header-bg: rgba(27,14,38,.9);
    --footer-bg: #1B0E26;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
img{
    max-width: 100%;
    height: auto;
}
body {
    background-color: #1B0E26;
    color: #C8C8C8;
    line-height: 1.6;
    -webkit-transition: margin-left 0.3s;
    -o-transition: margin-left 0.3s;
    transition: margin-left 0.3s;
}
ol,
ul{
    margin: 15px 0;
    padding-left: 35px;
}
ol li:not(:last-child),
ul li:not(:last-child) {
    margin-bottom: 10px;
}
.table-wrapper{
    overflow-x: auto;
}
table{
margin: 25px 0;
width: 100%;
border-collapse: collapse;
}
table caption{
margin-bottom: 15px;
text-align: left;
color: #e2e2e2;
}
table th,
table td{
padding: 15px;
border-color: #e2e2e2;

}
table th {
-webkit-backdrop-filter: brightness(0.8);
        backdrop-filter: brightness(0.8);
}
blockquote {
-webkit-backdrop-filter: brightness(0.7);
        backdrop-filter: brightness(0.7);
padding: 30px;
border-radius: 10px;
overflow: hidden;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
}
pre {
-webkit-backdrop-filter: brightness(0.7);
        backdrop-filter: brightness(0.7);
border-radius: 10px;
overflow: hidden;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
padding: 20px;
border: 2px dashed;
margin: 25px 0;

}
.container {
    width: 90%;
    max-width: 2152px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background-color: var(--header-bg);
    color: #fff;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 10px 20px;
}
.logo a{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.logo img {
    height: 25px;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.logo img:hover {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
}
.desktop-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    margin: 0;
}

.desktop-nav li {
    position: relative;
    margin-bottom: 0 !important;
}

.desktop-nav li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 6px;
}

.desktop-nav li a:hover, 
.desktop-nav li a.active {
    color: var(--secondary-color);
}

.desktop-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    -webkit-transition: width 0.3s;
    -o-transition: width 0.3s;
    transition: width 0.3s;
}

.desktop-nav li a:hover::after {
    width: 70%;
}
.header-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-left: 20px;
}
.header-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 15px;
}

.menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: block; /* Всегда видим */
    margin-right: 15px;
}

.user-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 15px;
}

.user-actions a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 15px;
    border-radius: 4px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.user-actions .login {
    background-color: transparent;
    border: 1px solid #fff;
    background: #fff;
    border-radius: 30px;
    -webkit-transition: -webkit-filter 0.3s ease;
    transition: -webkit-filter 0.3s ease;
    -o-transition: filter 0.3s ease;
    transition: filter 0.3s ease;
    transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}

.user-actions .login:hover {
    background-color: none;
    -webkit-filter: drop-shadow(0 0 6px #fff);
            filter: drop-shadow(0 0 6px #fff);
}

.user-actions .register {
    background-color: var(--secondary-color);
    border-radius: 30px;
    -webkit-transition: -webkit-filter 0.3s ease;
    transition: -webkit-filter 0.3s ease;
    -o-transition: filter 0.3s ease;
    transition: filter 0.3s ease;
    transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}

.user-actions .register:hover {
    -webkit-filter: drop-shadow(0 0 6px #FFF208);
            filter: drop-shadow(0 0 6px #FFF208);
}

/* Sidebar Menu */
.sidebar {
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    background-color: var(--header-bg);
    overflow-x: hidden;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    padding-top: 60px;
    -webkit-box-shadow: 2px 0 5px rgba(0,0,0,0.1);
            box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar.open {
    width: 280px;
}

.sidebar-header {
    padding: 20px;
    color: #fff;
    border-bottom: 1px solid #333;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-menu {
    list-style: none;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-left: 0;
}

.sidebar-menu li {
    position: relative;
    margin-bottom: 0 !important;
}

.sidebar-menu li a {
    display: block;
    color: #ddd;
    padding: 15px 20px;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-menu li a:hover {
    background-color: var(--secondary-color-hover);
    color: #000;
    border-left: 3px solid var(--sidebar-accent);
}

.sidebar-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dropdown-menu {
    list-style: none;
    display: none;
    padding-left: 0;
}

.dropdown-menu li a {
    padding-left: 40px;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.dropdown.active .dropdown-toggle::after {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

body.menu-open {
    margin-left: 280px;
    overflow: hidden;
}

body.menu-open .sidebar {
    width: 280px;
}

body.menu-open .overlay {
    display: block;
}

/* Language Selector */
.language-selector {
    padding: 15px 20px;
    border-top: 1px solid #333;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.language-selector i {
    margin-right: 10px;
    color: #ddd;
}

.language-selector select {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 5px;
}

.language-selector select option {
    background-color: var(--sidebar-bg);
}

/* Support Link */
.support-link {
    display: block;
    background-color: var(--secondary-color);
    color: #000;
    text-align: center;
    padding: 15px;
    margin: 20px;
    border-radius: 5px;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.support-link:hover {
    background-color: var(--secondary-color-hover);
    -webkit-filter: drop-shadow(0 0 6px var(--secondary-color));
            filter: drop-shadow(0 0 6px var(--secondary-color));
}

/* Hero Banner */
.hero-banner {
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,.2)), to(rgba(0,0,0,.8)));
    background: -o-linear-gradient(top, rgba(0,0,0,.2), rgba(0,0,0,.8));
    background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.8));
    color: #fff;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-top: 20px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #390041 0%, rgba(57, 0, 65, 0) 100%);
    background-size: cover; 
    z-index: 0;
}
.hero-banner::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../img/tour/tour-5.webp') no-repeat top center;
    background-size: cover; 
    z-index: -1;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.hero-banner:hover::after{
-webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
        transform: scale(1.1);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    /* margin: 0 auto; */
    text-align: left;
    padding: 30px 30px 0;
}

.hero-content-title {
    font-size: 2.5rem;
    line-height: normal;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-style: italic;
}

.hero-content-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
}

.cta-button:hover {
    -webkit-transform: translateY(-3px);
        -ms-transform: translateY(-3px);
            transform: translateY(-3px);
    -webkit-filter: drop-shadow(0 0 6px #FFF208);
            filter: drop-shadow(0 0 6px #FFF208);
}
.content {
    margin: 35px 0;
}
.content p{
    margin: 10px 0;
}
.content a{
    color: var(--secondary-color);
}
.content h1{
    margin: 25px 0;
}
.content h2{
    padding-left: 35px;
    margin: 15px 0;
}
.content h2::before{
content: '';
position: absolute;
left: 0;
top: 6px;
display: block;
width: 25px;
height: 25px;
background: url(../img/icons/star.svg) no-repeat center center;
}
.content h3{
    color: var(--secondary-color);
    margin: 10px 0;
}
.faq {
   margin: 35px 0;
    font-family: 'Arial', sans-serif;
  }

  .faq-content {
    background-color: var(--dark-color);
    border-radius: 12px;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .faq-list {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .faq-item {
    border-bottom: 1px solid #eaeaea;
  }

  .faq-item:last-child {
    border-bottom: none;
  }

  .faqblock-title {
    padding: 18px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    position: relative;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }



  .faqblock-title::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    font-size: 20px;
    color: #fff;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .faqblock.active .faqblock-title::after {
    content: '-';
  }

  .faqblock-content {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.3s ease;
    -o-transition: max-height 0.3s ease;
    transition: max-height 0.3s ease;
    background-color: var(--dark-color);
  }

  .faqblock.active .faqblock-content {
    max-height: 1000px;
  }

  .faqblock-text {
    padding: 20px;
    padding-top: 0;
    color: #fff;
    line-height: 1.6;
  }

  .faqblock-text ol {
    padding-left: 20px;
    margin: 15px 0;
  }

  .faqblock-text li {
    margin-bottom: 10px;
  }

  .faqblock-text p {
    margin: 15px 0 0;
  }
/* Promotion Banner */
.promotion-banner {
    background: url('../img/tour/tour-4.webp') top center/cover;
    height: 500px;
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    color: #fff;
    text-align: left;
    overflow: hidden;
}

.promotion-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #390041 0%, rgba(57, 0, 65, 0) 100%);
    background-size: cover; 
    z-index: 0;
}

.promotion-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    /* max-width: 800px; */

}

.promotion-content-title {
    font-size: 3.25rem;
    margin-bottom: 15px;
    font-weight: bold;
    font-style: italic;
}

.promotion-content-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
/* Promotion Banner 1 */
.promotion-banner-1 {
    background: url('../img/bonuses.webp') top center/cover;
    height: 500px;
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    color: #fff;
    text-align: left;
    overflow: hidden;
}

.promotion-banner-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #390041 0%, rgba(57, 0, 65, 0) 100%);
    background-size: cover; 
    z-index: 0;
}

.promotion-content-1 {
    position: relative;
    z-index: 1;
    padding: 20px;
    /* max-width: 800px; */

}

.promotion-content-title-1 {
    font-size: 3.25rem;
    margin-bottom: 15px;
    font-weight: bold;
    font-style: italic;
}

.promotion-content-text-1 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
/* Games Section */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}
.section-action {
    margin: 25px 0;
    text-align: center;
}
.section-action .btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 400;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
}
.games-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.game-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    height: 250px;
}

.game-card:hover {
    -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
            transform: translateY(-10px);
    -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.game-type{
    position: absolute;
    left: 0;
    top: 0;
    background: var(--secondary-color);
    color: #000;
    font-size: 14px;
    padding: 5px 10px;
    border-bottom-right-radius: 10px;
    z-index: 2;
}
.game-rating{
    position: absolute;
    right: 0;
    top: 0;
    padding: 5px 10px;
    z-index: 2;
    background: var(--dark-color);
    border-bottom-left-radius: 10px;
}
.game-card img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
}

.game-info {
    padding: 15px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(60,11,108,.9);
    opacity: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.game-rating {
    color: #f39c12;
    font-size: 0.9rem;
    opacity: 0;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.game-title{
    background: var(--dark-color);
    color: #fff;
    font-weight: 600;

    padding: 10px;
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.game-card:hover .game-info,
.game-card:hover .game-rating,
.game-card:hover .game-title{
    opacity: 1;
}




.play-button {
    text-align: center;
    background-color: var(--secondary-color);
    color: #000;
    padding: 8px 20px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 500;

    -webkit-transition: all 0.3s ease;

    -o-transition: all 0.3s ease;

    transition: all 0.3s ease;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: max-content;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.play-button svg path{
    fill: #000;
}

.play-button:hover {
    background-color: var(--secondary-color-hover);
    -webkit-filter: drop-shadow(0 0 6px var(--secondary-color));
            filter: drop-shadow(0 0 6px var(--secondary-color));
}

/* Tournaments Section */
.tournaments-section {
    background: -webkit-gradient(linear,left top, left bottom,from(0),color-stop(rgba(0,0,0,0.2)), to(rgba(0,0,0,0.8))),url(../img/banners/tour-banner.avif) no-repeat center center;
    background: -o-linear-gradient(0,rgba(0,0,0,0.2), rgba(0,0,0,0.8)),url(../img/banners/tour-banner.avif) no-repeat center center;
    background: linear-gradient(0,rgba(0,0,0,0.2), rgba(0,0,0,0.8)),url(../img/banners/tour-banner.avif) no-repeat center center;
    background-size: cover;
    padding: 50px;
    margin: 35px 0;
    border-radius: 15px;
}

 /* Основные стили */
.tournaments-section {
padding: 20px;
color: #333;
}

/* Стили для табов */
.tabs-container {
margin-bottom: 30px;
}

.tabs {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
gap: 10px;
border-bottom: 1px solid #e0e0e0;
padding-bottom: 10px;
overflow-x: auto;
}
.tabs::-webkit-scrollbar{
display: none;
}

.tab-button {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
gap: 8px;
padding: 10px 20px;
background: none;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
font-weight: 500;
color: #666;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}

.tab-button.active {
background-color: #f0f0f0;
color: #000;
font-weight: 600;
}

.tab-button:hover {
background-color: #f5f5f5;
}

.tab-icon {
width: 20px;
height: 20px;
}

/* Стили для карточек турниров */
.tournaments-list {
display: -ms-grid;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin: 35px 0;
}

.tournament-card {
background: var(--dark-color);
color: #fff;
border-radius: 12px;
-webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
overflow: hidden;
-webkit-transition: -webkit-transform 0.3s ease;
transition: -webkit-transform 0.3s ease;
-o-transition: transform 0.3s ease;
transition: transform 0.3s ease;
transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.tournament-card:hover {
-webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
        transform: translateY(-5px);
}

.card-content {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
    -ms-flex-direction: column;
        flex-direction: column;
padding-bottom: 50px;
}

.tournament-banner {
/* height: 180px; */
overflow: hidden;
}

.banner-image {
width: 100%;
height: 100%;
-o-object-fit: contain;
   object-fit: contain;
}

.tournament-info {
padding: 15px;
}

.info-row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
    -ms-flex-pack: justify;
        justify-content: space-between;
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
-ms-flex-wrap: wrap;
    flex-wrap: wrap;
gap: 10px;
margin-bottom: 12px;
}

.tournament-title {
font-size: 18px;
font-weight: 700;
margin: 0;
}

.prize-badge {
background-color: var(--secondary-color);
border-radius: 16px;
padding: 4px 12px;
}

.badge-text {
font-size: 12px;
font-weight: 500;
margin: 0;
color: #000;
}

.time-info, .bet-info {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
gap: 5px;
font-size: 14px;
}

.info-icon {
width: 16px;
height: 16px;
}

.info-text {
color: #fff;
}

.action-button {
width: 100%;
padding: 12px;
background-color: var(--secondary-color);
color: #000;
border: none;
border-radius: 0 0 12px 12px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}

.action-button:hover {
background-color: var(--secondary-color-hover);
-webkit-filter: drop-shadow(0 0 6px var(--secondary-color));
        filter: drop-shadow(0 0 6px var(--secondary-color));
}

/* Hidden referral links */
.ref-link {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}
 /* Login Modal */
 .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    -webkit-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    -webkit-animation: modalFadeIn 0.3s;
            animation: modalFadeIn 0.3s;
}

@-webkit-keyframes modalFadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(-50px);
                transform: translateY(-50px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(-50px);
                transform: translateY(-50px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.modal h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.modal-button {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

.modal-button:hover {
    background-color: #2980b9;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.form-footer a {
    color: var(--accent-color);
    text-decoration: none;
}
/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 15px;
    color: #bbb;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.social-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    -webkit-transform: translateY(-3px);
        -ms-transform: translateY(-3px);
            transform: translateY(-3px);
    color: #000;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}
.jackpot-banner-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/banners/jackpot-bg-pattern.png) repeat;
  border-radius: 8px;
  padding: 16px;
  gap: 50px;
  position: relative;
  overflow: hidden;
}

.jackpot-banner-logo {
  height: 40px;
  margin-right: 16px;
}

.jackpot-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  /* flex-grow: 1; */
}

.jackpot-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
box-shadow: 0 -5px 20px 5px rgba(202,24,164,.25);
}
.jackpot-item::before{
    border: 1px solid #ca18a4;
    border-radius: 20px;
    bottom: -1px;
    content: "";
    left: -1px;
    -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 70%);
    mask-image: linear-gradient(180deg, #000 20%, transparent 70%);
    pointer-events: none;
    position: absolute;
    right: -1px;
    top: -1px;
}
.jackpot-item:nth-child(2){
box-shadow: 0 -5px 20px 5px rgba(204,124,2,.25);
}
.jackpot-item:nth-child(2):before{
    border: 1px solid #cc7c02;
}
.jackpot-item:nth-child(3){
box-shadow: 0 -5px 20px 5px rgba(28,114,255,.25);
}
.jackpot-item:nth-child(3):before{
    border: 1px solid #468cff;
}
.jackpot-item:nth-child(4){
    box-shadow: 0 -5px 20px 5px rgba(29,239,158,.25);
}
.jackpot-item:nth-child(4):before{
    border: 1px solid #00a395;

}
.jackpot-item-logo-label {
  height: 60px;
}

.jackpot-item__value {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: bold;
  color: white;
  font-size: 16px;
}

.odometer {
  display: inline-block;
  position: relative;
}

.odometer-digit {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

/* .jackpot-banner-redirect-container {
  margin-left: auto;
} */

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-submit {
  background: #FFF208;
  color: #000;
}

.btn-modern {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-consent{
 
    background: var(--dark-color);
}
/* Responsive adjustments */
@media (max-width: 1024px) {
  .jackpot-banner-wrapper {
    flex-wrap: wrap;
  }
  
  .jackpot-banner-redirect-container {
    margin-left: 0;
    width: 100%;
    margin-top: 16px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .jackpot-list {
    flex-direction: column;
    width: 100%;
  }
  .jackpot-banner-logo{
    height: auto;
    width: 90%;
  }
  .jackpot-item {
    justify-content: space-between;
    flex-direction: column;
  }
  .jackpot-banner-wrapper svg{
    display: none;
  }
}
/* Responsive Styles */
@media (max-width: 992px) {
    blockquote{
        width: auto;
    }
    pre{
        width: auto;
        font-size: 12px;
    }
    .container{
        width: 100%;
    }
    .header{
        padding: 10px;
    }
    .desktop-nav{
        display: none;
    }
    .user-actions{
        gap: 5px;
    }
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .promotion-content-title{
        font-size: 2.5rem;
    }
    
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 40px 0;
    }
    
    .hero-banner h1 {
        font-size: 1.8rem;
    }
    
    .promotion-banner {
        height: 250px;
    }
    
    .promotion-content-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .header-actions {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }
    
    .user-actions {
        width: auto;
    }
    
    .hero-banner h1 {
        font-size: 1.5rem;
    }
    
    .hero-banner p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .games-grid {
        -ms-grid-columns: 1fr 15px 1fr;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    /* .promotion-banner {
        height: 200px;
    } */
    
    .promotion-content-title {
        font-size: 1.2rem;
    }
}
@media screen and (max-width: 325px) {
    .logo img{
        display: none;
    }
    .header-content{
        justify-content: flex-end;
    }
}