/*
Theme Name: Share SEO
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Fix double scrollbar issue */
html {
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto !important;
    max-height: none !important;
}

#wrapper {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

#main {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* Ensure only body scrolls */
* {
    box-sizing: border-box;
}

/* Hiệu ứng màu chạy liên tục */
@keyframes colorFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Button Styles - Màu cam với hiệu ứng màu chạy đẹp - CSS mạnh để override Flatsome */
.header-button .button.alert,
.header-button .button.secondary,
.header-button a.button.alert,
.header-button a.button.secondary,
li.header-button-1 .header-button .button.alert,
li.header-button-2 .header-button .button.secondary,
li.header-button-1 .header-button a.button.alert,
li.header-button-2 .header-button a.button.secondary {
    background: linear-gradient(90deg, #ff8c00, #ff6b00, #ff4500, #ff6b00, #ff8c00) !important;
    background-size: 200% 100% !important;
    animation: colorFlow 3s ease infinite !important;
    color: #ffffff !important;
    border: none !important;
    padding: 6px 28px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 50px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4) !important;
    cursor: pointer !important;
    display: inline-block !important;
}

/* Hiệu ứng hover - Gradient sáng hơn và màu chạy nhanh hơn */
.header-button .button.alert:hover,
.header-button .button.secondary:hover,
.header-button a.button.alert:hover,
.header-button a.button.secondary:hover,
li.header-button-1 .header-button .button.alert:hover,
li.header-button-2 .header-button .button.secondary:hover,
li.header-button-1 .header-button a.button.alert:hover,
li.header-button-2 .header-button a.button.secondary:hover {
    background: linear-gradient(90deg, #ffa500, #ff8c00, #ff6b00, #ff8c00, #ffa500) !important;
    background-size: 200% 100% !important;
    animation: colorFlow 1.5s ease infinite !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.6) !important;
}

/* Hiệu ứng active - Nhấn xuống */
.header-button .button.alert:active,
.header-button .button.secondary:active,
.header-button a.button.alert:active,
.header-button a.button.secondary:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.5) !important;
    animation: colorFlow 2s ease infinite !important;
}

/* Hiệu ứng ánh sáng chạy qua khi hover - Shimmer effect */
.header-button .button.alert::before,
.header-button .button.secondary::before,
.header-button a.button.alert::before,
.header-button a.button.secondary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.6s ease !important;
    z-index: 1 !important;
}

.header-button .button.alert:hover::before,
.header-button .button.secondary:hover::before,
.header-button a.button.alert:hover::before,
.header-button a.button.secondary:hover::before {
    left: 100% !important;
}

/* Hiệu ứng glow pulse */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4), 0 0 10px rgba(255, 140, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 140, 0, 0.6), 0 0 20px rgba(255, 140, 0, 0.4);
    }
}

.header-button .button.alert:focus,
.header-button .button.secondary:focus,
.header-button a.button.alert:focus,
.header-button a.button.secondary:focus {
    outline: none !important;
    animation: colorFlow 3s ease infinite, glowPulse 2s ease-in-out infinite !important;
}

/* Text trong button */
.header-button .button.alert span,
.header-button .button.secondary span,
.header-button a.button.alert span,
.header-button a.button.secondary span {
    position: relative !important;
    z-index: 2 !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.header-button .button.alert:hover span,
.header-button .button.secondary:hover span,
.header-button a.button.alert:hover span,
.header-button a.button.secondary:hover span {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 255, 255, 0.3) !important;
}

/* Mobile responsive */
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

/* Fix double scrollbar on mobile */
html {
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Button styles for mobile */
.header-button .button.alert,
.header-button .button.secondary,
.header-button a.button.alert,
.header-button a.button.secondary,
li.header-button-1 .header-button .button.alert,
li.header-button-2 .header-button .button.secondary {
    padding: 5px 18px !important;
    font-size: 12px !important;
}

}

/* Xóa màu đen trong game card - CSS mạnh hơn */
._1W4ipNLOTkAQc1atM3bFML .box-text,
._1W4ipNLOTkAQc1atM3bFML .box-text-inner,
._1W4ipNLOTkAQc1atM3bFML .col.li .box-text,
._1W4ipNLOTkAQc1atM3bFML .col.li .box-text-inner {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
}

._1W4ipNLOTkAQc1atM3bFML .box-text p,
._1W4ipNLOTkAQc1atM3bFML .box-text-inner p,
._1W4ipNLOTkAQc1atM3bFML .col.li .box-text p,
._1W4ipNLOTkAQc1atM3bFML .col.li .box-text-inner p {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Xóa màu đen cho tất cả game cards */
.box.has-hover .box-text,
.box.has-hover .box-text-inner,
.col.li .box.has-hover .box-text,
.col.li .box.has-hover .box-text-inner {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
}

.box.has-hover .box-text p,
.box.has-hover .box-text-inner p,
.col.li .box.has-hover .box-text p,
.col.li .box.has-hover .box-text-inner p {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
}

/* Xóa màu đen cho tất cả box-text trong section game */
.row .col.li .box-text,
.row .col.li .box-text-inner,
.row .col.li .box .box-text,
.row .col.li .box .box-text-inner {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
}

.row .col.li .box-text p,
.row .col.li .box-text-inner p {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
}

/* Universal selector - Xóa TẤT CẢ màu đen trong game cards */
._1W4ipNLOTkAQc1atM3bFML *,
._1W4ipNLOTkAQc1atM3bFML .box *,
._1W4ipNLOTkAQc1atM3bFML .col.li * {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
}

/* Chỉ giữ lại màu cho text */
._1W4ipNLOTkAQc1atM3bFML .box-text p,
._1W4ipNLOTkAQc1atM3bFML .box-text-inner p,
._1W4ipNLOTkAQc1atM3bFML .col.li .box-text p,
._1W4ipNLOTkAQc1atM3bFML .col.li .box-text-inner p,
._1W4ipNLOTkAQc1atM3bFML p {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Đảm bảo box-image không bị ảnh hưởng */
._1W4ipNLOTkAQc1atM3bFML .box-image,
._1W4ipNLOTkAQc1atM3bFML .box-image *,
._1W4ipNLOTkAQc1atM3bFML img {
    background-color: initial !important;
    background: initial !important;
    background-image: initial !important;
}

