/*
 Theme Name:   Mercury Child
 Template:     mercury

 Content:

 #0 - Hero Section
 #1 - Custom Mega Menu
 #2 - Casino Single page
 #3 - Casino Card
 #4 - Game
 #5 - Testimonial Partners
 #6 - Partners
 #7 -
 #8 -
 #9 - Page Headers

*/

@import url("../mercury/style.css");

:root {
    --primary: #6C63FF;
    --primary-dark: #4D44DB;
    --primary-light: #A5A1FF;
    --secondary: #FF6584;
    --dark: #1A1A2E;
    --darker: #0F0F1B;
    --light: #F8F9FA;
    --lighter: #FFFFFF;
    --gray: #ADB5BD;
    --dark-gray: #495057;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* #0 - Hero Section */
.hero-wrapper {
    padding: 40px 0;
}

.hero-wrapper .container h1 {
    color: #fff;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -.1px;
    line-height: 3.25rem;
    margin-bottom: 24px;
    text-align: center;
}

.hero-wrapper .container h1 .colored-title-part {
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-image: linear-gradient(90deg, #eaefff, #8b9bff);
}

.hero-wrapper .container p {
    color: #f5f6fa;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .1px;
    line-height: 1.5rem;
    margin: 0 auto;
    max-width: 720px;
}

.space-page-content .hero-wrapper p {
    padding-bottom: 0;
}

.hero-wrapper .container .hero-features-grid {
    display: grid;
    gap: 20px;
    grid-template-areas:
        "slots slots bonuses geo"
        "reviews providers bonuses payments";
    grid-template-columns: repeat(4, 1fr);
    margin-top: 64px;
    text-align: left;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card p {
    font-weight: 700;
    margin: 0;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card .hero-feature-label {
    font-size: 1.25rem;
    letter-spacing: 0;
    line-height: 1.75rem;
    max-width: 160px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card.slots .hero-feature-label {
    max-width: 222px;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card .hero-feature-number {
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-image: linear-gradient(90deg, #eaefff, #8b9bff);
    font-size: 3.5rem;
    letter-spacing: -.25px;
    line-height: 4rem;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card.slots {
    grid-area: slots;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card.bonuses {
    grid-area: bonuses;
    height: 554px;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card.geo {
    grid-area: geo;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card.reviews {
    grid-area: reviews;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card.providers {
    grid-area: providers;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card.payments {
    grid-area: payments;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card {
    background-color: #303250;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #596ab166;
    border-radius: 24px;
    color: #fff;
    height: 267px;
    padding: 24px;
    text-align: left;
    text-decoration: none;
    transition: .2s;
}

.hero-wrapper .container .hero-features-grid .hero-feature-card:hover {
    box-shadow: 0 10px 20px 0 rgba(73, 76, 126, 0.25);
}

/* #1 - Custom Mega Menu */
.space-header-wrap {
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.25);
}

@media (max-width: 1199px) {
    .mega-menu {
        display: none;
    }

    .attachment-mercury-custom-logo {
        height: 50px;
    }
}

@media (min-width: 1200px) {
    .space-header-height .space-header-wrap {
        background-color: #10162B;
    }

    .space-header-height .space-header-logo-ins:after,
    .space-header-logo-ins:after{
        width: 0;
        display: none;
        background-color: transparent;
    }

    .mega-menu {
        display: flex;
        align-items: center;
        height: 80px;
        margin-left: 10%;
    }

    .mega-menu li:hover > .mega-sub-menu {
        display: grid;
        background-color: #303250;
    }

    .mega-sub-menu {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        max-width: 1200px;
        margin: 0 auto;
        top: 80px;
        width: 100%;
        padding: 32px;
        z-index: 999;
        gap: 32px;
        grid-template-columns: repeat(4, 1fr);
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(7, 7, 10, .5);
    }

    .admin-bar .mega-sub-menu {
        top: 112px;
    }

    .space-header-menu ul.mega-menu {
        padding-right: 55px;
        line-height: 100%;
    }

    .space-header-menu ul.mega-menu li {
        float: left;
        position: relative;
        padding: 0;
        margin: 0;
        font-family: 'Helvetica', Arial, sans-serif;
        color: #fff;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 16px;
    }

    .space-header-menu ul.mega-menu li.header-menu-item {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .space-header-menu ul.mega-menu li.header-menu-item .header-menu-title:hover {
        background-color: rgba(255, 187, 35, .08);
        border-radius: 8px;
    }

    .space-header-menu ul.mega-menu li.header-menu-item .header-menu-title:hover a{
        color: #ffbb23;
        transition: none;
    }

    .header-menu-block>li.menu-item {
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        letter-spacing: .1px;
        line-height: 20px;
        padding: 0;
    }

    /* MegaMenu */
    ul.mega-menu .sub-menu-two {
        margin-top: 16px;
    }

    ul.sub-menu-two, li.menu-item-object-custom.menu-item-has-children {
        display: flex;
        flex-direction: column;
    }

    /* MegaMenu - Title */
    ul.mega-sub-menu>li.menu-item-object-custom>a:first-child,
    ul.mega-sub-menu>li.menu-item-object-category>a:first-child,
    ul.mega-sub-menu>li.menu-item-object-page>a:first-child {
        align-items: center;
        color: #b5c1de;
        display: flex;
        font-weight: 700;
        padding: 10px 12px;
        text-transform: uppercase;
    }

    ul.mega-sub-menu>li.menu-item-object-custom>a:first-child[href="#"],
    ul.mega-sub-menu>li.menu-item-object-category>a:first-child[href="#"],
    ul.mega-sub-menu>li.menu-item-object-page>a:first-child[href="#"] {
        cursor: default;
    }

    /* Header MenuItem */
    .mega-menu>li.menu-item>.header-menu-title>a {
        align-items: center;
        border-radius: 8px;
        display: flex;
        padding: 8px 16px;
    }

    .space-header-menu ul.mega-menu li a {
        font-family: 'Helvetica', Arial, sans-serif;
        color: #f5f6fa;
        text-decoration: none;
        padding: 31px 16px;
        display: block;

        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        letter-spacing: .1px;
        line-height: 20px;
    }

    /* SubMenu */

    ul.sub-menu>li.menu-item {
        white-space: nowrap;
    }

    ul.sub-menu li.menu-item>a {
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: .25px;
        line-height: 20px;
        padding: 8px 12px;
        text-transform: none;
        width: 100%;
    }

    ul.sub-menu-two li.menu-item {
        color: #fff;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 16px;
    }

    ul.sub-menu-two>li.menu-item:hover,
    ul.mega-sub-menu>li.menu-item-object-custom>a:first-child:hover,
    ul.mega-sub-menu>li.menu-item-object-category>a:first-child:hover,
    ul.mega-sub-menu>li.menu-item-object-page>a:first-child:hover {
        background-color: rgba(89, 106, 177, .16);
        border-radius: 8px;
    }

    /* MenuItem a link */
    ul.sub-menu-two li.menu-item a {
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: .25px;
        line-height: 20px;
        padding: 8px 12px;
        text-transform: none;
        width: 100%;
        color: #fff;
        box-sizing: border-box;
        text-decoration: none;
    }

    ul.mega-sub-menu>li.menu-item-arrow-right>a:after {
        background-image: url('https://castacasinos.com/wp-content/uploads/arrow-right.svg');
        background-repeat: no-repeat;
        content: "";
        display: block;
        height: 10px;
        width: 14px;
        margin-left: 8px;
    }

    /* https://castacasinos.com/wp-content/uploads/arrow-right.svg */
}

/* #2 - Casino Single page */
.single-organization .space-single-aces-breadcrumbs,
.single-unit .space-single-aces-breadcrumbs{
    padding: 15px 0 15px;
}

/* #3 - Casino Card */
.space-organizations-3-archive-item-ins {
    margin: 0 15px 15px;
}

.space-organizations-3-archive-item-ins {
    box-shadow: 0 2px 20px 0 rgba(109, 141, 173, 0.25)
}

.space-organizations-3-archive-items .space-organizations-3-archive-item-count-2,
.space-archive-section .space-organizations-3-archive-item .space-organizations-3-archive-item-count-2 {
    background-color: #9a9a9a;
}

.space-organizations-3-archive-item:first-child .space-organizations-3-archive-item-ins.space-9.only-first-page,
.space-organizations-3-archive-items .space-organizations-3-archive-item:first-child .space-organizations-3-archive-item-ins {
    border: 2px solid #E31C24;
}

.space-organizations-3-archive-item:nth-child(2) .space-organizations-3-archive-item-ins.space-9.only-first-page,
.space-organizations-3-archive-items .space-organizations-3-archive-item:nth-child(2) .space-organizations-3-archive-item-ins {
    border: 2px solid #1F6BFF;
}

.space-organizations-3-archive-item:nth-child(3) .space-organizations-3-archive-item-ins.space-9.only-first-page,
.space-organizations-3-archive-items .space-organizations-3-archive-item:nth-child(3) .space-organizations-3-archive-item-ins {
    border: 2px solid #FFBC00;
}

.space-organizations-3-archive-item-ins:hover {
    box-shadow: 0 2px 20px 0 rgba(109, 141, 173, 0.55);
}

.space-organizations-3-archive-item:nth-child(2) .space-organizations-3-archive-item-count-2 {
    background-color: #1F6BFF;
}

.space-organizations-3-archive-item:nth-child(3) .space-organizations-3-archive-item-count-2 {
    background-color: #FFBC00;
}

/* #4 - Game */
.game-container {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    margin-bottom: 10px;
    border-radius: 10px;
}

.play-demo-btn {
    border-radius: 10px !important;
    border: 2px solid #e31c24;
    color: #ea2930;
    background: transparent;
    transition: .2s;
}

.play-demo-btn:hover {
    cursor: pointer;
    color: #ffffff !important;
    background-color: #e31c24;
}

.play-for-money__btn {
    color: #ffffff !important;
    background-color: #e31c24;

    width: 100%;
    border-radius: 10px !important;
    margin-bottom: 20px;
}

/* #5 - Testimonial Partners */

.testimonials-partners {
    margin-bottom: 30px;
    margin-top: 12px;
    position: relative;
}

.testimonials-partners-list {
    width: 100%;
    box-sizing: content-box;
    display: flex;

    gap: 20px;
    overflow: auto;
}

.space-sidebar-section .testimonials-partners-list {
    display: block;
}

.testimonials-partners-item {
    max-width: 350px;
    width: auto;

    background-color: #303250;
    border: 1px solid #596ab166;
    border-radius: 16px;
    padding: 32px 24px;
}

.space-sidebar-section .testimonials-partners-item {
    padding: 8px 4px;
}

.testimonials-partner-image {
    display: flex;
}

.testimonials-partner-image img {
    border-radius: 50% !important;

    margin: 0 auto;
    max-height: 170px;
    max-width: 170px;
}

/* #6 - Partners */
.partnership-wrapper h2 {
    text-align: center;
}

.partnership-wrapper .colored-title-part {
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-image: linear-gradient(90deg, #eaefff, #8b9bff);
}

.partnership-wrapper .center-text {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.partnership-wrapper .partners {
    margin-bottom: 64px;
    margin-top: 64px;
}

.partnership-wrapper .partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: -20px;
    margin-right: -20px;
}

.partnership-wrapper .partners-list .partner-loop-item {
    height: 140px;
    margin-bottom: 20px;
    width: 20%;
}

.partnership-wrapper .partners-list .partner-loop-item .partner-loop-shadow {
    background-color: #303250;
    border: 1px solid #596ab166;
    border-radius: 16px;
    height: 100%;
    margin-bottom: 20px;
    width: calc(100% - 20px);
    transition: .2s;
}

.partnership-wrapper .partners-list .partner-loop-item .partner-loop-shadow:hover {
    box-shadow: 0 10px 20px 0 rgba(73, 76, 126, 0.25);
}

.partnership-wrapper .partners-list .partner-loop-item .partner-loop-shadow .partner-image {
    height: 100%;
}

.partnership-wrapper .partners-list .partner-loop-item .partner-loop-shadow .partner-image a {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-around;
}

/* #7 - How We Rate */
.how-we-rate-wrapper {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 12px;
    margin-bottom: 64px;
    margin-top: 64px;
    padding: 80px 24px;
    position: relative;
    z-index: 0;
}

.how-we-rate-wrapper .how-we-rate {
    color: #fff;
    text-align: center;
}

.how-we-rate-wrapper .how-we-rate__icon {
    margin-bottom: 30px;
    width: 60px;
}

.how-we-rate-wrapper h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 2.25rem;
    text-align: center;
    margin: 0 auto 24px;
}

.how-we-rate-wrapper .how-we-rate__text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    margin: 0 auto 40px;
    max-width: 680px;
}

.how-we-rate-wrapper .how-we-rate__button a {
    background-color: #ffbb23;
    border-radius: 8px;
    color: #4c2605;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .1px;
    line-height: 1.5rem;
    padding: 16px 24px;
    text-decoration: none;
}

/* Play Safe */
.widget-playing-safe-container {
    background: linear-gradient(135deg, #eaefff, #8b9bff);
    border-radius: 24px;
    margin-bottom: 32px;
    margin-top: 32px;
    padding: 56px 24px;
    position: relative;
    width: 100%;
}

.widget-playing-safe-container .widget-playing-safe {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.widget-playing-safe-container .playing-safe-title,
.widget-playing-safe-container .playing-safe-text p{
    color: #121328;
}

.widget-playing-safe-container .playing-safe-text {
    -webkit-hyphens: auto;
    hyphens: auto;
    max-width: 720px;
    text-align: center;
}

.widget-playing-safe-container .playing-safe-images {
    align-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
}

/* #9 - Page Headers */
.space-style-2-organization-header-ins {
    padding: 30px 0 !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0F0F1B, #1A1A2E);
    color: #fff;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer .space-page-wrapper {
    padding: 20px 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: #ffbb23;
    border-radius: 3px;
}

.footer-column p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -5px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #ffbb23;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    left: 0;
    opacity: 1;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lighter);
    transition: var(--transition);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FFBC00, #c19124);
    opacity: 0;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link:hover::after {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Table */
table.table-with-header__odd-number tr:nth-child(2n) {
    background-color: #303250;
}

table.table-with-header__odd-number tr:nth-child(odd) {
    background-color: #3b3d68;
}

table.table-company-details {
    width: 100%;

    margin-bottom: 60px;
}

table.table-company-details td{
    padding: 16px;
    border: 1px solid #596ab1;
    color: #fff;
}

/* Responsive */

@media screen and (min-width: 1170px) {
    .how-we-rate-wrapper {
        left: 50%;
        margin-left: calc(-50vw + 40px);
        width: calc(100vw - 80px);
    }

    .widget-playing-safe-container {
        left: 50%;
        margin-left: calc(-50vw + 40px);
        width: calc(100vw - 80px);
    }
}

@media (max-width: 992px) {
    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-partners-list {
        flex-direction: column;
    }

    .partnership-wrapper .partners-list .partner-loop-item {
        width: 25%;
    }

    footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-wrapper .container .hero-features-grid .hero-feature-card.bonuses {
        height: 487px;
    }

    .hero-wrapper .container .hero-features-grid .hero-feature-card {
        height: 234px;
    }
}

@media (min-width: 648px) and (max-width: 768px) {
    .hero-wrapper .container .hero-features-grid {
        grid-template-areas:
        "slots slots slots"
        "geo bonuses reviews"
        "providers bonuses payments";
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 361px) and (max-width: 768px) {
    .hero-wrapper .container .hero-features-grid .hero-feature-card.bonuses {
        height: 485px;
    }
}

@media (max-width: 648px) {
    .hero-wrapper .container .hero-features-grid {
        grid-template-areas:
        "slots"
        "geo"
        "reviews"
        "bonuses"
        "providers"
        "payments";
        grid-template-columns: repeat(1, 1fr);
    }

    .partnership-wrapper .partners-list .partner-loop-item {
        width: 33%;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column h3::after {
        width: 40px;
    }
}

@media (max-width: 460px) {
    .hero-wrapper .container .hero-features-grid .hero-feature-card.slots {
        height: 620px;
    }

    .partnership-wrapper .partners-list .partner-loop-item {
        width: 50%;
    }
}

