/* Custom Cricket Theme Styles */

/* Footer Disclaimer */
.footer-disclaimer {
    background: rgba(255, 184, 0, 0.05);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.footer-disclaimer h4 {
    color: var(--cricket-gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-disclaimer p {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Simple Slider Styles */
.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-arrow {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 18px;
    width: 30px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--gold);
    color: #000;
}

.slider-container {
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 5px 0;
    margin: 0 5px;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-items {
    display: flex;
    gap: 15px;
}

.slider-item {
    flex: 0 0 200px;
    min-width: 200px;
}

.slider-item .game-grid-card {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
}

.slider-item .game-grid-label {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

:root {
    --cricket-dark: #060810;
    --cricket-accent: #FFB800; /* Gold accent color */
    --cricket-gold: #FFB800;
    --cricket-white: #F0F4FF;
    --cricket-blue: #1e3a8a; /* Deep blue from the hero banner background */
}

body.magazine {
    background-color: var(--cricket-dark);
    color: var(--cricket-white);
}

#header {
    background-color: #0E1220;
    border-bottom: 1px solid rgba(255,184,0,0.2);
}

.nav-main {
    background-color: #060810;
    padding: 10px 0;
}

.btn-cricket-demo {
    background: linear-gradient(90deg, #FFB800 0%, #CC8800 100%);
    color: #060810 !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 0 15px rgba(255,184,0,0.4);
    transition: all 0.3s ease;
}

.btn-cricket-demo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,184,0,0.6);
}

.navbar-nav .nav-link {
    padding: 0 15px !important;
    font-size: 15px;
    color: #F0F4FF !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--cricket-gold) !important;
}

/* Custom Hero Section */
.cricket-hero-section {
    position: relative !important;
    z-index: 1 !important;
    padding: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.cricket-hero-banner {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    border-bottom: 3px solid #FFB800 !important;
    box-shadow: 0 4px 40px rgba(255, 184, 0, 0.25) !important;
    overflow: hidden !important;
}

.cricket-hero-banner a {
    display: block !important;
    width: 100% !important;
}

.cricket-hero-banner img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    background: #0A0D1A;
}

.hero-full-image {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #0A0D1A;
}

.hero-placeholder {
    width: 100%;
    min-height: 400px;
    max-height: 700px;
}

/* Custom Featured Boxes */
.cricket-features-row {
    margin-top: 20px;
}

.cricket-feature-box {
    margin-bottom: 20px;
}

.cricket-feature-box .box-content {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,184,0,0.2);
    transition: transform 0.3s ease;
    height: 200px; /* Fixed height for consistency */
    background: #0E1220;
}

.cricket-feature-box .box-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(0deg, rgba(6,8,16,0.9) 0%, rgba(0,0,0,0) 100%);
    color: #FFB800;
    font-weight: bold;
    text-transform: uppercase;
}

.placeholder-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555C75;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.hero-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #0A0D1A 0%, #121826 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFB800;
    text-align: center;
    border: 2px dashed rgba(255,184,0,0.3);
}

.hero-placeholder h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255,184,0,0.5);
}

.box-placeholder {
    height: 100%;
    background: #0E1220;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A90A8;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Titles and Typography */
.title-framed-box {
    border: 1px solid rgba(255,184,0,0.3);
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 25px;
    background: rgba(14,18,32,0.8);
    box-shadow: 0 0 15px rgba(255,184,0,0.2);
}

.cricket-section-title {
    color: var(--cricket-white);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.game-tile {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,184,0,0.2);
    height: 120px;
}

.game-tile:hover {
    transform: scale(1.05);
    border-color: var(--cricket-accent);
}

.game-tile-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #0E1220 0%, #161C2E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A90A8;
    font-size: 12px;
    text-align: center;
    padding: 10px;
}

.game-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cricket-slick-slider {
    display: block;
    width: 100%;
}

.cricket-slick-slider .slider-col {
    padding: 0 5px;
    outline: none !important;
}

/* Slick row layout fixes */
.slick-rows .slick-slide > div {
    display: flex;
    flex-wrap: wrap;
}

/* Match Boards */
.match-boards-wrapper {
    padding-top: 20px;
}

.match-board-container {
    background: #060810;
    border: 1px solid rgba(255,184,0,0.3);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.match-tabs-container {
    background: #0A0D1A;
    padding: 10px;
}

.match-tabs {
    display: flex;
    gap: 10px;
}

.match-tab {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    color: #8A90A8;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 30px;
    background: transparent;
}

.match-tab:hover {
    background: rgba(255,184,0,0.1);
}

.match-tab.active {
    background: #FFB800;
    color: #060810;
    box-shadow: 0 4px 10px rgba(255,184,0,0.3);
}

.match-list-content {
    display: none;
}

.match-list-content.active {
    display: block;
}

.match-list {
    background: #060810;
    padding: 5px;
}

.match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #0A0D1A;
    background: #060810;
    margin: 5px;
    border-radius: 8px;
}

.match-row:last-child {
    border-bottom: none;
}

.match-info {
    flex: 1;
}

.match-name {
    color: #F0F4FF;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.match-status {
    color: #8A90A8;
    font-size: 11px;
    text-transform: capitalize;
}

.match-odds {
    display: flex;
    gap: 10px;
}

.odds-btn {
    background: #0E1220;
    border: 1px solid rgba(255,184,0,0.2);
    border-radius: 8px;
    padding: 8px 15px;
    min-width: 90px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 800;
}

.odds-btn:hover {
    transform: translateY(-2px);
    border-color: #FFB800;
}

.odds-btn:active {
    transform: scale(0.95);
}

.odds-btn.blue {
    color: #4da6ff;
}

.odds-btn.pink {
    color: #ff4d88;
}

.odds-btn.yellow {
    color: #FFB800;
    background: #0A0D1A;
}

.match-board-title {
    color: #FFB800;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.match-board-title i {
    margin-right: 12px;
    font-size: 20px;
}

.no-match-data {
    padding: 40px;
    text-align: center;
    color: #555C75;
    font-style: italic;
}

/* Hide Unnecessary Sections */
.section-newsticker, .title-index {
    display: none !important;
}

.cricket-bottom-slider {
    background: rgba(6,8,16,0.9);
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,184,0,0.2);
}

.cricket-bottom-slider .section-title .title {
    color: var(--cricket-accent) !important;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cricket-bottom-slider .post-item {
    padding: 10px;
}

.cricket-bottom-slider .post-item .image {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.cricket-bottom-slider .post-item:hover .image {
    border-color: var(--cricket-accent);
    box-shadow: 0 0 15px rgba(255,184,0,0.3);
}

.cricket-bottom-slider .nav-sm-buttons button {
    background: #121826;
    border: 1px solid var(--cricket-accent);
    color: #F0F4FF;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-left: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cricket-bottom-slider .nav-sm-buttons button:hover {
    background: var(--cricket-accent);
    box-shadow: 0 0 10px var(--cricket-accent);
}

/* Informational Sections */
.content-box-magazine {
    background: #060810;
    padding: 35px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,184,0,0.3);
    color: #F0F4FF;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 14px;
}

.content-box-magazine .title {
    margin-bottom: 8px;
    color: #F0F4FF !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    letter-spacing: 0.5px;
}

.content-box-magazine .subtitle {
    margin-bottom: 25px;
    color: #FFB800 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
}

.content-box-magazine p {
    margin-bottom: 18px;
    color: #8A90A8;
    font-size: 14px;
    font-weight: 400;
}

.content-box-magazine .sub-section h5 {
    font-weight: 800;
    font-size: 15px;
    color: #F0F4FF;
    margin-top: 30px;
    margin-bottom: 12px;
    border-left: 3px solid #FFB800 !important;
    padding-left: 15px;
}

.content-box-magazine ul {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

.content-box-magazine ul li {
    margin-bottom: 8px;
    font-size: 13px;
    color: #8A90A8;
}

/* Responsive */
@media (max-width: 768px) {
    .content-box-magazine {
        padding: 20px;
    }
}
/* Informational Boxes */
.info-box-section {
    padding-bottom: 30px;
}

.info-box {
    background: #060810;
    border: 1px solid rgba(255,184,0,0.3);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
}

.info-box h2 {
    color: #F0F4FF;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.info-box h3 {
    color: #FFB800;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-box p {
    color: #8A90A8;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.info-sub-title {
    border-left: 4px solid #FFB800;
    padding-left: 15px;
    margin-top: 35px;
    margin-bottom: 15px;
}

.info-sub-title h4 {
    color: #F0F4FF;
    font-size: 24px;
    font-weight: 800;
}

.info-box strong {
    color: #F0F4FF;
}

/* Responsible Box Highlight */
.resp-highlight {
    background: #0A0D1A;
    border: 1px solid #121826;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.resp-highlight p {
    margin-bottom: 5px;
}

.resp-highlight p:last-child {
    margin-bottom: 0;
}

/* FAQ Accordion */
.faq-accordion details {
    border-bottom: 1px solid #121826;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.faq-accordion details:last-child {
    border-bottom: none;
}

.faq-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #F0F4FF;
    font-size: 16px;
    font-weight: 700;
    list-style: none; /* Hide default marker */
    outline: none;
}

.faq-accordion summary::-webkit-details-marker {
    display: none; /* Hide for Safari */
}

/* The Plus/Minus Icon */
.faq-accordion summary::after {
    content: '+';
    color: #FFB800;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-accordion details[open] summary::after {
    content: '-';
}

.faq-accordion details[open] summary {
    color: #FFB800;
}

.faq-accordion .faq-answer {
    padding-top: 15px;
    color: #8A90A8;
    font-size: 15px;
    line-height: 1.7;
}
