* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    padding-bottom: 40px;
}

/* Header Styles */
.app-header {
    background-color: #7c3aed;
    color: white;
    padding: 12px 16px;
}

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

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

.logo-img {
    border-radius: 8px;
}

.logo-area h1 {
    font-size: 1.2rem;
    font-weight: 600;
}

.header-menu {
    font-size: 1.2rem;
    cursor: pointer;
}

/* Navigation Menu */
.nav-links {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-top: 12px;
    white-space: nowrap;
    scrollbar-width: none;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Main Container */
.main-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
}

/* Hero Section */
.hero-section {
    background: white;
    padding: 24px 16px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 16px;
}

.hero-section h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #111;
}

.hero-section h2 span {
    color: #7c3aed;
}

.hero-section p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
    padding: 0 10px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.btn-primary {
    background-color: #7c3aed;
    color: white;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.stat-item i {
    font-size: 1.2rem;
    color: #7c3aed;
}

.stat-item strong {
    display: block;
    font-size: 0.95rem;
    color: #111;
}

.stat-item span {
    font-size: 0.75rem;
    color: #777;
}

/* Tab Container */
.tab-container {
    display: flex;
    background: white;
    padding: 6px;
    border-radius: 16px;
    gap: 6px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn.active {
    background-color: #7c3aed;
    color: white;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 4px;
}

.section-header h3 {
    font-size: 1.1rem;
    color: #111;
}

.dropdown-sort {
    background: #7c3aed;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* Game List Cards */
.game-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-card {
    background: white;
    padding: 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.game-info-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.game-details h4 {
    font-size: 0.95rem;
    color: #111;
    margin-bottom: 3px;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 2px;
}

.game-meta i {
    color: #7c3aed;
}

.download-btn {
    background-color: #7c3aed;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.2);
}
