/*!
Theme Name: default-theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: default-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

default-theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
*/

/*API блок*/

.event-cards.view-1 .event-card {
	border: 1px solid #3E3E42;
}

.view-1 .event-card .bet-btn {
	border: none;
}

.event-card h3, .event-card .tournament {
	display: none;
}

.teams .team {
	font-weight: 700;
}

.odd-item:hover {
    border-color: #ffb000;
}



/*Блок победителями*/

.winner-box {
  margin: 35px 0;
  display: flex;
  box-shadow: 0 0 20px #111;
  border-radius: 4px;
}

.winners-title {
  text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #3E3E42;
    background-color: #FFB805;
    padding: 8px 12px;
    border-radius: 4px 0 0 4px;
}

.winners-line {
    display: flex;
    align-items: center;
    flex: 1 1;
    background-color: #3E3E42;
    overflow: hidden;
    width: max-content;
    border-radius: 0 4px 4px 0;
}

.winners-list {
    display: flex!important;
    list-style: none;
    margin: 0;
    padding-left: 100%;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
0% {
    transform: translateX(0);
}
100% {
    transform: translateX(calc(-100% - 3px));
}
}

.winners-person {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #d2d2d2;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    margin-left: 32px;
}

.winners-reward {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
    margin-right: 4px;
}

.winners-person:before {
    content: '';
    width: 24px;
    min-width: 24px;
    height: 24px;
	-webkit-mask-image: url(https://melbet.plus/wp-content/uploads/2023/05/prize.svg);
    mask-image: url(https://melbet.plus/wp-content/uploads/2023/05/prize.svg);
	background-color: #FFB805;
    background-repeat: no-repeat;
    background-position: center;
}


/* Telegram Promo block */
.tg-promo {
  background: #3E3E42;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 100px;
  border-radius: 10px;
	box-shadow: 0 0 20px #222;
	max-width: 80%;
  margin: 80px auto 40px;
  position: relative;
  overflow: visible;
}

.tg-content .title-tg {
  font-size: 32px;
	line-height: 1.1;
	font-weight: 700;
  margin-bottom: 20px;
}

.tg-content p {
  opacity: 0.95;
  margin-bottom: 30px;
}

.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFB805;
  border: 2px solid #FFB805;
  color: #000;
  padding: 14px 26px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none!important;
}

/* Основная кнопка */
.tg-btn {
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* Пульс */
.tg-btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50px;
  background: rgba(255, 184, 5, 0.45);
  z-index: -1;
  animation: tgPulse 2.4s ease-out infinite;
}

/* Анимация */
@keyframes tgPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.tg-icon svg {
  display: block;
}

.tg-icon {
  font-size: 18px;
}

.tg-phone {
  position: absolute;
  right: 80px;
  bottom: 0;
  pointer-events: none;
}

/* Phone preview */
.tg-phone img {
  display: block;
  max-width: 280px;
  height: auto;
}

/* Floating button */
.tg-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFB805;
  border: 2px solid #FFB805;
  color: #000!important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  animation: pulse 2s infinite;
  transition: opacity 0.3s ease;
}

.tg-float.show {
  opacity: 1;
  pointer-events: auto;
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 184, 5,0.6); }
  70% { box-shadow: 0 0 0 20px rgba(255, 184, 5,0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 184, 5,0); }
}

/* Responsive */
@media (max-width: 768px) {
  .tg-promo {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .tg-content .title-tg {
    font-size: 25px;
  }
}

@media (max-width: 1150px) {
  .tg-phone {
    right: 50px;
  }

  .tg-phone img {
    max-width: 220px;
  }
}

@media (max-width: 768px) {
	.tg-promo {
		margin-top: 40px;
	}
  .tg-phone {
    display: none; 
  }
}

/* Вопрос для ИИ
--------------------*/
.ii-block {
  margin: 30px 0;
}

.ii-row {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.ii-row .ii-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 15px;
  transition: .3s;
	text-decoration: none;
	color: #fff;
}

.ii-row .ii-btn .ai-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.ii-row .ii-btn.chatgpt {
  background: linear-gradient(135deg, #10a37f, #0d8068);
}

.ii-row .ii-btn.chatgpt:hover {
  background: linear-gradient(135deg, #0d8068, #0a6b57);
}

.ii-row .ii-btn.perplexity {
  background: linear-gradient(135deg, #20808d, #1a6b75);
}

.ii-row .ii-btn.perplexity:hover {
  background: linear-gradient(135deg, #1a6b75, #155a63);
}

.ii-row .ii-btn.google-ai {
  background: linear-gradient(135deg, #4285f4, #1a73e8);
}

.ii-row .ii-btn.google-ai:hover {
  background: linear-gradient(135deg, #1a73e8, #1557b0);
}

.ii-row .ii-btn.grok {
  background: linear-gradient(135deg, #000000, #1a1a1a);
}

.ii-row .ii-btn.grok:hover {
  background: linear-gradient(135deg, #1a1a1a, #333333);
}

.ii-row .ii-btn.claude {
  background: linear-gradient(135deg, #cc785c, #b8654a);
}

.ii-row .ii-btn.claude:hover {
  background: linear-gradient(135deg, #b8654a, #a55540);
}

.ii-row .ii-btn span {
  font-weight: 600;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
    .ii-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    .ii-row .ii-btn {
        flex-basis: calc((100% - 10px) / 2);
        flex-grow: 0;
    }
}

@media screen and (max-width: 480px) {
    .ii-row .ii-btn {
        flex-basis: 100%;
    }
}

/* Вкладки со ссылками
--------------------*/
.info__wrap .tabs {
  border-radius: 12px;
  margin: 30px 0;
  overflow: hidden;
}

.info__wrap .tabs .tabs-caption {
  display: flex;
	gap: 0;
	padding-left: 0;
	margin: 0;
}

.info__wrap .tabs .tabs-caption > li {
  flex: 1;
  font-weight: bold;
  text-align: center;
  padding: 18px;
  transition: .3s;
  cursor: pointer;
  margin-left: 1px;
  margin-bottom: 1px;
	list-style: none;
}

.info__wrap .tabs .tabs-caption > li:first-child {
  margin-left: 0;
}

.info__wrap .tabs .tabs-content {
  display: none;
  flex-wrap: wrap;
  gap: 15px;
  padding: 30px;
}

.info__wrap .tabs .tabs-content.active {
  display: flex;
	justify-content: center;
}

.info__wrap .tabs .tabs-content > a {
  width: calc((100% - 10px) / 5);
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 12px;
  padding: 10px 20px;
  transition: .3s;
}

.info__wrap .tabs .tabs-content > a > img {
  display: block;
  border-radius: 0 10px 0 10px;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.info__wrap .tabs .tabs-content a .abbr {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 0 10px 0 10px;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

@media screen and (max-width: 1024px) {
   .info__wrap .tabs .tabs-content a {
        width: calc((100% - 15px) / 4);
        padding: 10px 15px;
    }
}

@media screen and (max-width: 767px) {
    .info__wrap .tabs .tabs-content a {
        width: calc((100% - 10px) / 3);
    }
}

@media screen and (max-width: 480px) {
    .info__wrap .tabs .tabs-content a {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .info__wrap .tabs .tabs-content {
        gap: 5px;
        padding: 10px 10px;
    }
}

@media screen and (max-width: 480px) {
    .info__wrap .tabs .tabs-caption {
        display: block;
    }
}

.tabs-caption li {
    background: #2E2E2E;
    color: #ffffff;
}

.tabs-caption li.active {
    background: #3E3E42;
    color: #ffffff;
}

.tabs-content {
    background: #3E3E42;
}

.tabs-content a {
    background: #DEDEDE;
    color: #fff;
	text-decoration: none;
}

.tabs-content a:hover {
    background: #2E2E2E;
    color: #ffffff;
}

.tabs-content a .abbr {
    background: #15d897;
    color: #ffffff;
}


.promo__bottom-text img {
	width: 50px;
	height: 50px;
}

/*Podcast*/
.pdp_wrapper_default {
	margin-top: 30px!important;
	width: 70%!important;
}

@media screen and (max-width: 890px) {
	.pdp_wrapper_default {
	width: 100%!important;
}
	.pdp-item .pdp_plyr_area h3 {
	font-size: 16px!important;
}
}

.share {
	display: none;
}

.pdp-item {
	border: 12px solid #3E3E42;
	border-radius: 12px;
	align-items: center;
	margin: auto;
}
.pdp_wrapper_default.dark .pdp-item {
	background: #3E3E42!important;
}

.plyr--full-ui input[type=range] {
	color: #FFB805;
}

.pdp_wrapper_default.dark .pdp-item {
	height: 80px;
}

.plyr__menu__container .plyr__control {
	color: #2E2E2E;
}

.plyr__menu__container {
	background: #2E2E2E; 
}

.plyr--audio .plyr__control.plyr__tab-focus, .plyr--audio .plyr__control:hover, .plyr--audio .plyr__control[aria-expanded=true] {
	background: #FFB805;
}

.pdp-item .pdp_plyr_area h3 {
	font-size: 22px;
	padding: 0 15px;
	margin-bottom: 0!important;
	color: #eee!important;
}

.pdp-item .pdp_plyr_area {
	padding: 0!important;
	margin-right: 40px!important;
}

@media screen and (max-width: 640px) {
.pdp-item .pdp_plyr_area {
	margin-right: 0!important;
}
}

.pdp-item .pdp_fet_img img {
width: 130px!important;
	border-radius: 10px;
		display: block;
	margin-left: auto;
  margin-right: auto;
}

.pdp-item .pdp_fet_img {
	min-width: 150px!important;
	width: 20%!important;
	margin: auto;
}

.pdp_wrapper_default.dark .pdp-item .plyr__controls .plyr__control, .pdp_wrapper_default.dark .pdp-item .plyr__controls .plyr__time, .pdp_wrapper_default.dark .pdp-item i {
	color: #eee!important;
}


/*Блок с промокодом*/
.melplus-promo-code-box {
  background: #3E3E42;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 25vw;
	max-width: 450px;
  padding: 25px;
  box-shadow: 0 0 10px #333;
	margin: 15px;
}

.melplus-promo-code-block {
	display: flex;
	justify-content: center;
	height: 100%;
}

.melplus-promo-code-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: #FFB805;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.melplus-promo-code-info {
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
	padding: 0 15px;
}

.melplus-promo-code-field {
  display: flex;
  align-items: center;
  min-width: -webkit-fill-available;
  position: relative;
	padding: 0 20px;
}

.melplus-bonus-code {
  border: 1px #FFB805;
	border-style: dashed none dashed dashed;
	border-radius: 8px 0 0 8px;
  color: #FFB805;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 12px 16px;
  width: 100%;
}

.melplus-bonus-code-copy {
  background: #FFB805;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
	border: none;
    outline: none;
    padding: 14px 15px;
}

.melplus-block-text-code {
  display: flex;
  gap: 20px;
	align-items: center;
}

@media screen and (max-width: 820px) {
    .melplus-block-text-code {
    flex-direction: column-reverse;
    align-items: center;
    }
	.melplus-promo-code-box {
		width: 75vw;
	}
}

.ctc-inline-copy-icon .copy-icon, .ctc-inline-copy-icon .check-icon {
    height: 26px;
    width: 26px;
    color: #fff;
	margin-left: -4px
}

/*Блок с картинками ссылками*/
.melplus-container-img {
  padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

.melplus-container-flex {
	display: -ms-flexbox;    
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.melplus-row-advantages {    
    display: -ms-flexbox;    
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.melplus-col-5 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.melplus-col-5 {
    position: relative;
    width: 100%;
}

.melplus-element-item {
display: inline-block;
	width: 270px;
	margin-right: 0.5rem;
	margin-bottom: 1rem;
	margin-left: 0.5rem;
	vertical-align: top;
}

.melplus-element-item img {
	max-width: 100%;
	height: 190px;
	margin: 0;
	transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.melplus-element-item:hover img {
	-moz-transform: scale(1.15);
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

.melplus-text-overlay {
position: absolute;
margin: -65px 10px;
padding: 5px 15px;
z-index: 2;
color: #000;
font-size: 18px;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
transition: all 0.3s;
background-color: rgb(255 184 5 / 80%);
        }

.melplus-element-item:hover .melplus-text-overlay {
	-moz-transform: scale(1.15);
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

/*Промо на странице с бонусом*/
.melplus-bonus-promo-block {
  display: flex;
  flex-direction: row;
 align-items: center;
}

.melplus-promo-text-intro {
  font-size: 22px;
  font-weight: bold;
	width: 70%;
  margin: 0 0 60px
}

.melplus-promo-text-intro-yellow {
  color: #FFB805;
  text-transform: uppercase;
}

.melplus-bonus-promo-text {
  text-align: center;
}

.melplus-bonus-promo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	text-transform: uppercase;
}

.melplus-back-sport-player img {
  mask: linear-gradient(to top, transparent 0%, black 70%);
}

.melplus-promo-text-button-title {
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
	font-size: 22px;
}
.melplus-promo-text-button {
  background: linear-gradient(90.87deg, #FFB805 -3.19%, #FFCF00 102.14%);
  border: 0;
	border-radius: 50px;
  padding: 10px 40px;
	transition: all 0.3s;
}

.melplus-promo-text-button:hover {
  background: linear-gradient(60.87deg, #FFCF00 -3.19%, #FFB805 22.14%);
}

@media screen and (max-width: 920px) {
.melplus-promo-text-intro {
	width: 100%;
}
}

@media screen and (max-width: 670px) {
	.melplus-bonus-promo-block {
    flex-direction: column;
    align-items: center;
}
  .melplus-bonus-promo-text {
grid-area: 1;
}
  .melplus-promo-text-intro {
  margin: 0 0 50px;
}
}

/*Блок с бонусами главная*/

.melplus-bonus-tabs-home {
  text-align: center;
}

.melplus-bonus-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	justify-content: center;
}

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

.melplus-bonus-img {
    position: relative;
    overflow: hidden;
	width: 50%;
	
}

.melplus-bonus-list-li {
    width: -webkit-calc(20% - 25px);
    width: -moz-calc(20% - 25px);
    width: calc(20% - 25px);
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
	margin: 8px;
	align-items: center;
	background: #2E2E2E;
	border: 4px solid transparent;
	transition: all 0.5s;
}

.melplus-bonus-list-li:hover {
	border: 4px solid #FFB805;
	background: #383636;
	.melplus-bonus-description {
    background: #383636;
		}
}

.melplus-bonus-img img {
    display: block;
  max-width: 100%;
    max-height: 100%;
}

.melplus-bonus-description {
    background: #2E2E2E;
    padding: 5px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
	height: calc(100% - 12px);
	transition: all 0.5s;
	justify-content: flex-end;
}

.melplus-bonus-description-title {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin: 15px 0 10px;
  color: #FFB805!important;
  text-decoration: none!important;
  text-transform: uppercase;
}

.melplus-bonus-description-title:hover {
  color: #fff!important;
}

.melplus-descr {
  width: auto;
    background: #3e3e42;
    color: #fff;
    padding: 15px 5px;
    margin: 0 0;
    position: relative;
	height: 100%;
}

.melplus-bonus-description p {
	margin-bottom: 0px!important;
}

@media screen and (max-width: 890px) {
    .melplus-bonus-list-li {
        width: -webkit-calc(25% - 25px);
    width: -moz-calc(25% - 25px);
    width: calc(25% - 25px);
    }
}

@media screen and (max-width: 680px) {
    .melplus-bonus-list-li {
      width: 100%;
			height: 120px;
			flex-direction: row;
			margin: 5px 0;
    }
	.melplus-bonus-img img {
    max-height: 120px;
}
	.melplus-bonus-img {
    width: 35%;
}
	.melplus-bonus-description {
		justify-content: center;
	}
}


/*Выпадающее меню*/
ul li.menu-item-has-children>a:after {
    content: "▼";
    margin-left: .5em;
    opacity: .7;
}

ul .sub-menu {
	display: none;
}

ul li.menu-item-has-children:hover .sub-menu {
	display: block;
}

ul .sub-menu {
  position: absolute;
  background-color: #FFB805;
  min-width: 160px;
	max-width: 200px;
  padding: 10px 12px;
  z-index: 1;
	box-shadow: 0 2px 45px rgba(29, 39, 48, .60);
	white-space: nowrap;
}


ul li .sub-menu li>a {
  padding: 10px 0;
	margin-left: 20px
}