/* ================================================
   COLOR SCHEME OVERRIDE - Purple Pink Pastel Theme
   Chuyển đổi từ xanh lá đậm sang tím-hồng-xanh pastel
   ================================================ */

/* ===== 1. BACKGROUND COLORS ===== */

/* Body & Main Background - Chuyển từ #05221E sang light blue/white */
body {
    background: linear-gradient(180deg, #F0F4FF 0%, #FFFFFF 100%) !important;
    color: #333333 !important;
}

.header_wrap_top {
    background: linear-gradient(135deg, #E8F0FE 0%, #F5E6FF 100%) !important;
    margin-bottom: 32px;
}

/* Header menu background - Gradient tím-xanh pastel đẹp */
.header_menu ul {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(96, 165, 250, 0.15) 100%) !important;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* Navigation tabs - Gradient tím nhẹ với hiệu ứng glass */
.header_menu ul li a {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
    color: #6B7280 !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    font-weight: 700 !important;
}

.header_menu ul li a:hover {
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%) !important;
    color: #ffffff !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3) !important;
    transform: translateY(-2px);
}

.header_menu ul li a.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
    color: #ffffff !important;
    border-color: #8B5CF6 !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4) !important;
}

/* Table of content tabs - Matching với navigation */
.table_of_content_wrap {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(96, 165, 250, 0.15) 100%) !important;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.table_of_content_items a {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
    color: #6B7280 !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

.table_of_content_items a:hover {
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3) !important;
}

.table_of_content_items a.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4) !important;
}

/* ===== 2. PRIMARY BUTTONS - Purple Gradient ===== */

.btn.btn_v1,
.header_top .btn.btn_v1 {
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3) !important;
}

.btn.btn_v1:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5) !important;
    transform: translateY(-2px);
}

/* ===== 3. SECONDARY BUTTONS - Pink Gradient ===== */

.btn.btn_v2,
.header_top .btn.btn_v2,
.btn_v2 {
    background: linear-gradient(135deg, #F472B6 0%, #EC4899 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(236, 72, 153, 0.3) !important;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3) !important;
}

.btn.btn_v2:hover,
.btn_v2:hover {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%) !important;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5) !important;
    transform: translateY(-2px);
}

/* ===== 4. ACCENT COLORS - Blue/Cyan ===== */

.btn.btn_v3,
.btn_download {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

.btn.btn_v3:hover,
.btn_download:hover {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5) !important;
    transform: translateY(-2px);
}

/* ===== 5. CARDS & CONTAINERS ===== */

.card,
.game-card,
.promotion-card,
.banner {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1) !important;
}

/* Category cards - Gradient tím-hồng-vàng đẹp mắt */
.card_block_item {
    background: linear-gradient(135deg, 
        rgba(167, 139, 250, 0.25) 0%, 
        rgba(244, 114, 182, 0.2) 50%, 
        rgba(251, 191, 36, 0.15) 100%) !important;
    border: 2px solid rgba(139, 92, 246, 0.3) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15) !important;
    transition: all 0.3s ease;
}

.card_block_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.25) !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
}

.card_block_item svg path {
    fill: #8B5CF6 !important;
}

.card_block_title {
    color: #374151 !important;
}

.card_block_text {
    color: #6B7280 !important;
}

/* Other category cards */
.category-card,
.provider-card {
    background: linear-gradient(135deg, 
        rgba(167, 139, 250, 0.25) 0%, 
        rgba(244, 114, 182, 0.2) 50%, 
        rgba(251, 191, 36, 0.15) 100%) !important;
    border: 2px solid rgba(139, 92, 246, 0.3) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px);
}

/* ===== 6. NAVIGATION & MENU ===== */
/* (Đã được định nghĩa ở phía trên - giữ nguyên màu xanh đậm) */

/* ===== 7. HERO SECTION & BANNERS ===== */

.hero,
.main-banner,
.welcome-section {
    background: linear-gradient(135deg, #EDE9FE 0%, #FCE7F3 50%, #DBEAFE 100%) !important;
    border-radius: 20px !important;
}

/* Feature boxes */
.feature-box,
.game-category-box {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(244, 114, 182, 0.15) 100%) !important;
    border: 2px solid rgba(139, 92, 246, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.3s ease;
}

.feature-box:hover,
.game-category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3) !important;
    border-color: #8B5CF6 !important;
}

/* ===== 8. TEXT COLORS ===== */

h1, h2, h3, h4, h5, h6 {
    color: #374151 !important;
}

p, span, div {
    color: #4B5563 !important;
}

a {
    color: #8B5CF6 !important;
}

a:hover {
    color: #7C3AED !important;
}

/* ===== 9. ICONS & BADGES ===== */

.icon-wrapper,
.badge {
    background: linear-gradient(135deg, #A78BFA 0%, #F472B6 100%) !important;
    color: #ffffff !important;
    border-radius: 50%;
}

.badge-new,
.badge-hot {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ===== 10. FOOTER ===== */

.footer,
footer {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%) !important;
    color: #E5E7EB !important;
}

.footer a,
footer a {
    color: #A78BFA !important;
}

.footer a:hover,
footer a:hover {
    color: #F472B6 !important;
}

/* ===== 11. FORMS & INPUTS ===== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(139, 92, 246, 0.2) !important;
    border-radius: 12px !important;
    color: #374151 !important;
    padding: 12px 16px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
    outline: none;
}

/* ===== 12. TABLES & LISTS ===== */

table {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

table th {
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
}

table tr:nth-child(even) {
    background: rgba(139, 92, 246, 0.05) !important;
}

table tr:hover {
    background: rgba(139, 92, 246, 0.1) !important;
}

/* ===== 13. GAME THUMBNAILS ===== */

.game-thumb,
.slot-thumb,
.casino-thumb {
    border: 2px solid rgba(139, 92, 246, 0.2) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-thumb:hover,
.slot-thumb:hover,
.casino-thumb:hover {
    border-color: #8B5CF6 !important;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4) !important;
    transform: scale(1.05);
}

/* ===== 14. PROGRESS BARS ===== */

.progress-bar {
    background: rgba(139, 92, 246, 0.2) !important;
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #A78BFA 0%, #F472B6 100%) !important;
    border-radius: 50px;
}

/* ===== 15. MODALS & POPUPS ===== */

.modal,
.popup,
.dialog {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid rgba(139, 92, 246, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3) !important;
}

.modal-header,
.popup-header {
    background: linear-gradient(135deg, #A78BFA 0%, #F472B6 100%) !important;
    color: #ffffff !important;
    border-radius: 18px 18px 0 0 !important;
}

/* ===== 16. SCROLLBAR ===== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #A78BFA 0%, #F472B6 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8B5CF6 0%, #EC4899 100%);
}

/* ===== 17. MOBILE RESPONSIVE ADJUSTMENTS ===== */

@media (max-width: 768px) {
    .header_wrap_top {
        background: linear-gradient(135deg, #E8F0FE 0%, #F5E6FF 100%) !important;
    }
    
    .mobile-menu {
        background: rgba(255, 255, 255, 0.98) !important;
        border-top: 3px solid #8B5CF6 !important;
    }
    
    .mobile-nav-item.active {
        color: #8B5CF6 !important;
        background: rgba(139, 92, 246, 0.1) !important;
        border-radius: 12px;
    }
}

/* ===== 18. ANIMATIONS ===== */

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-gradient {
    background: linear-gradient(270deg, #A78BFA, #F472B6, #60A5FA);
    background-size: 600% 600%;
    animation: gradient-shift 8s ease infinite;
}

/* ===== 19. SPECIAL ELEMENTS ===== */

.coin-icon,
.gold-element {
    filter: hue-rotate(30deg) saturate(1.3) brightness(1.1);
}

.vip-badge {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

/* ===== 20. PROMOTIONS - Clean Image Display (No Text) ===== */

.promotions_item_no_text {
    display: block !important;
    min-height: 170px !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15) !important;
}

.promotions_item_no_text:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.3) !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .promotions_item_no_text {
        min-height: 180px !important;
    }
}

/* ===== 21. TABLE GAMES - Clean Image Display (No Text) ===== */

.card_block_list_item_no_text {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 13px !important;
    border: 2px solid rgba(139, 92, 246, 0.2) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1) !important;
    display: block !important;
}

.card_block_list_item_no_text img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.card_block_list_item_no_text:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25) !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
}

/* Remove gradient overlay for no-text items */
.card_block_list_item_no_text .card_block_list_item_overflow {
    display: none !important;
}

/* ===== 22. HERO BANNER - White Text Color + Spacing + Rounded Corners ===== */

.hero_title {
    color: #ffffff !important;
}

.hero_title span {
    color: #ffffff !important;
}

.hero_text {
    color: #ffffff !important;
}

/* Add padding to text wrapper to avoid touching edges */
.hero_wrap {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* Rounded corners for hero image on PC */
@media (min-width: 992px) {
    .hero_wrap_image {
        border-radius: 20px !important;
        overflow: hidden !important;
    }
}

/* Mobile - smaller padding */
@media (max-width: 991px) {
    .hero_wrap {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ===== 23. HEADER TOP - Sticky on Scroll ===== */

.header_wrap_top {
    position: sticky !important;
    top: 0 !important;
    z-index: 9998 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* ===== 24. MOBILE FOOTER NAVIGATION ===== */

#mobile-footer-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, #E0E7FF 0%, #E0F2FE 100%);
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0 8px;
    z-index: 9999;
    justify-content: space-around;
    align-items: flex-end;
}

.mobile-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex: 1;
    padding: 8px 4px;
    transition: all 0.3s ease;
}

.mobile-footer-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.mobile-footer-item span {
    font-size: 11px;
    font-weight: 600;
    color: #9CA3AF;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-footer-item.active span {
    color: #374151;
    font-weight: 700;
}

/* Center item (Convidar) - larger and elevated */
.mobile-footer-center {
    position: relative;
    margin-top: -20px;
}

.mobile-footer-center img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    border: 3px solid #E0E7FF;
}

/* Show only on mobile */
@media (max-width: 768px) {
    #mobile-footer-nav {
        display: flex !important;
    }
    
    /* Add padding to body to prevent content hiding */
    body {
        padding-bottom: 80px !important;
    }
}

/* ===== 25. SEO CONTENT SECTION (Above Footer) - Beautiful UI ===== */

.seo-content-section {
    background: transparent;
    padding: 80px 0;
    margin-top: 80px;
    position: relative;
}

/* Decorative top border with gradient */
.seo-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #8B5CF6 50%, transparent 100%);
    border-radius: 2px;
}

.seo-content-section .container {
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.5);
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.seo-title {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;
}

.seo-description {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 40px;
    line-height: 1.7;
    text-align: center;
    padding: 0 20px;
    font-weight: 500;
}

.seo-content {
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
}

/* Beautiful H2 headings */
.seo-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: #8B5CF6;
    margin-top: 45px;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid #8B5CF6;
    line-height: 1.3;
}

.seo-content h2:first-of-type {
    margin-top: 0;
}

/* Beautiful H3 subheadings */
.seo-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #374151;
    margin-top: 35px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-content h3::before {
    content: '▸';
    color: #EC4899;
    font-size: 24px;
}

/* Paragraphs */
.seo-content p {
    margin-bottom: 18px;
    color: #4B5563;
    text-align: justify;
}

/* Lists - beautiful styling */
.seo-content ul,
.seo-content ol {
    margin-left: 30px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(244, 114, 182, 0.03) 100%);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 3px solid #8B5CF6;
}

.seo-content li {
    margin-bottom: 12px;
    color: #4B5563;
    line-height: 1.7;
    padding-left: 10px;
}

.seo-content ul li::marker {
    color: #8B5CF6;
    font-size: 1.2em;
}

.seo-content ol li::marker {
    color: #EC4899;
    font-weight: 700;
}

/* Links */
.seo-content a {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.seo-content a:hover {
    color: #7C3AED;
    border-bottom-color: #7C3AED;
}

/* Strong/Bold text */
.seo-content strong {
    font-weight: 700;
    color: #1F2937;
}

/* Blockquote */
.seo-content blockquote {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(244, 114, 182, 0.05) 100%);
    border-left: 4px solid #EC4899;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
    color: #6B7280;
}

/* Horizontal line */
.seo-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #8B5CF6 50%, transparent 100%);
    margin: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .seo-content-section {
        padding: 50px 0;
        margin-top: 50px;
    }
    
    .seo-content-section .container {
        padding: 30px 25px;
        border-radius: 15px;
    }
    
    .seo-title {
        font-size: 26px;
    }
    
    .seo-description {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .seo-content {
        font-size: 15px;
    }
    
    .seo-content h2 {
        font-size: 22px;
        padding-left: 15px;
    }
    
    .seo-content h3 {
        font-size: 19px;
    }
    
    .seo-content ul,
    .seo-content ol {
        padding: 15px 20px;
    }
}

/* ===== 26. FOOTER - Hide Menu Navigation ===== */

.footer_menus,
.footer_menu {
    display: none !important;
}

/* ===== 24. DARK MODE OVERRIDES (if needed) ===== */

.dark-mode {
    background: linear-gradient(180deg, #1F2937 0%, #111827 100%) !important;
}

.dark-mode .card,
.dark-mode .game-card {
    background: rgba(31, 41, 55, 0.95) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3 {
    color: #F3F4F6 !important;
}

.dark-mode p,
.dark-mode span {
    color: #D1D5DB !important;
}


/* ===== HIDE HERO PROMOTIONAL TEXT ===== */

/* Hide the promotional bonus text completely */
.hero_text {
    display: none !important;
}

/* Hide the subtitle in hero_title (keep only brand name on PC) */
.hero_title span {
    display: none !important;
}

/* On mobile, hide the entire hero_title too */
@media (max-width: 991px) {
    .hero_title {
        display: none !important;
    }
}

/* Adjust hero_wrap spacing since text is removed */
.hero_wrap {
    gap: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}


/* ===== HERO IMAGE HEIGHT - 500PX ===== */

.hero_wrap_image {
    display: flex !important;
    align-items: center !important;
    padding: 60px 0 !important;
}

/* On mobile - smaller height */
@media (max-width: 991px) {
    .hero_wrap_image {
        padding: 40px 0 !important;
    }
}

/* Show hero_title on PC (undo previous hide on mobile) */
@media (min-width: 992px) {
    .hero_title {
        display: block !important;
    }
}


/* ===== HERO HEIGHT - NO IMAGE STRETCH ===== */

/* PC - Increase container height without stretching image */
@media (min-width: 992px) {
    .hero_wrap_image {
        padding: 120px 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* Mobile - Normal height */
@media (max-width: 991px) {
    .hero_wrap_image {
        padding: 50px 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

