/* =============================================
   CUSTOM CSS — yobingo-es.com
   ============================================= */

/* --- Breadcrumbs --- */
.ybes-breadcrumbs {
    padding: 10px 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    background: var(--main-primary-blue-dark, #1a0033);
}
.ybes-breadcrumbs a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.ybes-breadcrumbs a:hover { color: #BAF126; }
.ybes-bc-sep { margin: 0 6px; color: rgba(255,255,255,0.4); }
.ybes-breadcrumbs span:last-child { color: #fff; }

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.ybes {
    background: var(--main-primary-white);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: var(--main-primary-black);
    overflow-x: hidden;
}

.ybes a { color: var(--main-primary-fucsia); text-decoration: none; }
.ybes a:hover { color: #d00055; text-decoration: underline; }

/* --- Header/Nav Fixes (override original CSS for our 8 nav items) --- */
#header .header_links {
    width: 840px;
    right: 20px;
}
#header .header_links .header_button {
    padding: 0 8px;
    font-size: 14px;
}
#header .login_container #login_form a {
    width: auto !important;
}
#header .login_container #login_form a#register_button {
    padding: 20px 25px !important;
    line-height: 0 !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    width: auto !important;
}
#header .login_container #login_form #login_btn {
    padding: 10px 25px !important;
    line-height: normal !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}
.home_main_content {
    position: relative;
}

/* --- Full-width block inside constrained content --- */
.ybes-fullwidth-dark {
    background-color: var(--main-primary-blue-dark);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

/* --- Casino games block fix --- */
#casino_games .img_container {
    display: block !important;
    text-align: center;
}
#casino_games .img_container img {
    width: 100%;
    border-radius: 10px;
}
#casino_games .img_container p {
    margin-top: 5px;
}

/* --- Hero area fixes --- */
#last_winners_container {
    max-width: var(--main-width);
    margin: 0 auto;
}
#payment_logos {
    max-width: var(--main-width);
    margin: 0 auto;
    padding: 2% 10%;
}
#home_promo_slider .wrap .btn {
    font-size: 14px;
    padding: 10px 18px;
    white-space: nowrap;
}

/* --- Layout --- */
.ybes-container {
    max-width: 1242px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header (Desktop — matches original) --- */
.ybes-header {
    width: 100%;
    height: 105px;
    background: var(--main-primary-lilac);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.ybes-header-inner {
    max-width: 1242px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.ybes-logo { width: 135px; flex-shrink: 0; }
.ybes-logo img { width: 100%; height: auto; }

.ybes-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.ybes-header-right a.brand-link {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.ybes-header-right a.brand-link img { height: 28px; }

.ybes-btn-register {
    border-radius: 50px;
    background: linear-gradient(180deg, #108E4C 0%, #BAF126 100%);
    box-shadow: 0 1px 1px 0 rgba(255,255,255,0.70) inset;
    border: none;
    padding: 12px 24px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 0 4px rgba(0,0,0,0.25);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

.ybes-btn-enter {
    border-radius: 50px;
    background: linear-gradient(180deg, #014F89 0%, #0293FC 100%);
    box-shadow: 0 1px 1px 0 rgba(255,255,255,0.70) inset;
    border: none;
    padding: 12px 24px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 0 4px rgba(0,0,0,0.25);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

.ybes-help-icon { height: 20px; width: 20px; vertical-align: middle; }

/* --- Navigation --- */
.ybes-nav {
    background: var(--main-primary-lilac);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    z-index: 99;
}

.ybes-nav a {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    font-weight: 400;
    padding: 0 18px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    transition: color 0.2s;
    line-height: 40px;
}
.ybes-nav a:hover, .ybes-nav a.active {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* --- Visually Hidden H1 for SEO --- */
.ybes-seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Hero Section --- */
.ybes-hero {
    background: linear-gradient(135deg, var(--main-primary-blue-dark) 0%, var(--main-primary-lilac) 50%, var(--main-primary-fucsia) 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ybes-hero h1 {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ybes-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
}

.ybes-hero-bonus {
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.ybes-bonus-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 20px 30px;
    text-align: center;
}

.ybes-bonus-badge .amount {
    font-size: 32px;
    font-weight: 900;
    display: block;
    color: #BAF126;
}

.ybes-bonus-badge .label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
    display: block;
}

.ybes-cta-primary {
    display: inline-block;
    border-radius: 50px;
    background: linear-gradient(180deg, #108E4C 0%, #BAF126 100%);
    box-shadow: 0 1px 1px 0 rgba(255,255,255,0.70) inset;
    border: none;
    padding: 16px 40px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 4px rgba(0,0,0,0.25);
    cursor: pointer;
    text-decoration: none;
    animation: glowing 2000ms infinite;
    transition: transform 0.2s;
}
.ybes-cta-primary:hover { transform: scale(1.05); text-decoration: none; color: #fff; }

.ybes-cta-secondary {
    display: inline-block;
    border-radius: 50px;
    background: linear-gradient(180deg, #014F89 0%, #0293FC 100%);
    box-shadow: 0 1px 1px 0 rgba(255,255,255,0.70) inset;
    border: none;
    padding: 14px 36px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 0 4px rgba(0,0,0,0.25);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s;
}
.ybes-cta-secondary:hover { transform: scale(1.05); text-decoration: none; color: #fff; }

@keyframes glowing { 50% { transform: scale(1.08); } }

/* Hero REGISTRARSE button (like yobingo.es original) */
.hero-register-btn {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: linear-gradient(180deg, #7cd652 0%, #4db830 50%, #3a9a24 100%);
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 36px;
    border-radius: 28px;
    border: 2px solid #2d7a1a;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 0 #2a7118, 0 6px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
    animation: pulse-btn 2s infinite;
    transition: background 0.2s, transform 0.2s;
}
.hero-register-btn:hover {
    background: linear-gradient(180deg, #88e05e 0%, #55c438 50%, #42a82c 100%);
    transform: translateX(-50%) translateY(2px);
    box-shadow: 0 2px 0 #2a7118, 0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
    text-decoration: none !important;
    color: #fff !important;
}
@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(76,175,80,0.6); }
    70% { box-shadow: 0 0 0 15px rgba(76,175,80,0); }
    100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

/* --- Section Base --- */
.ybes-section {
    padding: 50px 0;
}

.ybes-section-dark {
    background-color: var(--main-primary-blue-dark);
    color: #fff;
}

.ybes-section-dark h2, .ybes-section-dark h3 { color: #fff; }
.ybes-section-dark p { color: rgba(255,255,255,0.85); }
.ybes-section-dark a { color: var(--main-primary-fucsia); }

.ybes-section-light {
    background-color: #fff;
    color: var(--main-primary-black);
}

.ybes-section h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--main-primary-blue-dark);
}

.ybes-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--main-primary-lilac);
}

.ybes-section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--main-primary-grey);
    margin-bottom: 30px;
}

.ybes-section-dark .ybes-section-subtitle { color: rgba(255,255,255,0.7); }
.ybes-section-dark h2 { color: #fff; }

/* --- Cards Grid --- */
.ybes-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ybes-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ybes-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .ybes-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .ybes-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ybes-grid-4 { grid-template-columns: 1fr; }
    .ybes-grid-2 { grid-template-columns: 1fr; }
}

/* --- Card --- */
.ybes-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
}
.ybes-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.ybes-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* --- Horizontal scrollable game grid --- */
.ybes-game-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.ybes-game-scroll::-webkit-scrollbar {
    height: 6px;
}
.ybes-game-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
.ybes-game-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}
.ybes-game-scroll .ybes-game-item {
    flex: 0 0 160px;
    scroll-snap-align: start;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.ybes-game-scroll .ybes-game-item:hover {
    transform: translateY(-4px);
}
.ybes-game-scroll .ybes-game-item img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.ybes-game-scroll .ybes-game-item p {
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.3;
}
.ybes-section-light .ybes-game-scroll .ybes-game-item p { color: #333; }
.ybes-section-dark .ybes-game-scroll .ybes-game-item p { color: rgba(255,255,255,0.85); }

/* --- Live casino horizontal scroll grid (like reference) --- */
.ybes-live-grid-wrap {
    background: #111042;
    border-radius: 12px;
    padding: 16px;
    overflow: hidden;
}
.ybes-live-grid {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: 190px;
    gap: 14px;
    overflow-x: auto;
    justify-content: center;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.ybes-live-grid::-webkit-scrollbar {
    height: 6px;
}
.ybes-live-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
.ybes-live-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}
.ybes-live-grid .ybes-game-item {
    scroll-snap-align: start;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}
.ybes-live-grid .ybes-game-item:hover {
    transform: translateY(-3px);
}
.ybes-live-grid .ybes-game-item img {
    width: 190px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.ybes-live-grid .ybes-game-item p {
    font-size: 11px;
    margin-top: 5px;
    line-height: 1.2;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ybes-card-body {
    padding: 16px;
}
.ybes-card-body h3 { margin-bottom: 8px; }
.ybes-card-body p { font-size: 14px; line-height: 1.5; color: #555; }

/* Dark card variant */
.ybes-card-dark {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}
.ybes-card-dark .ybes-card-body h3 { color: #fff; }
.ybes-card-dark .ybes-card-body p { color: rgba(255,255,255,0.7); }

/* --- Bonus Box --- */
.ybes-bonus-box {
    background: linear-gradient(135deg, var(--main-primary-lilac), var(--main-primary-purple));
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    margin-bottom: 24px;
}

.ybes-bonus-box h3 { color: #BAF126; margin-bottom: 12px; }

.ybes-bonus-box ul {
    list-style: none;
    padding: 0;
}

.ybes-bonus-box ul li {
    padding: 6px 0;
    font-size: 15px;
    position: relative;
    padding-left: 24px;
}

.ybes-bonus-box ul li::before {
    content: "\2714";
    color: #BAF126;
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* --- Table --- */
.ybes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 20px 0;
}

.ybes-table th {
    background: var(--main-primary-lilac);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

.ybes-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    color: var(--main-primary-black);
}

.ybes-table tr:nth-child(even) { background: #f9f7fc; }
.ybes-table tr:hover { background: #f0ebf5; }

/* --- Steps --- */
.ybes-steps {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 30px 0;
}

.ybes-step {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 12px;
}

.ybes-step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #108E4C 0%, #BAF126 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    text-shadow: 0 0 4px rgba(0,0,0,0.25);
}

.ybes-step h3 { margin-bottom: 4px; }
.ybes-step p { font-size: 14px; color: #555; }
.ybes-section-dark .ybes-step p { color: rgba(255,255,255,0.85); }

/* --- Payment Methods --- */
.ybes-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.ybes-payments img {
    height: 35px;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.ybes-payments img:hover { opacity: 1; }

/* --- FAQ Accordion --- */
.ybes-faq { max-width: 900px; margin: 0 auto; }

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

.ybes-faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 40px 18px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--main-primary-blue-dark);
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    position: relative;
    transition: color 0.2s;
}

.ybes-section-dark .ybes-faq-q { color: #fff; }
.ybes-section-dark .ybes-faq-item { border-color: rgba(255,255,255,0.15); }

.ybes-faq-q::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s;
}

.ybes-faq-q.active::after {
    content: "\2212";
}

.ybes-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.ybes-section-dark .ybes-faq-a { color: rgba(255,255,255,0.75); }

.ybes-faq-a-inner {
    padding: 0 0 18px;
}

/* --- Pros & Cons --- */
.ybes-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 20px 0;
}

@media (max-width: 600px) { .ybes-pros-cons { grid-template-columns: 1fr; } }

.ybes-pros, .ybes-cons {
    padding: 24px;
    border-radius: 12px;
}

.ybes-pros { background: #e8f8ee; border-left: 4px solid #22e0bb; }
.ybes-cons { background: #fde8ec; border-left: 4px solid var(--main-primary-fucsia); }

.ybes-pros h4 { color: #108E4C; margin-bottom: 12px; }
.ybes-cons h4 { color: var(--main-primary-fucsia); margin-bottom: 12px; }

.ybes-pros ul, .ybes-cons ul {
    list-style: none;
    padding: 0;
}

.ybes-pros li, .ybes-cons li {
    padding: 5px 0;
    font-size: 15px;
}

/* --- Rating Stars --- */
.ybes-rating {
    color: #f5a623;
    font-size: 24px;
    letter-spacing: 3px;
}

/* --- Footer --- */
.ybes-footer {
    background: var(--main-primary-blue-dark);
    color: #fff;
    padding: 40px 0 20px;
}

.ybes-footer-logo { text-align: center; margin-bottom: 20px; }
.ybes-footer-logo img { width: 120px; }

.ybes-footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.ybes-footer-social a img { width: 45px; transition: opacity 0.2s; }
.ybes-footer-social a img:hover { opacity: 0.7; }

.ybes-footer-contact {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.ybes-footer-contact img { height: 18px; margin-right: 6px; vertical-align: middle; }

.ybes-footer-disclaimer {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    padding: 0 40px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ybes-footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ybes-footer-legal img { height: 35px; }

.ybes-footer-stores {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ybes-footer-stores img { height: 40px; }

.ybes-footer-payment { text-align: center; margin-bottom: 20px; }
.ybes-footer-payment img { max-width: 600px; width: 100%; }

.ybes-footer-links {
    text-align: center;
    font-size: 12px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.ybes-footer-links a {
    color: rgba(255,255,255,0.7);
    margin: 0 8px;
    text-decoration: none;
}
.ybes-footer-links a:hover { color: #fff; text-decoration: none; }

.ybes-footer-copy {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    padding-top: 10px;
}

/* --- SEO Text Block --- */
.ybes-seo-text {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.ybes-seo-text h2 {
    text-align: left;
    font-size: 22px;
    margin: 30px 0 10px;
    color: var(--main-primary-blue-dark);
}

.ybes-seo-text h3 {
    font-size: 18px;
    margin: 20px 0 8px;
    color: var(--main-primary-lilac);
}

.ybes-seo-text p { margin-bottom: 14px; }

.ybes-seo-text ul {
    margin: 10px 0 14px 24px;
}

.ybes-seo-text li {
    margin-bottom: 6px;
    line-height: 1.6;
}

/* --- Inline List Tags --- */
.ybes-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
}

.ybes-tag {
    background: rgba(118, 4, 224, 0.08);
    color: var(--main-primary-purple);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
}

/* ==============================================
   MOBILE RESPONSIVE — v2 (yocasino.es reference)
   ============================================== */

/* Hide mobile elements on desktop by default */
.ybes-mobile-header,
.ybes-mobile-menu,
.ybes-mobile-overlay,
.ybes-sticky-bottom { display: none; }

/* ---- Mobile Header ---- */
.ybes-mobile-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--main-primary-lilac, #2f0548);
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
}
.ybes-mobile-logo img { height: 36px; display: block; }
.ybes-mobile-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---- Hamburger ---- */
.ybes-hamburger {
    background: none; border: none; cursor: pointer;
    width: 28px; height: 22px;
    position: relative; margin-left: 10px;
}
.ybes-hamburger span {
    display: block; position: absolute;
    height: 3px; width: 100%;
    background: #fff; border-radius: 2px; left: 0;
    transition: 0.25s ease-in-out;
}
.ybes-hamburger span:nth-child(1) { top: 0; }
.ybes-hamburger span:nth-child(2) { top: 9px; }
.ybes-hamburger span:nth-child(3) { top: 18px; }
.ybes-hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.ybes-hamburger.open span:nth-child(2) { opacity: 0; }
.ybes-hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ---- Slide-out menu ---- */
.ybes-mobile-menu {
    position: fixed;
    top: 56px; right: -280px;
    width: 280px; height: calc(100vh - 56px);
    background: linear-gradient(180deg, #1c0030, #6f1687 50%, #1c0030);
    z-index: 999; overflow-y: auto;
    transition: right 0.3s ease;
    padding: 20px 0;
}
.ybes-mobile-menu.open { right: 0; }
.ybes-mobile-menu a {
    display: block; padding: 14px 24px;
    color: #fff; font-size: 16px; font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ybes-mobile-menu a:hover,
.ybes-mobile-menu a.active { color: var(--main-primary-fucsia, #e5006d); }

/* ---- Overlay ---- */
.ybes-mobile-overlay {
    position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 998;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.ybes-mobile-overlay.open { opacity: 1; pointer-events: auto; }
body.ybes-menu-open { overflow: hidden; }

/* ---- Sticky Bottom Bar ---- */
.ybes-sticky-bottom {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 997;
    background: var(--main-primary-blue-dark, #111042);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 10px 12px;
    gap: 8px;
}
.ybes-sticky-btn {
    flex: 1; text-align: center;
    padding: 13px 10px; border-radius: 25px;
    font-size: 15px; font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ybes-sticky-registro {
    color: #fff !important;
    background: linear-gradient(180deg, #7cd652 0%, #4db830 50%, #3a9a24 100%);
    border: 2px solid #2d7a1a;
}
.ybes-sticky-entrar {
    color: #fff !important;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
}

/* ==============================================
   .ybes-is-mobile — activated by JS on mobile
   ============================================== */

/* Show mobile UI, hide desktop */
.ybes-is-mobile .ybes-mobile-header { display: flex !important; }
.ybes-is-mobile .ybes-mobile-menu,
.ybes-is-mobile .ybes-mobile-overlay { display: block !important; }
.ybes-is-mobile .ybes-sticky-bottom { display: flex !important; }
.ybes-is-mobile .ybes-desktop-header,
.ybes-is-mobile #header,
.ybes-is-mobile #home_main_banner_bg { display: none !important; }

/* Body spacing for fixed header + bottom bar */
html.ybes-is-mobile body.ybes {
    padding-top: 56px;
    padding-bottom: 70px;
    min-width: 0 !important;
    width: 100% !important;
}

/* ---- MOBILE LAYOUT ---- */
html.ybes-is-mobile,
html.ybes-is-mobile body,
html.ybes-is-mobile body.ybes {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
}

/* Wrapper + content: full width, kill legacy offsets */
html.ybes-is-mobile .wrapper,
html.ybes-is-mobile .wrapper.home_main_content,
html.ybes-is-mobile .home_main_content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    top: 0 !important;
    position: relative !important;
    min-height: 0 !important;
}
html.ybes-is-mobile #content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    top: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
}
html.ybes-is-mobile .homepage_width {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
}
html.ybes-is-mobile #last_winners_container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
html.ybes-is-mobile #payment_logos {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Hero banner: full width, taller to match originals */
html.ybes-is-mobile .home_main_banner {
    width: 100% !important;
    height: 40vh !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}
html.ybes-is-mobile #home_promo_slider {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}
html.ybes-is-mobile #home_promo_slider .swiper-wrapper,
html.ybes-is-mobile #home_promo_slider .swiper-slide {
    height: 100% !important;
}
html.ybes-is-mobile .home_main_banner picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
html.ybes-is-mobile .home_main_banner img,
html.ybes-is-mobile .img_height,
html.ybes-is-mobile .img_height_banner {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin-left: 0 !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}
/* Slides 4 & 5: show left side (button visible) */
html.ybes-is-mobile .home_main_banner .swiper-slide:nth-child(4) img,
html.ybes-is-mobile .home_main_banner .swiper-slide:nth-child(5) img {
    object-position: left center !important;
}

/* Pagination dots — like yocasino (bottom left, white) */
.ybes-is-mobile .home_main_banner .swiper-pagination {
    text-align: left !important;
    padding-left: 16px;
    bottom: 12px !important;
}
.ybes-is-mobile .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
    width: 10px; height: 10px;
}
.ybes-is-mobile .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Hide hero REGISTRARSE button on mobile (already in banner image) */
.ybes-is-mobile .hero-register-btn {
    display: none !important;
}

/* ---- SLOTS HERO BANNER — mobile ---- */
.ybes-is-mobile #slots_promo_slider {
    max-width: 100% !important;
    width: 100% !important;
    height: 45vh !important;
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}
.ybes-is-mobile #slots_promo_slider .swiper-wrapper,
.ybes-is-mobile #slots_promo_slider .swiper-slide {
    height: 100% !important;
    width: 100% !important;
}
.ybes-is-mobile #slots_promo_slider .swiper-slide a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.ybes-is-mobile #slots_promo_slider picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.ybes-is-mobile #slots_promo_slider img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: left center !important;
}

/* ---- WINNERS — 2 visible on mobile ---- */
.ybes-is-mobile #last_winners_container {
    padding: 6px 6px 6px 2px !important;
    height: 60px !important;
    max-height: 60px !important;
    display: flex !important;
    overflow: hidden !important;
    background: var(--main-primary-blue-dark, #111042);
    gap: 0 !important;
}
/* Show only first 2 winner sliders on mobile */
.ybes-is-mobile .last_winner_slider {
    height: 50px !important;
    max-height: 50px !important;
    overflow: hidden !important;
    flex: 1 1 50% !important;
    max-width: 50% !important;
}
.ybes-is-mobile .last_winner_slider:nth-child(n+3) {
    display: none !important;
}
.ybes-is-mobile .last_winner_slider .swiper-wrapper {
    height: 50px !important;
    max-height: 50px !important;
}
.ybes-is-mobile .winner_details_container {
    padding: 4px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
}
.ybes-is-mobile .winner_img {
    width: 34px !important;
    flex: none !important;
}
.ybes-is-mobile .winner_img img {
    width: 34px !important;
    height: 34px !important;
}
.ybes-is-mobile .winner_details {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
}
.ybes-is-mobile .winner_details span {
    font-size: 11px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 120px !important;
}

/* ---- PAYMENT LOGOS — bigger strip ---- */
.ybes-is-mobile #payment_logos {
    padding: 12px 5% !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ybes-is-mobile #payment_logos img {
    max-width: 100% !important;
    height: 40px !important;
    object-fit: contain;
}

/* ---- CUSTOM SECTIONS ---- */
.ybes-is-mobile .ybes-section { padding: 24px 0; }
.ybes-is-mobile .ybes-container { padding: 0 16px; }
.ybes-is-mobile .ybes-section h2 { font-size: 20px; }
.ybes-is-mobile .ybes-section-subtitle { font-size: 13px; }

/* ---- GRIDS — 2 columns on mobile like yobingo.es ---- */
.ybes-is-mobile .ybes-grid-4,
.ybes-is-mobile .ybes-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
.ybes-is-mobile .ybes-grid-2 { grid-template-columns: 1fr; }

/* ---- TABLES — horizontal scroll on mobile ---- */
.ybes-is-mobile .ybes-table {
    font-size: 12px;
    display: block !important;
    overflow: visible !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
    border-radius: 12px !important;
}
.ybes-is-mobile .ybes-table thead,
.ybes-is-mobile .ybes-table tbody {
    display: table;
    width: 100%;
}
.ybes-is-mobile .ybes-table th,
.ybes-is-mobile .ybes-table td {
    padding: 8px 6px;
    white-space: nowrap;
}

/* ---- STEPS → vertical ---- */
.ybes-is-mobile .ybes-steps { flex-direction: column; align-items: stretch; }

/* ---- FAQ ---- */
.ybes-is-mobile .ybes-faq-q {
    font-size: 15px;
    padding: 14px 16px;
    padding-right: 40px;
    position: relative;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ybes-is-mobile .ybes-faq-a {
    font-size: 14px;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
}
.ybes-is-mobile .ybes-faq-a-inner {
    padding: 10px 16px 14px;
}
.ybes-is-mobile .ybes-faq-q.active + .ybes-faq-a {
    max-height: 500px !important;
    overflow: visible !important;
}

/* ---- LIVE CASINO GRID — single column on mobile ---- */
.ybes-is-mobile .ybes-live-grid-wrap {
    padding: 10px !important;
    overflow: hidden !important;
}
.ybes-is-mobile .ybes-live-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    overflow: visible !important;
}
.ybes-is-mobile .ybes-live-grid .ybes-game-item img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}

/* ---- FOOTER — compact mobile ---- */
.ybes-is-mobile #footer_container {
    padding-bottom: 80px;
}
.ybes-is-mobile #footer_container .homepage_width {
    padding: 0 12px !important;
}
/* Kill the 18% side padding on disclaimer & payment */
.ybes-is-mobile #politic_privacy [style*="padding"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.ybes-is-mobile #politic_privacy .txt-center {
    padding: 10px 0 !important;
}
.ybes-is-mobile #politic_privacy .txt-center p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center;
}
.ybes-is-mobile .responsibility-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px !important;
    padding: 10px 0 !important;
}
.ybes-is-mobile .responsibility-container img {
    height: 32px !important;
}
.ybes-is-mobile .logo-stores {
    text-align: center;
    padding: 8px 0 !important;
}
.ybes-is-mobile .logo-stores img,
.ybes-is-mobile .footer--small-image {
    height: 38px !important;
}
.ybes-is-mobile .payment-methods {
    text-align: center;
}
.ybes-is-mobile .payment-methods img {
    max-width: 100% !important;
    height: auto !important;
}
.ybes-is-mobile #footer-contacts {
    padding: 12px 0 !important;
    font-size: 13px !important;
    line-height: 2 !important;
}
.ybes-is-mobile #footer-contacts a {
    margin: 0 4px !important;
    font-size: 13px !important;
}
.ybes-is-mobile #footer_container p,
.ybes-is-mobile #footer_container span {
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* ---- IMAGES — responsive by default ---- */
.ybes-is-mobile img { max-width: 100%; height: auto; }

/* ---- Override inline styles from page templates ---- */
.ybes-is-mobile [style*="max-width:900px"],
.ybes-is-mobile [style*="max-width:1000px"],
.ybes-is-mobile [style*="max-width:1100px"],
.ybes-is-mobile [style*="max-width:1200px"] {
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Flex layouts → stack vertically */
.ybes-is-mobile [style*="display:flex"][style*="gap:30px"] {
    flex-direction: column !important;
}
.ybes-is-mobile [style*="flex:0 0 350px"],
.ybes-is-mobile [style*="flex:0 0 340px"] {
    flex: 1 1 100% !important;
    text-align: center !important;
}

/* Grid cards → default 1 column on mobile */
.ybes-is-mobile [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}
/* Game card grids (repeat(4)) → 2 columns on mobile */
.ybes-is-mobile [style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}
/* Game card grids (repeat(8)) → 2 columns on mobile */
.ybes-is-mobile [style*="repeat(8"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}
/* Ventajas + Lucky Spin section: stack vertically, hide divider */
.ybes-is-mobile [style*="grid-template-columns: 1fr 1px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}
.ybes-is-mobile [style*="grid-template-columns: 1fr 1px 1fr"] > [style*="background:rgba(255,255,255,0.15)"] {
    display: none !important;
}

/* ---- Casino games text — hide on mobile to save space ---- */
.ybes-is-mobile #casino_games_text {
    display: none !important;
}
.ybes-is-mobile .ybes-fullwidth-dark {
    padding-bottom: 10px !important;
}

/* ---- BINGO — jackpot numbers position on mobile ---- */
.ybes-is-mobile #tipos-bingo [style*="bottom:44%"] {
    bottom: 38% !important;
}
.ybes-is-mobile #tipos-bingo [style*="font-size:20px"] {
    font-size: 16px !important;
}

/* ---- BONOS — promo code box on mobile ---- */
.ybes-is-mobile #codigo [style*="padding:40px"] {
    padding: 24px 16px !important;
}
.ybes-is-mobile #codigo [style*="padding:16px 48px"] {
    padding: 12px 24px !important;
}
.ybes-is-mobile #codigo [style*="font-size:36px"] {
    font-size: 26px !important;
    letter-spacing: 2px !important;
}

/* ---- MOBILE MENU — separator & styled buttons ---- */
.ybes-mobile-menu-separator {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 8px 16px;
}
.ybes-is-mobile .ybes-mobile-menu .ybes-menu-btn-register {
    display: block !important;
    background: linear-gradient(135deg, #108E4C 0%, #BAF126 100%) !important;
    color: #fff !important;
    text-align: center !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin: 8px 16px !important;
    text-transform: uppercase;
}
.ybes-is-mobile .ybes-mobile-menu .ybes-menu-btn-enter {
    display: block !important;
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    text-align: center !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin: 4px 16px 8px !important;
    text-transform: uppercase;
}

/* ---- Promotional slider (JUEGOS section etc) ---- */
.ybes-is-mobile #promotional_prizes,
.ybes-is-mobile #promotional_prizes .swiper-wrapper,
.ybes-is-mobile #promotional_prizes .swiper-slide {
    width: 100% !important;
    height: auto !important;
}
.ybes-is-mobile #promotional_prizes img {
    width: 100% !important;
    height: auto !important;
    display: block;
}
