/* C:\jaihoslotss\css\style.css */

:root {
    --primary: #0052fe;
    --primary-grad: linear-gradient(135deg, #0052fe 0%, #002db3 100%);
    --accent: #ffb703;
    --gold: #f59e0b;
    --silver: #94a3b8;
    --bronze: #ca8a04;
    --header-bg: #020617;
    --bg-main: #f0f4f9;
    --bg-card: #ffffff;
    --text-main: #0c1a30;
    --text-muted: #627289;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 20px rgba(0, 82, 254, 0.06);
    --shadow-hover: 0 10px 30px rgba(0, 82, 254, 0.12);
}

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

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header bar */
.site-header {
    background-color: var(--header-bg);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
}

.logo-image {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

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

.btn-telegram {
    background: #0088cc;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
    transition: background-color 0.2s, transform 0.1s;
}

.btn-telegram:hover {
    background-color: #0077b5;
    transform: translateY(-1px);
}

.btn-telegram:active {
    transform: translateY(1px);
}

.admin-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.15);
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s;
}

.admin-login-btn:hover {
    background-color: rgba(255,255,255,0.3);
}

/* Featured cards section */
.featured-section {
    background: linear-gradient(180deg, #020617 0%, #0b1528 100%);
    padding: 40px 0 60px 0;
    color: #fff;
    text-align: center;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.hero-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-banner-wrapper {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-banner-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

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


.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 15px;
    align-items: end;
}

.featured-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background-color: #fff;
    padding: 4px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-icon {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.app-icon-fallback {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-color: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.app-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.stars {
    color: var(--accent);
    font-size: 12px;
}

.rating-val {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.app-bonus-tag {
    font-size: 13px;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.btn-play {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-align: center;
    transition: transform 0.1s;
}

.btn-play:active {
    transform: scale(0.97);
}

/* Rank 1: Gold Card Highlights */
.rank-gold {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--accent);
    padding: 35px 20px 25px 20px; /* Slightly taller */
    box-shadow: 0 10px 30px rgba(255, 183, 3, 0.15);
}

.rank-gold .rank-badge {
    background-color: var(--accent);
    color: #000;
}

.rank-gold .app-icon-wrapper {
    width: 84px;
    height: 84px;
}

.rank-gold .app-name {
    font-size: 18px;
}

.rank-gold .btn-play {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
}

.rank-gold .btn-play:hover {
    background-color: #fca311;
}

.crown-icon {
    position: absolute;
    top: -20px;
    font-size: 26px;
    animation: bounce 2s infinite;
}

/* Rank 2 & 3 custom badges */
.rank-silver .rank-badge {
    background-color: #cbd5e1;
    color: #334155;
}

.rank-silver .btn-play, 
.rank-bronze .btn-play {
    background-color: #fff;
    color: var(--primary);
}

.rank-silver .btn-play:hover, 
.rank-bronze .btn-play:hover {
    background-color: #f8fafc;
}

.rank-bronze .rank-badge {
    background-color: #fed7aa;
    color: #c2410c;
}

/* Main Games list section */
.list-section {
    padding: 30px 0;
    margin-top: -15px; /* Pull list section up onto curve */
    position: relative;
    z-index: 10;
}

.list-header-bar {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
}

.list-header-bar h2 {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.search-box-wrapper {
    position: relative;
    width: 250px;
}

.search-input {
    width: 100%;
    padding: 8px 30px 8px 12px;
    font-size: 13px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 254, 0.12);
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--text-muted);
    cursor: pointer;
}

/* Game List Items */
.games-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-list-item {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-list-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 82, 254, 0.15);
}

.item-rank-num {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-muted);
    width: 32px;
    flex-shrink: 0;
}

.mobile-rank-badge {
    display: none;
}

.item-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: #f8fafc;
    flex-shrink: 0;
    margin-right: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.list-app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-app-icon-fallback {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.item-details {
    flex-grow: 1;
    min-width: 0; /* Prevents overflow */
}

.item-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.item-name-row h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-featured-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-gold { background-color: #fef3c7; color: #b45309; }
.badge-silver { background-color: #f1f5f9; color: #475569; }
.badge-bronze { background-color: #ffedd5; color: #c2410c; }

.item-stats-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.item-rating-text {
    font-size: 11px;
    font-weight: 600;
    background-color: #f8fafc;
    border: 1px solid var(--border);
    padding: 1px 6px;
    border-radius: 4px;
}

.item-bonus-badge {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    background-color: #d1fae5;
    padding: 1px 6px;
    border-radius: 4px;
}

.item-withdraw-badge {
    font-size: 11px;
    font-weight: 700;
    color: #ea580c;
    background-color: #ffedd5;
    padding: 1px 6px;
    border-radius: 4px;
}

.item-actions {
    margin-left: 15px;
}

.btn-download {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-grad);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 82, 254, 0.15);
    transition: background-color 0.2s, transform 0.1s;
}

.btn-download:hover {
    box-shadow: 0 6px 12px rgba(0, 82, 254, 0.22);
}

.btn-download:active {
    transform: scale(0.96);
}

.no-results-msg {
    text-align: center;
    background-color: #fff;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-weight: 500;
}

/* Description & SEO bottom section */
.description-section {
    padding: 40px 0;
    background-color: #fff;
    border-top: 1px solid var(--border);
}

/* Features Grid */
.features-infogrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-info-card {
    background-color: var(--bg-main);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

.f-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.feature-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-info-card p {
    font-size: 12px;
    color: var(--text-muted);
}

/* About Text */
.about-text-container {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.about-text-content {
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}

/* Comparison Table Container */
.comparison-container {
    margin-bottom: 40px;
}

.comparison-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.comparison-table th {
    background-color: #f8fafc;
    font-weight: 700;
    color: #475569;
}

.comparison-table tbody tr:hover {
    background-color: #f8fafc;
}

.table-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.table-logo-fallback {
    width: 32px;
    height: 32px;
    background-color: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.font-bold {
    font-weight: 700;
}

.text-green { color: #15803d; font-weight: 700; }
.text-orange { color: #c2410c; font-weight: 700; }

.btn-table-download {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    font-size: 12px;
    transition: background-color 0.2s;
}

.btn-table-download:hover {
    background-color: var(--primary-grad);
}

/* FAQ accordion styling */
.faq-container {
    margin-bottom: 20px;
}

.faq-section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: #fff;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    text-align: left;
    transition: background-color 0.2s;
}

.faq-trigger:hover {
    background-color: #f8fafc;
}

.faq-icon-arrow {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f8fafc;
}

.faq-panel-content {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(45deg);
}

/* Footer Section */
.site-footer {
    background-color: #0c1a30;
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
    font-size: 12px;
}

.footer-warning-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.warning-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.footer-disclaimer {
    max-width: 700px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

.footer-social-links {
    margin-bottom: 25px;
}

.footer-social-btn {
    background: #0088cc;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    transition: opacity 0.2s;
}

.footer-social-btn:hover {
    opacity: 0.9;
}

.footer-copyright {
    color: rgba(255,255,255,0.4);
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 183, 3, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); }
}

.pulse {
    animation: pulse 2.0s infinite;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr 1.1fr 1fr;
        gap: 8px;
        max-width: 100%;
        margin: 0 0 20px 0;
        align-items: end;
    }
    
    .featured-card {
        padding: 16px 6px 10px 6px;
        border-radius: 12px;
    }
    
    .rank-badge {
        font-size: 8px;
        padding: 2px 6px;
        top: 6px;
        left: 6px;
    }
    
    .crown-icon {
        top: -16px;
        font-size: 20px;
    }
    
    .app-icon-wrapper {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        margin-bottom: 8px;
    }
    
    .rank-gold .app-icon-wrapper {
        width: 52px;
        height: 52px;
    }
    
    .app-name {
        font-size: 11px;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }
    
    .rank-gold .app-name {
        font-size: 12px;
    }
    
    .app-rating {
        margin-bottom: 8px;
        gap: 2px;
    }
    
    .stars {
        font-size: 8px;
    }
    
    .rating-val {
        font-size: 8px;
    }
    
    .app-bonus-tag {
        font-size: 9px;
        padding: 2px 6px;
        margin-bottom: 12px;
        border-radius: 10px;
    }
    
    .btn-play {
        padding: 6px 0;
        font-size: 10px;
        border-radius: 6px;
    }
    
    .site-header {
        padding: 8px 0;
    }
    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-icon {
        font-size: 20px;
    }
    
    .btn-telegram {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .admin-login-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    @media (max-width: 480px) {
        .btn-telegram span {
            display: none;
        }
        .btn-telegram {
            padding: 8px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            justify-content: center;
        }
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .list-header-bar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .search-box-wrapper {
        width: 100%;
    }
    
    .game-list-item {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .item-rank-num {
        display: none;
    }
    
    .mobile-rank-badge {
        position: absolute;
        top: -6px;
        left: -6px;
        width: 18px;
        height: 18px;
        background-color: var(--primary);
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.15);
        z-index: 5;
    }
    
    .item-icon-wrapper {
        width: 44px;
        height: 44px;
        margin-right: 0;
    }
    
    .item-details {
        flex-grow: 1;
        min-width: 0;
    }
    
    .item-name-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        margin-bottom: 4px;
    }
    
    .item-name-row h3 {
        font-size: 14px;
        max-width: calc(100vw - 180px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .item-stats-row {
        gap: 4px;
    }
    
    .item-rating-text, 
    .item-bonus-badge, 
    .item-withdraw-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .btn-download {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 12px;
    }
    
    .features-infogrid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Yono Redesign Additions --- */
.notice-card {
    background-color: #fef2f2;
    border-left: 5px solid #ef4444;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border-top: 1px solid #fee2e2;
    border-right: 1px solid #fee2e2;
    border-bottom: 1px solid #fee2e2;
    text-align: left;
}
.notice-header {
    font-size: 15px;
    font-weight: 800;
    color: #b91c1c;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.notice-hindi {
    font-size: 14px;
    line-height: 1.6;
    color: #7f1d1d;
    font-weight: 600;
}
.notice-act, .notice-disclaimer {
    font-size: 12px;
    line-height: 1.6;
    color: #991b1b;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(239, 68, 68, 0.15);
}
.notice-disclaimer {
    border-top: none;
    margin-top: 5px;
    padding-top: 0;
    font-weight: 500;
}

.seo-intro-card {
    text-align: center;
    margin-bottom: 35px;
    padding: 20px 0;
}
.seo-main-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 8px;
}
.seo-sub-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
}

.section-subtitle-new {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin: 40px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}
.section-subtitle-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-grad);
    border-radius: 2px;
}

.features-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}
.f-card-new {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}
.f-card-new:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 82, 254, 0.15);
}
.f-card-icon-new {
    font-size: 32px;
    margin-bottom: 12px;
}
.f-card-new h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}
.f-card-new p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.download-guide-section {
    margin-bottom: 35px;
}
.guide-intro {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.guide-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}
.step-card-new {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
}
.step-num-new {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 10px rgba(0, 82, 254, 0.2);
}
.step-card-new h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}
.step-card-new p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.comparison-section-new {
    margin-bottom: 35px;
}
.comparison-desc-new {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.table-responsive-new {
    overflow-x: auto;
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
}
.comparison-table-new {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}
.comparison-table-new th,
.comparison-table-new td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.comparison-table-new th {
    background-color: #f8fafc;
    font-weight: 700;
    color: #475569;
}
.comparison-table-new tbody tr:hover {
    background-color: #f8fafc;
}
.font-bold-new {
    font-weight: 700;
    color: var(--text-main);
}
.text-green-new {
    color: #16a34a;
    font-weight: 700;
}
.badge-cat-new {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    background-color: #f1f5f9;
    color: #475569;
}
.btn-tbl-dl {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-grad);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    border-radius: 15px;
    box-shadow: 0 3px 8px rgba(0, 82, 254, 0.15);
    transition: background-color 0.2s, transform 0.1s;
}
.btn-tbl-dl:hover {
    box-shadow: 0 4px 12px rgba(0, 82, 254, 0.22);
}
.btn-tbl-dl:active {
    transform: scale(0.96);
}

.category-browse-section {
    margin-bottom: 35px;
}
.cat-intro {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.categories-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}
.cat-card-new {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
}
.cat-card-icon-new {
    font-size: 32px;
    margin-bottom: 12px;
}
.cat-card-new h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}
.cat-card-new p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

.guide-article-section {
    margin-bottom: 35px;
    padding: 30px;
    border-radius: var(--radius);
    background: #f8fafc;
    border: 1.5px solid var(--border);
    text-align: left;
}
.article-lead {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 25px;
    text-align: justify;
}
.article-body h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 24px 0 12px 0;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}
.article-body p {
    font-size: 13px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 15px;
    text-align: justify;
}
.article-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}
.article-body li {
    font-size: 13px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 8px;
}

.tags-section-new {
    margin-bottom: 30px;
}
.tags-container-new {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.tags-container-new span {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.ecosystem-directory-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    text-align: left;
}
.ecosystem-directory-card p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: justify;
    word-break: break-word;
}

@media (max-width: 768px) {
    .seo-main-title {
        font-size: 18px;
    }
    .features-grid-new, .categories-grid-new {
        grid-template-columns: 1fr;
    }
    .guide-steps-grid {
        grid-template-columns: 1fr;
    }
    .guide-article-section {
        padding: 20px;
    }
}

/* --- Post/App Detail Page Styling --- */
.detail-main-wrapper {
    padding: 30px 0 50px 0;
}

/* Breadcrumbs */
.detail-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.detail-breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}
.detail-breadcrumbs a:hover {
    color: #002db3;
    text-decoration: underline;
}
.detail-breadcrumbs .sep {
    color: var(--border);
}
.detail-breadcrumbs .active {
    color: var(--text-main);
    font-weight: 600;
}

/* Hero Banner */
.detail-hero-section {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
}
.detail-banner-img-wrapper {
    width: 100%;
    height: auto;
    background: #000;
}
.detail-banner-img {
    width: 100%;
    height: auto;
    display: block;
}
.detail-banner-fallback {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 30px;
}
.fallback-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 82, 254, 0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}
.fallback-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.fallback-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}
.fallback-icon-placeholder {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}
.fallback-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Detail Content Layout Grid */
.detail-content-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Common cards */
.app-info-card, .detail-desc-card, .detail-specs-card, .detail-faq-card {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    text-align: left;
}

.section-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

/* App Info Card */
.app-info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.info-app-icon {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.info-app-icon-placeholder {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    background-color: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}
.info-app-title-area h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}
.info-app-category {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Stats Row */
.info-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.stat-badge {
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.stat-badge .label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.2px;
}
.stat-badge .value {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
}
.stat-badge.bonus .value {
    color: #16a34a;
}
.stat-badge.withdrawal .value {
    color: #ca8a04;
}

/* Primary download CTA */
.detail-cta-row {
    margin-bottom: 20px;
}
.btn-detail-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-detail-download:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}
.btn-detail-download:active {
    transform: translateY(0);
}

/* Social Row */
.detail-social-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.btn-social-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.1s;
}
.btn-social-action.telegram {
    background-color: #0088cc;
    color: #fff;
}
.btn-social-action.share {
    background-color: #e2e8f0;
    color: var(--text-main);
}
.btn-social-action:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.btn-social-action:active {
    transform: translateY(1px);
}

/* Features List */
.features-title-sub {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin: 20px 0 10px 0;
}
.features-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.features-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
}
.features-check-list .check-icon {
    color: #10b981;
    font-weight: 800;
    font-size: 16px;
}

/* Specs Table */
.specs-table-wrapper {
    overflow-x: auto;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.specs-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child td {
    border-bottom: none;
}
.specs-table td:first-child {
    color: var(--text-muted);
    font-weight: 500;
    width: 40%;
}
.specs-table td:last-child {
    color: var(--text-main);
    text-align: right;
}

/* Stacked Content Layout */
.detail-content-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Related Apps Middle Grid */
.detail-related-mid-section {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: left;
}
.related-games-grid-mid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.related-game-item-mid {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.related-game-item-mid:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 82, 254, 0.15);
    background: #f0f4f9;
    box-shadow: 0 4px 12px rgba(0, 82, 254, 0.08);
}
.rg-rank {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    width: 24px;
    text-align: center;
    margin-right: 6px;
}
.rg-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
}
.rg-icon-fallback {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #cbd5e1;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
}
.rg-details {
    flex: 1;
    min-width: 0;
    text-align: left;
}
.rg-details h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.rg-rating {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}
.rg-btn-dl {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background-color: rgba(0, 82, 254, 0.08);
    padding: 6px 12px;
    border-radius: 14px;
    transition: background-color 0.2s, color 0.2s;
}
.related-game-item-mid:hover .rg-btn-dl {
    background-color: var(--primary);
    color: #fff;
}

/* Toast Clipboard notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(12, 26, 48, 0.95);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    pointer-events: none;
}
.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Mobile responsive details */
@media (max-width: 768px) {
    .detail-banner-img-wrapper {
        height: 180px;
    }
    .detail-banner-fallback {
        height: 160px;
        padding: 15px;
    }
    .fallback-title {
        font-size: 20px;
    }
    .fallback-icon {
        width: 56px;
        height: 56px;
    }
    .info-stats-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .app-info-card, .detail-desc-card, .detail-specs-card, .detail-faq-card, .detail-related-mid-section {
        padding: 16px;
        border-radius: var(--radius-sm);
        margin-bottom: 16px;
    }
    .related-games-grid-mid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .info-app-icon {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }
    .info-app-title-area h1 {
        font-size: 18px;
    }
    .btn-detail-download {
        padding: 12px;
        font-size: 14px;
    }
    .btn-social-action {
        padding: 10px;
        font-size: 12px;
    }
    .detail-breadcrumbs {
        margin-bottom: 15px;
        font-size: 12px;
    }
}

/* --- Pros & Cons Grids --- */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pros-title {
    color: #16a34a;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
}
.cons-title {
    color: #ef4444;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
}
.pros-list, .cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pros-list li, .cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #475569;
}
.bullet-pros {
    color: #16a34a;
    font-size: 10px;
}
.bullet-cons {
    color: #ef4444;
    font-size: 10px;
}

/* Download steps stack */
.dl-steps-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dl-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}
.dl-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}
.dl-step-text {
    font-size: 13px;
    color: var(--text-main);
    font-weight: 500;
}

/* Tips list style */
.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #475569;
}
.tip-icon {
    color: #10b981;
    font-weight: 800;
    font-size: 16px;
}

/* Why Download trust grid */
.why-download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.check-green {
    color: #16a34a;
    font-weight: 800;
    font-size: 16px;
}
.why-item strong {
    font-size: 13px;
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
}
.why-item p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Mobile responsive fixes */
@media (max-width: 480px) {
    .pros-cons-grid, .why-download-grid {
        grid-template-columns: 1fr;
    }
}

