/* Part 1: Global Styles & Layout */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Disable tap highlight on mobile */
}

:root {
    --bg-color: #0b0b0b;
    --primary-color: #ff9100; /* Orange/Gold accent */
    --secondary-color: #f7b500;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --container-max-width: 500px;
}

body {
    background-image: url('image/background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #000;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Mobile-First Container */
.app-container {
    width: 100%;
    max-width: var(--container-max-width);
    background: transparent;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.main-content {
    flex: 1;
    padding-bottom: 90px; /* Space for the bottom navigation bar */
    overflow-x: hidden;
}

/* Responsive adjustments */
@media screen and (max-width: 500px) {
    .app-container {
        box-shadow: none;
    }
}

/* Part 2: Main Header Styles */
.main-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-main-content {
    width: 100%;
    height: 65px;
    background-image: url('image/header.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    border-bottom: 2px solid var(--primary-color);
}

.header-left, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-right {
    justify-content: flex-end;
}

/* Menu Button */
.menu-btn {
    background: linear-gradient(90deg, #ff4500 0%, #ff8c00 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.menu-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.menu-text {
    color: white;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.menu-icon {
    width: 18px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

/* Logo & Partnership */
.logo {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.partnership-logo {
    max-height: 35px;
    width: auto;
}

/* Part 1.5: Notice Bar Styles */
.notice-bar {
    width: 100%;
    height: 36px;
    background-image: url('image/notice.jpg');
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 12px;
    overflow: hidden;
    position: relative;
    z-index: 999;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

.notice-icon {
    flex-shrink: 0;
    margin-right: 12px;
    font-size: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.marquee-container {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: marquee 30s linear infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Part 3: Bottom Navigation Bar Styles */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: var(--container-max-width);
    height: 90px;
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-item img {
    width: 65px;
    height: 65px;
    margin-bottom: 0;
    filter: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active img {
    filter: drop-shadow(0 5px 15px rgba(255, 145, 0, 0.4));
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Part 4: Banner Styles */
.hero-banner {
    width: 100%!important;
    margin-bottom: 0px; /* Removed bottom margin */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Swiper Pagination Styling */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    width: 8px !important;
    height: 8px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 10px !important;
    height: 10px !important;
    box-shadow: 0 0 8px var(--primary-color);
}

.swiper-pagination {
    bottom: 5px !important;
}

.swiper-slide {
    width: 100%;
}

/* Part 5: Auth & Stats Section */
.login-auth-section {
    padding: 0; /* Zero spacing as requested */
    margin-top: -10px; /* Pulling up towards banner */
    width: 100%;
    position: relative;
    z-index: 2;
}

.auth-box {
    background-image: url('image/loginbackground.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 10px;
}

.auth-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.auth-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    transition: transform 0.2s ease;
}

.auth-btn:active {
    transform: scale(0.95);
}

.auth-btn img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
}

.transaction-stats {
    background: linear-gradient(90deg, #d35400 0%, #8e44ad 100%); /* Placeholder gradient, matching visual */
    background: rgba(184, 88, 26, 0.9); /* More accurate to screenshot */
    border-radius: 40px; /* Highly rounded as in image */
    padding: 10px 5px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-label {
    font-size: 8px;
    color: #e0e0e0;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

/* Part 6: Referral Program Section */
.referral-section {
    padding: 0; /* Zero spacing as requested */
    margin-top: -10px; /* Pulling up towards auth section */
    width: 100%;
    position: relative;
    z-index: 1;
}

.referral-container {
    background-image: url('image/referralbanner.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    aspect-ratio: 500 / 460; /* Estimated based on banner aspect ratio */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 15px 35px 15px; /* Increased bottom padding to lift buttons */
    border-radius: 12px;
    overflow: hidden;
}

.referral-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 100px; /* Push buttons to the empty bottom area */
}

.ref-btn {
    display: flex;
    justify-content: center;
    transition: transform 0.2s ease;
}

.ref-btn:active {
    transform: scale(0.95);
}

.ref-btn img {
    width: 100%;
    height: auto;
    display: block;
}

/* Part 7: RTP Carousel Section Optimization */
.rtp-section {
    padding: 0;
    margin-top: -5px;
    width: 100%;
}

.rtp-carousel {
    padding: 0; /* Zero spacing as requested */
}

.rtp-card-img {
    width: 100%;
    max-height: 150px; /* Greatly enlarged for better visibility */
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.rtp-card-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 145, 0, 0.3);
}

/* Part 8: Game Selection Section */
.game-selection {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    margin-top: 15px; /* Added spacing to resolve overlap with RTP cards */
    position: relative;
    padding-bottom: 20px;
}

.category-tabs {
    background: #000;
    padding: 10px 0 8px 0; /* Horizontal padding set to 0 as requested */
    border-bottom: 1px solid rgba(255, 0, 0, 0.4);
    margin-bottom: 15px;
    position: relative;
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
    padding-bottom: 5px;
    position: relative;
    z-index: 10;
}

.nav-tab.active {
    opacity: 1;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15%;
    width: 70%;
    height: 3px;
    background: #ff0000;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.nav-tab img {
    width: 80px; /* Greatly enlarged icons for better visibility */
    height: 80px;
    border-radius: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.nav-tab span {
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

/* Game Grid Restore */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Back to 4-column */
    gap: 0; /* Zero spacing as requested */
    padding: 0 0 20px 0; /* Zero spacing as requested */
}

.game-card {
    position: relative;
    aspect-ratio: 2 / 3; /* Standard mobile ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease;
}

.game-card:active {
    transform: scale(0.95);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sticky Side Tab */
.side-tab-left {
    position: fixed;
    left: 0;
    top: 60%;
    transform: translateY(-50%);
    z-index: 100;
    width: 25px; /* Reduced from 35px as requested */
    transition: transform 0.3s ease;
}

.side-tab-left:active {
    transform: translateY(-50%) translateX(5px);
}

.side-tab-left img {
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.8));
}

/* Category Navigation Arrows */
.category-next, .category-prev {
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    top: 40% !important;
    z-index: 100 !important;
    transition: background 0.3s ease !important;
}

.category-next:after, .category-prev:after {
    font-size: 16px !important;
    color: #000 !important;
    font-weight: 900 !important;
}

.category-prev {
    left: 5px !important;
}

.category-next {
    right: 5px !important;
}

.category-next:hover, .category-prev:hover {
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Footer Banners */
.footer-banners {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 5px; /* Consistent with other sections */
}

.footer-banner-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: block;
}

/* SEO Read More Section */
.seo-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px 10px;
}

.seo-button-container {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.read-more-btn {
    background: #8e8e8e; /* Grey background as in image */
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.read-more-btn:active {
    transform: scale(0.95);
    background: #7a7a7a;
}

.seo-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
    margin: 0 10px;
    border-radius: 8px;
}

.seo-content.expanded {
    max-height: 20000px; /* Large enough to hold the content */
    margin-top: 10px;
    padding: 15px;
}

.seo-inner {
    color: #b0b0b0;
    font-size: 13px;
    line-height: 1.6;
}

.seo-inner h2, .seo-inner h3 {
    color: #fff;
    margin-top: 15px;
    margin-bottom: 8px;
}

.seo-inner p {
    margin-bottom: 12px;
}

.seo-inner strong {
    color: #ff9d00;
}

/* Footer Bottom Info Grid */
.footer-info-grid {
    display: flex;
    justify-content: space-between;
    padding: 20px 5px; /* Reduced padding to allow more image space */
    background: rgba(0, 0, 0, 0.4);
    margin-top: 20px;
    gap: 10px;
}

.info-column {
    flex: 1;
}

.info-title {
    color: #fff;
    font-size: 14px; /* Enlarged from 11px */
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: left;
}

.info-img-main {
    width: 100%; /* Fill the column fully */
    height: auto;
    display: block;
    border-radius: 8px;
}

.cert-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-img {
    width: 100%; /* Fill the column fully */
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Social Media Section (Ikut Kami) */
.footer-social {
    padding: 10px 10px 20px 10px;
}

.social-icons-row {
    display: flex;
    gap: 15px; /* Spacing between icons */
    padding-top: 5px;
}

.social-icon {
    width: 45px; /* Standard icon size */
    height: 45px;
    object-fit: contain;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

.social-icon:active {
    transform: scale(1.1);
}
/* Part 9: Auth / Login Section Styles */
.auth-container {
    padding: 20px 15px 100px 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 101px - 90px); /* Adjust based on header & footer height */
}

.auth-card {
    width: 100%;
    background: rgba(18, 12, 8, 0.95); /* Dark brown/black glassmorphism */
    border: 1px solid rgba(255, 204, 0, 0.1);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.05);
    position: relative;
}

.auth-title {
    color: #ffcc00; /* Yellow title as in image */
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.auth-close {
    position: absolute;
    right: 20px;
    top: 25px;
    color: #fff;
    font-size: 18px;
    opacity: 0.8;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: #e0e0e0;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.auth-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 18px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.auth-input::placeholder {
    color: #666;
}

.auth-input:focus {
    border-color: #ffcc00;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #f37021;
    font-size: 18px;
    cursor: pointer;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.remember-me input {
    accent-color: #ffcc00;
    width: 16px;
    height: 16px;
}

.auth-submit-btn {
    width: 100%;
    background: linear-gradient(180deg, #f37021 0%, #d35400 100%);
    border: none;
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(243, 112, 33, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.auth-submit-btn:active {
    transform: scale(0.98);
}

.divider-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.signup-footer {
    text-align: center;
}

.signup-text {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.signup-btn {
    width: 60%;
    margin: 0 auto 15px auto;
    background: linear-gradient(180deg, #f39c12 0%, #e67e22 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.4);
    display: block;
    text-decoration: none;
}

.forgot-password {
    color: #ffcc00;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 700;
}

.forgot-password::after {
    content: "〉";
    font-size: 10px;
}
/* Part 10: Pill Button Style */
.read-more-pill {
    background: linear-gradient(180deg, #ff9d00 0%, #f37021 100%);
    color: #fff;
    border: none;
    padding: 10px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    letter-spacing: 0.5px;
}

.read-more-pill:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(243, 112, 33, 0.4);
}

/* Part 11: Live Chat Page Styles */
.livechat-main {
    flex: 1;
    background: #333; /* Dark grey chat room background */
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 160px; /* Space for input bar and nav bar */
    min-height: 100vh;
}

.notice-card-container {
    padding: 30px 15px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.notice-card {
    background: linear-gradient(135deg, #ff9100 0%, #ff6600 100%);
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    padding: 25px 20px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.notice-card .logo-large {
    max-width: 150px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.notice-card h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.notice-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 25px 0 12px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.notice-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 10px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.notice-links-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.notice-link-item {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.notice-btn-grid {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.notice-btn-action {
    flex: 1;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 12px;
    padding: 12px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
}

.notice-btn-action:active {
    transform: scale(0.95);
}

.notice-footer-text {
    font-size: 10px;
    margin-top: 20px;
    font-weight: 700;
    text-decoration: underline;
}

/* Chat Input Bar Sticky */
.chat-input-sticky {
    position: fixed;
    bottom: 95px; /* Above nav bar (90px) */
    width: 100%;
    max-width: var(--container-max-width);
    padding: 0 10px;
    z-index: 1000;
}

.chat-input-wrapper {
    background: linear-gradient(90deg, #444 0%, #333 100%);
    border-radius: 40px;
    display: flex;
    align-items: center;
    padding: 8px 20px;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-field {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    outline: none;
    padding: 10px 0;
}

.chat-icon-btn {
    font-size: 24px;
    cursor: pointer;
    color: #f37021;
    transition: transform 0.2s ease;
}

.chat-icon-btn:active {
    transform: scale(1.2);
}

.chat-icon-btn.send {
    color: #4cd137;
}
/* GIF Button Style */
.notice-btn-gif {
    background: url('image/menu button/livechatbutton.gif') no-repeat center;
    background-size: 100% 100%;
    border: none;
    width: 100%;
    height: 55px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px; /* For overlay text if needed */
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    text-decoration: none;
}

.notice-btn-gif:active {
    transform: scale(0.95);
}

/* Part 12: Promotion Page Styles */
.promo-main {
    flex: 1;
    padding: 10px 0 100px 0 !important;
    display: block !important; /* Changed to block */
    text-align: left !important;
}

.promo-section {
    display: block !important; /* Changed to block */
    width: 100% !important;
    margin-bottom: 20px !important;
}

.promo-title-banner {
    width: 75% !important;
    max-width: 300px !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)) !important;
}

.promo-card-wrapper {
    width: 100% !important;
    display: block !important; /* Changed to block */
}

.promo-card {
    width: 66% !important;
    margin: 12px 0 0 0 !important; /* Top margin for gap, Left margin 0 */
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: block !important;
    text-decoration: none !important;
    float: left !important; /* Added float for extra insurance */
    clear: both !important;
}

.promo-card:active {
    transform: scale(0.98) !important;
}

.promo-card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}

/* Part 13: Budi Section Specifics */
.promo-budi-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.promo-budi-row {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 10px !important;
    justify-content: flex-start !important;
}

.promo-card-ron95 {
    width: 60% !important;
    margin: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: block !important;
}

.promo-card-ron95 img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.promo-card-angpao {
    width: 16.2% !important;
    margin: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important; /* For text overlay */
}

.promo-card-angpao img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Claim Amount Overlay Styles */
.promo-card-text {
    position: absolute !important;
    top: 45% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    text-align: center !important;
    pointer-events: none !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
}

@keyframes promo-flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.p-txt-header {
    font-size: 8px !important;
    color: rgba(0,0,0,0.9) !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
}

.p-txt-sub {
    font-size: 11px !important;
    color: rgba(0,0,0,0.9) !important;
    font-weight: bold !important;
}

.p-txt-main {
    font-size: 15px !important;
    color: rgba(0,0,0,0.4) !important;
    font-weight: bold !important;
    animation: promo-flash 0.8s infinite !important;
    display: inline-block !important;
}

.promo-budi-bottom-row {
    width: 100% !important;
    display: flex !important;
    margin-top: 6px !important;
    padding-left: 0 !important;
}


/* Part 14: Bonus Section Grid (5+2) */
.promo-bonus-row {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
    margin-top: 10px !important;
    justify-content: flex-start !important;
}

.promo-card-bonus {
    width: 19.3% !important; /* Approx 5 per row with gaps */
    position: relative !important;
    display: block !important;
    margin-bottom: 5px !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.promo-card-bonus img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.p-txt-bonus-header {
    font-size: 8px !important;
    color: rgba(0,0,0,0.9) !important;
    font-weight: bold !important;
    line-height: 1.1 !important;
}

.p-txt-bonus-sub {
    font-size: 11px !important;
    color: rgba(0,0,0,0.9) !important;
    font-weight: bold !important;
}

.p-txt-bonus-main {
    font-size: 15px !important;
    color: rgba(0,0,0,0.4) !important;
    font-weight: bold !important;
    animation: promo-flash 0.8s infinite !important;
}


/* Part 15: Welcome Bonus Section (1+3) */
.promo-welcome-row {
    width: 100% !important;
    display: flex !important;
    gap: 5px !important;
    margin-top: 10px !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

.promo-card-welcome-large {
    width: 22.5% !important;
    margin: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: block !important;
}

.promo-card-welcome-large img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.promo-card-welcome-small {
    width: 22.5% !important;
    margin: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
}

.promo-card-welcome-small img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}


/* SEO: Visually hidden H1 for search engines */
.seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    color: #fff;
    font-size: 1px;
}

/* SEO: Visually hidden H1 for search engines */
.seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    color: #fff;
    font-size: 1px;
}

/* ──────────────────────────────────────────────────────────────────────────
   SEO Content Visible (for new standalone SEO pages)
   ────────────────────────────────────────────────────────────────────────── */
.seo-content-visible {
    background: rgba(0, 0, 0, 0.3);
    margin: 15px 10px;
    border-radius: 8px;
    padding: 20px 15px;
}

.seo-content-visible .seo-inner {
    color: #b0b0b0;
    font-size: 13px;
    line-height: 1.7;
}

.seo-content-visible .seo-inner h2,
.seo-content-visible .seo-inner h3 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
}

.seo-content-visible .seo-inner h2 {
    font-size: 20px;
}

.seo-content-visible .seo-inner h3 {
    font-size: 16px;
}

.seo-content-visible .seo-inner p {
    margin-bottom: 14px;
}

.seo-content-visible .seo-inner ul {
    margin: 10px 0 14px 20px;
    list-style: disc;
}

.seo-content-visible .seo-inner li {
    margin-bottom: 6px;
}

.seo-content-visible .seo-inner a {
    color: #ff9d00;
    text-decoration: underline;
}

.seo-content-visible .seo-inner strong {
    color: #ff9d00;
}

/* Internal link styles in SEO sections */
.seo-inner a {
    color: #ff9d00;
    text-decoration: none;
}

.seo-inner a:hover {
    text-decoration: underline;
}

/* Blog article card styles */
.blog-article-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.blog-article-card h3 {
    margin-top: 0 !important;
}


/* Slide-out Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Slide Menu Panel */
.slide-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #0b0b0b 100%);
    z-index: 9999;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.8);
}

.slide-menu.active {
    left: 0;
}

.slide-menu-header {
    padding: 20px 15px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slide-menu-header img {
    max-height: 40px;
}

.slide-menu-close {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

.slide-menu-nav {
    padding: 10px 0;
}

.slide-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.slide-menu-nav a:hover,
.slide-menu-nav a.active {
    background: rgba(255, 145, 0, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.slide-menu-nav a span.menu-emoji {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.slide-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 15px;
}

/* SEO Content Visible (collapsible) */
.seo-content-visible {
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
}

.seo-content-visible.expanded {
    max-height: none;
    overflow: visible;
}

/* Blog article cards */
.blog-article-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 145, 0, 0.15);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
}

.blog-article-card h3 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    margin-bottom: 12px;
}

.blog-back-link:hover {
    text-decoration: underline;
}

.blog-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.blog-article-full h2 {
    color: var(--primary-color);
    font-size: 17px;
    margin: 20px 0 10px;
    line-height: 1.4;
}

.blog-article-full h3 {
    color: var(--secondary-color);
    font-size: 15px;
    margin: 16px 0 8px;
}

.blog-article-full p {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 14px;
    color: #ddd;
}

.blog-article-full ul,
.blog-article-full ol {
    margin: 10px 0 14px 20px;
    line-height: 1.7;
    font-size: 14px;
    color: #ddd;
}

.blog-article-full li {
    margin-bottom: 6px;
}

.blog-article-full a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-article-full a:hover {
    text-decoration: underline;
}
