/**
 * Allyono App Store - Public Site Styles
 * Enhanced Professional Design
 */

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

:root {
    /* Dynamic Theme Variables - overridden by PHP */
    --primary: #FF5722;
    --secondary: #FF7043;
    --accent: #E64A19;
    --bg: #F9F5F2;
    --card-bg: #FFFFFF;
    --text: #0F0F1A;
    --text-muted: #64748B;
    --border: #E8E0DA;
    --shadow: 0 4px 24px rgba(255,87,34,0.13);
    --hover-shadow: 0 10px 36px rgba(255,87,34,0.22);
    --header-gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    
    /* Legacy support and fixed colors */
    --primary-orange: var(--primary);
    --secondary-orange: var(--secondary);
    --dark-orange: var(--accent);
    --light-orange: var(--bg);
    --cream-bg: var(--bg);
    --white: var(--card-bg);
    --bg-light: var(--bg);
    --text-dark: var(--text);
    --text-gray: var(--text-muted);
    --green: #10B981;
    --blue: #6366F1;
    --red: #EF4444;
    --gold: #F59E0B;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--cream-bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Header - Premium Gradient */
.main-header {
    background: var(--header-gradient);
    padding: 18px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(213,0,0,0.35);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.site-name {
    color: white;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-toggle {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

/* Navigation Tabs - Pill Style */
.main-nav {
    display: flex;
    background: var(--white);
    padding: 12px 15px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 25px;
    background: transparent;
}

.nav-tab:hover {
    color: var(--primary-orange);
    background: var(--light-orange);
}

.nav-tab.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    box-shadow: 0 4px 14px rgba(255,87,34,0.35);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 99;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-item {
    display: block;
    padding: 18px 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-item.active {
    background: var(--light-orange);
    color: var(--primary-orange);
}

.mobile-nav-item:hover {
    background: #f9f9f9;
    padding-left: 30px;
}

/* Main Content */
.main-content {
    padding: 0 15px 20px;
}

/* Featured Section - Slider */
.featured-section {
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 12px;
}

.featured-slider-wrap {
    position: relative;
}

.featured-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 15px 6px;
    cursor: grab;
}

.featured-slider:active {
    cursor: grabbing;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

.featured-card {
    flex: 0 0 calc(58% - 7px);
    min-width: calc(58% - 7px);
    scroll-snap-align: start;
    background: linear-gradient(160deg, #fff 0%, #FFF8F5 100%);
    border-radius: 22px;
    padding: 22px 14px 18px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(255,107,53,0.12);
    position: relative;
    border: 1.5px solid rgba(255,107,53,0.12);
    transition: box-shadow 0.3s, transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.featured-card:hover {
    box-shadow: 0 12px 32px rgba(255,107,53,0.22);
    transform: translateY(-3px);
}

/* Slider dot indicators */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 14px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1C9C4;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-block;
}

.slider-dot.active {
    background: var(--primary-orange);
    width: 22px;
    border-radius: 4px;
}

.fire-icon {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(255,107,53,0.4));
    animation: firePulse 2s ease-in-out infinite;
}

@keyframes firePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.15);
    }
}

.app-icon-large {
    width: 78px;
    height: 78px;
    margin: 14px auto 14px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.14);
    border: 3px solid var(--white);
}

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

.icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

.game-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.bonus-badge {
    background: linear-gradient(135deg, var(--light-orange) 0%, #FFE8E0 100%);
    color: var(--dark-orange);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
    border: 1px solid rgba(255,107,53,0.2);
}

.bonus-badge i {
    margin-right: 5px;
    color: var(--primary-orange);
}

.withdraw-info {
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.withdraw-info i {
    margin-right: 6px;
    color: var(--blue);
}

.download-btn-large {
    display: block;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255,107,53,0.35);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.download-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.45);
}

.download-btn-large i {
    margin-left: 8px;
    font-size: 13px;
}

/* Filter Section - Modern Pills */
.filter-section {
    margin-bottom: 25px;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none;
}

.filter-buttons::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex-shrink: 0;
    padding: 14px 24px;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-gray);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn i {
    margin-right: 8px;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255,87,34,0.4);
    transform: scale(1.02);
}

.filter-btn[data-category="NEW APPS"] i {
    color: #FF5722;
}

.filter-btn[data-category="NEW YONO"] {
    background: #EBF5FF;
    color: var(--blue);
}

.filter-btn[data-category="NEW YONO"].active {
    background: linear-gradient(135deg, var(--blue) 0%, #2563EB 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(59,130,246,0.35);
}

/* Games List - Premium Cards */
.games-list-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-item {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(255,107,53,0.15);
}

.game-rank {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255,107,53,0.3);
}

.game-icon {
    width: 66px;
    height: 66px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    border: 2px solid var(--white);
}

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

.game-icon .icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
}

.game-details {
    flex: 1;
    min-width: 0;
}

.game-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1A1A2E;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    animation: shimmer 2s infinite;
}

.featured-badge i {
    font-size: 8px;
    margin-right: 3px;
}

@keyframes shimmer {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 215, 0, 0.6);
    }
}

.game-bonus {
    font-size: 13px;
    color: var(--dark-orange);
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.game-bonus i {
    margin-right: 6px;
    color: var(--primary-orange);
}

.game-withdraw {
    font-size: 12px;
    color: var(--green);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.game-withdraw i {
    margin-right: 6px;
    color: var(--blue);
    font-size: 11px;
}

.game-code {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.game-code i {
    margin-right: 6px;
    color: #9CA3AF;
}

.download-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,107,53,0.3);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}

/* Empty State */
.empty-games {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.empty-games i {
    font-size: 56px;
    color: #E5E7EB;
    margin-bottom: 20px;
}

.empty-games p {
    font-size: 15px;
}

/* Telegram Float Button - Premium */
.telegram-float {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue) 0%, #2563EB 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(59,130,246,0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 98;
    border: 3px solid white;
}

.telegram-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 35px rgba(59,130,246,0.5);
}

.telegram-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--blue);
    animation: ripple 2s infinite;
    z-index: -1;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 25px 20px;
    color: var(--text-gray);
    font-size: 13px;
    background: var(--bg-light);
    margin-top: 30px;
    font-weight: 500;
}

/* SEO & Accessibility Enhancements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive - Mobile First */
@media (max-width: 400px) {
    .main-header {
        padding: 15px 15px;
    }
    
    .site-name {
        font-size: 16px;
    }
    
    .site-logo {
        height: 42px;
    }
    
    .nav-tab {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .featured-grid {
        gap: 12px;
    }
    
    .featured-card {
        padding: 15px 12px;
        border-radius: 20px;
    }
    
    .app-icon-large {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }
    
    .game-name {
        font-size: 14px;
    }
    
    .bonus-badge {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .download-btn-large {
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .filter-btn {
        padding: 12px 18px;
        font-size: 12px;
    }
    
    .game-item {
        padding: 15px 12px;
        gap: 12px;
    }
    
    .game-icon {
        width: 55px;
        height: 55px;
        border-radius: 14px;
    }
    
    .game-title {
        font-size: 14px;
    }
    
    .download-btn {
        padding: 10px 16px;
        font-size: 11px;
    }
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    .app-container {
        max-width: 600px;
    }
    
    .featured-grid {
        gap: 20px;
    }
    
    .featured-card {
        padding: 25px 20px;
    }
    
    .app-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .game-icon {
        width: 70px;
        height: 70px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .main-nav,
    .telegram-float,
    .download-btn,
    .download-btn-large {
        display: none !important;
    }
    
    .app-container {
        max-width: 100%;
    }
    
    .game-item,
    .featured-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   GAME DETAIL PAGE (gp-* prefix)
   ============================================ */

.back-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.25); color: #fff;
    text-decoration: none; font-size: 16px;
    transition: background 0.2s; flex-shrink: 0;
}
.back-btn:hover { background: rgba(255,255,255,0.4); }

.gp-main { padding: 14px 14px 30px; }

/* Hero section */
.gp-hero { margin-bottom: 6px; }

.gp-info-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px 16px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
}

/* Icon + title row */
.gp-info-top {
    display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px;
}
.gp-small-icon {
    width: 80px; height: 80px; border-radius: 18px;
    overflow: hidden; flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.gp-small-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-small-icon-ph {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #FF8C42, #FF6B35);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 32px;
}
.gp-title-block { flex: 1; min-width: 0; padding-top: 2px; }
.gp-title {
    font-size: 20px; font-weight: 800; color: #1a1a2e;
    line-height: 1.2; margin-bottom: 5px;
}
.gp-verified {
    display: inline-flex; align-items: center; gap: 4px;
    color: #059669; font-size: 12px; font-weight: 600;
    margin-bottom: 8px;
}
.gp-verified i { color: #059669; font-size: 13px; }

/* Meta info (bonus/withdraw) inline */
.gp-meta-row { display: flex; flex-direction: column; gap: 4px; }
.gp-meta-item {
    font-size: 13px; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
}
.gp-meta-item.gift { color: #FF6B35; }
.gp-meta-item.gift i { color: #FF6B35; }
.gp-meta-item.bank { color: #3B82F6; }
.gp-meta-item.bank i { color: #3B82F6; }

/* Referral */
.gp-referral {
    display: flex; align-items: center; gap: 8px;
    background: #FFF5F0; border: 1.5px dashed #FF6B35;
    border-radius: 12px; padding: 10px 14px; margin-bottom: 14px;
}
.gp-referral > i { color: #FF6B35; font-size: 13px; flex-shrink: 0; }
.gp-ref-label { font-size: 11px; color: #999; white-space: nowrap; }
.gp-ref-code { flex: 1; font-size: 14px; font-weight: 800; color: #e84c0b; letter-spacing: 1px; }
.gp-copy-btn {
    background: none; border: none; color: #FF6B35;
    cursor: pointer; font-size: 16px; padding: 2px 4px;
    transition: color 0.2s; flex-shrink: 0;
}
.gp-copy-btn:hover { color: #e84c0b; }

/* Action buttons */
.gp-actions { display: flex; flex-direction: column; gap: 10px; }
.gp-btn-install {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, #FF8C42, #FF6B35);
    color: #fff; font-size: 15px; font-weight: 800;
    padding: 16px; border-radius: 14px; text-decoration: none;
    letter-spacing: 0.5px; text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
    transition: transform 0.15s, box-shadow 0.15s;
}
.gp-btn-install:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,53,0.5); }
.gp-btn-install i { font-size: 16px; }

.gp-btn-tg {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    color: #fff; font-size: 15px; font-weight: 800;
    padding: 16px; border-radius: 14px; text-decoration: none;
    letter-spacing: 0.5px; text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(34,158,217,0.4);
    transition: transform 0.15s, box-shadow 0.15s;
}
.gp-btn-tg:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(34,158,217,0.5); }
.gp-btn-tg i { font-size: 16px; }

/* Description */
.gp-desc {
    font-size: 13px; color: #777; line-height: 1.6;
    padding-top: 14px; border-top: 1px solid #F0EDE9; margin-top: 14px;
}

/* Popular Apps — vertical list */
.gp-popular { padding: 16px 0 0; }
.gp-section-title {
    font-size: 17px; font-weight: 800; color: #1a1a2e;
    margin-bottom: 12px;
}
.gp-pop-list { display: flex; flex-direction: column; gap: 10px; }

.gp-pop-row {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 14px; padding: 11px 13px;
    text-decoration: none; color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.15s, box-shadow 0.15s;
}
.gp-pop-row:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(255,107,53,0.13); }

.gp-pop-img-wrap {
    position: relative; width: 54px; height: 54px;
    border-radius: 13px; overflow: hidden; flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
.gp-pop-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-pop-ph {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #FF8C42, #FF6B35);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
}
.gp-new-tag {
    position: absolute; top: -4px; left: -4px;
    background: #EF4444; color: #fff;
    font-size: 8px; font-weight: 800;
    padding: 2px 5px; border-radius: 4px; letter-spacing: 0.3px;
}
.gp-pop-details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gp-pop-name { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.gp-pop-bonus { font-size: 12px; color: #FF6B35; font-weight: 600; }

.gp-pop-dl {
    flex-shrink: 0;
    background: linear-gradient(135deg, #FF6B35, #e84c0b);
    color: #fff; font-size: 11px; font-weight: 800;
    padding: 9px 13px; border-radius: 10px;
    white-space: nowrap; display: flex; align-items: center; gap: 5px;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}
.gp-pop-dl i { font-size: 10px; }

/* legacy */
.fire-emoji { font-style: normal; }


/* Ensure featured-card works as anchor on index */
a.featured-card {
    cursor: pointer;
}
a.featured-card .download-btn-large,
span.download-btn-large {
    display: block;
    text-align: center;
}
