/*
Theme Name: Yono Custom
Theme URI: http://yonoallgamezone.com
Author: Yono Team
Author URI: http://yonoallgamezone.com
Description: Custom theme for Yono Games listing
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yono-custom
*/

/* ===== RESET & BASE ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f7f9fb;
    color: #333;
    line-height: 1.5;
    padding-bottom: 30px;
}

/* ===== FLOATING SOCIAL BAR ===== */
.floating-social-bar {
    position: fixed;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.social-icon-btn:active {
    transform: scale(0.9);
}

.social-icon-btn.telegram {
    background: linear-gradient(135deg, #2AABEE, #229ED9);
}

.social-icon-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

/* ===== HEADER NAVBAR ===== */
.navbar {
    background-color: #2dae38;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.brand-logo img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-logo h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    background: #238b2c;
    padding: 10px 20px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    font-weight: 500;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 12px;
}

/* ===== HERO CARD ===== */
.hero-card {
    background: linear-gradient(135deg, #1b5e20, #2dae38);
    color: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    margin-top: 10px;
}

.hero-card p {
    font-size: 11px;
    line-height: 1.6;
    text-align: justify;
    color: #e8f5e9;
    margin: 0;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
}

/* ===== TABS ===== */
.tabs-box {
    background: white;
    padding: 8px;
    border-radius: 14px;
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #edf2f7;
}

.tab-btn {
    flex: 1;
    padding: 12px 6px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background-color: white;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn.active {
    background-color: #2dae38;
    color: white;
    border-color: #2dae38;
}

/* ===== GAMES LIST ===== */
.games-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== GAME CARD ===== */
.game-card {
    background: white;
    border-radius: 14px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #edf2f7;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.game-info-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.game-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.game-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.game-details h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 2px 0;
}

.app-number {
    background: #2dae38;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
    font-weight: 700;
}

.game-details p {
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.game-details p.bonus {
    color: #d97706;
    font-weight: 600;
}

.game-details p.withdraw {
    color: #4b5563;
    font-weight: 500;
}

.game-details p i {
    font-size: 11px;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
}

/* ===== DOWNLOAD BUTTON ===== */
.download-btn {
    background-color: #2dae38;
    color: white;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(45, 174, 56, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.download-btn:hover {
    background-color: #238b2c;
    color: white;
}

.download-btn:active {
    background-color: #1b6b22;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .game-card {
        padding: 10px 8px;
    }
    
    .game-icon {
        width: 48px;
        height: 48px;
    }
    
    .game-details h3 {
        font-size: 14px;
    }
    
    .download-btn {
        padding: 7px 8px;
        font-size: 11px;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2dae38;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #238b2c;
}
/* SINGLE APP POST */

.app-post-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 15px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
}

.app-post-icon img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.app-post-title {
    flex: 1;
}

.app-post-title h1 {
    margin: 0 0 5px;
    font-size: 26px;
    line-height: 1.2;
}

.app-post-title p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.app-stats {
    display: flex;
    background: #f5f5f5;
    border-radius: 10px;
    margin: 0 15px 15px;
    padding: 12px 5px;
}

.app-stats div {
    flex: 1;
    text-align: center;
    border-right: 1px solid #ddd;
}

.app-stats div:last-child {
    border-right: none;
}

.app-stats strong {
    display: block;
    font-size: 16px;
}

.app-stats span {
    display: block;
    color: #777;
    font-size: 12px;
}

.app-content {
    padding: 5px 15px 20px;
}

.app-content h2 {
    margin-top: 25px;
    padding: 8px 10px;
    background: #f4f4f4;
    border-left: 4px solid #2dae38;
    font-size: 20px;
}

.app-content h3 {
    margin-top: 20px;
    font-size: 18px;
}

.app-content p {
    font-size: 16px;
    line-height: 1.7;
}

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

@media (max-width: 600px) {

    .app-post-header {
        padding: 15px 10px;
        gap: 14px;
    }

    .app-post-icon img {
        width: 75px;
        height: 75px;
    }

    .app-post-title h1 {
        font-size: 22px;
    }

}