/*
Theme Name: Apuestas 1xBet Custom Theme
Theme URI: https://apuestas1xbet.com/
Author: Web Developer
Author URI: https://apuestas1xbet.com/
Description: Tema premium, ultra-adaptivo y de alto rendimiento estilizado como la app oficial de 1xBet.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apuestas-1xbet
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Hubot+Sans:wght@200..900&family=Space+Grotesk:wght@300..700&display=swap');

:root {
    --app-bg-main: #0b111e;
    --app-bg-surface: #141d31;
    --app-bg-card: #1c2944;
    --app-color-primary: #1072e3;
    --app-color-accent: #00e5ff;
    --app-color-neon-green: #00ff88;
    --app-text-main: #ffffff;
    --app-text-muted: #8fa0ba;
    --app-font-title: 'Space Grotesk', sans-serif;
    --app-font-ui: 'Hubot Sans', sans-serif;
    --app-font-body: 'DM Sans', sans-serif;
    --app-max-width: 1440px;
    --app-radius-sm: 6px;
    --app-radius-md: 12px;
    --app-radius-lg: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--app-bg-main);
    color: var(--app-text-main);
    font-family: var(--app-font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.app-global-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--app-bg-main);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.app-global-preloader.app-preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app-preloader-logo-wrap {
    position: relative;
    margin-bottom: 24px;
    max-width: 220px;
    width: 80%;
}

.app-preloader-logo-wrap img {
    width: 100%;
    height: auto;
}

.app-preloader-bar-container {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.app-preloader-bar-progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--app-color-primary), var(--app-color-accent));
    position: absolute;
    top: 0;
    left: -100%;
    animation: app-preloader-anim 1.5s infinite ease-in-out;
}

@keyframes app-preloader-anim {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

.app-main-layout-container {
    width: 100%;
    max-width: var(--app-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .app-main-layout-container {
        padding: 0 16px;
    }
}

.app-bet-content-wrapper {
    width: 100%;
}

.app-bet-content-wrapper h1,
.app-bet-content-wrapper h2,
.app-bet-content-wrapper h3,
.app-bet-content-wrapper h4,
.app-bet-content-wrapper h5,
.app-bet-content-wrapper h6 {
    font-family: var(--app-font-title);
    color: var(--app-text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 32px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.app-bet-content-wrapper h1 { font-size: 2.5rem; }
.app-bet-content-wrapper h2 { font-size: 2rem; border-left: 4px solid var(--app-color-accent); padding-left: 16px; }
.app-bet-content-wrapper h3 { font-size: 1.5rem; }

.app-bet-content-wrapper p {
    font-family: var(--app-font-body);
    font-size: 1.05rem;
    color: var(--app-text-muted);
    margin-bottom: 20px;
}

.app-bet-content-wrapper p strong {
    color: var(--app-text-main);
}

.app-bet-content-wrapper ul,
.app-bet-content-wrapper ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.app-bet-content-wrapper li {
    font-family: var(--app-font-body);
    color: var(--app-text-muted);
    margin-bottom: 8px;
}

.app-bet-content-wrapper li::marker {
    color: var(--app-color-accent);
}

.app-bet-content-wrapper img {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    border-radius: var(--app-radius-md);
    margin: 32px 0;
    object-fit: cover;
}

.app-bet-content-wrapper blockquote {
    background: var(--app-bg-surface);
    border-left: 4px solid var(--app-color-primary);
    padding: 24px;
    border-radius: 0 var(--app-radius-md) var(--app-radius-md) 0;
    margin: 28px 0;
}

.app-bet-content-wrapper blockquote p {
    margin-bottom: 0;
    color: var(--app-text-main);
    font-style: italic;
}

.app-site-footer-presentation {
    background-color: var(--app-bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0 24px;
    margin-top: 64px;
}
.app-footer-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
@media (min-width: 768px) {
    .app-footer-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .app-footer-grid-layout {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
}
.app-footer-logo-link {
    font-family: var(--app-font-title);
    font-size: 24px;
    font-weight: 700;
    color: var(--app-color-accent);
    display: block;
    margin-bottom: 16px;
}
.app-footer-brand-pitch {
    font-family: var(--app-font-body);
    font-size: 14px;
    color: var(--app-text-muted);
}
.app-footer-segment-title {
    font-family: var(--app-font-title);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 24px;
}
.app-footer-navigation-wrapper ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.app-footer-navigation-wrapper ul li a {
    font-family: var(--app-font-ui);
    font-size: 14px;
    color: var(--app-text-muted);
}
.app-footer-navigation-wrapper ul li a:hover {
    color: var(--app-color-accent);
}
.app-footer-contact-intel {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--app-font-body);
    font-size: 14px;
    color: var(--app-text-muted);
}
.app-footer-contact-intel a {
    color: inherit;
}
.app-footer-map-hyperlink:hover {
    color: var(--app-color-accent);
}
.app-footer-terminal-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 24px;
    text-align: center;
    font-family: var(--app-font-ui);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.app-bet-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-family: var(--app-font-ui);
    font-size: 15px;
    background-color: var(--app-bg-surface);
    border-radius: var(--app-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-bet-content-wrapper th {
    background-color: var(--app-bg-card);
    color: #fff;
    font-family: var(--app-font-title);
    font-weight: 700;
    text-align: left;
    padding: 16px 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--app-color-primary);
}

.app-bet-content-wrapper td {
    padding: 16px 20px;
    color: var(--app-text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.app-bet-content-wrapper tr:last-child td {
    border-bottom: none;
}

.app-bet-content-wrapper tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
    color: #fff;
}

@media (max-width: 768px) {
    .app-bet-content-wrapper table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .app-bet-content-wrapper th, 
    .app-bet-content-wrapper td {
        padding: 12px 14px;
        font-size: 14px;
        white-space: nowrap;
    }
}

.app-single-columns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

@media (min-width: 1024px) {
    .app-single-columns-grid {
        grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
        gap: 40px;
    }
}

.app-single-main-article {
    width: 100%;
    min-width: 0;
}

.app-article-title-main,
.app-page-title-main {
    font-family: var(--app-font-title);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--app-text-main);
    letter-spacing: -0.02em;
    word-break: break-word;
}

@media (min-width: 640px) {
    .app-article-title-main,
    .app-page-title-main {
        font-size: 2.2rem;
    }
}

@media (min-width: 1024px) {
    .app-article-title-main,
    .app-page-title-main {
        font-size: 2.6rem;
    }
}

.app-article-hero-banner,
.app-page-hero-banner {
    border-radius: var(--app-radius-md);
    overflow: hidden;
    margin: 20px 0;
    width: 100%;
}

@media (min-width: 768px) {
    .app-article-hero-banner,
    .app-page-hero-banner {
        border-radius: var(--app-radius-lg);
        margin: 32px 0;
    }
}

.app-article-hero-banner img,
.app-page-hero-banner img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
}

.app-single-sidebar-sticky {
    width: 100%;
    min-width: 0;
}

.app-magnetic-index-box {
    background-color: var(--app-bg-surface);
    border-radius: var(--app-radius-md);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .app-magnetic-index-box {
        position: sticky;
        top: 96px;
        padding: 24px;
        border-radius: var(--app-radius-lg);
    }
}

.app-magnetic-index-navigation ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-magnetic-index-navigation ul li a {
    word-break: break-word;
    font-size: 13px;
    line-height: 1.4;
}

@media (min-width: 1024px) {
    .app-magnetic-index-navigation ul li a {
        font-size: 14px;
    }
}

.app-bet-content-wrapper {
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.app-bet-content-wrapper h1,
.app-bet-content-wrapper h2,
.app-bet-content-wrapper h3 {
    word-break: break-word;
    max-width: 100%;
}

@media (max-width: 640px) {
    .app-bet-content-wrapper h1 { font-size: 1.8rem; }
    .app-bet-content-wrapper h2 { font-size: 1.5rem; padding-left: 12px; }
    .app-bet-content-wrapper h3 { font-size: 1.3rem; }
    .app-bet-content-wrapper p { font-size: 0.95rem; line-height: 1.5; }
}

.app-single-related-showcase {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

@media (min-width: 768px) {
    .app-single-related-showcase {
        margin-top: 64px;
        padding-top: 48px;
    }
}

.app-related-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

@media (min-width: 480px) {
    .app-related-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .app-related-grid-layout {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.app-related-card-node {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.app-related-card-media img {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover;
}

@media (min-width: 768px) {
    .app-related-card-media img {
        height: 140px !important;
    }
}

.app-archive-feed-showcase {
    width: 100%;
    box-sizing: border-box;
}

.app-archive-header-block {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-archive-headline-title {
    font-family: var(--app-font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
}

@media (min-width: 768px) {
    .app-archive-headline-title {
        font-size: 2.4rem;
    }
}

.app-feed-grid-architecture {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

@media (min-width: 640px) {
    .app-feed-grid-architecture {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .app-feed-grid-architecture {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.app-feed-card-item {
    background-color: var(--app-bg-surface);
    border-radius: var(--app-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.02);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .app-feed-card-item {
        border-radius: var(--app-radius-lg);
    }
}

.app-feed-card-thumbnail {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.app-feed-card-thumbnail a {
    display: block;
    width: 100%;
}

.app-feed-card-thumbnail img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

@media (min-width: 768px) {
    .app-feed-card-thumbnail img {
        height: 220px !important;
    }
}

.app-feed-card-item:hover .app-feed-card-thumbnail img {
    transform: scale(1.04);
}

.app-feed-card-body-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .app-feed-card-body-content {
        padding: 24px;
    }
}

.app-feed-card-date {
    font-family: var(--app-font-ui);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--app-color-accent);
    margin-bottom: 8px;
    display: block;
}

.app-feed-card-title {
    font-family: var(--app-font-title);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    word-break: break-word;
}

.app-feed-card-title a {
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-feed-card-title a:hover {
    color: var(--app-color-accent);
}

@media (min-width: 768px) {
    .app-feed-card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
}

.app-feed-card-excerpt {
    font-family: var(--app-font-body);
    font-size: 13px;
    color: var(--app-text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .app-feed-card-excerpt {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

.app-feed-card-action-trigger {
    font-family: var(--app-font-ui);
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    background-color: var(--app-bg-card);
    padding: 10px;
    border-radius: var(--app-radius-sm);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .app-feed-card-action-trigger {
        font-size: 14px;
        padding: 12px;
    }
}

.app-feed-card-action-trigger:hover {
    background-color: var(--app-color-primary);
    border-color: var(--app-color-primary);
}

.app-recent-posts-grid-fluid {
    margin: 64px 0;
    width: 100%;
}
.app-posts-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.app-grid-header-flex {
    margin-bottom: 32px;
}
.app-grid-header-flex h2 {
    font-family: var(--app-font-title, sans-serif);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}
@media (min-width: 768px) {
    .app-grid-header-flex h2 {
        font-size: 2.2rem;
    }
}
.app-posts-responsive-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
}
@media (min-width: 640px) {
    .app-posts-responsive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .app-posts-responsive-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.app-post-card-brutal {
    background: #0b111e;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.app-post-card-brutal:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 70, 255, 0.3);
}
.app-post-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #121b2d;
}
.app-post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.app-post-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.app-post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.app-post-card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}
.app-post-card-date {
    font-size: 12px;
    color: var(--app-text-muted, #8a99ad);
}
.app-post-card-title {
    font-family: var(--app-font-title, sans-serif);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin: 0 0 10px 0;
}
.app-post-card-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: var(--app-text-muted, #8a99ad);
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}
.app-post-card-link {
    font-size: 13px;
    font-weight: 700;
    color: #0046ff;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-top: auto;
}
.app-post-card-brutal:hover .app-post-card-link {
    color: #00f0ff;
}

.app-payment-methods-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.app-payment-method-item {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    position: relative;
    padding-left: 24px;
}
.app-payment-method-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #00f0ff;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}