/* === Cartoon blue skin for winx-blue theme === */

/* Global layout & background */
body {
    background: radial-gradient(circle at top, #0f1b3b 0, #05091a 45%, #02030b 100%);
    color: rgba(235, 242, 255, 0.9);
}

/* Links & highlights */
a {
    color: #5fd0ff;
}
a:hover,
a:focus {
    color: #ffd45f;
}

/* Header: dark blue with glow */
.site-header {
    padding: 18px 0 14px;
    border-bottom: 1px solid rgba(95, 208, 255, 0.25);
    background: radial-gradient(circle at top, #192a57 0, #050814 60%, #02030b 100%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
    position: relative;
    z-index: 20;
}

.site-header:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top center, rgba(95, 208, 255, 0.24), transparent 60%);
    opacity: 0.85;
}

/* Logo / title */
.site-branding .site-title a,
.site-branding .site-title {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.site-description {
    color: rgba(190, 204, 232, 0.8);
    font-size: 12px;
}

/* Navigation */
.main-navigation ul li {
    margin-left: 24px;
}

.main-navigation a {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: rgba(200, 214, 240, 0.7);
    position: relative;
    padding-bottom: 4px;
}

.main-navigation a:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #5fd0ff, #ff6edb);
    transition: width 0.25s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation li.current_page_item > a,
.main-navigation li.current-menu-item > a {
    color: #ffffff;
}

.main-navigation a:hover:before,
.main-navigation a:focus:before,
.main-navigation li.current_page_item > a:before,
.main-navigation li.current-menu-item > a:before {
    width: 100%;
}

/* Header buttons: cartoon pills */
.wbHeaderButtons {
    text-align: right;
}

.wbHeaderButtons .mainbtn,
.wbHeaderButtons .secbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: none;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
    position: relative;
    overflow: hidden;
}

.wbHeaderButtons .mainbtn {
    background: linear-gradient(135deg, #ffd45f, #ff9a3b);
    color: #201300;
}

.wbHeaderButtons .secbtn {
    margin-left: 10px;
    background: linear-gradient(135deg, #5fd0ff, #3b8dff);
    color: #02030b;
}

.wbHeaderButtons .mainbtn:before,
.wbHeaderButtons .secbtn:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at -20% -20%, rgba(255,255,255,0.45), transparent 60%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.wbHeaderButtons .mainbtn:hover,
.wbHeaderButtons .secbtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.95);
}

.wbHeaderButtons .mainbtn:hover:before,
.wbHeaderButtons .secbtn:hover:before {
    opacity: 1;
}

/* Хиро-блок: фон + плавный переход к крупье */
.wbBannerSection {
    position: relative;
    padding: 80px 0 80px;
    margin-bottom: 40px;
    background:
        radial-gradient(circle at 10% 0, rgba(86, 195, 255, 0.22), transparent 55%),
        radial-gradient(circle at 90% 0, rgba(255, 110, 219, 0.16), transparent 55%),
        radial-gradient(circle at 50% 120%, #030510 0, #02030b 60%, #000000 100%);
    overflow: hidden;
    height: 60vh;
}

/* Лёгкий подсвет слева */
.wbBannerSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at left, rgba(95, 208, 255, 0.14), transparent 55%);
    pointer-events: none;
    z-index: 1;
}

/* Крупье справа + градиент, который «съедает» границу картинки */
.wbBannerSection::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%; /* можно 45–55% по вкусу */
    background:
        /* этот градиент поверх картинки плавно уводит в общий фон */
        linear-gradient(90deg,
            #050b1f 0%,
            rgba(5, 11, 31, 0.9) 20%,
            rgba(5, 11, 31, 0.4) 55%,
            rgba(5, 11, 31, 0.0) 85%
        ),
        url('../img/winx-blue-croupier.png') right center no-repeat;
    background-size: contain; /* 1-й слой (градиент) – cover, 2-й – contain */
    pointer-events: none;
    z-index: 2;
}

/* Контент слева поверх всего */
.wbBannerSection .innerwrap {
    position: relative;
    z-index: 3;
    max-width: 1120px;
    margin: 0 auto;
    text-align: left;
    padding-right: 10%; /* резерв под картинку справа */
}



.bannerTitle {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
}

.desc {
    color: rgba(215, 228, 255, 0.9);
    font-size: 15px;
    max-width: 420px;
}

/* Кнопка и промокод под заголовком */
.wbBannerSection a.secbtn {
    margin-top: 24px;
    max-width: 260px;
    padding: 11px 26px;
}

.wbPromocode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5fd0ff, #3b8dff);
    box-shadow: 0 10px 24px rgba(0,0,0,0.9);
    margin-top: 16px;
}

.wbPromocode span {
    color: #02030b;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Content area */
.content {
    padding-top: 26px;
}

.site-main {
    background: radial-gradient(circle at top, rgba(27, 45, 92, 0.7), rgba(3, 6, 21, 0.95));
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
    padding: 24px 20px 32px;
    margin-bottom: 40px;
}

.text-content {
    padding: 24px 0 60px;
}

.text-content .innerwrap {
    background: rgba(4, 7, 24, 0.9);
    border-radius: 24px;
    padding: 26px 22px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.9);
}

/* Slot cards */
.slotlist .slot-wrap,
.slot-wrap {
    background: radial-gradient(circle at 30% 0, #172546 0, #050819 40%, #02030b 100%);
    border-radius: 20px;
    border: 1px solid rgba(95, 208, 255, 0.2);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    position: relative;
    text-align: center;
    padding-bottom: 14px;
}

.slot-wrap img {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.slot-wrap span {
    font-size: 14px;
    color: rgba(225, 235, 255, 0.86);
}

.slot-wrap a.secbtn {
    max-width: 190px;
    padding: 8px 16px;
    margin-top: 10px;
}

/* Hover glow */
.slot-wrap:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(95,208,255,0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.slot-wrap:hover:before {
    opacity: 1;
}

.slot-wrap:hover {
    transform: translateY(-3px);
    box-shadow:
        0 22px 46px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(95, 208, 255, 0.28);
}

/* Sidebar */
#secondary {
    background: rgba(4, 7, 24, 0.96);
    border-radius: 22px;
    padding: 20px 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.92);
}

/* Footer */
.site-footer {
    background: #02030b;
    border-top: 1px solid rgba(95, 208, 255, 0.18);
}

.wbFooterWidgets {
    padding: 34px 0 16px;
}

.wbFooterWidgets ul li a {
    color: rgba(190, 204, 232, 0.8);
}

.wbFooterWidgets ul li a:hover {
    color: #ffffff;
}

.site-info {
    color: rgba(150, 167, 204, 0.85);
    font-size: 12px;
}

/* Tables & forms tweaks omitted for brevity in this skin */

/* === Мобильный баннер с крупье === */
@media (max-width: 767px) {
    .wbBannerSection {
        position: relative;
        padding: 40px 0 180px; /* доп. отступ снизу под картинку */
        margin-bottom: 30px;
        height: auto;          /* отменяем 60vh на мобайле */
    }

    /* На мобилке картинку и градиент полностью задаём через ::before */
    .wbBannerSection::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            /* общий вертикальный градиент */
            linear-gradient(
                180deg,
                rgba(3, 5, 16, 0.98) 0%,
                rgba(3, 5, 16, 0.92) 40%,
                rgba(3, 5, 16, 0.2) 100%
            ),
            /* крупье снизу по центру */
            url('../img/winx-blue-croupier.png') center bottom no-repeat;
        background-size: cover, 80%;
        pointer-events: none;
        z-index: 1;
    }

    /* ::after на мобилке не нужен */
    .wbBannerSection::after {
        display: none;
    }

    /* Контент поверх, по центру */
    .wbBannerSection .innerwrap {
        position: relative;
        z-index: 2;
        text-align: center;
        padding-right: 0;
        max-width: 90%;
    }

    .bannerTitle {
        font-size: 24px;
    }

    .wbBannerSection a.secbtn {
        margin: 16px auto 0;
        max-width: 250px;
    }

    .wbPromocode {
        margin-top: 14px;
    }
}

.text-content a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: none;
    text-decoration: none;
    transition: transform 0.15s 
ease, box-shadow 0.15s 
ease, background 0.2s 
ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
    position: relative;
    margin: 0 auto;
background: linear-gradient(135deg, #5fd0ff, #3b8dff);
    color: #020406;
    max-width: 280px;
    text-align: center;
}

.wbPromocode span {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-left: 10px;
}

.wbPromocode span:after {
    content: '';
    -webkit-mask-image: url(/wp-content/themes/winx/images/copy.svg);
    mask: url(/wp-content/themes/winx/images/copy.svg);
    -webkit-mask-position: 50%;
    background-color: #ffcc00;
    position: absolute;
    width: 18px;
    height: 18px;
    top: 2px;
    right: -22px;
}


