:root {
    --primary-gold: #e2b96e;
    --notice-bg: #cda863;
    --bg-dark: #121212;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('https://ctbet.live/media/e014de7490986f9111ef9.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header Styles */
.main-header {
    background-image: url('https://ctbet.live/media/2deabc2953c568a8c3aeb.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60px;
    /* Approximate height based on typical mobile headers */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 10px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    /* Limit width on larger screens */
    margin: 0 auto;
}

.menu-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-btn img {
    height: 32px;
    /* Adjust based on visual */
    display: block;
}

.logo {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.logo img {
    max-height: 48px;
    /* Adjust to fit inside 60px header */
    width: auto;
}

.header-right {
    flex-shrink: 0;
}

.header-right img {
    height: 36px;
    display: block;
}

/* Notice Bar Styles */
.notice-bar {
    background-color: var(--notice-bg);
    color: #000;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

.marquee span {
    padding-right: 50px;
    /* Space between duplicated text */
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Slider Styles */
.banner-slider {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.slide img {
    width: 100%;
    display: block;
    height: auto;
}

/* Dots Indicator */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}

/* Steps Image */
.steps-image-container {
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    padding: 0;
}

.steps-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Live Transaction Section */
.live-transaction {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    background-color: #000;
    border: 1px solid #fff;
    /* White border for the whole box */
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.lt-header {
    background-color: #000;
    color: #ffd700;
    font-weight: bold;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    font-size: 14px;
}

.live-badge {
    background-color: #cc0000;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.lt-columns {
    display: flex;
    width: 100%;
}

.lt-column {
    width: 50%;
    border-right: 1px solid #fff;
}

.lt-column:last-child {
    border-right: none;
}

.col-header {
    padding: 8px 5px;
    text-align: left;
    /* Header text alignment */
    padding-left: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
}

.col-header.green {
    background-color: #008000;
}

.col-header.red {
    background-color: #cc0000;
}

.lt-rows {
    background-color: #000;
}

/* Transaction Row Styling */
.t-row {
    display: flex;
    border-bottom: 1px solid #fff;
    /* White grid lines */
    font-size: 11px;
    color: #fff;
    align-items: stretch;
    /* Ensure borders stretch */
}

.t-row:last-child {
    border-bottom: none;
}

/* Cell Styles */
.t-row span {
    padding: 6px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content in cell */
    border-right: 1px solid #fff;
    /* Cell borders */
    overflow: hidden;
    white-space: nowrap;
}

.t-row span:last-child {
    border-right: none;
}

/* Specific Column Widths */

/* Deposit Column Layout */
.deposit-col .t-phone {
    width: 50%;
    justify-content: flex-start;
    padding-left: 5px;
}

.deposit-col .t-amount {
    width: 50%;
    color: #ffd700;
    font-weight: bold;
    justify-content: flex-end;
    padding-right: 5px;
}

.deposit-col .t-provider {
    display: none;
}

/* Hide provider in deposit */

/* Withdraw Column Layout */
.withdraw-col .t-phone {
    width: 35%;
    justify-content: flex-start;
    padding-left: 5px;
}

.withdraw-col .t-amount {
    width: 35%;
    color: #ffd700;
    font-weight: bold;
    justify-content: flex-end;
    padding-right: 5px;
}

.withdraw-col .t-provider {
    width: 30%;
    justify-content: flex-start;
    padding-left: 5px;
    text-overflow: ellipsis;
}

/* Bottom Menu Styles */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-image: url('https://ctbet.live/media/769d562a53c56f40369a0.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    /* Align items to bottom */
    z-index: 9999;
    padding-bottom: 5px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    font-style: italic;
    width: 20%;
    height: 100%;
    padding-bottom: 8px;
    position: relative;
    text-transform: uppercase;
}

.menu-item span {
    margin-top: 2px;
    text-shadow: 1px 1px 2px #000;
}

.menu-item img {
    height: 24px;
    width: auto;
    display: block;
}

/* Center Item Special styling */
.center-item {
    padding-bottom: 12px;
    /* Adjust text position */
}

.center-icon-wrapper {
    position: absolute;
    top: -35px;
    /* Pull it up above the bar */
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 75px;
    z-index: 10000;
}

.center-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Badges */
.badge {
    position: absolute;
    background-color: #ff6600;
    /* Orange */
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    border-radius: 50%;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

/* Badge positioning relative to icon-wrapper */
.icon-wrapper {
    position: relative;
    display: inline-block;
}

.icon-wrapper .badge {
    top: -5px;
    right: -8px;
}

/* Center badge specific */
.center-badge {
    top: 10px;
    right: 5px;
    width: 20px;
    height: 20px;
    font-size: 12px;
}

/* User Dashboard Section */
.user-dashboard {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    background-image: url('https://ctbet.live/media/de5f949a53c56f3a89918.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 15px 20px;
    font-family: Arial, sans-serif;
    color: #fff;
    min-height: 200px;
    /* Ensure space for BG */
}

/* Top Row Buttons */
.dashboard-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
    /* Space between buttons and info area */
    padding-top: 5px;
}

.dash-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex: 1;
    /* Equal width */
}

.dash-btn img {
    width: 100%;
    display: block;
    height: auto;
}

/* Bottom Area: Info & Action Buttons */
.dashboard-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dashboard-info {
    flex: 1.2;
    /* Take up more space */
    padding-right: 10px;
    text-shadow: 1px 1px 2px #000;
}

.balance-label {
    font-size: 14px;
    margin-bottom: 5px;
}

.balance-amount {
    font-size: 26px;
    font-weight: bold;
    color: #ffd700;
    /* Gold */
    margin-bottom: 12px;
}

.min-limits {
    font-size: 11px;
    line-height: 1.4;
    color: #eee;
}

.dashboard-actions {
    flex: 0.8;
    /* Buttons area */
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.action-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    /* Fill container width */
    max-width: 140px;
    /* Prevent being too huge on big screens */
}

.action-btn img {
    width: 100%;
    display: block;
    height: auto;
}

/* Referral Section */
.referral-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 0 10px;
}

.referral-banner {
    margin-bottom: -5px;
}

.referral-banner img {
    width: 100%;
    border-radius: 8px;
    /* Optional rounded polish */
    display: block;
}

.referral-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.ref-btn-wrapper {
    cursor: pointer;
}

.ref-btn-wrapper img {
    width: 100%;
    display: block;
    height: auto;
    transition: transform 0.1s;
}

.ref-btn-wrapper img:active {
    transform: scale(0.98);
}

/* Game Category Section */
.game-categories {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 20px;
    /* Space for bottom menu spacer */
}

/* Category Navigation */
.category-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    /* border-top: 1px solid #333; */
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 25%;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.cat-item.active {
    opacity: 1;
}

.cat-item img {
    width: 60px;
    /* Adjust based on icons */
    height: auto;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0));
    transition: filter 0.3s;
}

.cat-item.active img {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.cat-item span {
    color: #ffd700;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px #000;
}

/* Game Content & Grid */
.game-content {
    min-height: 200px;
    padding: 0 10px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    gap: 10px;
    padding-top: 10px;
}

.game-card {
    cursor: pointer;
    transition: transform 0.1s;
}

.game-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.game-card:active {
    transform: scale(0.95);
}

/* SEO Content Section */
.seo-content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #121212;
    /* Match body bg, or darker/lighter if needed */
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

.seo-content h2 {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.seo-content h3 {
    color: #e2b96e;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.seo-content h4 {
    color: #fff;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 8px;
}

.seo-content p {
    margin-bottom: 15px;
}

.seo-content ul,
.seo-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.seo-content li {
    margin-bottom: 5px;
}

.seo-content strong {
    color: #fff;
}

.cta-text {
    text-align: center;
    font-size: 16px;
    margin-top: 30px;
    color: #ffd700 !important;
}

.main-footer {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
}

/* Floating Right Widget */
.floating-widget-right {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    animation: floatVertical 2.5s ease-in-out infinite;
}

.floating-widget-right img {
    width: 60px;
    /* Adjust size as needed */
    height: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

@keyframes floatVertical {

    0%,
    100% {
        transform: translateY(-50%) translateY(0);
    }

    50% {
        transform: translateY(-50%) translateY(-15px);
    }
}

/* Utility Class: Visually Hidden (for SEO H1) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- SIDEBAR MENU --- */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -280px;
    /* Hidden by default */
    width: 250px;
    height: 100vh;
    background-color: #111;
    z-index: 2000;
    transition: left 0.3s ease;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    border-right: 1px solid #333;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    display: none;
    /* Hidden by default */
}

.sidebar-overlay.active {
    display: block;
}

.close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.sidebar-logo img {
    max-width: 150px;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.menu-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: block;
    transition: color 0.2s;
}

.menu-list li a:hover,
.menu-list li a.active {
    color: #ffd700;
}

/* --- BLOG STYLES --- */
.blog-container {
    max-width: 1000px;
    /* Wider for blog */
    margin: 80px auto 20px;
    /* Top margin for header */
    padding: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    /* Responsive wrap */
}

.blog-main {
    flex: 2;
    /* Takes up 2/3 space */
    min-width: 300px;
}

.blog-sidebar {
    flex: 1;
    /* Takes up 1/3 space */
    min-width: 250px;
}

@media (max-width: 768px) {
    .blog-container {
        flex-direction: column;
    }
}

.blog-main h2 {
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Article Card */
.article-card {
    background: #1a1a1a;
    border: 1px solid #333;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.article-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-info {
    padding: 15px;
}

.article-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.article-info h3 a {
    color: #fff;
    text-decoration: none;
}

.article-info h3 a:hover {
    color: #ffd700;
}

.article-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.excerpt {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    background: #ffd700;
    color: #000;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
}

/* Blog Sidebar Widget */
.widget {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 20px;
}

.widget h3 {
    color: #ffd700;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

.latest-posts-list {
    list-style: none;
    padding: 0;
}

.latest-posts-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.latest-posts-list li:last-child {
    border-bottom: none;
}

.latest-posts-list li a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    display: block;
}

.latest-posts-list li a:hover {
    color: #ffd700;
}

/* Article Detail Styles */
.article-detail h1 {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 10px;
}

/* Fix for single post image to show full size */
.article-detail .article-thumb img {
    height: auto;
    max-height: none;
    object-fit: contain;
}

.article-detail .post-meta {
    color: #888;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.article-detail .article-content {
    color: #ddd;
    line-height: 1.8;
}

.article-detail .article-content h2 {
    color: #fff;
    margin-top: 30px;
}

.article-detail .article-content p {
    margin-bottom: 15px;
}

.share-buttons {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.share-buttons button {
    background: #333;
    color: #fff;
    border: none;
    padding: 8px 15px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.share-buttons button:hover {
    background: #ffd700;
    color: #000;
}

/* Table of Contents Styles */
.toc-container {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.toc-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #ffd700;
    border-bottom: 1px solid #444;
    display: inline-block;
    padding-bottom: 5px;
}

.toc-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-container ul li {
    margin-bottom: 10px;
}

.toc-container ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}

.toc-container ul li a:hover {
    color: #ffd700;
    color: #ffd700;
    text-decoration: underline;
}

/* --- SITE FOOTER --- */
.site-footer {
    background-color: #0b0b0b;
    color: #ccc;
    padding: 60px 0 20px;
    border-top: 2px solid #333;
    font-size: 14px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 12px;
}

@media (max-width: 768px) {
    .site-footer {
        padding-bottom: 80px;
        /* Space for bottom menu */
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}

/* --- E-E-A-T ELEMENTS --- */

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #1a1a1a;
    border: 1px solid #333;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
    color: #ddd;
}

.data-table th {
    background-color: #222;
    color: #ffd700;
    font-weight: bold;
}

.data-table tr:hover {
    background-color: #222;
}

/* Author Bio Box */
.author-box {
    background: #161616;
    border: 1px solid #333;
    border-left: 4px solid #ffd700;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 4px;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd700;
}

.author-info h4 {
    color: #ffd700;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.author-info .author-title {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
    font-style: italic;
}

.author-info p {
    color: #ccc;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

/* Disclaimer Box */
.disclaimer-box {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    padding: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #ddd;
    text-align: center;
}

.disclaimer-box strong {

    color: #ffd700;
}

/* --- PROMOTIONS PAGE STYLES --- */
.promo-container {
    max-width: 300px;

    margin: 15px auto;
    padding: 0 5px;
}

.section-title {
    color: #ffd700;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px #000;
    text-transform: uppercase;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    /* Tighter gap */
}

.promo-card {
    background-image: url('https://ctbet.site/media/84026ac08a986b55cf877.gif');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border: none;
    height: 120px;
    /* Explicit height */
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.1s;
    box-shadow: none;
    /* Removed box-shadow */
    border: none;
    /* Removed border */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Removed padding-bottom since no button */
}

.promo-card:active {
    transform: scale(0.95);
}

.card-content {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 15%;
    /* Adjusted padding to center text over background's button */
}

.top-text {
    font-family: "Arial Black", "Impact", sans-serif;
    font-size: 10px;
    /* Increased slightly for visibility with thick font */
    font-weight: 900;
    color: #ffd700;
    text-transform: uppercase;
    line-height: 1.0;
    /* Hard stroke effect using text-shadow */
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.top-text .gold-text {
    color: #fff;
    /* Maintain shadow for white text too */
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.middle-text {
    font-family: "Arial Black", "Impact", sans-serif;
    font-size: 13px;
    /* Larger to match the 'punchy' look */
    font-weight: 900;
    color: #ffd700;
    text-transform: uppercase;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 0px;
    letter-spacing: 0.5px;
}

.claim-btn {
    background: linear-gradient(to bottom, #fff, #ffd700);
    color: #000;
    font-size: 8px;
    /* Smaller button text */
    font-weight: bold;
    padding: 1px 8px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    position: absolute;
    bottom: 10%;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    /* Limit modal width */
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.modal-header {
    background: linear-gradient(to bottom, #000, #222);
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ffd700;
}

.modal-header h2 {
    color: #ffd700;
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
}

.modal-body {
    padding: 15px;
    color: #fff;
    font-size: 12px;
}

.modal-hero {
    position: relative;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    height: 120px;
    background: radial-gradient(circle, #333 0%, #000 100%);
}

.modal-logo-bg {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    opacity: 0.5;
}

.modal-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.hero-small {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-large {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-large .gold {
    color: #ffd700;
}

.modal-text-group p {
    margin: 5px 0;
    line-height: 1.4;
}

.highlight {
    color: #ffd700;
    font-weight: bold;
}

.condition-box {
    margin: 15px 0;
    background: #111;
    border: 1px solid #444;
    border-radius: 4px;
    overflow: hidden;
}

.condition-row {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #333;
}

.condition-row:last-child {
    border-bottom: none;
}

.icon {
    margin-right: 10px;
    font-weight: bold;
}

.icon.check {
    color: #00ff00;
}

.icon.cross {
    color: #ff0000;
}

.text.yellow {
    color: #ffd700;
}

.small-text p {
    font-size: 11px;
    color: #ccc;
    margin: 3px 0;
}

.modal-footer {
    padding: 15px;
    display: flex;
    gap: 15px;
    border-top: 1px solid #333;
}

.btn-close,
.btn-claim {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    color: #fff;
}

.btn-close {
    background: #d32f2f;
    /* Red */
}

.btn-claim {
    background: #2e7d32;
    /* Green */
}

.modal-logos {
    text-align: center;
    margin-top: 15px;
    opacity: 0.5;
    font-size: 10px;
}