/**
 * Allyono File Layout - Premium stylesheet for All Yono Games Earn
 * Matches: allnewyonoapps.com exactly
 * WHITE body, WHITE cards, BLACK borders/shadows, RED header, BLACK download buttons
 */

/* ===== CORE DESIGN SYSTEM ===== */
.layout-allyonofile {
    --header-height: 58px;
    --nav-height: 68px;
    --primary-red: #e60000;
    --primary-red-hover: #cc0000;
    --primary-red-light: rgba(230, 0, 0, 0.08);
    --body-bg: #ffffff;          /* Pure WHITE body */
    --card-bg: #ffffff;          /* Pure WHITE cards */
    --nav-bg: #ffffff;           /* White nav bar */
    --page-outer: #f5f5f5;       /* Very light grey for outer areas between cards */
    --text-dark: #111111;        /* Near black text */
    --text-medium: #444444;      /* Medium dark text */
    --text-muted: #888888;       /* Muted text */
    --border-color: #e0e0e0;     /* Light grey border */
    --border-dark: #1a1a1a;      /* Near black border for buttons */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 1px 6px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-blue-glow: 0 0 0 2px rgba(0, 120, 255, 0.35), 0 4px 16px rgba(0,0,0,0.12);
}

/* ===== BASE BODY ===== */
body.layout-allyonofile {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif !important;
    background-color: #f5f5f5 !important;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* ===== HIDE OLD TEMPLATES ===== */
.layout-allyonofile .main-nav,
.layout-allyonofile .main-header,
.layout-allyonofile .mobile-menu,
.layout-allyonofile .telegram-float,
.layout-allyonofile .main-footer,
.layout-allyonofile .main-content > .featured-section,
.layout-allyonofile .main-content > .category-section {
    display: none !important;
}

.layout-allyonofile .layout-wrapper {
    padding-top: 0 !important;
}

/* ===== RED HEADER ===== */
.layout-allyonofile .af-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--primary-red);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.layout-allyonofile .af-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 1;
}

.layout-allyonofile .af-logo-box {
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.layout-allyonofile .af-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-allyonofile .af-logo-fallback i {
    color: var(--primary-red);
    font-size: 18px;
}

.layout-allyonofile .af-header-title {
    color: #fff;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.layout-allyonofile .af-menu-btn {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 9px;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.layout-allyonofile .af-menu-btn:hover {
    background: rgba(255,255,255,0.28);
}

/* ===== WHITE ICON NAVIGATION BAR ===== */
.layout-allyonofile .af-icon-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: #ffffff;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.layout-allyonofile .af-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #999999;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 5px 6px;
    border-radius: 10px;
    transition: all 0.2s ease;
    min-width: 48px;
}

.layout-allyonofile .af-nav-item i {
    font-size: 15px;
    width: 30px;
    height: 30px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    transition: all 0.2s ease;
}

/* Active Nav State */
.layout-allyonofile .af-nav-item.active {
    color: var(--primary-red);
}

.layout-allyonofile .af-nav-item.active i {
    background: var(--primary-red);
    color: #fff;
}

.layout-allyonofile .af-nav-item:hover:not(.active) {
    color: #555;
}

.layout-allyonofile .af-nav-item:hover:not(.active) i {
    background: #ebebeb;
    color: #666;
}

/* ===== MAIN CONTAINER ===== */
.layout-allyonofile .af-main {
    padding-top: calc(var(--header-height) + var(--nav-height));
    padding-bottom: 60px;
    min-height: 100vh;
    background: #f5f5f5;
}

.layout-allyonofile .af-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 12px 14px 0;
}

/* Desktop - wider, side-padded */
@media (min-width: 769px) {
    .layout-allyonofile .af-container {
        max-width: 700px;
        padding: 20px 24px 0;
    }
    .layout-allyonofile .af-main {
        padding-top: calc(var(--header-height) + var(--nav-height) + 8px);
    }
    .layout-allyonofile .af-header {
        padding: 0 32px;
    }
    .layout-allyonofile .af-icon-nav {
        justify-content: center;
        gap: 40px;
    }
    .layout-allyonofile .af-nav-item {
        min-width: 70px;
        font-size: 0.78rem;
    }
    .layout-allyonofile .af-game-item {
        padding: 16px 18px;
        gap: 16px;
    }
    .layout-allyonofile .af-game-icon-wrap {
        width: 72px;
        height: 72px;
    }
    .layout-allyonofile .af-game-name {
        font-size: 1.05rem;
    }
    .layout-allyonofile .af-seo-card {
        padding: 26px 24px;
    }
    .layout-allyonofile .af-seo-card h2 {
        font-size: 1.5rem;
    }
    .layout-allyonofile .af-tabs {
        max-width: 400px;
    }
}

/* ===== TEAL HERO / SEO CARD ===== */
.layout-allyonofile .af-seo-card {
    background: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    color: #fff;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(6,182,212,0.28);
}

.layout-allyonofile .af-seo-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.layout-allyonofile .af-seo-card p {
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
    opacity: 0.97;
}

/* ===== SEARCH BAR ===== */
.layout-allyonofile .af-search-section {
    margin: 12px 0;
}

.layout-allyonofile .af-search {
    position: relative;
    width: 100%;
}

.layout-allyonofile .af-search input {
    width: 100%;
    height: 50px;
    border: 1.5px solid #dddddd;
    border-radius: 50px;
    padding: 0 56px 0 20px;
    font-size: 0.9rem;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.layout-allyonofile .af-search input:focus {
    border-color: #0078ff;
    box-shadow: var(--shadow-blue-glow);
}

.layout-allyonofile .af-search input::placeholder {
    color: #bbbbbb;
}

.layout-allyonofile .af-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #0078ff;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.layout-allyonofile .af-search-btn:hover {
    background: #0060cc;
}

/* ===== SECTION TITLE ===== */
.layout-allyonofile .af-section-title {
    text-align: center;
    margin: 16px 0 12px;
}

.layout-allyonofile .af-section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #111111;  /* Dark text on white background */
    letter-spacing: -0.2px;
}

/* ===== CAPSULE CATEGORY TABS ===== */
.layout-allyonofile .af-tabs {
    display: flex;
    gap: 8px;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 50px;
    margin-bottom: 14px;
    border: 1px solid #e0e0e0;
}

.layout-allyonofile .af-tab {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: #777777;
}

.layout-allyonofile .af-tab i {
    font-size: 0.88rem;
    color: #999999;
}

.layout-allyonofile .af-tab.active {
    background: var(--primary-red);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(230,0,0,0.3);
}

.layout-allyonofile .af-tab.active i {
    color: #ffeb3b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

/* ===== WHITE GAME CARDS (HOMEPAGE) ===== */
.layout-allyonofile .af-games {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.layout-allyonofile #afGamesList {
    counter-reset: game-rank;
}

.layout-allyonofile .af-game-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;               /* WHITE card */
    border-radius: var(--radius-lg);
    padding: 14px 14px;
    border: 1px solid #e8e8e8;
    box-shadow: var(--shadow-card);
    transition: all 0.22s ease;
}

.layout-allyonofile #afGamesList .af-game-item {
    counter-increment: game-rank;
}

.layout-allyonofile .af-game-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    border-color: #cccccc;
}

/* Red Circle Rank Badge */
.layout-allyonofile .af-game-rank-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 22px;
    height: 22px;
    background: var(--primary-red);
    border: 2px solid #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    z-index: 10;
}

.layout-allyonofile #afGamesList .af-game-item .af-game-rank-badge::before {
    content: counter(game-rank);
}

/* Game Icon */
.layout-allyonofile .af-game-icon-wrap {
    position: relative;
    width: 66px;
    height: 66px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.layout-allyonofile .af-game-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.layout-allyonofile .af-game-icon-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

/* Game Info */
.layout-allyonofile .af-game-info {
    flex: 1;
    min-width: 0;
}

.layout-allyonofile .af-game-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #111111;               /* Dark text on white card */
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.layout-allyonofile .af-game-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.layout-allyonofile .af-game-meta span {
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.layout-allyonofile .meta-bonus {
    color: #e60000;
}

.layout-allyonofile .meta-bonus i {
    color: #e60000;
}

.layout-allyonofile .meta-withdraw {
    color: #555555;
}

.layout-allyonofile .meta-withdraw i {
    color: #777777;
}

/* Action Wrap */
.layout-allyonofile .af-action-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

/* BLACK Download Button */
.layout-allyonofile .af-get-btn {
    height: 38px;
    padding: 0 16px;
    background: #111111;           /* BLACK button */
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    white-space: nowrap;
}

.layout-allyonofile .af-get-btn:hover {
    background: #333333;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transform: translateY(-1px);
}

.layout-allyonofile .af-get-btn i {
    font-size: 0.78rem;
}

/* CTR Badge - hidden (removed per design) */
.layout-allyonofile .af-game-ctr-badge {
    display: none !important;
}

/* ===== FEATURED SECTION HEADER ===== */
.layout-allyonofile .af-featured-header {
    display: flex;
    align-items: center;
    margin: 16px 0 8px;
}

.layout-allyonofile .af-featured-header span {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 7px;
}

.layout-allyonofile .af-featured-header span i {
    color: #ff5722;
}

/* Featured item gold crown badge */
.layout-allyonofile .af-feat-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 22px;
    height: 22px;
    background: #f59e0b;
    border: 2px solid #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6rem;
    z-index: 10;
}

/* Featured card gold left border */
.layout-allyonofile .af-featured-item {
    border-left: 3px solid #f59e0b !important;
}

/* Divider between featured and all games */
.layout-allyonofile .af-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 12px;
    color: #aaaaaa;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.layout-allyonofile .af-divider::before,
.layout-allyonofile .af-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}

/* ===== QUERY KEYWORD SLIDER ===== */
.layout-allyonofile .af-queries-slider-wrap {
    overflow: hidden;
    margin: 12px 0 20px;
    position: relative;
}

.layout-allyonofile .af-queries-slider {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding-bottom: 4px;
}

.layout-allyonofile .af-queries-slider::-webkit-scrollbar {
    display: none;
}

.layout-allyonofile .af-queries-slider .query-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
}

/* ===== WHITE SEO CONTENT BLOCK ===== */
.layout-allyonofile .af-bottom-seo-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    border: 1px solid #e8e8e8;
    box-shadow: var(--shadow-card);
    margin-top: 16px;
}

.layout-allyonofile .af-bottom-seo-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 10px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 8px;
}

.layout-allyonofile .af-bottom-seo-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #111111;
    margin: 18px 0 6px;
}

.layout-allyonofile .af-bottom-seo-content h3 a {
    color: #0078ff;
    text-decoration: none;
}

.layout-allyonofile .af-bottom-seo-content h3 a:hover {
    text-decoration: underline;
}

.layout-allyonofile .af-bottom-seo-content p {
    font-size: 0.865rem;
    line-height: 1.65;
    color: #555555;
    margin: 0 0 8px;
}

.layout-allyonofile .af-bottom-seo-content p a {
    color: #0078ff;
    text-decoration: none;
}

/* Featured links paragraph */
.layout-allyonofile .featured-links-p {
    font-size: 0.865rem;
    line-height: 1.8;
    color: #555555;
    margin: 0 0 10px;
}

.layout-allyonofile .featured-links-p a {
    color: #0078ff !important;
    text-decoration: none;
    font-weight: 600;
}

.layout-allyonofile .featured-links-p a:hover {
    text-decoration: underline;
}

/* Queries / Keyword Pills */
.layout-allyonofile .queries-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 20px;
}

.layout-allyonofile .query-pill {
    background: #111111;        /* BLACK pills */
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: default;
    transition: background 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.layout-allyonofile .query-pill:hover {
    background: #333333;
}

/* Tips List */
.layout-allyonofile .af-tips-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.layout-allyonofile .af-tips-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.865rem;
    line-height: 1.65;
    color: #555555;
}

.layout-allyonofile .af-tips-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--primary-red);
    font-size: 1.1rem;
    top: -1px;
}

.layout-allyonofile .af-tips-list li strong {
    color: #111111;
    font-weight: 700;
}

/* ===== DARK FOOTER ===== */
.layout-allyonofile .af-footer {
    background: #111111;
    color: #888888;
    padding: 30px 0 0;
    margin-top: 30px;
}

.layout-allyonofile .af-footer-section {
    margin-bottom: 22px;
}

.layout-allyonofile .af-footer-title {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.layout-allyonofile .af-footer-text {
    font-size: 0.84rem;
    line-height: 1.65;
    color: #888888;
}

.layout-allyonofile .af-footer-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.layout-allyonofile .af-footer-list li {
    font-size: 0.84rem;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #888888;
}

.layout-allyonofile .af-footer-list li i {
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===== WHITE COPYRIGHT BAR ===== */
.layout-allyonofile .af-copyright-bar {
    background: #ffffff;
    border-top: 1px solid #dddddd;
    padding: 14px 16px;
    margin-top: 0;
}

.layout-allyonofile .af-copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: #666666;
    max-width: 520px;
    margin: 0 auto;
}

.layout-allyonofile .af-copyright-content p {
    margin: 0;
}

.layout-allyonofile .af-copyright-links {
    display: flex;
    gap: 14px;
}

.layout-allyonofile .af-copyright-links a {
    color: #666666 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.layout-allyonofile .af-copyright-links a:hover {
    color: var(--primary-red) !important;
}

/* ===== TELEGRAM FLOAT ===== */
.layout-allyonofile .af-telegram-float {
    position: fixed;
    bottom: 22px;
    right: 18px;
    width: 52px;
    height: 52px;
    background: #0088cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,136,204,0.45);
    z-index: 998;
    transition: all 0.22s ease;
}

.layout-allyonofile .af-telegram-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,136,204,0.55);
}

/* ===== GAME SLUG DETAIL PAGE ===== */

/* gp-main sits inside af-main > af-container — no own padding-top needed */
.layout-allyonofile .gp-main {
    padding-top: 0 !important;
    padding-bottom: 50px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
}

/* WHITE Info Card - the game detail hero */
.layout-allyonofile .gp-hero {
    margin-bottom: 12px;
}

.layout-allyonofile .gp-info-card {
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    padding: 20px 16px !important;
    box-shadow: var(--shadow-card) !important;
    border: 1px solid #e8e8e8 !important;
}

.layout-allyonofile .gp-info-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.layout-allyonofile .gp-small-icon {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.layout-allyonofile .gp-small-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-allyonofile .gp-small-icon-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
}

.layout-allyonofile .gp-title-block {
    flex: 1;
    min-width: 0;
}

.layout-allyonofile .gp-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #111111 !important;   /* Dark text on white */
    margin: 0 0 4px !important;
}

.layout-allyonofile .gp-verified {
    color: #059669 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

.layout-allyonofile .gp-verified i {
    color: #059669 !important;
}

.layout-allyonofile .gp-meta-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.layout-allyonofile .gp-meta-item {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.layout-allyonofile .gp-meta-item.gift {
    color: #e60000 !important;
}

.layout-allyonofile .gp-meta-item.gift i {
    color: #e60000 !important;
}

.layout-allyonofile .gp-meta-item.bank {
    color: #555555 !important;
}

.layout-allyonofile .gp-meta-item.bank i {
    color: #777777 !important;
}

/* Referral Code Box */
.layout-allyonofile .gp-referral {
    background: #fff5f0 !important;
    border: 1.5px dashed #ff6b35 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    margin-bottom: 14px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.layout-allyonofile .gp-referral > i {
    color: #ff6b35 !important;
}

.layout-allyonofile .gp-ref-label {
    font-size: 0.72rem;
    color: #999;
    white-space: nowrap;
}

.layout-allyonofile .gp-ref-code {
    color: #e84c0b !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    flex: 1;
}

.layout-allyonofile .gp-copy-btn {
    color: #ff6b35 !important;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.layout-allyonofile .gp-copy-btn:hover {
    color: #e84c0b !important;
}

/* Action Buttons */
.layout-allyonofile .gp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.layout-allyonofile .gp-btn-install {
    background: #111111 !important;
    color: #fff !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    padding: 15px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
    transition: all 0.2s !important;
}

.layout-allyonofile .gp-btn-install:hover {
    background: #333333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35) !important;
}

.layout-allyonofile .gp-btn-tg {
    background: linear-gradient(135deg, #2aabee, #229ed9) !important;
    color: #fff !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    padding: 15px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 6px 18px rgba(34,158,217,0.35) !important;
    transition: all 0.2s !important;
}

.layout-allyonofile .gp-btn-tg:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(34,158,217,0.45) !important;
}

/* Description */
.layout-allyonofile .gp-desc {
    font-size: 0.84rem !important;
    color: #555555 !important;
    line-height: 1.65 !important;
    padding-top: 14px !important;
    border-top: 1px solid #eeeeee !important;
    margin-top: 14px !important;
}

/* Popular Apps Section */
.layout-allyonofile .gp-popular {
    padding: 6px 0 0;
}

.layout-allyonofile .gp-section-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #111111 !important;    /* Dark title on white bg */
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.layout-allyonofile .gp-pop-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* WHITE Popular Game Rows */
.layout-allyonofile .gp-pop-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    padding: 12px !important;
    text-decoration: none !important;
    color: #111111 !important;
    box-shadow: var(--shadow-card) !important;
    border: 1px solid #e8e8e8 !important;
    transition: all 0.2s ease !important;
}

.layout-allyonofile .gp-pop-row:hover {
    transform: translateY(-1px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: #cccccc !important;
}

.layout-allyonofile .gp-pop-img-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.layout-allyonofile .gp-pop-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-allyonofile .gp-pop-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.layout-allyonofile .gp-new-tag {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--primary-red);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
}

.layout-allyonofile .gp-pop-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.layout-allyonofile .gp-pop-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #111111 !important;
}

.layout-allyonofile .gp-pop-bonus {
    font-size: 0.78rem !important;
    color: #e60000 !important;
    font-weight: 600 !important;
}

/* BLACK download button on popular rows */
.layout-allyonofile .gp-pop-dl {
    flex-shrink: 0;
    background: #111111 !important;   /* BLACK */
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    transition: background 0.2s !important;
}

.layout-allyonofile .gp-pop-dl:hover {
    background: #333333 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .layout-allyonofile {
        --header-height: 52px;
        --nav-height: 62px;
    }

    .layout-allyonofile .af-header-title {
        font-size: 1rem;
    }

    .layout-allyonofile .af-logo-box {
        width: 34px;
        height: 34px;
    }

    .layout-allyonofile .af-seo-card {
        padding: 16px 14px;
    }

    .layout-allyonofile .af-seo-card h2 {
        font-size: 1.15rem;
    }

    .layout-allyonofile .af-game-item {
        padding: 12px 10px;
        gap: 10px;
    }

    .layout-allyonofile .af-game-icon-wrap {
        width: 58px;
        height: 58px;
    }

    .layout-allyonofile .af-get-btn {
        height: 34px;
        padding: 0 10px;
        font-size: 0.78rem;
    }

    .layout-allyonofile .af-nav-item {
        padding: 4px 3px;
        font-size: 0.63rem;
        min-width: 38px;
    }

    .layout-allyonofile .af-nav-item i {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .layout-allyonofile .af-section-title h2 {
        font-size: 1rem;
    }

    .layout-allyonofile .af-tab {
        font-size: 0.84rem;
        height: 40px;
    }

    .layout-allyonofile .af-copyright-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}
