@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary: #a855f7; /* Purple */
    --primary-dark: #7c3aed;
    --accent: #06b6d4; /* Cyan */
    --bg-dark: #0f172a; /* Dark Blue */
    --bg-card: #1e293b;
    --bg-light: #334155;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --border-radius: 16px; /* More rounded */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-dark);
    overflow-x: hidden;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0.2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    border: none;
    text-align: center;
    color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-purple);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

.btn-accent {
    background: var(--gradient-cyan);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent) !important;
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent);
    color: #000 !important;
}

/* Header & Nav */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    padding: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-cta .btn {
    font-size: 0.95rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2001;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: none;
}

.hero-text h1 span {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto', sans-serif;
}

.hero-tagline {
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-btns .btn {
    min-width: 180px;
}

/* Casino Stats Bar */
.stats-bar {
    background: var(--bg-card);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-item {
    padding: 20px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Game Categories */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 100px 0;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.2);
}

.game-img {
    height: 200px;
    position: relative;
}

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

.game-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-purple);
    color: #fff;
    padding: 6px 14px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.75rem;
}

.game-info {
    padding: 20px;
    text-align: center;
}

.game-info h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

/* Jackpots */
.jackpot-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    text-align: center;
}

.jackpot-counter {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
    margin: 24px 0;
}

/* Trust & Payments */
.payment-methods {
    padding: 50px 0;
    background: var(--bg-dark);
}

.payment-flex {
    display: flex;
    justify-content: center;
    gap: 30px;
    opacity: 0.7;
    filter: grayscale(1);
    transition: 0.3s ease;
    flex-wrap: wrap;
}

.payment-flex:hover {
    opacity: 1;
    filter: grayscale(0);
}

.payment-flex img {
    height: 40px;
}

/* Payment Methods Grid (new section in index.html) */
.payment-grid-wrapper {
    padding: 80px 0;
}

.payment-grid-wrapper > .section-title {
    margin-bottom: 40px;
}

.payment-grid-wrapper > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.payment-grid-wrapper > div > div {
    text-align: center;
    padding: 25px 35px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    min-width: 120px;
    transition: 0.3s ease;
}

.payment-grid-wrapper > div > div:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.payment-grid-wrapper > div > div i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Trust & Security */
.trust-wrapper {
    padding: 100px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.trust-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s ease;
}

.trust-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168,85,247,0.1);
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.trust-icon i {
    font-size: 2rem;
    color: white;
}

/* Live Casino Section */
.live-casino-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.live-badge {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%,100% { opacity:1; }
    50% { opacity:0.3; }
}

/* Footer */
footer {
    background: #020617;
    color: #e2e8f0;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about img {
    height: 45px;
    margin-bottom: 24px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--accent);
    transition: 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: #000;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Internal Page Specifics */
.page-header {
    padding: 110px 0 50px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

.breadcrumb {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.internal-content {
    padding: 50px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
}

.post-detail {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 24px;
}

.post-detail > img {
    border-radius: 12px;
    margin-bottom: 24px;
}

.post-detail > div[style*="margin: 30px 0"] {
    margin: 24px 0;
    padding: 20px;
    background: rgba(168, 85, 247, 0.1);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
}

.post-detail > div[style*="margin: 30px 0"] h2 {
    color: var(--accent);
    font-size: 1.3rem;
}

.post-detail > div[style*="margin: 30px 0"] p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.post-content {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.8;
}

.related-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-section h3 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.5rem;
}

.sidebar-widget {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    color: var(--accent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

/* Article Cards */
.article-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

.article-img {
    flex: none;
    height: 220px;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-info {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.article-info h2 {
    font-size: 1.5rem;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
    margin-bottom: 12px;
}

.article-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
    margin-bottom: 16px;
}

.article-meta {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Articles Grid Layout for List Page */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles-grid .article-card {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Promotions Section */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 60px;
}

.promo-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s ease;
    text-align: center;
}

.promo-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2);
}

.promo-img {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    padding: 24px 20px;
}

.promo-content h3 {
    color: var(--primary) !important;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

.promo-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
}

.promo-content .btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-size: 0.85rem;
    padding: 8px 24px;
    width: 100%;
    max-width: 180px;
}

.promo-content .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Winners Ticker */
.winners-section {
    background: #020617;
    padding: 16px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.winners-flex {
    display: flex;
    gap: 40px;
    animation: scroll 25s linear infinite;
    white-space: nowrap;
}

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

.winner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.winner-item i {
    color: var(--primary);
}

.winner-amount {
    color: var(--accent);
}

/* VIP Section */
.vip-section {
    padding: 80px 0;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.vip-card {
    background: linear-gradient(135deg, #1e293b, #020617);
    border: 2px solid var(--accent);
    padding: 50px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.vip-card::after {
    content: 'VIP';
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.05;
    color: var(--accent);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item h4 {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Ads Section */
.ads-section {
    padding: 50px 0;
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.ads-title {
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ads-item img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s ease;
}

.ads-item img:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .ads-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .container { padding: 0 24px; }
    .hero-text h1 { font-size: 3rem; }
}

@media (max-width: 992px) {
    .hero-text h1 { font-size: 2.5rem; }
    .promotions-grid { grid-template-columns: 1fr 1fr; }
    .vip-card { flex-direction: column; padding: 40px; text-align: center; }
    .vip-card div:last-child { text-align: center !important; }
    .faq-grid { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: repeat(3, 1fr); padding: 100px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .mobile-toggle { display: block; }
    .nav-links { 
        display: none; 
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 30px 24px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1999;
        text-align: left;
        max-width: none;
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a {
        font-size: 1rem;
        max-width: none;
        width: 100%;
        display: block;
        color: var(--text-main);
    }

    .header-cta { display: flex; gap: 6px; margin-left: auto; margin-right: 12px; }
    .header-cta .btn { padding: 6px 10px; font-size: 1rem; }
    
    .hero { padding: 120px 0 80px; min-height: auto; }
    .hero-text img { height: 80px !important; }
    .hero-text h1 { font-size: 2.2rem !important; line-height: 1.2; }
    .hero-text p { font-size: 1rem; max-width: 100%; margin-bottom: 30px; }
    .hero-btns { flex-direction: column; gap: 12px; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 280px; padding: 14px 20px; font-size: 1rem; }
    .hero-text > div:last-of-type { gap: 30px !important; margin-top: 35px !important; }
    .hero-text > div:last-of-type h3 { font-size: 2rem !important; }

    .promotions-grid { grid-template-columns: 1fr; gap: 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-item h3 { font-size: 1.6rem; }

    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 40px 40px; }
    .game-img { height: 200px; }
    .game-info { padding: 16px; }
    .game-info h3 { font-size: 1rem; line-height: 1.3; }

    .jackpot-counter { font-size: 2.5rem; }
    
    .section-title h2 { font-size: 1.6rem; }
    .section-title { margin-bottom: 2rem; }
    
    .page-header { padding: 0 0 30px; }
    .page-header h1 { 
        font-size: 1.7rem !important; 
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .internal-content { padding: 30px 0; }
    .content-grid { grid-template-columns: 1fr; gap: 24px; }
    .article-card { margin-bottom: 16px; }
    .article-img { height: 180px; }
    .article-info { padding: 20px; }
    .article-info h2 { font-size: 1.3rem; }
    .article-meta { font-size: 0.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    
    /* Pagination styling for tablets */
    [style*="justify-content: center"][style*="gap: 20px"] {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-about, .footer-links { text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 576px) {
    .games-grid { grid-template-columns: 1fr; gap: 16px; }
    .game-img { height: 200px; }
    .game-info { padding: 18px; }
    .game-info h3 { font-size: 1rem; }
    
    .promo-img { height: 180px; }
    .promo-content { padding: 20px 16px; }
    
    .container { padding: 0 20px; }
    
    .page-header { padding: 0 0 30px; }
    .page-header h1 { 
        font-size: 1.5rem !important; 
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .internal-content { padding: 30px 0; }
    .article-card { margin-bottom: 16px; }
    .article-img { height: 170px; }
    .article-info { padding: 16px; }
    .article-info h2 { font-size: 1.2rem; }
    .article-info p { font-size: 0.9rem; }
    .article-meta { font-size: 0.75rem; }
    .article-info .btn { padding: 8px 20px !important; font-size: 0.85rem !important; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    /* Header buttons even smaller */
    .header-cta { gap: 5px; margin-right: 10px; }
    .header-cta .btn { padding: 5px 8px; font-size: 1rem; }
    
    /* Payment Methods Mobile */
    .payment-flex { gap: 12px; flex-wrap: wrap; justify-content: center; }
    .payment-flex > div { padding: 14px 12px; min-width: 90px; }
    
    /* Trust Cards Mobile */
    [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Live Casino Grid */
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* FAQ Tabs */
    .faq-tabs { flex-wrap: wrap; gap: 10px; }
    .faq-tabs .faq-tab { flex: 1 1 calc(50% - 5px); padding: 10px 16px; font-size: 0.9rem; }
    
    /* Ensure all inline style grids work properly */
    [style*="display: flex"] {
        flex-wrap: wrap !important;
    }
    
    /* Make sure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero { padding: 110px 0 50px; }
    .hero-text h1 { font-size: 1.7rem; line-height: 1.2; margin-bottom: 16px; }
    .hero-text p { font-size: 0.9rem; margin-bottom: 20px; line-height: 1.5; }
    .hero-btns .btn { max-width: 100%; padding: 12px 20px; font-size: 0.9rem; }
    .hero-text > div:last-of-type { gap: 20px !important; margin-top: 30px !important; }
    .hero-text > div:last-of-type h3 { font-size: 1.6rem !important; }
    .stats-grid { grid-template-columns: 1fr; }
    .jackpot-counter { font-size: 2rem; }
    .vip-card h2 { font-size: 1.5rem !important; }
    .vip-card { padding: 30px 20px; }
    
    .games-grid { grid-template-columns: 1fr; gap: 16px; }
    .game-img { height: 200px; }
    
    .section-title h2 { font-size: 1.4rem; }
    .section-title p { font-size: 0.8rem; }
    
    .page-header { padding: 0 0 30px; }
    .page-header h1 { 
        font-size: 1.4rem !important; 
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .breadcrumb { font-size: 0.85rem; }
    
    .internal-content { padding: 25px 0; }
    .article-card { margin-bottom: 14px; }
    .article-img { height: 160px; }
    .article-info { padding: 14px; }
    .article-info h2 { font-size: 1.1rem; }
    .article-info p { font-size: 0.85rem; }
    .article-meta { font-size: 0.7rem; }
    .article-info .btn { padding: 7px 18px !important; font-size: 0.8rem !important; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.05rem; }
    
    /* Pagination for smallest screens */
    [style*="margin-top: 60px"] { margin-top: 40px !important; }
    [style*="justify-content: center"][style*="gap: 20px"] a {
        flex: 1 1 auto;
        text-align: center;
    }
    
    /* Tiny header buttons for smallest screens */
    .header-cta { gap: 4px; margin-right: 8px; }
    .header-cta .btn { padding: 4px 7px; font-size: 1rem; }
    
    /* Container padding for proper spacing */
    .container { padding: 0 20px; }
    
    /* Payment methods even more compact */
    .payment-flex > div { padding: 12px 10px; min-width: 80px; }
    
    /* Ensure text wraps properly */
    h1, h2, h3, h4, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Specific improvements for payment methods section */
    [style*="display: flex"][style*="justify-content: center"] {
        gap: 15px !important;
    }
    
    [style*="min-width: 120px"] {
        min-width: 85px !important;
        padding: 18px 15px !important;
    }
    
    [style*="min-width: 120px"] i {
        font-size: 2rem !important;
    }
    
    [style*="min-width: 120px"] p {
        font-size: 0.85rem !important;
    }
    
    /* Specific improvements for trust/feature cards */
    [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
        gap: 15px !important;
    }
    
    [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] > div {
        padding: 25px 20px !important;
    }
    
    [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] h3 {
        font-size: 1.1rem !important;
    }
    
    [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] p {
        font-size: 0.9rem !important;
    }
    
    [style*="width: 80px; height: 80px"] {
        width: 60px !important;
        height: 60px !important;
    }
    
    [style*="width: 80px; height: 80px"] i {
        font-size: 1.5rem !important;
    }
    
    /* Live casino section improvements */
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        gap: 15px !important;
    }
    
    /* Ad section mobile improvements */
    .ad-image,
    [alt="Special Promotion"],
    [src*="广告"] {
        width: 100% !important;
        height: auto !important;
        min-height: 50px !important;
        display: block !important;
    }
    
    /* Smaller button adjustments */
    .btn { padding: 10px 24px; }
    .btn-lg { padding: 14px 28px; }
}
