/* =========================================================
   CricketIdOfficial.in — custom styles on Peredion theme
   Loaded AFTER style.css
   ========================================================= */

/* ---------- global ---------- */
html {
    scroll-padding-top: 110px; /* keep anchored sections clear of the sticky header */
}

/* the theme gives .about zero top padding (it was designed to sit under a
   banner overlap) — give the section its own breathing room so the title
   never tucks under the hero or the sticky header */
.about {
    padding-top: 100px;
}
@media (max-width: 991.98px) {
    .about {
        padding-top: 70px;
    }
}

/* ---------- text logo ---------- */
.text-logo {
    display: inline-block;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff !important;
    line-height: 1;
    white-space: nowrap;
}
.text-logo span {
    background: linear-gradient(135.89deg, #FF5176 -5.11%, #FB7A6B 97.89%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-logo .text-logo {
    font-size: 28px;
}

/* ---------- site header: logo left, nav right ---------- */
.site-header {
    position: relative;
    z-index: 50;
    background: #222A4C;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-navbar {
    padding: 18px 0;
}
.site-navbar .navbar-nav .nav-item .nav-link {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    padding: 8px 16px;
    transition: color 0.3s;
    white-space: nowrap; /* keep each menu item on one line */
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-navbar .navbar-nav .nav-item .nav-link {
        font-size: 13px;
        padding: 8px 10px;
    }
    .header-cta {
        padding: 11px 16px;
        font-size: 13px;
    }
    .text-logo {
        font-size: 20px;
    }
}
.site-navbar .navbar-nav .nav-item .nav-link:hover,
.site-navbar .navbar-nav .nav-item .nav-link.active {
    color: #FF8FA5; /* AA contrast (>=4.5:1) on the #222A4C header */
}
.site-navbar .navbar-toggler {
    border: none;
    color: #ffffff;
    font-size: 26px;
    box-shadow: none;
}
.header-cta {
    padding: 12px 22px;
    font-size: 14px;
    white-space: nowrap;
}
@media (max-width: 1199.98px) {
    .site-navbar .navbar-collapse {
        padding: 15px 0;
    }
    .site-navbar .navbar-collapse .header-cta {
        margin-top: 12px;
        display: inline-block;
    }
}
/* keep sticky-header behaviour (main.js toggles .header-fixed) */
.site-header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #222A4C;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

/* ---------- hero ---------- */
.hero-clean {
    position: relative;
    overflow: hidden;
    background: linear-gradient(144.14deg, #4D233F -11.44%, #222A4C 55%, #305B9F 123.42%);
    padding: 110px 0 100px 0;
}
.hero-clean .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero-clean h1.title {
    color: #ffffff;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 22px;
    text-transform: capitalize;
}
.hero-clean p.descr {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 34px auto;
}
.hero-clean .all-btn {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 42px;
}
.hero-trust {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-trust .trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 40px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}
.hero-trust .trust-chip i {
    color: #25D366;
}
.hero-clean .hero-ball {
    position: absolute;
    top: 40px;
    right: 6%;
    width: 110px;
    opacity: 0.9;
    animation: element-rotating 8s linear infinite;
    filter: drop-shadow(0 8px 25px rgba(208, 51, 85, 0.55));
    z-index: 1;
}
.hero-clean .hero-ball-2 {
    position: absolute;
    bottom: -30px;
    left: 4%;
    width: 150px;
    opacity: 0.25;
    z-index: 1;
}
@media (max-width: 991.98px) {
    .hero-clean h1.title { font-size: 38px; }
    .hero-clean { padding: 80px 0 70px 0; }
    .hero-clean .hero-ball { width: 70px; right: 4%; top: 25px; }
}
@media (max-width: 575.98px) {
    .hero-clean h1.title { font-size: 30px; }
    .hero-clean p.descr { font-size: 16px; }
}

/* ---------- WhatsApp buttons ---------- */
.btn-whatsapp,
a.prd-btn-1.btn-whatsapp,
button.prd-btn-1.btn-whatsapp,
.poklotto-form form button.prd-btn-1.btn-whatsapp {
    background: linear-gradient(135.89deg, #1FAF54 -5.11%, #25D366 97.89%) !important;
}
.btn-whatsapp i {
    font-size: 18px;
}

/* floating whatsapp bubble */
.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 90px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135.89deg, #1FAF54 -5.11%, #25D366 97.89%);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    animation: floating-wa-pulse 2s ease-in-out infinite;
}
.floating-whatsapp i {
    font-size: 30px;
    color: #ffffff;
}
@keyframes floating-wa-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ---------- brand cards (cricket ID platforms) ---------- */
.brands-section {
    padding: 100px 0;
    background: #f6f7fb;
}
.brand-card {
    background: #ffffff;
    border: 1px solid #e8eaf2;
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(34, 42, 76, 0.12);
}
.brand-card .brand-avatar {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #ffffff;
    background: linear-gradient(144.14deg, #4D233F -11.44%, #305B9F 123.42%);
}
.brand-card:nth-child(even) .brand-avatar {
    background: linear-gradient(135.89deg, #D03355 -5.11%, #FB7A6B 97.89%);
}
.brand-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222A4C;
    margin-bottom: 10px;
}
.brand-card p {
    font-size: 14px;
    color: #5a6079;
    line-height: 1.65;
    margin-bottom: 16px;
}
.brand-card .brand-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    color: #1FAF54;
}
.brand-card .brand-cta:hover {
    color: #D03355;
}

/* ---------- generic light content section ---------- */
.content-section {
    padding: 100px 0;
}
.content-section.bg-light-2 {
    background: #f6f7fb;
}
.content-section .section-title {
    margin-bottom: 45px;
}
.content-section h2.h2-plain {
    font-size: 34px;
    font-weight: 800;
    color: #222A4C;
    margin-bottom: 20px;
}
.content-section p.lead-text,
.content-section .rich-text p {
    color: #5a6079;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.content-section .rich-text ul {
    margin: 0 0 16px 0;
    padding-left: 0;
    list-style: none;
}
.content-section .rich-text ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #5a6079;
    line-height: 1.7;
}
.content-section .rich-text ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: #1FAF54;
}

/* info cards (tournaments / id types) */
.info-card {
    background: #ffffff;
    border: 1px solid #e8eaf2;
    border-radius: 14px;
    padding: 26px 24px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(34, 42, 76, 0.1);
}
.info-card .info-icon {
    font-size: 30px;
    margin-bottom: 14px;
    background: linear-gradient(135.89deg, #D03355 -5.11%, #FB7A6B 97.89%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.info-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #222A4C;
    margin-bottom: 10px;
}
.info-card p {
    font-size: 14px;
    color: #5a6079;
    line-height: 1.7;
    margin: 0;
}

/* ---------- playing-bet: finished match result box ---------- */
.playing-bet .single-bet-place.match-result-box {
    pointer-events: none;
    flex: 1;
    justify-content: center;
}
.playing-bet .single-bet-place.match-result-box .bet-ratio {
    color: #1FAF54;
}

/* ---------- topbar helper kept for inner pages ---------- */
.header-4 .top-bar .single-bar .part-text {
    white-space: nowrap;
}

/* ---------- testimonial carousel: theme arrow images missing ---------- */
.testimonial-carousel .owl-nav {
    display: none !important;
}

/* ---------- about: cricket silhouette ---------- */
.about .part-img img.main-img.cricket-silhouette {
    width: 320px;
    height: auto;
    top: auto;
    bottom: 90px;
    left: 55%;
    transform: translateX(-50%);
    padding: 0;
    filter: drop-shadow(0 15px 35px rgba(48, 91, 159, 0.35));
}
@media (max-width: 1199.98px) {
    .about .part-img img.main-img.cricket-silhouette {
        width: 260px;
    }
}

/* ---------- FAQ on homepage ---------- */
.faq.faq-home {
    padding-top: 0;
}
.faq.faq-home .section-title {
    margin-bottom: 45px;
}

/* ---------- footer ---------- */
.footer .part-about.text-center .importants-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 10px;
}
.footer .importants-links li.single-link,
.footer .importants-links li.single-link a {
    white-space: nowrap; /* wrap whole links, never mid-text */
}
.footer .part-about p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.footer .footer-bottom .footer-menu ul li a.single-menu {
    white-space: nowrap;
}
.footer .disclaimer-text {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.65;
}
.footer .age-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

/* ---------- breadcrumb: the theme designed this for a transparent overlay
   header; our header is solid, so pull the content margin inside ---------- */
.prd-breadcrumb {
    display: flow-root;
}
.prd-breadcrumb .brd-content {
    margin-top: 0;
}

/* ---------- breadcrumb: style h1.title exactly like the theme's h2.title ---------- */
.prd-breadcrumb .brd-content h1.title {
    font-weight: 700;
    font-size: 46px;
    line-height: 56px;
    letter-spacing: 0.03em;
    color: #FFFFFF;
    position: relative;
    padding-bottom: 44px;
    margin-bottom: 0;
}
.prd-breadcrumb .brd-content h1.title:after {
    content: "";
    height: 26px;
    width: 153px;
    background: url("../img/breadcrumb/line.png") left center no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 1399.98px) {
    .prd-breadcrumb .brd-content h1.title { font-size: 42px; line-height: 52px; }
    .prd-breadcrumb .brd-content h1.title:after { height: 24px; width: 133px; }
}
@media (max-width: 1199.98px) {
    .prd-breadcrumb .brd-content h1.title { font-size: 38px; line-height: 48px; }
}
@media (max-width: 991.98px) {
    .prd-breadcrumb .brd-content h1.title { font-size: 34px; line-height: 44px; }
    .prd-breadcrumb .brd-content h1.title:after { height: 21px; width: 120px; }
}
@media (max-width: 767.98px) {
    .prd-breadcrumb .brd-content h1.title { font-size: 30px; line-height: 40px; padding-bottom: 34px; }
}
@media (max-width: 575.98px) {
    .prd-breadcrumb .brd-content h1.title { font-size: 26px; line-height: 36px; }
}
@media (max-width: 479.98px) {
    .prd-breadcrumb .brd-content h1.title { font-size: 22px; line-height: 32px; padding-bottom: 3px; }
    .prd-breadcrumb .brd-content h1.title:after { display: none; }
}

/* promotions grid: hide the fake promo-code bar variant, keep cards */
.promotion .single-promotion .part-text .title {
    text-transform: none;
}

/* ---------- provider ranking page ---------- */
.compare-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #e8eaf2;
}
.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 15px;
}
.compare-table th {
    background: linear-gradient(144.14deg, #4D233F -11.44%, #305B9F 123.42%);
    color: #ffffff;
    text-align: left;
    padding: 14px 18px;
    font-weight: 700;
    white-space: nowrap;
}
.compare-table td {
    padding: 13px 18px;
    border-top: 1px solid #eef0f6;
    color: #444a63;
    vertical-align: top;
}
.compare-table tr:nth-child(even) td {
    background: #f9fafc;
}
.compare-table td strong {
    color: #222A4C;
}
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135.89deg, #D03355 -5.11%, #FB7A6B 97.89%);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    margin-right: 10px;
    flex-shrink: 0;
}
.provider-rank-card {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e8eaf2;
    border-radius: 14px;
    padding: 24px;
    height: 100%;
}
.provider-rank-card .rank-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #222A4C;
    margin-bottom: 8px;
}
.provider-rank-card .rank-body p {
    font-size: 14px;
    color: #5a6079;
    line-height: 1.7;
    margin-bottom: 10px;
}
.provider-rank-card .rank-body .brand-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    color: #1FAF54;
}

/* ---------- blog ---------- */
.blog-posts .single-blog,
.blog-details {
    background: transparent;
}
.post-element .author-info .author-pic img {
    border-radius: 50%;
}

/* ---------- inner page hero (small) ---------- */
.page-hero {
    background: linear-gradient(144.14deg, #4D233F -11.44%, #222A4C 55%, #305B9F 123.42%);
    padding: 70px 0;
    text-align: center;
}
.page-hero h1 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 14px;
    text-transform: capitalize;
}
.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto;
}
@media (max-width: 767.98px) {
    .page-hero h1 { font-size: 30px; }
}

/* ---------- a11y: darken low-contrast blog meta text ---------- */
.blog-details .post-element .post-stats span.posted-time,
.blog-details .post-element .author-info .author-descr span.auth-designation,
.single-blog .post-info-stats .posting-time {
    color: #595f77 !important;
}
