/* ========================================
   YONO GAMES - Main Stylesheet
   Mobile-First Responsive Design
   Green Theme - Clean & Compact
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #22c55e;
    --primary-bg: #f0fdf4;
    --green: #16a34a;
    --green-dark: #15803d;
    --green-light: #dcfce7;
    --dark: #1a1a2e;
    --text: #374151;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg: #f8fdf8;
    --bg-light: #fafdfb;
    --white: #ffffff;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 4px 20px rgba(22, 163, 74, 0.18);
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 14px;
}

/* ===== Header ===== */
.site-header {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.header-logo-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.header-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== Navigation Bar (hidden - removed) ===== */
.nav-bar {
    display: none;
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 270px;
    height: 100%;
    background: var(--white);
    z-index: 2001;
    transition: right 0.3s ease;
    padding: 18px;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-menu-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    background: var(--primary-bg);
    color: var(--primary);
}

.mobile-menu-links a .nav-icon {
    font-size: 16px;
    width: 22px;
    text-align: center;
}

/* ===== Hero Section ===== */
.hero {
    background: var(--white);
    padding: 32px 0 28px;
    text-align: center;
}

.hero-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 13px;
    color: var(--text-light);
    max-width: 380px;
    margin: 0 auto 22px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-bg);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-download {
    background: var(--primary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-green);
}

/* ===== Stats Section (hidden) ===== */
.stats-section {
    display: none;
}

/* ===== Tabs Section ===== */
.tabs-section {
    padding: 20px 0 16px;
    background: var(--bg);
}

.tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.tab-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--white);
}

.tab-btn .tab-icon {
    font-size: 14px;
}

/* ===== Games List Header ===== */
.games-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.games-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.sort-dropdown {
    position: relative;
}

.sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.sort-btn:hover {
    background: var(--primary-dark);
}

.sort-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 140px;
    z-index: 100;
    display: none;
    overflow: hidden;
}

.sort-menu.active {
    display: block;
}

.sort-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text);
    transition: var(--transition);
}

.sort-menu a:hover,
.sort-menu a.active {
    background: var(--primary-bg);
    color: var(--primary);
}

/* ===== Game Cards ===== */
.games-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
}

.game-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: 1.5px solid transparent;
    box-shadow: var(--shadow);
}

.game-card:hover {
    border-color: rgba(22, 163, 74, 0.15);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.game-card.featured {
    border-color: rgba(22, 163, 74, 0.25);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.02), rgba(34, 197, 94, 0.04));
}

.game-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.game-card-logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-bg), #dcfce7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
}

.game-card-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.game-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-players {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-players .icon {
    font-size: 12px;
    flex-shrink: 0;
}

.game-card-bonus {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-bonus .icon {
    font-size: 12px;
    flex-shrink: 0;
}

.game-card-action {
    flex-shrink: 0;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    padding: 10px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb-list a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    color: var(--text-muted);
    font-size: 10px;
}

/* ===== Game Detail Page ===== */
.game-hero {
    background: var(--white);
    padding: 28px 0 22px;
    text-align: center;
}

.game-hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    margin: 0 auto 18px;
    object-fit: cover;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.game-hero-logo-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary-bg), #dcfce7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.game-hero-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.game-hero-name .highlight {
    color: var(--primary);
}

.game-hero-tagline {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.game-hero-subtitle {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 20px;
}

.game-hero-subtitle strong {
    color: var(--dark);
}

.game-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
}

/* ===== Game Stats Bar ===== */
.game-stats-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #14532d 100%);
    padding: 14px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.game-stats-bar::-webkit-scrollbar {
    display: none;
}

.game-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    min-width: max-content;
    padding: 0 8px;
}

.game-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 72px;
}

.game-stat-icon {
    font-size: 18px;
    margin-bottom: 1px;
}

.game-stat-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.game-stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    white-space: nowrap;
}

/* ===== App Info Table ===== */
.app-info-section {
    margin-bottom: 20px;
}

.app-info-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.app-info-table tr {
    border-bottom: 1px solid var(--border-light);
}

.app-info-table tr:last-child {
    border-bottom: none;
}

.app-info-table td {
    padding: 10px 14px;
    font-size: 13px;
    vertical-align: middle;
}

.app-info-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 40%;
    background: var(--bg-light);
}

.app-info-table td:last-child {
    color: var(--text);
}

/* ===== Share Buttons ===== */
.share-section {
    margin-bottom: 20px;
}

.share-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.copy-link { background: var(--dark); border: none; cursor: pointer; }

/* ===== Accordion (Key Features, Safety, Why Choose) ===== */
.accordion-section {
    margin-bottom: 10px;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.accordion-item.active {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(22, 163, 74, 0.12);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    background: var(--white);
    border-left: 3px solid var(--primary);
    user-select: none;
}

.accordion-header:hover {
    background: #f8faf9;
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, #f0fdf4, var(--white));
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.accordion-arrow {
    font-size: 12px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-bg);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    background: var(--primary);
    color: var(--white);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-body {
    max-height: 5000px;
}

.accordion-content {
    padding: 0 16px 16px;
    border-top: 1px solid var(--border-light);
}

/* ===== Feature List (inside accordion) ===== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-light);
}

.feature-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-list li:first-child {
    padding-top: 10px;
}

.feature-dot {
    width: 7px;
    height: 7px;
    min-width: 7px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 6px;
    flex-shrink: 0;
}

/* ===== Similar Games ===== */
.similar-games-section {
    margin-bottom: 20px;
}

.similar-games-section .games-list {
    padding-bottom: 0;

}

/* ===== Game Content Section ===== */
.game-content {
    padding: 20px 0;
}

.game-page-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}

.game-description {
    font-size: 13px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.game-description p {
    margin-bottom: 10px;
}

.game-about-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.game-about-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.game-about-text p {
    margin-bottom: 10px;
}

/* ===== Accordion ===== */
.accordion-section {
    margin-bottom: 20px;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary-light);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-icon {
    font-size: 18px;
    color: var(--primary);
    width: 22px;
    text-align: center;
}

.accordion-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.accordion-arrow {
    font-size: 16px;
    color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-body {
    max-height: 2000px;
}

.accordion-content {
    padding: 0 16px 16px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.7;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
}

.accordion-content ul li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.accordion-content ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    font-size: 11px;
}

/* ===== System Requirements ===== */
.requirements-section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title .icon {
    font-size: 18px;
    color: var(--primary);
}

.requirements-list {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border);
}

.requirements-list p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.7;
}

/* ===== Install Steps ===== */
.install-section {
    margin-bottom: 20px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.install-step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition);
}

.install-step:hover {
    border-color: var(--primary-light);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    padding-top: 3px;
}

/* ===== FAQ Section ===== */
.faq-section {
    margin-bottom: 20px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    gap: 10px;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-arrow {
    font-size: 16px;
    color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 16px 16px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.7;
}

/* ===== Reviews Section ===== */
.reviews-section {
    margin-bottom: 20px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 16px;
    border: 1px solid var(--border);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.review-rating {
    color: #f59e0b;
    font-size: 12px;
    letter-spacing: 1px;
}

.review-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}

/* ===== Warning Box ===== */
.warning-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
}

.warning-box-title {
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.warning-box p {
    font-size: 12px;
    color: #78350f;
    line-height: 1.6;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-text {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-green);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* When sticky download is visible, move scroll-top up */
@media (max-width: 767px) {
    body.game-page .scroll-top {
        bottom: 74px;
    }
}

/* ===== Info Pages (About, Contact, Disclaimer) ===== */
.info-page {
    padding: 24px 0;
}

.info-page-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 18px;
    text-align: center;
}

.info-page-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text);
    line-height: 1.7;
}

.info-page-content p {
    margin-bottom: 12px;
}

.info-page-content h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 18px 0 10px;
}

.info-page-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin: 16px 0 8px;
}

.info-page-content ul {
    padding-left: 18px;
    margin-bottom: 12px;
}

.info-page-content ul li {
    margin-bottom: 6px;
    list-style: disc;
}

.info-page-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== Contact Page ===== */
.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 18px;
    border: 1px solid var(--border);
    text-align: center;
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item .icon {
    font-size: 18px;
}

.contact-info-item a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Category Page ===== */
.category-header {
    padding: 24px 0 16px;
    text-align: center;
}

.category-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.category-subtitle {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== Loading Animation ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.4s ease forwards;
}

.game-card:nth-child(1) { animation-delay: 0.05s; }
.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.15s; }
.game-card:nth-child(4) { animation-delay: 0.2s; }
.game-card:nth-child(5) { animation-delay: 0.25s; }
.game-card:nth-child(6) { animation-delay: 0.3s; }
.game-card:nth-child(7) { animation-delay: 0.35s; }
.game-card:nth-child(8) { animation-delay: 0.4s; }

/* ===== No Games Message ===== */
.no-games {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
}

.no-games-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.no-games-text {
    font-size: 14px;
    font-weight: 500;
}

/* ===== Responsive Design ===== */
@media (min-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .game-card-logo,
    .game-card-logo-placeholder {
        width: 62px;
        height: 62px;
    }

    .game-card-name {
        font-size: 15px;
    }

    .game-card {
        padding: 14px;
        gap: 12px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    .hero {
        padding: 48px 0 38px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .game-card {
        padding: 16px;
    }

    .game-card-logo,
    .game-card-logo-placeholder {
        width: 68px;
        height: 68px;
    }

    .game-card-name {
        font-size: 16px;
    }

    .game-hero-logo,
    .game-hero-logo-placeholder {
        width: 170px;
        height: 170px;
    }

    .game-hero-name {
        font-size: 32px;
    }

    .games-title {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 800px;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ===== Print Styles ===== */
@media print {
    .site-header, .nav-bar, .scroll-top, .mobile-menu, .mobile-menu-overlay, .sticky-download {
        display: none !important;
    }
}
