/**
 * Clash of Clans Gaming Platform - Theme Stylesheet
 * @version 1.0.0
 * @prefix pg7a-
 */

/* CSS Variables */
:root {
    --pg7a-primary: #FF6B00;
    --pg7a-primary-dark: #E55A00;
    --pg7a-secondary: #1A1A2E;
    --pg7a-accent: #FFD700;
    --pg7a-bg-dark: #0F0F1A;
    --pg7a-bg-card: #1E1E32;
    --pg7a-text-light: #FFFFFF;
    --pg7a-text-muted: #B0B0C0;
    --pg7a-border: #2A2A44;
    --pg7a-gradient: linear-gradient(135deg, #FF6B00 0%, #FF8C00 100%);
    --pg7a-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--pg7a-bg-dark); color: var(--pg7a-text-light); line-height: 1.6; min-height: 100vh; }
.pg7a-no-scroll { overflow: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; }

/* Header */
.pg7a-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(180deg, var(--pg7a-secondary) 0%, rgba(26, 26, 46, 0.95) 100%); padding: 12px 16px; transition: all 0.3s ease; border-bottom: 1px solid var(--pg7a-border); }
.pg7a-header-scrolled { background: rgba(26, 26, 46, 0.98); box-shadow: var(--pg7a-shadow); }
.pg7a-header-inner { max-width: 430px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.pg7a-logo { display: flex; align-items: center; gap: 8px; }
.pg7a-logo img { height: 36px; width: auto; }
.pg7a-logo-text { font-size: 18px; font-weight: 700; color: var(--pg7a-accent); }
.pg7a-header-actions { display: flex; gap: 10px; }
.pg7a-btn { padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; }
.pg7a-btn-login { background: transparent; border: 1px solid var(--pg7a-primary); color: var(--pg7a-primary); }
.pg7a-btn-login:hover { background: var(--pg7a-primary); color: var(--pg7a-text-light); }
.pg7a-btn-register { background: var(--pg7a-gradient); color: var(--pg7a-text-light); box-shadow: var(--pg7a-shadow); }
.pg7a-btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4); }

/* Mobile Menu */
#pro5beMobileMenu { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: var(--pg7a-secondary); z-index: 9999; transition: right 0.3s ease; padding: 20px; overflow-y: auto; }
.pro5be-menu-active { right: 0 !important; }
#pro5beOverlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 9998; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.pro5be-overlay-active { opacity: 1; visibility: visible; }
.pg7a-mobile-nav { list-style: none; margin-top: 60px; }
.pg7a-mobile-nav li { margin-bottom: 16px; }
.pg7a-mobile-nav a { display: block; padding: 12px 16px; color: var(--pg7a-text-light); font-size: 16px; border-radius: 8px; transition: background 0.3s ease; }
.pg7a-mobile-nav a:hover { background: var(--pg7a-bg-card); color: var(--pg7a-primary); }

/* Hero Section */
.pg7a-hero { padding: 100px 16px 40px; background: linear-gradient(180deg, var(--pg7a-bg-dark) 0%, var(--pg7a-secondary) 100%); text-align: center; }
.pg7a-hero-title { font-size: 28px; font-weight: 800; margin-bottom: 16px; background: var(--pg7a-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pg7a-hero-subtitle { font-size: 16px; color: var(--pg7a-text-muted); margin-bottom: 24px; max-width: 360px; margin-left: auto; margin-right: auto; }
.pg7a-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pg7a-btn-large { padding: 14px 32px; font-size: 16px; }

/* Game Categories */
.pg7a-categories { padding: 20px 16px; background: var(--pg7a-bg-dark); }
.pg7a-section-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--pg7a-accent); text-align: center; }
.pg7a-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
.pg7a-tab-btn { flex-shrink: 0; padding: 10px 20px; background: var(--pg7a-bg-card); border: 1px solid var(--pg7a-border); border-radius: 20px; color: var(--pg7a-text-muted); font-size: 14px; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.pg7a-tab-btn:hover, .pro5be-tab-active { background: var(--pg7a-primary); border-color: var(--pg7a-primary); color: var(--pg7a-text-light); }

/* Game Grid */
.pg7a-games-section { padding: 20px 16px; background: var(--pg7a-bg-dark); }
.pg7a-games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pg7a-game-card { background: var(--pg7a-bg-card); border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--pg7a-border); }
.pg7a-game-card:hover { transform: translateY(-4px); box-shadow: var(--pg7a-shadow); }
.pg7a-game-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pg7a-game-info { padding: 8px; text-align: center; }
.pg7a-game-name { font-size: 11px; font-weight: 600; color: var(--pg7a-text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro5be-fade-in { animation: fadeIn 0.3s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Features Section */
.pg7a-features { padding: 40px 16px; background: var(--pg7a-secondary); }
.pg7a-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pg7a-feature-card { background: var(--pg7a-bg-card); padding: 20px; border-radius: 12px; text-align: center; border: 1px solid var(--pg7a-border); transition: transform 0.3s ease; }
.pg7a-feature-card:hover { transform: translateY(-4px); }
.pg7a-feature-icon { font-size: 32px; margin-bottom: 12px; color: var(--pg7a-primary); }
.pg7a-feature-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--pg7a-text-light); }
.pg7a-feature-desc { font-size: 12px; color: var(--pg7a-text-muted); }

/* Promo Section */
.pg7a-promo { padding: 30px 16px; background: linear-gradient(135deg, var(--pg7a-primary) 0%, var(--pg7a-primary-dark) 100%); text-align: center; margin: 20px 16px; border-radius: 16px; }
.pg7a-promo-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.pg7a-promo-desc { font-size: 14px; margin-bottom: 20px; opacity: 0.9; }

/* Footer */
.pg7a-footer { background: var(--pg7a-secondary); padding: 40px 16px 100px; border-top: 1px solid var(--pg7a-border); }
.pg7a-footer-logo { text-align: center; margin-bottom: 24px; }
.pg7a-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.pg7a-footer-link { display: block; padding: 10px; text-align: center; color: var(--pg7a-text-muted); font-size: 14px; border-radius: 8px; transition: all 0.3s ease; }
.pg7a-footer-link:hover { background: var(--pg7a-bg-card); color: var(--pg7a-primary); }
.pg7a-partners { text-align: center; margin-bottom: 24px; }
.pg7a-partners-title { font-size: 14px; color: var(--pg7a-text-muted); margin-bottom: 12px; }
.pg7a-partners-logos { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pg7a-copyright { text-align: center; font-size: 12px; color: var(--pg7a-text-muted); }

/* Mobile Bottom Navigation */
.pg7a-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, var(--pg7a-secondary) 100%); display: flex; justify-content: space-around; align-items: center; height: 64px; border-top: 1px solid var(--pg7a-border); padding: 4px 0; }
.pg7a-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 60px; min-height: 56px; padding: 6px 8px; cursor: pointer; transition: all 0.3s ease; border-radius: 12px; }
.pg7a-nav-item:hover { background: rgba(255, 107, 0, 0.1); }
.pg7a-nav-item.active { background: rgba(255, 107, 0, 0.15); }
.pg7a-nav-item.active .pg7a-nav-icon, .pg7a-nav-item.active .pg7a-nav-text { color: var(--pg7a-primary); }
.pg7a-nav-icon { font-size: 22px; margin-bottom: 4px; color: var(--pg7a-text-muted); transition: color 0.3s ease; }
.pg7a-nav-text { font-size: 10px; color: var(--pg7a-text-muted); transition: color 0.3s ease; }

/* Content Pages */
.pg7a-content-page { padding: 80px 16px 100px; min-height: 100vh; }
.pg7a-page-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--pg7a-border); }
.pg7a-page-title { font-size: 24px; font-weight: 700; color: var(--pg7a-accent); margin-bottom: 8px; }
.pg7a-page-desc { font-size: 14px; color: var(--pg7a-text-muted); }
.pg7a-content-section { margin-bottom: 24px; }
.pg7a-content-section h2 { font-size: 18px; font-weight: 600; color: var(--pg7a-primary); margin-bottom: 12px; }
.pg7a-content-section p { font-size: 14px; line-height: 1.8; color: var(--pg7a-text-light); margin-bottom: 12px; }
.pg7a-content-section ul, .pg7a-content-section ol { padding-left: 20px; margin-bottom: 12px; }
.pg7a-content-section li { font-size: 14px; line-height: 1.8; color: var(--pg7a-text-light); margin-bottom: 8px; }

/* Responsive Design */
@media (max-width: 430px) {
    .pg7a-hero-title { font-size: 24px; }
    .pg7a-games-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .pg7a-game-name { font-size: 10px; }
}

@media (min-width: 769px) {
    .pg7a-header { padding: 16px 24px; }
    .pg7a-header-inner { max-width: 1200px; }
    .pg7a-hero { padding: 120px 24px 60px; }
    .pg7a-hero-title { font-size: 42px; }
    .pg7a-games-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
    .pg7a-features-grid { grid-template-columns: repeat(4, 1fr); }
    .pg7a-bottom-nav { display: none; }
    .pg7a-footer, .pg7a-content-page { padding-bottom: 40px; }
}
