/*
Theme Name: APK Listing Theme
Theme URI: https://example.com/apk-theme
Author: Custom Developer
Description: Mobile-first responsive WordPress theme for APK app listings, Rummy, and Yono gaming downloads.
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: mobile-first, custom-post-type, apk, bootstrap5
*/

:root {
  --theme-dark-blue: #0b1e38;
  --theme-red: #dc3545;
  --theme-red-hover: #bb2d3b;
  --theme-green: #28a745;
  --theme-green-hover: #218838;
  --theme-bg: #f4f6f9;
  --theme-card-bg: #ffffff;
}

body {
  background-color: var(--theme-bg);
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  padding-bottom: 70px; /* Space for sticky footer */
}

/* Header Styling */
.header-dark {
  background-color: var(--theme-dark-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-links-menu {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;
  overflow-x: auto;
}

.nav-links-menu a {
  color: #333;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 12px;
  display: inline-block;
}

.nav-links-menu a:hover {
  color: var(--theme-red);
}

/* App Card Layout */
.app-card {
  background-color: var(--theme-card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #eaeaea;
  padding: 12px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Left Side Card Elements */
.app-card-left {
  position: relative;
  width: 90px;
  flex-shrink: 0;
}

.rank-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  background-color: var(--theme-green);
  color: #fff;
  font-weight: bold;
  font-size: 0.85rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  z-index: 2;
}

.app-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.star-rating {
  color: #ffc107;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Right Side Card Elements */
.app-card-right {
  flex-grow: 1;
}

.app-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111;
  text-decoration: none;
}

.app-title a {
  color: inherit;
  text-decoration: none;
}

.app-title a:hover {
  color: var(--theme-red);
}

.app-meta-item {
  font-size: 0.88rem;
  margin-bottom: 2px;
  font-weight: 600;
}

.text-bonus {
  color: var(--theme-red);
}

.text-withdrawal {
  color: var(--theme-green);
}

.btn-download-app {
  background-color: var(--theme-green);
  color: white;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.95rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-download-app:hover {
  background-color: var(--theme-green-hover);
  color: white;
}

.btn-red {
  background-color: var(--theme-red);
  color: #fff;
  font-weight: 600;
  border: none;
}

.btn-red:hover {
  background-color: var(--theme-red-hover);
  color: #fff;
}

/* Floating Telegram Button */
.floating-telegram {
  position: fixed;
  bottom: 75px;
  right: 15px;
  background-color: #0088cc;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s;
}

.floating-telegram:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Sticky Footer Bar */
.sticky-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--theme-dark-blue);
  padding: 10px 15px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

/* SEO & Schema Metadata Container */
.schema-data {
  display: none;
}
