/* ==============================
   ISU APP STORE — Premium Theme
   ============================== */

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

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #111127;
    --bg-card: rgba(17, 17, 39, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-gold: #f59e0b;
    --accent-blue: #38bdf8;
    --accent-purple: #a78bfa;
    --accent-pink: #f472b6;
    --accent-green: #34d399;
    --accent-red: #ef4444;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.08);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---- Background Effects ---- */
.store-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.store-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
}
.store-bg .orb-1 { width: 600px; height: 600px; background: var(--accent-gold); top: -200px; left: -100px; }
.store-bg .orb-2 { width: 500px; height: 500px; background: var(--accent-purple); bottom: -200px; right: -100px; animation-delay: -7s; }
.store-bg .orb-3 { width: 400px; height: 400px; background: var(--accent-blue); top: 40%; left: 50%; animation-delay: -14s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ---- Navigation ---- */
.store-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0 2rem;
}
.store-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.store-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}
.store-brand img {
    height: 36px;
    width: auto;
}
.store-brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}
.store-brand-text span {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.store-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.store-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}
.store-nav-links a:hover { color: var(--text-primary); }
.nav-auth-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    transition: transform var(--transition-fast);
}
.nav-user-avatar:hover { transform: scale(1.1); }
.btn-login {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-red));
    color: #000;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }

.store-main {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Hero Carousel ---- */
.hero-carousel {
    margin-top: 1.5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    height: 340px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
}
.hero-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.hero-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 3rem 4rem;
    position: relative;
    overflow: hidden;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,26,0.95), rgba(10,10,26,0.6));
    z-index: 1;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: blur(2px);
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}
.hero-slide-icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    flex-shrink: 0;
}
.hero-slide-info {
    flex: 1;
}
.hero-award-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}
.badge-gold { background: rgba(245, 158, 11, 0.2); color: var(--accent-gold); }
.badge-silver { background: rgba(148, 163, 184, 0.2); color: #c0c0c0; }
.badge-bronze { background: rgba(205, 127, 50, 0.2); color: #cd7f32; }
.badge-peoples-choice { background: rgba(244, 114, 182, 0.2); color: var(--accent-pink); }
.badge-featured { background: rgba(56, 189, 248, 0.2); color: var(--accent-blue); }
.hero-slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.hero-slide-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    max-width: 500px;
}
.hero-slide-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.hero-slide-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.hero-slide-screenshots {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}
.hero-slide-screenshots img {
    width: 140px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.hero-dot.active {
    background: var(--accent-gold);
    width: 24px;
    border-radius: 4px;
}
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}
.hero-nav-btn:hover { background: rgba(245, 158, 11, 0.3); border-color: var(--accent-gold); }
.hero-nav-prev { left: 1rem; }
.hero-nav-next { right: 1rem; }

/* ---- Filter Bar ---- */
.filter-bar {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    transition: border-color var(--transition-fast);
}
.search-box input:focus {
    outline: none;
    border-color: var(--accent-gold);
}
.search-box::before {
    content: '🔍';
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    pointer-events: none;
}
.sort-select {
    padding: 0.7rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    min-width: 160px;
}
.sort-select:focus { outline: none; border-color: var(--accent-gold); }

.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}
.cat-tab:hover { border-color: rgba(245, 158, 11, 0.3); color: var(--text-primary); }
.cat-tab.active {
    background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(239,68,68,0.1));
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ---- App Grid ---- */
.app-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    padding-bottom: 3rem;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
}
.app-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}
.app-card.winner-card {
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}
.app-card.winner-card::after {
    content: '★ Winner';
    position: absolute;
    bottom: 0.5rem;
    right: 0.8rem;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.app-card-screenshot {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--bg-secondary);
    display: block;
}
.app-card-body {
    padding: 1rem;
}
.app-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}
.app-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border-glass);
    flex-shrink: 0;
    background: var(--bg-secondary);
}
.letter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.hero-slide-icon.letter-icon { font-size: 3rem; }
.detail-icon.letter-icon { font-size: 2rem; }
.app-card-title-area {
    flex: 1;
    min-width: 0;
}
.app-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-card-developer {
    color: var(--text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-card-category {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}
.app-card-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.8rem;
}
.app-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border-glass);
}
.app-card-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.app-card-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.app-card-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.star { color: var(--text-muted); font-size: 0.7rem; }
.star.filled { color: var(--accent-gold); }
.app-card-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}
.app-card-badge.gold { background: rgba(245,158,11,0.85); color: #000; }
.app-card-badge.silver { background: rgba(192,192,192,0.85); color: #000; }
.app-card-badge.bronze { background: rgba(205,127,50,0.85); color: #000; }
.app-card-badge.peoples { background: rgba(244,114,182,0.85); color: #000; }
.app-card-badge.medal { background: rgba(56, 189, 248, 0.85); color: #000; }

/* ---- App Detail Modal ---- */
.app-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}
.app-detail-overlay.active {
    opacity: 1;
    visibility: visible;
}
.app-detail-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform var(--transition-smooth);
}
.app-detail-overlay.active .app-detail-modal {
    transform: translateY(0) scale(1);
}
.detail-badge-float {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    pointer-events: none;
}
.detail-badge-float .hero-award-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
}
.app-detail-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}
.app-detail-close:hover { background: rgba(239, 68, 68, 0.5); }

/* Screenshot carousel in detail */
.detail-screenshots {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: var(--bg-primary);
}
.detail-screenshots-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.detail-screenshots-track img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-ss-dots {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}
.detail-ss-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.detail-ss-dot.active { background: #fff; width: 18px; border-radius: 3px; }
.detail-ss-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}
.detail-ss-nav.prev { left: 0.8rem; }
.detail-ss-nav.next { right: 0.8rem; }

.detail-body {
    padding: 1.5rem 2rem 2rem;
}
.detail-header {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}
.detail-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 2px solid var(--border-glass);
    flex-shrink: 0;
}
.detail-info { flex: 1; }
.detail-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.detail-developer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.detail-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.btn-open-app {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-red));
    color: #000;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-open-app:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(245,158,11,0.3); }
.btn-like {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
}
.btn-like:hover { border-color: var(--accent-pink); color: var(--accent-pink); }
.btn-like.liked {
    background: rgba(244, 114, 182, 0.15);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}
.btn-like .heart-icon { transition: transform var(--transition-fast); }
.btn-like:hover .heart-icon { transform: scale(1.2); }
.btn-like.liked .heart-icon { animation: heartPop 0.4s ease; }

@keyframes heartPop {
    0% { transform: scale(1); }
    25% { transform: scale(1.4); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.detail-stats-row {
    display: flex;
    gap: 1.5rem;
    margin: 1.2rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}
.detail-stat {
    text-align: center;
    flex: 1;
}
.detail-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
}
.detail-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Star Rating Input */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.2rem;
}
.rating-input input { display: none; }
.rating-input label {
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: var(--accent-gold);
}
.rating-input label:hover { transform: scale(1.15); }

.detail-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ---- Feedback Section ---- */
.feedback-section {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}
.feedback-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.feedback-form {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.feedback-form textarea {
    flex: 1;
    padding: 0.8rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    resize: vertical;
    min-height: 60px;
    max-height: 150px;
    transition: border-color var(--transition-fast);
}
.feedback-form textarea:focus { outline: none; border-color: var(--accent-gold); }
.feedback-form textarea::placeholder { color: var(--text-muted); }
.btn-submit-feedback {
    background: var(--accent-gold);
    color: #000;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    align-self: flex-end;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.btn-submit-feedback:hover { background: #fbbf24; transform: translateY(-1px); }
.btn-submit-feedback:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.feedback-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 300px;
    overflow-y: auto;
}
.feedback-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
}
.feedback-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}
.feedback-content { flex: 1; min-width: 0; }
.feedback-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.feedback-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
    font-weight: 400;
}
.feedback-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    word-break: break-word;
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}
.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}
.empty-state-text {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ---- Loading ---- */
.store-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    grid-column: 1 / -1;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-glass);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Developer Edit Button ---- */
.btn-edit-app {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
}
.btn-edit-app:hover { background: rgba(56, 189, 248, 0.2); }

/* ---- Footer ---- */
.store-footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.8rem;
}
.store-footer a {
    color: var(--accent-gold);
    text-decoration: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .store-nav { padding: 0 1rem; }
    .store-main { padding: 0 1rem; }
    .hero-carousel { height: auto; min-height: 260px; }
    .hero-slide { padding: 2rem 1.5rem; }
    .hero-slide-content { flex-direction: column; text-align: center; gap: 1.2rem; }
    .hero-slide-icon { width: 80px; height: 80px; }
    .hero-slide-title { font-size: 1.4rem; }
    .hero-slide-screenshots { display: none; }
    .hero-slide-desc { max-width: 100%; }
    .hero-slide-meta { justify-content: center; flex-wrap: wrap; }
    .app-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .detail-header { flex-direction: column; align-items: center; text-align: center; }
    .detail-actions { justify-content: center; }
    .detail-screenshots { height: 200px; }
    .detail-body { padding: 1.2rem 1.5rem; }
    .filter-bar { flex-direction: column; }
    .search-box { width: 100%; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ---- Edit Modal ---- */
.edit-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}
.edit-overlay.active { opacity: 1; visibility: visible; }
.edit-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
}
.edit-modal h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.edit-modal label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    margin-top: 0.8rem;
}
.edit-modal input[type="text"],
.edit-modal input[type="url"],
.edit-modal textarea,
.edit-modal select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}
.edit-modal input:focus,
.edit-modal textarea:focus,
.edit-modal select:focus {
    outline: none;
    border-color: var(--accent-gold);
}
.edit-modal select {
    background: var(--bg-secondary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.edit-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}
.btn-cancel {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
}
.btn-save {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-red));
    color: #000;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-save:hover { transform: translateY(-1px); }
.btn-save:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.edit-feedback {
    margin-top: 0.8rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    text-align: center;
}
.edit-feedback.error { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); }
.edit-feedback.success { background: rgba(52, 211, 153, 0.1); color: var(--accent-green); }

/* Screenshot upload slots */
.screenshot-slots {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}
.screenshot-slot {
    width: 90px;
    height: 90px;
    border: 2px dashed var(--border-glass);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
    background: var(--bg-glass);
}
.screenshot-slot:hover { border-color: var(--accent-gold); }
.screenshot-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.screenshot-slot .slot-add {
    font-size: 1.5rem;
    color: var(--text-muted);
}
.screenshot-slot .slot-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(239,68,68,0.8);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.screenshot-slot:hover .slot-remove { opacity: 1; }

/* App count badge */
.app-count-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Toast notification */
.store-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.store-toast.show { transform: translateX(-50%) translateY(0); }
