@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');

:root {
    --play-green: #00c853;
    --play-green-hover: #00b248;
    --bg: #0f172a;
    --surface: rgba(30, 41, 59, 0.7);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border: #334155;
    --star-color: #ffc107;
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] {
    --bg: #f8fafc;
    --surface: rgba(255, 255, 255, 0.8);
    --glass: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.05);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Ambient Background Glows */
.glow-circle {
    position: fixed;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
    pointer-events: none;
}
.glow-1 { top: -10%; left: -10%; }
.glow-2 { bottom: -10%; right: -10%; }

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 8%;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="light"] .nav-logo {
    background: linear-gradient(to right, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-toggle {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-toggle:hover {
    background: var(--play-green);
    color: white;
    transform: scale(1.1) rotate(15deg);
}

/* Hero */
.hero-banner {
    padding: 5rem 8%;
    text-align: center;
    position: relative;
}
.hero-banner h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}
.hero-banner p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hub Grid */
.hub-container {
    max-width: 1400px;
    margin: 0 auto 4rem auto;
    padding: 0 8%;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

/* Cards with Glassmorphism */
.play-card {
    background: var(--surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
}
.play-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 200, 83, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 200, 83, 0.25);
}
.play-card-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.play-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    flex-shrink: 0;
}
.play-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}
.play-card-dev {
    font-size: 0.9rem;
    color: var(--play-green);
    font-weight: 600;
}
.play-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Details View */
.detail-container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 8%;
}
.app-header {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}
.app-main-icon {
    width: 150px;
    height: 150px;
    box-shadow: var(--shadow-lg);
}
.app-header-info {
    flex-grow: 1;
}
.app-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}
.app-dev {
    font-size: 1.1rem;
    color: var(--play-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.app-badges {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 16px;
    width: fit-content;
}
.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Buttons */
.install-btn {
    background: linear-gradient(135deg, #00c853 0%, #00b248 100%);
    color: #0f172a;
    border: none;
    padding: 0.85rem 3rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 10px 20px -5px rgba(0, 200, 83, 0.4);
}
.install-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px -5px rgba(0, 200, 83, 0.5);
}

/* Responsive Layout */
@media (max-width: 768px) {
    .navbar { padding: 1rem 5%; }
    .hero-banner { padding: 3rem 5%; }
    .hero-banner h1 { font-size: 2.5rem; }
    .app-grid { grid-template-columns: 1fr; }
    .app-header { flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
    .app-badges { width: 100%; justify-content: space-around; }
}

/* Admin Overhaul */
.admin-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 8%;
}
.admin-card {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}
[data-theme="light"] .form-control {
    background: rgba(0, 0, 0, 0.03);
}
.form-control:focus {
    outline: none;
    border-color: var(--play-green);
    box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.2);
    background: rgba(255, 255, 255, 0.06);
}
.btn-primary {
    background: linear-gradient(135deg, #00c853 0%, #00b248 100%);
    color: #0f172a;
    border: none;
    padding: 0.85rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(0, 200, 83, 0.3);
}
.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 25px -5px rgba(0, 200, 83, 0.4);
}



.download-section {
        display: flex;
            flex-wrap: wrap;
                gap: 1.5rem;
                    margin-top: 2rem;
}

.download-card {
        background: var(--surface);
            backdrop-filter: blur(12px);
                border: 1px solid var(--glass-border);
                    border-radius: 1.5rem;
                        padding: 1.5rem;
                            flex: 1;
                                min-width: 280px;
                                    display: flex;
                                        align-items: center;
                                            gap: 1.25rem;
                                                text-decoration: none;
}

.download-card:hover {
        transform: translateY(-5px);
            background: var(--glass);
                border-color: var(--play-green);
}

.download-icon {
        width: 3.5rem;
            height: 3.5rem;
                background: var(--play-green);
                    border-radius: 1rem;
                        display: flex;
                            align-items: center;
                                justify-content: center;
                                    font-size: 1.75rem;
                                        color: white;
}

.download-info h3 {
        color: var(--text-primary);
            font-size: 1.1rem;
                margin-bottom: 0.25rem;
}

.download-info p {
        color: var(--text-secondary);
            font-size: 0.85rem;
}

}
}
}
}
}
}