* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

/* ===== HEADER ===== */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-size: 14px;
    color: #8e8e93;
}

.btn-logout {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-logout:active {
    transform: scale(0.95);
    background: rgba(255, 107, 107, 0.15);
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.card {
    background: #1c1c1e;
    border-radius: 20px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}
.card:active {
    transform: scale(0.95);
}
.card i {
    font-size: 28px;
    color: #4caf50;
    margin-bottom: 8px;
}
.card h3 {
    font-size: 14px;
    margin-bottom: 4px;
}
.card p {
    font-size: 11px;
    color: #8e8e93;
}
.card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 400px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .card {
        padding: 14px 10px;
    }
    .card i {
        font-size: 22px;
    }
    .card h3 {
        font-size: 12px;
    }
}