/*
Theme Name: APKStore
Theme URI: https://apkstore.com
Author: APKStore Team
Author URI: https://apkstore.com
Description: A modern APK download store theme with dark mode support
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apkstore
*/

/* Base styles will be handled by Tailwind CSS */
/* Custom CSS can be added below */

:root {
    --primary: 142 70% 40%;
    --primary-foreground: 0 0% 100%;
    --background: 0 0% 98%;
    --foreground: 220 20% 10%;
    --secondary: 220 10% 94%;
    --secondary-foreground: 220 20% 10%;
    --muted: 220 10% 92%;
    --muted-foreground: 220 10% 45%;
    --accent: 38 92% 50%;
    --border: 220 10% 88%;
    --destructive: 0 84% 60%;
}

.dark {
    --primary: 142 70% 45%;
    --primary-foreground: 0 0% 100%;
    --background: 220 20% 8%;
    --foreground: 0 0% 95%;
    --secondary: 220 15% 13%;
    --secondary-foreground: 0 0% 95%;
    --muted: 220 15% 15%;
    --muted-foreground: 220 10% 55%;
    --accent: 38 92% 50%;
    --border: 220 15% 18%;
    --destructive: 0 84% 60%;
}

.light {
    --primary: 142 70% 40%;
    --primary-foreground: 0 0% 100%;
    --background: 0 0% 98%;
    --foreground: 220 20% 10%;
    --secondary: 220 10% 94%;
    --secondary-foreground: 220 20% 10%;
    --muted: 220 10% 92%;
    --muted-foreground: 220 10% 45%;
    --accent: 38 92% 50%;
    --border: 220 10% 88%;
    --destructive: 0 84% 60%;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass card effect */
.glass-card {
    background: hsl(var(--secondary) / 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: 1rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(var(--secondary));
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--muted-foreground) / 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--muted-foreground) / 0.5);
}

/* Sidebar styles */
.sidebar {
    width: 260px;
    transition: width 0.3s ease;
}

.sidebar.collapsed {
    width: 70px;
}

/* App icon styles */
.app-icon {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Button styles */
.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.btn-download {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.2s;
}

.btn-download:hover {
    opacity: 0.9;
}